summaryrefslogtreecommitdiff
path: root/graphics/dia-python
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2009-07-08 13:55:58 +0000
committerjoerg <joerg@pkgsrc.org>2009-07-08 13:55:58 +0000
commitd61c3b641cd96ac5f40852e5eb7e205545887dcc (patch)
tree60e034a8771d5fea53aae476bb138522afe5fd76 /graphics/dia-python
parent19942c1b2813102d2ea9eac7a03a937f94b1c410 (diff)
downloadpkgsrc-d61c3b641cd96ac5f40852e5eb7e205545887dcc.tar.gz
Provide PY_COMPILE_ALL and PY_COMPILE_O_ALL to compile all Python
sources in a directory (tree) in pversion.mk. Adjust the various places that called it locally.
Diffstat (limited to 'graphics/dia-python')
-rw-r--r--graphics/dia-python/Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/graphics/dia-python/Makefile b/graphics/dia-python/Makefile
index 943ed5ef084..eb50a5b5b0e 100644
--- a/graphics/dia-python/Makefile
+++ b/graphics/dia-python/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.11 2009/02/09 22:56:24 joerg Exp $
+# $NetBSD: Makefile,v 1.12 2009/07/08 13:55:59 joerg Exp $
#
DIA_SUBPKG= -python
@@ -17,10 +17,8 @@ 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} ${DESTDIR}${PREFIX}/share/dia
+ ${PY_COMPILE_ALL} ${DESTDIR}${PREFIX}/share/dia
.include "../../lang/python/application.mk"
.include "../../x11/py-gtk2/buildlink3.mk"