aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/py-pyx12
diff options
context:
space:
mode:
authorwg <wg@FreeBSD.org>2013-12-15 06:56:16 +0800
committerwg <wg@FreeBSD.org>2013-12-15 06:56:16 +0800
commit100bea1a7c26b58c6e96935642418cc9bbca83ce (patch)
tree43fd601f1c11adf90fd39c5fd6455afcd6a4e3bb /textproc/py-pyx12
parent1c2619a56e3fa832fb61b1ac7f453bc7cf931ffa (diff)
downloadfreebsd-ports-gnome-100bea1a7c26b58c6e96935642418cc9bbca83ce.tar.gz
freebsd-ports-gnome-100bea1a7c26b58c6e96935642418cc9bbca83ce.tar.zst
freebsd-ports-gnome-100bea1a7c26b58c6e96935642418cc9bbca83ce.zip
textproc/py-pyx12: fix usage of python
Reported by: exp-run (PR 184591)
Diffstat (limited to 'textproc/py-pyx12')
-rw-r--r--textproc/py-pyx12/Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/textproc/py-pyx12/Makefile b/textproc/py-pyx12/Makefile
index 9822b73ba979..790c87d24d71 100644
--- a/textproc/py-pyx12/Makefile
+++ b/textproc/py-pyx12/Makefile
@@ -13,8 +13,7 @@ COMMENT= Validate and convert HIPAA X12 documents
BUILD_DEPENDS= ${PYTHON_SITELIBDIR}/libxml2.py:${PORTSDIR}/textproc/py-libxml2 \
${PYTHON_SITELIBDIR}/libxslt.py:${PORTSDIR}/textproc/py-libxslt
-RUN_DEPENDS= ${PYTHON_SITELIBDIR}/libxml2.py:${PORTSDIR}/textproc/py-libxml2 \
- ${PYTHON_SITELIBDIR}/libxslt.py:${PORTSDIR}/textproc/py-libxslt
+RUN_DEPENDS:= ${BUILD_DEPENDS}
USE_PYTHON= yes
USE_BZIP2= yes
@@ -27,7 +26,7 @@ SUB_FILES= pkg-deinstall
NO_STAGE= yes
post-install:
- ${WRKSRC}/bin/x12_build_pkl.py ${PREFIX}/share/pyx12/map/
+ ${PYTHON_CMD} ${WRKSRC}/bin/x12_build_pkl.py ${PREFIX}/share/pyx12/map/
cd ${WRKSRC}/bin && ${INSTALL_MAN} ${MAN1} ${MAN1PREFIX}/man/man1
cd ${WRKSRC}/bin && ${INSTALL_MAN} ${MAN5} ${MAN5PREFIX}/man/man5