diff options
author | edwin <edwin@FreeBSD.org> | 2002-11-04 10:35:01 +0800 |
---|---|---|
committer | edwin <edwin@FreeBSD.org> | 2002-11-04 10:35:01 +0800 |
commit | 1b7bb332fa18b58d935d7c527a75470c92de2626 (patch) | |
tree | 2f4141a4af38a668cf36cef3a620918d857e0a08 /textproc/py-trex | |
parent | ae62427d6d6725d1b89cb124a2b9df1780c3a6c0 (diff) | |
download | freebsd-ports-gnome-1b7bb332fa18b58d935d7c527a75470c92de2626.tar.gz freebsd-ports-gnome-1b7bb332fa18b58d935d7c527a75470c92de2626.tar.zst freebsd-ports-gnome-1b7bb332fa18b58d935d7c527a75470c92de2626.zip |
PERL -> REINPLACE
Noticed on: bento
Diffstat (limited to 'textproc/py-trex')
-rw-r--r-- | textproc/py-trex/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/textproc/py-trex/Makefile b/textproc/py-trex/Makefile index 5bbc3b441835..99e8a570a57c 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 |