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 /audio | |
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 'audio')
-rw-r--r-- | audio/solfege/Makefile | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/audio/solfege/Makefile b/audio/solfege/Makefile index 27c7e002b2b..2f331845be4 100644 --- a/audio/solfege/Makefile +++ b/audio/solfege/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.19 2009/04/07 05:26:59 wiz Exp $ +# $NetBSD: Makefile,v 1.20 2009/07/08 13:55:58 joerg Exp $ # DISTNAME= solfege-3.14.1 @@ -26,7 +26,6 @@ USE_TOOLS+= gmake gm4 makeinfo pkg-config msgfmt bash:run REPLACE_BASH= lesson-files/bin/csound-play-harmonic-interval.sh PYTHON_PATCH_SCRIPTS= *.py *.py.in */*.py */*.py.in -PYCOMPILEALL= ${BUILDLINK_PREFIX.${PYPACKAGE}}/${PYLIB}/compileall.py SUBST_CLASSES+= sound SUBST_STAGE.sound= do-configure @@ -59,9 +58,9 @@ DEPENDS+= qtplay-[0-9]*:../../audio/qtplay .endif post-install: - ${PYTHONBIN} ${PYCOMPILEALL} ${PREFIX}/share/solfege/mpd \ - ${PREFIX}/share/solfege/soundcard \ - ${PREFIX}/share/solfege/src + ${PY_COMPILE_ALL} ${DESTDIR}${PREFIX}/share/solfege/mpd \ + ${DESTDIR}${PREFIX}/share/solfege/soundcard \ + ${DESTDIR}${PREFIX}/share/solfege/src PYTHON_VERSIONS_INCOMPATIBLE= 23 .include "../../lang/python/application.mk" |