| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | # $NetBSD: Makefile,v 1.26 2022/06/30 11:18:55 nia Exp $ | | 1 | # $NetBSD: Makefile,v 1.27 2022/07/10 19:26:17 wiz Exp $ |
2 | | | 2 | |
3 | DISTNAME= xmlada-${XMLADA_VERS} | | 3 | DISTNAME= xmlada-${XMLADA_VERS} |
4 | PKGREVISION= 6 | | 4 | PKGREVISION= 6 |
5 | CATEGORIES= textproc | | 5 | CATEGORIES= textproc |
6 | MASTER_SITES= http://downloads.dragonlace.net/src/ | | 6 | MASTER_SITES= http://downloads.dragonlace.net/src/ |
7 | EXTRACT_SUFX= .tar.bz2 | | 7 | EXTRACT_SUFX= .tar.bz2 |
8 | | | 8 | |
9 | MAINTAINER= pkgsrc-users@NetBSD.org | | 9 | MAINTAINER= pkgsrc-users@NetBSD.org |
10 | HOMEPAGE= http://libre.adacore.com/libre/tools/xmlada/ | | 10 | HOMEPAGE= http://libre.adacore.com/libre/tools/xmlada/ |
11 | COMMENT= Adacore XML suite for the Ada language | | 11 | COMMENT= Adacore XML suite for the Ada language |
12 | LICENSE= gnu-gpl-v3 | | 12 | LICENSE= gnu-gpl-v3 |
13 | | | 13 | |
14 | XMLADA_VERS= 4.4.0.0 | | 14 | XMLADA_VERS= 4.4.0.0 |
| @@ -30,28 +30,30 @@ SUBST_FILES.rpath= sax/sax.gpr | | | @@ -30,28 +30,30 @@ SUBST_FILES.rpath= sax/sax.gpr |
30 | SUBST_FILES.rpath+= dom/dom.gpr | | 30 | SUBST_FILES.rpath+= dom/dom.gpr |
31 | SUBST_FILES.rpath+= input_sources/input_sources.gpr | | 31 | SUBST_FILES.rpath+= input_sources/input_sources.gpr |
32 | SUBST_FILES.rpath+= schema/schema.gpr | | 32 | SUBST_FILES.rpath+= schema/schema.gpr |
33 | SUBST_SED.rpath= -e "s,@ADDITIONAL_RPATH@,${PREFIX}/lib," | | 33 | SUBST_SED.rpath= -e "s,@ADDITIONAL_RPATH@,${PREFIX}/lib," |
34 | | | 34 | |
35 | SUBST_STAGE.docs= pre-configure | | 35 | SUBST_STAGE.docs= pre-configure |
36 | SUBST_MESSAGE.docs= Set build xmlada documentation option | | 36 | SUBST_MESSAGE.docs= Set build xmlada documentation option |
37 | SUBST_FILES.docs= Makefile.in | | 37 | SUBST_FILES.docs= Makefile.in |
38 | SUBST_SED.docs= -e 's/^all: \(.*\)/all: \1 docs/g' | | 38 | SUBST_SED.docs= -e 's/^all: \(.*\)/all: \1 docs/g' |
39 | | | 39 | |
40 | MAKE_ENV+= SPHINXBUILD=${PREFIX}/bin/sphinx-build-${PYVERSSUFFIX} | | 40 | MAKE_ENV+= SPHINXBUILD=${PREFIX}/bin/sphinx-build-${PYVERSSUFFIX} |
41 | | | 41 | |
42 | DESTSTATIC= ${DESTDIR}${PREFIX}/lib/xmlada/static | | 42 | DESTSTATIC= ${DESTDIR}${PREFIX}/lib/xmlada/static |
43 | DEPENDS+= ${PYPKGPREFIX}-sphinx-[0-9]*:../../textproc/py-sphinx1 | | 43 | DEPENDS+= ${PYPKGPREFIX}-sphinx-[0-9]*:../../textproc/py-sphinx |
44 | PYTHON_VERSIONS_ACCEPTED= 27 # not yet ported as of 4.4.0.0 | | 44 | # python 2.x support removed from py-sphinx |
| | | 45 | PYTHON_VERSIONS_INCOMPATIBLE= 27 |
| | | 46 | #PYTHON_VERSIONS_ACCEPTED= 27 # not yet ported as of 4.4.0.0 |
45 | | | 47 | |
46 | post-install: | | 48 | post-install: |
47 | # There is no reason to install sphinx source files | | 49 | # There is no reason to install sphinx source files |
48 | ${RM} -rf ${DESTDIR}${PREFIX}/share/doc/xmlada/_sources | | 50 | ${RM} -rf ${DESTDIR}${PREFIX}/share/doc/xmlada/_sources |
49 | # Fix static library permissions | | 51 | # Fix static library permissions |
50 | ${CHMOD} a-x ${DESTSTATIC}/libxmlada_dom.a \ | | 52 | ${CHMOD} a-x ${DESTSTATIC}/libxmlada_dom.a \ |
51 | ${DESTSTATIC}/libxmlada_input_sources.a \ | | 53 | ${DESTSTATIC}/libxmlada_input_sources.a \ |
52 | ${DESTSTATIC}/libxmlada_sax.a \ | | 54 | ${DESTSTATIC}/libxmlada_sax.a \ |
53 | ${DESTSTATIC}/libxmlada_schema.a \ | | 55 | ${DESTSTATIC}/libxmlada_schema.a \ |
54 | ${DESTSTATIC}/libxmlada_unicode.a | | 56 | ${DESTSTATIC}/libxmlada_unicode.a |
55 | | | 57 | |
56 | .include "../../lang/python/pyversion.mk" | | 58 | .include "../../lang/python/pyversion.mk" |
57 | .include "../../mk/bsd.pkg.mk" | | 59 | .include "../../mk/bsd.pkg.mk" |