diff options
author | Edwin Groothuis <edwin@FreeBSD.org> | 2002-11-04 02:35:01 +0000 |
---|---|---|
committer | Edwin Groothuis <edwin@FreeBSD.org> | 2002-11-04 02:35:01 +0000 |
commit | 6097f03e914afc72ab11bca0cf311ad5f1fd15e3 (patch) | |
tree | a7f557a98d36da0017550c4118cccf1e4d496c25 /textproc | |
parent | PERL -> REINPLACE (diff) |
PERL -> REINPLACE
Noticed on: bento
Notes
Notes:
svn path=/head/; revision=69424
Diffstat (limited to 'textproc')
-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 |