summaryrefslogtreecommitdiff
path: root/textproc/dict
diff options
context:
space:
mode:
authorDima Dorfman <dd@FreeBSD.org>2002-10-31 23:34:11 +0000
committerDima Dorfman <dd@FreeBSD.org>2002-10-31 23:34:11 +0000
commit2f6e05e344e3aba1a188ad3bfdcff12736847ec8 (patch)
tree96849236759099662822465286ec423f002eddc6 /textproc/dict
parentAdded clex, a commandline file manager (diff)
Convert to use REINPLACE_CMD and consequently remove USE_PERL5. The
distribution comes with one Perl script, but it appears to be auxiliary (there are no references to it anywhere except the documentation). dict works fine without Perl. Submitted by: clive
Notes
Notes: svn path=/head/; revision=69224
Diffstat (limited to 'textproc/dict')
-rw-r--r--textproc/dict/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/textproc/dict/Makefile b/textproc/dict/Makefile
index 20c187da37a2..21a2a8fab76a 100644
--- a/textproc/dict/Makefile
+++ b/textproc/dict/Makefile
@@ -14,8 +14,8 @@ DISTNAME= ${PORTNAME}d-${PORTVERSION}
MAINTAINER= dd@FreeBSD.org
-USE_PERL5= yes
USE_BISON= yes
+USE_REINPLACE= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --without-local-zlib --with-cflags="${CFLAGS}" \
--with-etcdir=${PREFIX}/etc
@@ -25,6 +25,6 @@ INSTALL_TARGET= install.dict
MAN1= dict.1
post-patch:
- ${PERL} -pi.orig -e 's|/etc/|${PREFIX}/etc/|g' ${WRKSRC}/dict.1
+ ${REINPLACE_CMD} -e 's|/etc/|${PREFIX}/etc/|g' ${WRKSRC}/dict.1
.include <bsd.port.mk>