summaryrefslogtreecommitdiff
path: root/databases/py-metakit
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 /databases/py-metakit
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 'databases/py-metakit')
-rw-r--r--databases/py-metakit/Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/databases/py-metakit/Makefile b/databases/py-metakit/Makefile
index 4c2e76839f1..5be3ad86faa 100644
--- a/databases/py-metakit/Makefile
+++ b/databases/py-metakit/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.22 2009/02/11 21:00:49 joerg Exp $
+# $NetBSD: Makefile,v 1.23 2009/07/08 13:55:58 joerg Exp $
#
DISTNAME= metakit-2.4.9.7
@@ -27,12 +27,10 @@ INSTALL_TARGET= install-python
MAKE_ENV+= PYINC=${LOCALBASE}/${PYINC} PYSITELIB=${LOCALBASE}/${PYSITELIB}
PY_PATCHPLIST= yes
-PYCOMPILEALL= ${BUILDLINK_PREFIX.${PYPACKAGE}}/${PYLIB}/compileall.py
-
INSTALLATION_DIRS+= ${PYSITELIB}
post-build:
- cd ${WRKSRC}/python && ${PYTHONBIN} ${PYCOMPILEALL} .
+ cd ${WRKSRC}/python && ${PY_COMPILE_ALL} .
post-install:
${INSTALL_DATA} ${WRKSRC}/python/metakit.pyc ${DESTDIR}${PREFIX}/${PYSITELIB}