summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorjoerg <joerg>2009-07-08 13:55:58 +0000
committerjoerg <joerg>2009-07-08 13:55:58 +0000
commit019bd78983b2d276922356c1333ceeef2ec36ca9 (patch)
tree60e034a8771d5fea53aae476bb138522afe5fd76 /graphics
parentffdccd27505776eee3adbbd19cb8b1020b225112 (diff)
downloadpkgsrc-019bd78983b2d276922356c1333ceeef2ec36ca9.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')
-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"