diff options
author | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2002-01-03 20:04:23 +0000 |
---|---|---|
committer | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2002-01-03 20:04:23 +0000 |
commit | bd5ce97f6407782afcb5860211e4ab0166245be0 (patch) | |
tree | 5f6ea48a1ec49f9980686c205ebd85cb8330fa51 /textproc/py-xmltools | |
parent | 77beb0d36a1f257c0138847e8a3f62b65a8a7ab7 (diff) |
correct _xmlplus path
Notes
Notes:
svn path=/head/; revision=52539
Diffstat (limited to 'textproc/py-xmltools')
-rw-r--r-- | textproc/py-xmltools/Makefile | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/textproc/py-xmltools/Makefile b/textproc/py-xmltools/Makefile index e0ef6b26e4f6..989a80f7035b 100644 --- a/textproc/py-xmltools/Makefile +++ b/textproc/py-xmltools/Makefile @@ -14,11 +14,19 @@ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= ports@FreeBSD.org +USE_PYTHON= yes + +.include <bsd.port.pre.mk> + +.if ${PYTHON_VERSION} == "python1.5" || ${PYTHON_VERSION} == "python1.6" +XMLDIR= xml +.else +XMLDIR= _xmlplus +.endif + RUN_DEPENDS= ${PYXML} \ ${PYTHON_SITELIBDIR}/GDK.py:${PORTSDIR}/x11-toolkits/py-gtk \ - ${PYTHON_SITELIBDIR}/xml/xpath/__init__.py:${PORTSDIR}/textproc/py-4suite - -USE_PYTHON= yes + ${PYTHON_SITELIBDIR}/${XMLDIR}/xpath/__init__.py:${PORTSDIR}/textproc/py-4suite SETUP_CMD= cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} setup.py @@ -28,4 +36,4 @@ do-build: do-install: @${SETUP_CMD} install -.include <bsd.port.mk> +.include <bsd.port.post.mk> |