aboutsummaryrefslogtreecommitdiff
path: root/print/xtexsh
diff options
context:
space:
mode:
Diffstat (limited to 'print/xtexsh')
-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: