1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-22 20:41:26 +00:00

textproc/py-pyx12: fix usage of python

Reported by:	exp-run (PR 184591)
This commit is contained in:
William Grzybowski 2013-12-14 22:56:16 +00:00
parent fa7d38bb4f
commit 65d5da3bf7
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=336495

View File

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