aboutsummaryrefslogtreecommitdiffstats
path: root/print/xtem
diff options
context:
space:
mode:
authordwcjr <dwcjr@FreeBSD.org>2002-09-02 00:07:59 +0800
committerdwcjr <dwcjr@FreeBSD.org>2002-09-02 00:07:59 +0800
commitfd50192ea7567a034b59dfc96a1d112f8ccfa573 (patch)
tree6975c46330f04e77b17cb4d014c9d66ceb4f7a68 /print/xtem
parent54d69c112debb52b84b6d174bd59479eec834fb7 (diff)
downloadfreebsd-ports-gnome-fd50192ea7567a034b59dfc96a1d112f8ccfa573.tar.gz
freebsd-ports-gnome-fd50192ea7567a034b59dfc96a1d112f8ccfa573.tar.zst
freebsd-ports-gnome-fd50192ea7567a034b59dfc96a1d112f8ccfa573.zip
${PERL} -> ${REINPLACE_CMD}
PR: 40784 Submitted by: corecode@corecode.ath.cx Reviewed by: flynn@energyhq.homeip.net
Diffstat (limited to 'print/xtem')
-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