diff options
author | joerg <joerg> | 2009-07-08 13:55:58 +0000 |
---|---|---|
committer | joerg <joerg> | 2009-07-08 13:55:58 +0000 |
commit | a55c8b277fb76010b4354e49fb1466be1439bc31 (patch) | |
tree | 60e034a8771d5fea53aae476bb138522afe5fd76 /textproc/py-cmTemplate | |
parent | c52e92fa432df07f1fd9550e7feed85856c388c6 (diff) | |
download | pkgsrc-a55c8b277fb76010b4354e49fb1466be1439bc31.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 'textproc/py-cmTemplate')
-rw-r--r-- | textproc/py-cmTemplate/Makefile | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/textproc/py-cmTemplate/Makefile b/textproc/py-cmTemplate/Makefile index d51ef2aafee..62f2a1c0d5e 100644 --- a/textproc/py-cmTemplate/Makefile +++ b/textproc/py-cmTemplate/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.3 2008/06/12 02:14:52 joerg Exp $ +# $NetBSD: Makefile,v 1.4 2009/07/08 13:56:00 joerg Exp $ # DISTNAME= cmTemplate-0.3.2 @@ -14,12 +14,11 @@ PKG_DESTDIR_SUPPORT= user-destdir PY_PATCHPLIST= # empty PLIST_SUBST+= PYPKGPREFIX=${PYPKGPREFIX} -PYCOMPILEALL= ${BUILDLINK_PREFIX.${PYPACKAGE}}/${PYLIB}/compileall.py INSTALLATION_DIRS= ${PYSITELIB} share/doc/${PYPKGPREFIX}-cmTemplate do-build: - ${PYTHONBIN} ${PYCOMPILEALL} -l ${WRKSRC} + ${PY_COMPILE_ALL} -l ${WRKSRC} do-install: ${INSTALL_DATA} ${WRKSRC}/cmTemplate.py ${DESTDIR}${PREFIX}/${PYSITELIB} |