aboutsummaryrefslogtreecommitdiffstats
path: root/print
diff options
context:
space:
mode:
authornork <nork@FreeBSD.org>2003-01-26 06:36:42 +0800
committernork <nork@FreeBSD.org>2003-01-26 06:36:42 +0800
commit0b6e0537a7e5eb8781c629afcb24a5316027da0e (patch)
tree7733c1cddc58b383328310e478f51fe4e3cbd5f6 /print
parentfd76f7f2821d8962130f8c7747b1d8a0edfb441b (diff)
downloadfreebsd-ports-gnome-0b6e0537a7e5eb8781c629afcb24a5316027da0e.tar.gz
freebsd-ports-gnome-0b6e0537a7e5eb8781c629afcb24a5316027da0e.tar.zst
freebsd-ports-gnome-0b6e0537a7e5eb8781c629afcb24a5316027da0e.zip
USE_REINPLACE instead of ${PERL}.
PR: ports/47464 Submitted by: Jean-Sebastien Roy <js@jeannot.org> (maintainer)
Diffstat (limited to 'print')
-rw-r--r--print/xtexsh/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/print/xtexsh/Makefile b/print/xtexsh/Makefile
index 47c957225256..3f8b9531b384 100644
--- a/print/xtexsh/Makefile
+++ b/print/xtexsh/Makefile
@@ -18,13 +18,14 @@ RUN_DEPENDS= tex:${PORTSDIR}/print/teTeX \
WRKSRC= ${WRKDIR}/${PORTNAME}-1.4
-USE_X_PREFIX= yes
NO_BUILD= yes
MAN1= xtexsh.1
MANCOMPRESSED= yes
+USE_REINPLACE= yes
+
post-patch:
- @${PERL} -pi -e 's,/usr/bin/wish,${PREFIX}/bin/wish8.4,; \
+ @${REINPLACE_CMD} -e 's,/usr/bin/wish,${PREFIX}/bin/wish8.4,; \
s,/etc,${PREFIX}/etc,; s,bash,sh,' ${WRKSRC}/xtexsh
do-install: