aboutsummaryrefslogtreecommitdiffstats
path: root/lang/dice
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2002-11-04 09:15:06 +0800
committeredwin <edwin@FreeBSD.org>2002-11-04 09:15:06 +0800
commit19ea1032191b99057af5d542e643f70b68da3ae5 (patch)
treed9dca962673f5bd90689253ac8ccac68bba03136 /lang/dice
parent719e648ec3fe8a34e87ad3f43ffe8a399db75431 (diff)
downloadfreebsd-ports-gnome-19ea1032191b99057af5d542e643f70b68da3ae5.tar.gz
freebsd-ports-gnome-19ea1032191b99057af5d542e643f70b68da3ae5.tar.zst
freebsd-ports-gnome-19ea1032191b99057af5d542e643f70b68da3ae5.zip
PERL -> REINPLACE
Noticed by: bento
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}