diff options
author | wiz <wiz@pkgsrc.org> | 2014-03-12 19:31:32 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2014-03-12 19:31:32 +0000 |
commit | 77698e1b29d89b647d73fc949bd90154e64353cb (patch) | |
tree | e08ae3ea3678ce61acf6462a3ec99f37d1fa01d8 /audio | |
parent | b69bee342735ef0b3197621b25292e74f1274fa7 (diff) | |
download | pkgsrc-77698e1b29d89b647d73fc949bd90154e64353cb.tar.gz |
Add some dependencies and allow python-2.6 as well.
Diffstat (limited to 'audio')
-rw-r--r-- | audio/csound6-manual/Makefile | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/audio/csound6-manual/Makefile b/audio/csound6-manual/Makefile index f7621d6a960..0ced327ecb1 100644 --- a/audio/csound6-manual/Makefile +++ b/audio/csound6-manual/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1 2014/03/06 10:16:53 mrg Exp $ +# $NetBSD: Makefile,v 1.2 2014/03/12 19:31:32 wiz Exp $ DISTNAME= manual_src PKGNAME= csound6-manual-${CSOUND_VERSION} @@ -9,8 +9,9 @@ MAINTAINER= mrg@eterna.com.au HOMEPAGE= http://www.csounds.com/ COMMENT= Csound6 Reference Manual +BUILD_DEPENDS+= libxslt-[0-9]*:../../textproc/libxslt BUILD_DEPENDS+= docbook-xsl-[0-9]*:../../textproc/docbook-xsl -BUILD_DEPENDS+= python27-[0-9]*:../../lang/python27 +BUILD_DEPENDS+= ${PYPKGPREFIX}-expat-[0-9]*:../../textproc/py-expat CSOUND_VERSION= 6.02 WRKSRC= ${WRKDIR}/manual6 @@ -24,12 +25,16 @@ INSTALLATION_DIRS+= ${DOCDIR} MAKE_ENV+= XSL_BASE_PATH=${PREFIX}/share/xsl/docbook/ SUBST_CLASSES+= python -SUBST_SED.python= -e "s,^ python , ${PREFIX}/bin/python2.7 ," +SUBST_SED.python= -e "s,^ python , ${PYTHONBIN} ," SUBST_FILES.python= Makefile SUBST_STAGE.python= pre-build SUBST_MESSAGE.python= Fixing path to python. +PYTHON_VERSIONS_INCOMPATIBLE= 33 # as of 6.02 + do-install: cd ${WRKSRC}/html && pax -rw * ${DESTDIR}${PREFIX}/${DOCDIR} +PYTHON_FOR_BUILD_ONLY= yes +.include "../../lang/python/application.mk" .include "../../mk/bsd.pkg.mk" |