From 77698e1b29d89b647d73fc949bd90154e64353cb Mon Sep 17 00:00:00 2001 From: wiz Date: Wed, 12 Mar 2014 19:31:32 +0000 Subject: Add some dependencies and allow python-2.6 as well. --- audio/csound6-manual/Makefile | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'audio') 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" -- cgit v1.2.3