summaryrefslogtreecommitdiff
path: root/graphics
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
commit43fdf6e56a69f8613784c44dd908330ee545b647 (patch)
tree60e034a8771d5fea53aae476bb138522afe5fd76 /graphics
parent4dc2be91e34734405a4835fac9ce5aeecbc265c8 (diff)
downloadpkgsrc-43fdf6e56a69f8613784c44dd908330ee545b647.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"