summaryrefslogtreecommitdiff
path: root/devel/ExmanIDE
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 /devel/ExmanIDE
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 'devel/ExmanIDE')
-rw-r--r--devel/ExmanIDE/Makefile8
1 files changed, 3 insertions, 5 deletions
diff --git a/devel/ExmanIDE/Makefile b/devel/ExmanIDE/Makefile
index 6581c5655b0..447105de6c6 100644
--- a/devel/ExmanIDE/Makefile
+++ b/devel/ExmanIDE/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.13 2009/02/09 22:56:22 joerg Exp $
+# $NetBSD: Makefile,v 1.14 2009/07/08 13:55:58 joerg Exp $
DISTNAME= ExmanIDE-0.9.4
PKGREVISION= 5
@@ -32,8 +32,6 @@ SUBST_STAGE.py= post-patch
SUBST_FILES.py= ExmanIDE
SUBST_SED.py= -e 's,python \$$0\.pyw,${PYTHONBIN} ${PREFIX}/share/${PKGBASE}/ExmanIDE.pyw,g'
-PYCOMPILEALL= ${BUILDLINK_PREFIX.${PYPACKAGE}}/${PYLIB}/compileall.py
-
INSTALLATION_DIRS= bin share/ExmanIDE
do-install:
@@ -41,8 +39,8 @@ do-install:
cd ${WRKSRC} && pax -rwppm '-s|.*/CVS.*$$||' \
'-s|.*/ExmanIDE$$||' '-s|.*/.xvpics.*$$||' \
. ${DESTDIR}${PREFIX}/share/ExmanIDE
- ${PYTHONBIN} ${PYCOMPILEALL} ${DESTDIR}${PREFIX}/share/ExmanIDE
- ${PYTHONBIN} -O ${PYCOMPILEALL} ${DESTDIR}${PREFIX}/share/ExmanIDE
+ ${PY_COMPILE_ALL} ${DESTDIR}${PREFIX}/share/ExmanIDE
+ ${PY_COMPILE_O_ALL} ${DESTDIR}${PREFIX}/share/ExmanIDE
.include "../../lang/python/application.mk"
.include "../../mk/bsd.pkg.mk"