summaryrefslogtreecommitdiff
path: root/graphics/dia-python/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/dia-python/Makefile')
-rw-r--r--graphics/dia-python/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/graphics/dia-python/Makefile b/graphics/dia-python/Makefile
index 31539265dc2..cd3bc82055c 100644
--- a/graphics/dia-python/Makefile
+++ b/graphics/dia-python/Makefile
@@ -1,9 +1,8 @@
-# $NetBSD: Makefile,v 1.7 2006/04/17 13:46:31 wiz Exp $
+# $NetBSD: Makefile,v 1.8 2006/05/02 16:23:30 drochner Exp $
#
DIA_SUBPKG= -python
.include "../../graphics/dia/Makefile.common"
-PKGREVISION= 6
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"