98f401acd8
changes: -"mainpoint" system allows lines to always point towards the middle -Python plug-ins added -automatically change grid size depending on zoom level -Text input now highlights the object -security problems fixed in XFig import and Python plug-in -new shapes added -new UML objects added -Full screen mode -Improved SVG import -Plug-in loading and unloading doesn't require restart -i18n problems fixed -bugs have been fixed -Command line usage has improved -ses the new GTK+ File Dialog pkgsrc change: -precompile Python files
26 lines
741 B
Makefile
26 lines
741 B
Makefile
# $NetBSD: Makefile,v 1.8 2006/05/02 16:23:30 drochner Exp $
|
|
#
|
|
|
|
DIA_SUBPKG= -python
|
|
.include "../../graphics/dia/Makefile.common"
|
|
|
|
COMMENT+= (Python plugin)
|
|
|
|
CONFIGURE_ARGS:= ${CONFIGURE_ARGS:S/--without-python/--with-python/g}
|
|
CONFIGURE_ENV+= PYTHON=${PYTHONBIN:Q}
|
|
|
|
PYTHON_PATCH_SCRIPTS= po-checktrans.py
|
|
PYTHON_PATCH_SCRIPTS+= plug-ins/python/gtkcons.py
|
|
PYTHON_PATCH_SCRIPTS+= sheets/checktrans.py
|
|
|
|
BUILD_DIRS+= ${WRKSRC}/plug-ins/python
|
|
INSTALL_DIRS+= ${WRKSRC}/plug-ins/python
|
|
|
|
PYCOMPILEALL= ${BUILDLINK_PREFIX.${PYPACKAGE}}/${PYLIB}/compileall.py
|
|
|
|
post-install:
|
|
${PYTHONBIN} ${PYCOMPILEALL} ${PREFIX}/share/dia
|
|
|
|
.include "../../lang/python/application.mk"
|
|
.include "../../x11/py-gtk2/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|