summaryrefslogtreecommitdiffstats
path: root/net/p0f
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 /net/p0f
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 'net/p0f')
-rw-r--r--net/p0f/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/p0f/Makefile b/net/p0f/Makefile
index f5731c3..af0b6cd 100644
--- a/net/p0f/Makefile
+++ b/net/p0f/Makefile
@@ -17,8 +17,8 @@ MAINTAINER= trevor@FreeBSD.org
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
post-patch:
- @${PERL} -pi -e "s=/etc=${PREFIX}/etc=g" ${WRKSRC}/p0f.c
- @${PERL} -pi -e "s=/etc=${PREFIX}/etc=g" ${WRKSRC}/README
+ @${PERL} -pi -e "s=/etc=${PREFIX}/etc=g ; \
+ s=/etc=${PREFIX}/etc=g" ${WRKSRC}/README
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/p0f ${PREFIX}/bin
OpenPOWER on IntegriCloud