summaryrefslogtreecommitdiff
path: root/net-mgmt/p0f
diff options
context:
space:
mode:
authorWill Andrews <will@FreeBSD.org>2001-01-07 17:49:52 +0000
committerWill Andrews <will@FreeBSD.org>2001-01-07 17:49:52 +0000
commite40046b15dfb9ad5c4dcaa8137ef304b829ea59b (patch)
tree608ae9c87b150f1e38d0af957c8f5103a8dacaab /net-mgmt/p0f
parentFix typo. (diff)
Clean up inefficient perl invocations; use multiple REs in the same call.
Notes
Notes: svn path=/head/; revision=36897
Diffstat (limited to 'net-mgmt/p0f')
-rw-r--r--net-mgmt/p0f/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/net-mgmt/p0f/Makefile b/net-mgmt/p0f/Makefile
index f5731c383453..af0b6cdc0c8d 100644
--- a/net-mgmt/p0f/Makefile
+++ b/net-mgmt/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