diff options
author | joerg <joerg@pkgsrc.org> | 2009-07-08 13:55:58 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2009-07-08 13:55:58 +0000 |
commit | 43fdf6e56a69f8613784c44dd908330ee545b647 (patch) | |
tree | 60e034a8771d5fea53aae476bb138522afe5fd76 /mail/tmda | |
parent | 4dc2be91e34734405a4835fac9ce5aeecbc265c8 (diff) | |
download | pkgsrc-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 'mail/tmda')
-rw-r--r-- | mail/tmda/Makefile | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/mail/tmda/Makefile b/mail/tmda/Makefile index 0e6ed1aeff4..0ba5c4ed265 100644 --- a/mail/tmda/Makefile +++ b/mail/tmda/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.43 2009/02/09 22:56:25 joerg Exp $ +# $NetBSD: Makefile,v 1.44 2009/07/08 13:56:00 joerg Exp $ # DISTNAME= tmda-1.1.12 @@ -14,7 +14,6 @@ COMMENT= Python-based SPAM reduction system PYTHON_PATCH_SCRIPTS= ${TMDA_PROGRAMS} PY_PATCHPLIST= yes -PYCOMPILEALL= ${BUILDLINK_PREFIX.${PYPACKAGE}}/${PYLIB}/compileall.py PKG_SYSCONFSUBDIR= ${PKGBASE} @@ -91,7 +90,7 @@ do-install: cp -Rp ${WRKSRC}/doc/html/* ${PREFIX}/${HTMLDIR} post-install: - ${PYTHONBIN} ${PYCOMPILEALL} ${PREFIX}/${PYSITELIB}/TMDA \ + ${PY_COMPILE_ALL} ${PREFIX}/${PYSITELIB}/TMDA \ ${PREFIX}/${PYSITELIB}/TMDA/Queue \ ${PREFIX}/${PYSITELIB}/TMDA/pythonlib/email \ ${PREFIX}/${PYSITELIB}/TMDA/pythonlib/email/mime |