diff options
-rw-r--r-- | graphics/dia-python/Makefile | 8 | ||||
-rw-r--r-- | graphics/dia-python/PLIST | 15 |
2 files changed, 20 insertions, 3 deletions
diff --git a/graphics/dia-python/Makefile b/graphics/dia-python/Makefile index f3af7914661..58aee88a870 100644 --- a/graphics/dia-python/Makefile +++ b/graphics/dia-python/Makefile @@ -1,9 +1,8 @@ -# $NetBSD: Makefile,v 1.6 2006/03/21 06:00:45 jlam Exp $ +# $NetBSD: Makefile,v 1.6.2.1 2006/06/13 21:31:07 salo Exp $ # DIA_SUBPKG= -python .include "../../graphics/dia/Makefile.common" -PKGREVISION= 4 COMMENT+= (Python plugin) @@ -17,6 +16,11 @@ 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" diff --git a/graphics/dia-python/PLIST b/graphics/dia-python/PLIST index 9f48587be78..b3c2572fb2c 100644 --- a/graphics/dia-python/PLIST +++ b/graphics/dia-python/PLIST @@ -1,14 +1,27 @@ -@comment $NetBSD: PLIST,v 1.1.1.1 2005/01/20 18:50:48 jmmv Exp $ +@comment $NetBSD: PLIST,v 1.1.1.1.10.1 2006/06/13 21:31:07 salo Exp $ lib/dia/libpython_plugin.la share/dia/python-startup.py +share/dia/python-startup.pyc +share/dia/python/codegen.py +share/dia/python/codegen.pyc share/dia/python/diasvg.py +share/dia/python/diasvg.pyc share/dia/python/diasvg_import.py +share/dia/python/diasvg_import.pyc +share/dia/python/dot.py +share/dia/python/dot.pyc share/dia/python/group_props.py +share/dia/python/group_props.pyc share/dia/python/gtkcons.py +share/dia/python/gtkcons.pyc share/dia/python/otypes.py +share/dia/python/otypes.pyc share/dia/python/pydiadoc.py +share/dia/python/pydiadoc.pyc share/dia/python/scascale.py +share/dia/python/scascale.pyc share/dia/python/select_by.py +share/dia/python/select_by.pyc @dirrm share/dia/python @comment in dia: @dirrm share/dia @comment in dia: @dirrm lib/dia |