From d18de910c893b97b9780245f649ce7fa6c6d49e7 Mon Sep 17 00:00:00 2001 From: Norikatsu Shigemura Date: Sat, 25 Jan 2003 22:36:42 +0000 Subject: USE_REINPLACE instead of ${PERL}. PR: ports/47464 Submitted by: Jean-Sebastien Roy (maintainer) --- print/xtexsh/Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'print/xtexsh/Makefile') 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: -- cgit v1.2.3