correct _xmlplus path

This commit is contained in:
Ying-Chieh Liao 2002-01-03 20:04:23 +00:00
parent 77beb0d36a
commit bd5ce97f64
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=52539

View File

@ -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>