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 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"