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 | d61c3b641cd96ac5f40852e5eb7e205545887dcc (patch) | |
tree | 60e034a8771d5fea53aae476bb138522afe5fd76 /games/4stAttack | |
parent | 19942c1b2813102d2ea9eac7a03a937f94b1c410 (diff) | |
download | pkgsrc-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 'games/4stAttack')
-rw-r--r-- | games/4stAttack/Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/games/4stAttack/Makefile b/games/4stAttack/Makefile index 9fb05696d68..189aa83f0b7 100644 --- a/games/4stAttack/Makefile +++ b/games/4stAttack/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.8 2008/05/26 02:13:19 joerg Exp $ +# $NetBSD: Makefile,v 1.9 2009/07/08 13:55:59 joerg Exp $ # DISTNAME= 4stAttack-2.1.4 @@ -25,8 +25,8 @@ do-build: ${MV} ${WRKSRC}/4stattack ${WRKSRC}/4stattack.pre ${SED} -e "s,@FAHOME@,${PREFIX}/share/${PKGBASE}," \ ${WRKSRC}/4stattack.pre > ${WRKSRC}/4stattack - ${PYTHONBIN} ${PREFIX}/${PYLIB}/compileall.py ${WRKSRC} - ${PYTHONBIN} -O ${PREFIX}/${PYLIB}/compileall.py ${WRKSRC} + ${PY_COMPILE_ALL} ${WRKSRC} + ${PY_COMPILE_O_ALL} ${WRKSRC} do-install: ${INSTALL_SCRIPT} ${WRKSRC}/4stattack ${DESTDIR}${PREFIX}/bin |