summaryrefslogtreecommitdiff
path: root/net/dictd
diff options
context:
space:
mode:
authorDima Dorfman <dd@FreeBSD.org>2002-11-03 06:39:59 +0000
committerDima Dorfman <dd@FreeBSD.org>2002-11-03 06:39:59 +0000
commit739fd31f85842c0d08ad48dbf384a47738b55fc9 (patch)
treed636af2bfc5fabc4693cfbd7246324e203bb6416 /net/dictd
parentConditionalize MAINTAINER for the benefit of slave ports. (diff)
Convert to use REINPLACE_CMD instead of PERL and remove USE_PERL5.
Notes
Notes: svn path=/head/; revision=69324
Diffstat (limited to 'net/dictd')
-rw-r--r--net/dictd/Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/net/dictd/Makefile b/net/dictd/Makefile
index af7112b196d3..ba22caad34ed 100644
--- a/net/dictd/Makefile
+++ b/net/dictd/Makefile
@@ -19,7 +19,7 @@ MAINTAINER?= dd@FreeBSD.org
MAN1= dictzip.1
MAN8= dictd.8
-USE_PERL5= yes
+USE_REINPLACE= yes
USE_BISON= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-etcdir=${PREFIX}/etc --with-cflags="${CFLAGS}" \
@@ -32,13 +32,13 @@ INSTALL_TARGET= install.dictd install.dictzip
post-patch:
.for i in dict.1 dictd.8
- @${PERL} -pi -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/$i
+ @${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/$i
.endfor
.for i in example.conf
- @${PERL} -pi -e "s|/usr|${PREFIX}|g" ${WRKSRC}/$i
+ @${REINPLACE_CMD} -e "s|/usr|${PREFIX}|g" ${WRKSRC}/$i
.endfor
- @${PERL} -pi -e "s|%%CFLAGS%%|${CFLAGS}|g" ${WRKSRC}/zlib/Makefile
- @${PERL} -pi -e "s|([\ \t(])T_USER|\1T_USERNAME|g" ${WRKSRC}/*.[chly]
+ @${REINPLACE_CMD} -e "s|%%CFLAGS%%|${CFLAGS}|g" ${WRKSRC}/zlib/Makefile
+ @${REINPLACE_CMD} -e "s|([\ \t(])T_USER|\1T_USERNAME|g" ${WRKSRC}/*.[chly]
post-install:
@${MKDIR} ${DATADIR}