summaryrefslogtreecommitdiff
path: root/print/xtem/Makefile
diff options
context:
space:
mode:
authorDavid W. Chapman Jr. <dwcjr@FreeBSD.org>2002-09-01 16:07:59 +0000
committerDavid W. Chapman Jr. <dwcjr@FreeBSD.org>2002-09-01 16:07:59 +0000
commit534fffca27bb18f7529d548c46ee3326505a89c7 (patch)
treea09ac440edd299d85a3517dea62caa2b115543fc /print/xtem/Makefile
parentUpdate for a new patchset, which has only different comments. (diff)
${PERL} -> ${REINPLACE_CMD}
PR: 40784 Submitted by: corecode@corecode.ath.cx Reviewed by: flynn@energyhq.homeip.net
Diffstat (limited to 'print/xtem/Makefile')
-rw-r--r--print/xtem/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/print/xtem/Makefile b/print/xtem/Makefile
index c72bff0add3f..585661e4f83f 100644
--- a/print/xtem/Makefile
+++ b/print/xtem/Makefile
@@ -19,6 +19,8 @@ RUN_DEPENDS+= gv:${PORTSDIR}/print/gv \
tex:${PORTSDIR}/print/teTeX
.endif
+USE_REINPLACE= yes
+
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
MAN1= hyphen_show.1 xtem.1
@@ -30,7 +32,7 @@ post-extract:
@${CP} ${FILESDIR}/Makefile ${FILESDIR}/exclude-list ${WRKSRC}
post-patch:
- @${PERL} -pi.bak -e \
+ @${REINPLACE_CMD} -e \
"s|%%TCLSH%%|${PREFIX}/bin/tclsh8.2|g; \
s|%%WISH%%|${PREFIX}/bin/wish8.2|g; \
s|%%XTEMPATH%%|${PREFIX}/share/xtem|g" ${WRKSRC}/xtem