summaryrefslogtreecommitdiff
path: root/net-mgmt
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2002-11-04 05:46:38 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2002-11-04 05:46:38 +0000
commit37f2224fa6a14520df830ae1daeba9b877daa347 (patch)
tree13d3d367b0967ab3adcc2ce528bfe1e770b4d48e /net-mgmt
parent- reorder patches (diff)
PERL -> REINPLACE
And some ports have USE_PERL5=yes now.
Notes
Notes: svn path=/head/; revision=69436
Diffstat (limited to 'net-mgmt')
-rw-r--r--net-mgmt/NeTraMet/Makefile3
-rw-r--r--net-mgmt/p0f/Makefile3
2 files changed, 4 insertions, 2 deletions
diff --git a/net-mgmt/NeTraMet/Makefile b/net-mgmt/NeTraMet/Makefile
index 892b8fc72f7b..f4b8ec694505 100644
--- a/net-mgmt/NeTraMet/Makefile
+++ b/net-mgmt/NeTraMet/Makefile
@@ -15,6 +15,7 @@ MAINTAINER= olgeni@FreeBSD.org
WRKSRC= ${WRKDIR}/NeTraMet${PORTVERSION:S/.//}
+USE_REINPLACE= yes
USE_AUTOCONF= yes
USE_GMAKE= yes
@@ -27,6 +28,6 @@ PLIST_SUB= MOTIF="@comment "
.endif
post-patch:
- ${PERL} -pi -e "s|"/etc/mib.txt"|${LOCALBASE}/share/NeTraMet/mibs/mib.txt|g;" ${WRKSRC}/src/snmplib/mib.c
+ ${REINPLACE_CMD} -e "s|"/etc/mib.txt"|${LOCALBASE}/share/NeTraMet/mibs/mib.txt|g;" ${WRKSRC}/src/snmplib/mib.c
.include <bsd.port.mk>
diff --git a/net-mgmt/p0f/Makefile b/net-mgmt/p0f/Makefile
index f60bb02bfce5..754f87fbfaee 100644
--- a/net-mgmt/p0f/Makefile
+++ b/net-mgmt/p0f/Makefile
@@ -14,12 +14,13 @@ EXTRACT_SUFX= .tgz
MAINTAINER= trevor@FreeBSD.org
+USE_REINPLACE= yes
DOCFILES= COPYING CREDITS ChangeLog README
MAN1= p0f.1
PLIST= ${WRKDIR}/pkg-plist
post-patch:
- ${PERL} -pi -e "s=/etc=${PREFIX}/etc=g" \
+ ${REINPLACE_CMD} -e "s=/etc=${PREFIX}/etc=g" \
${WRKSRC}/README \
${WRKSRC}/p0f.c