summaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authordd <dd@FreeBSD.org>2002-10-31 23:34:11 +0000
committerdd <dd@FreeBSD.org>2002-10-31 23:34:11 +0000
commit007da02c6d9ff1aebd8516c3352f1d83ad08358d (patch)
treee02a21bbbf17aa47b14478fb30bde9fc0c5e23ec /textproc
parent69048571177c6d602dfe7089e934773d352e6fcc (diff)
downloadFreeBSD-ports-007da02c6d9ff1aebd8516c3352f1d83ad08358d.zip
FreeBSD-ports-007da02c6d9ff1aebd8516c3352f1d83ad08358d.tar.gz
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
Diffstat (limited to 'textproc')
-rw-r--r--textproc/dict/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/textproc/dict/Makefile b/textproc/dict/Makefile
index 20c187d..21a2a8f 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>
OpenPOWER on IntegriCloud