diff options
author | joerg <joerg> | 2009-07-08 13:55:58 +0000 |
---|---|---|
committer | joerg <joerg> | 2009-07-08 13:55:58 +0000 |
commit | 019bd78983b2d276922356c1333ceeef2ec36ca9 (patch) | |
tree | 60e034a8771d5fea53aae476bb138522afe5fd76 /games | |
parent | ffdccd27505776eee3adbbd19cb8b1020b225112 (diff) | |
download | pkgsrc-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 'games')
-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 |