pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/audio/csound6-manual Add some dependencies and allow p...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b4b7584d2d7c
branches:  trunk
changeset: 631716:b4b7584d2d7c
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Wed Mar 12 19:31:32 2014 +0000

description:
Add some dependencies and allow python-2.6 as well.

diffstat:

 audio/csound6-manual/Makefile |  11 ++++++++---
 1 files changed, 8 insertions(+), 3 deletions(-)

diffs (38 lines):

diff -r 1e95bcc51698 -r b4b7584d2d7c audio/csound6-manual/Makefile
--- a/audio/csound6-manual/Makefile     Wed Mar 12 19:00:36 2014 +0000
+++ b/audio/csound6-manual/Makefile     Wed Mar 12 19:31:32 2014 +0000
@@ -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 @@
 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 @@
 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"



Home | Main Index | Thread Index | Old Index