aboutsummaryrefslogtreecommitdiff
path: root/devel/tkp4
diff options
context:
space:
mode:
authorMikhail Teterin <mi@FreeBSD.org>2003-02-13 20:22:56 +0000
committerMikhail Teterin <mi@FreeBSD.org>2003-02-13 20:22:56 +0000
commitb5a258075c5aba6045f047870167527866ad7032 (patch)
treed618f2b174473a7f69fb8aa1dd93037b069409ff /devel/tkp4
parent9938e488de127586d091efbb0c99ddf7fbfe76e2 (diff)
downloadports-b5a258075c5aba6045f047870167527866ad7032.tar.gz
ports-b5a258075c5aba6045f047870167527866ad7032.zip
Notes
Diffstat (limited to 'devel/tkp4')
-rw-r--r--devel/tkp4/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/devel/tkp4/Makefile b/devel/tkp4/Makefile
index 833620338bca..6f6c951f3905 100644
--- a/devel/tkp4/Makefile
+++ b/devel/tkp4/Makefile
@@ -16,6 +16,8 @@ RUN_DEPENDS= wish8.3:${PORTSDIR}/x11-toolkits/tk83 \
p4:${PORTSDIR}/devel/perforce
NO_BUILD= yes
+USE_REINPLACE= yes
+REINPLACE_ARGS= -i ""
do-install:
${MKDIR} ${DATADIR}
@@ -28,9 +30,10 @@ do-install:
.include <bsd.port.pre.mk>
post-patch:
- ${PERL} -pi -e 's|wish|wish8.3|' ${WRKSRC}/tkp4
+ ${REINPLACE_CMD} -e 's|wish|wish8.3|' ${WRKSRC}/tkp4
.if defined(PREFIX) && ${PREFIX} != "/usr/local"
- ${PERL} -pi -e 's|/usr/local|${PREFIX}|g' `${GREP} -Fl /usr/local ${WRKSRC}/*`
+ ${REINPLACE_CMD} -e 's|/usr/local|${PREFIX}|g' \
+ `${GREP} -Fl /usr/local ${WRKSRC}/*`
.endif
.include <bsd.port.post.mk>