aboutsummaryrefslogtreecommitdiff
path: root/textproc/denature/Makefile
diff options
context:
space:
mode:
authorAndrej Zverev <az@FreeBSD.org>2013-07-26 12:25:46 +0000
committerAndrej Zverev <az@FreeBSD.org>2013-07-26 12:25:46 +0000
commitab098bfa3d001f187e0db9889ddee496074b6b8f (patch)
treeb435d6f78aad5f535f16b879583ccc2c1f8aa552 /textproc/denature/Makefile
parent519dacca72eb1640b13f1a75f4c2f331c9cd49f6 (diff)
downloadports-ab098bfa3d001f187e0db9889ddee496074b6b8f.tar.gz
ports-ab098bfa3d001f187e0db9889ddee496074b6b8f.zip
Notes
Diffstat (limited to 'textproc/denature/Makefile')
-rw-r--r--textproc/denature/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/textproc/denature/Makefile b/textproc/denature/Makefile
index a6f60d229dec..a57284814694 100644
--- a/textproc/denature/Makefile
+++ b/textproc/denature/Makefile
@@ -26,8 +26,9 @@ MAN1= denature.1
PLIST_FILES= bin/denature
post-patch:
- @${PERL} -pi -e "s|%%LOCALBASE%%|${LOCALBASE}| ; \
- s|%%JAVA_HOME%%|${JAVA_HOME}|" ${WRKSRC}/denature
+ @${REINPLACE_CMD} -i '' -e 's|%%LOCALBASE%%|${LOCALBASE}|' \
+ -e 's|%%JAVA_HOME%%|${JAVA_HOME}|' \
+ ${WRKSRC}/denature
do-build:
cd ${WRKSRC} && ${POD2MAN} denature > denature.1