summaryrefslogtreecommitdiffstats
path: root/misc/rfc
diff options
context:
space:
mode:
authorwill <will@FreeBSD.org>2001-01-07 17:49:52 +0000
committerwill <will@FreeBSD.org>2001-01-07 17:49:52 +0000
commit17fc78c61a40e51c25675da0e3d99e222c1abdd3 (patch)
treea8b19a050dd6847de35f8b185751c1b52138d171 /misc/rfc
parent98a4931c0a8138d6f6fb6de52d4fd949a15ae520 (diff)
downloadFreeBSD-ports-17fc78c61a40e51c25675da0e3d99e222c1abdd3.zip
FreeBSD-ports-17fc78c61a40e51c25675da0e3d99e222c1abdd3.tar.gz
Clean up inefficient perl invocations; use multiple REs in the same call.
Diffstat (limited to 'misc/rfc')
-rw-r--r--misc/rfc/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/misc/rfc/Makefile b/misc/rfc/Makefile
index 52e2507..a611c2b 100644
--- a/misc/rfc/Makefile
+++ b/misc/rfc/Makefile
@@ -24,9 +24,9 @@ do-extract:
@${CP} ${DISTDIR}/${DISTNAME} ${WRKDIR}/${DISTNAME}
do-configure:
- @${PERL} -pi.orig -e 's|/usr/local/etc/rfc|${PREFIX}/etc/rfc|' ${WRKDIR}/${DISTNAME}
- @${PERL} -pi.orig -e 's|/usr/local/etc/nmap|${PREFIX}/share/misc/nmap|' ${WRKDIR}/${DISTNAME}
- @${PERL} -pi.orig -e 's|lynx|w3m|' ${WRKDIR}/${DISTNAME}
+ @${PERL} -pi.orig -e 's|/usr/local/etc/rfc|${PREFIX}/etc/rfc| ; \
+ s|/usr/local/etc/nmap|${PREFIX}/share/misc/nmap| ; \
+ s|lynx|w3m|' ${WRKDIR}/${DISTNAME}
do-install:
${INSTALL_SCRIPT} ${WRKDIR}/rfc ${PREFIX}/bin/rfc
OpenPOWER on IntegriCloud