From 6097f03e914afc72ab11bca0cf311ad5f1fd15e3 Mon Sep 17 00:00:00 2001 From: Edwin Groothuis Date: Mon, 4 Nov 2002 02:35:01 +0000 Subject: PERL -> REINPLACE Noticed on: bento --- textproc/py-trex/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'textproc') 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 -- cgit v1.2.3