summaryrefslogtreecommitdiff
path: root/mail/tmda/Makefile
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 /mail/tmda/Makefile
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 'mail/tmda/Makefile')
-rw-r--r--mail/tmda/Makefile5
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