aboutsummaryrefslogtreecommitdiff
path: root/lang/dice
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2002-11-04 01:15:06 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2002-11-04 01:15:06 +0000
commitb9c12aa595b018e776125375ce2e6846489710e0 (patch)
treee8c68c4b620df32348d0e324a466be81402ee65c /lang/dice
parentb998f97bdba0c6899a5053e09fb0ada339239aab (diff)
downloadports-b9c12aa595b018e776125375ce2e6846489710e0.tar.gz
ports-b9c12aa595b018e776125375ce2e6846489710e0.zip
PERL -> REINPLACE
Noticed by: bento
Notes
Notes: svn path=/head/; revision=69409
Diffstat (limited to 'lang/dice')
-rw-r--r--lang/dice/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/lang/dice/Makefile b/lang/dice/Makefile
index afcfdac723ea..e8e79148e5c0 100644
--- a/lang/dice/Makefile
+++ b/lang/dice/Makefile
@@ -15,12 +15,14 @@ EXTRACT_SUFX= .tgz
MAINTAINER= adamw@FreeBSD.org
+USE_REINPLACE= yes
+
post-patch:
@for i in ${WRKSRC}/lib/version.h ${WRKSRC}/include/lib/version.h \
${WRKSRC}/src/dcpp/main.c ${WRKSRC}/src/dcc/defs.h \
${WRKSRC}/src/dlink/main.c; \
do \
- ${PERL} -pi -e 's@/home/dice@${PREFIX}/share/dice@g' $$i; \
+ ${REINPLACE_CMD} -e 's@/home/dice@${PREFIX}/share/dice@g' $$i; \
done
@${CP} ${FILESDIR}/Makefile ${WRKSRC}