summaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2002-11-04 02:35:01 +0000
committeredwin <edwin@FreeBSD.org>2002-11-04 02:35:01 +0000
commit1b7bb332fa18b58d935d7c527a75470c92de2626 (patch)
tree2f4141a4af38a668cf36cef3a620918d857e0a08 /textproc
parentae62427d6d6725d1b89cb124a2b9df1780c3a6c0 (diff)
downloadFreeBSD-ports-1b7bb332fa18b58d935d7c527a75470c92de2626.zip
FreeBSD-ports-1b7bb332fa18b58d935d7c527a75470c92de2626.tar.gz
PERL -> REINPLACE
Noticed on: bento
Diffstat (limited to 'textproc')
-rw-r--r--textproc/py-trex/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/textproc/py-trex/Makefile b/textproc/py-trex/Makefile
index 5bbc3b4..99e8a57 100644
--- a/textproc/py-trex/Makefile
+++ b/textproc/py-trex/Makefile
@@ -22,9 +22,10 @@ RUN_DEPENDS= ${PYTHON_SITELIBDIR}/pyexpat.so:${PORTSDIR}/textproc/py-expat
USE_PYTHON= yes
NO_BUILD= yes
+USE_REINPLACE= yes
post-patch:
- @${PERL} -pi -e "s|%%LOCALBASE%%|${LOCALBASE}|g" ${WRKSRC}/pytrex.py
+ @${REINPLACE_CMD} -e "s|%%LOCALBASE%%|${LOCALBASE}|g" ${WRKSRC}/pytrex.py
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/pytrex.py ${PREFIX}/bin/pytrex
OpenPOWER on IntegriCloud