summaryrefslogtreecommitdiff
path: root/time
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 /time
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 'time')
-rw-r--r--time/gdeskcal/Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/time/gdeskcal/Makefile b/time/gdeskcal/Makefile
index 74911d27cbc..53e38791d7c 100644
--- a/time/gdeskcal/Makefile
+++ b/time/gdeskcal/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.28 2008/06/20 01:09:38 joerg Exp $
+# $NetBSD: Makefile,v 1.29 2009/07/08 13:56:00 joerg Exp $
#
DISTNAME= gDeskCal-0_57_1
@@ -24,8 +24,7 @@ post-extract:
do-install:
(cd ${WRKSRC} && ${CP} -r . ${DESTDIR}${PREFIX}/lib/gdeskcal)
- ${PYTHONBIN} ${LOCALBASE}/${PYLIB}/compileall.py \
- ${DESTDIR}${PREFIX}/lib/gdeskcal/code
+ ${PY_COMPILE_ALL} ${DESTDIR}${PREFIX}/lib/gdeskcal/code
${LN} -s ../lib/gdeskcal/gdeskcal ${DESTDIR}${PREFIX}/bin
.include "../../x11/py-gtk2/buildlink3.mk"