summaryrefslogtreecommitdiff
path: root/audio/csound6-manual
diff options
context:
space:
mode:
authorwiz <wiz>2014-03-12 19:31:32 +0000
committerwiz <wiz>2014-03-12 19:31:32 +0000
commitc29e1a9e4478954e0b881575a4c10448590b3ddf (patch)
treee08ae3ea3678ce61acf6462a3ec99f37d1fa01d8 /audio/csound6-manual
parent602ba019e4375593910568c35fee7e626d518448 (diff)
downloadpkgsrc-c29e1a9e4478954e0b881575a4c10448590b3ddf.tar.gz
Add some dependencies and allow python-2.6 as well.
Diffstat (limited to 'audio/csound6-manual')
-rw-r--r--audio/csound6-manual/Makefile11
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"