| @@ -1,34 +1,33 @@ | | | @@ -1,34 +1,33 @@ |
1 | # $NetBSD: Makefile,v 1.18 2020/01/26 17:32:16 rillig Exp $ | | 1 | # $NetBSD: Makefile,v 1.19 2020/05/02 10:28:42 rillig Exp $ |
2 | | | 2 | |
3 | VER= 1.0.2 | | 3 | VER= 1.0.2 |
4 | DISTNAME= 4Suite-XML-${VER} | | 4 | DISTNAME= 4Suite-XML-${VER} |
5 | PKGNAME= ${PYPKGPREFIX}-4Suite-${VER} | | 5 | PKGNAME= ${PYPKGPREFIX}-4Suite-${VER} |
6 | CATEGORIES= textproc | | 6 | CATEGORIES= textproc |
7 | MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=foursuite/} | | 7 | MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=foursuite/} |
8 | | | 8 | |
9 | MAINTAINER= pettai@NetBSD.org | | 9 | MAINTAINER= pettai@NetBSD.org |
10 | HOMEPAGE= https://4suite.org/ | | 10 | HOMEPAGE= https://4suite.org/ |
11 | COMMENT= Open-source platform for XML and RDF processing | | 11 | COMMENT= Open-source platform for XML and RDF processing |
12 | LICENSE= apache-1.1 | | 12 | LICENSE= apache-1.1 |
13 | | | 13 | |
14 | BUILD_DEPENDS+= ${PYPKGPREFIX}-expat-[0-9]*:../../textproc/py-expat | | 14 | BUILD_DEPENDS+= ${PYPKGPREFIX}-expat-[0-9]*:../../textproc/py-expat |
15 | | | 15 | |
16 | SUBST_CLASSES+= python | | 16 | SUBST_CLASSES+= python |
17 | SUBST_FILES.python= build/scripts.*/4xml | | 17 | SUBST_FILES.python= build/scripts.*/4xml |
18 | SUBST_FILES.python+= build/scripts.*/4xpath | | 18 | SUBST_FILES.python+= build/scripts.*/4xpath |
19 | SUBST_FILES.python+= build/scripts.*/4xslt | | 19 | SUBST_FILES.python+= build/scripts.*/4xslt |
20 | SUBST_FILES.python+= build/scripts.*/4xupdate | | 20 | SUBST_FILES.python+= build/scripts.*/4xupdate |
21 | SUBST_FILES.python+= test/Xml/XPath/Borrowed/*.py | | | |
22 | SUBST_FILES.python+= test/Xml/XPath/Core/*.py | | 21 | SUBST_FILES.python+= test/Xml/XPath/Core/*.py |
23 | SUBST_FILES.python+= test/test.py | | 22 | SUBST_FILES.python+= test/test.py |
24 | SUBST_STAGE.python= post-build | | 23 | SUBST_STAGE.python= post-build |
25 | SUBST_SED.python= -e 's,\#![^ ]* python,\#! ${PYTHONBIN},' | | 24 | SUBST_SED.python= -e 's,\#![^ ]* python,\#! ${PYTHONBIN},' |
26 | | | 25 | |
27 | #PYTHON_SELF_CONFLICT= yes | | 26 | #PYTHON_SELF_CONFLICT= yes |
28 | PYTHON_VERSIONS_ACCEPTED= 27 # not yet ported as of 1.0.2 | | 27 | PYTHON_VERSIONS_ACCEPTED= 27 # not yet ported as of 1.0.2 |
29 | | | 28 | |
30 | do-configure: | | 29 | do-configure: |
31 | cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} \ | | 30 | cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} \ |
32 | ${PYTHONBIN} setup.py config --prefix=${PREFIX} | | 31 | ${PYTHONBIN} setup.py config --prefix=${PREFIX} |
33 | | | 32 | |
34 | .include "../../lang/python/distutils.mk" | | 33 | .include "../../lang/python/distutils.mk" |