diff options
author | kuriyama <kuriyama@FreeBSD.org> | 2004-03-12 07:22:36 +0800 |
---|---|---|
committer | kuriyama <kuriyama@FreeBSD.org> | 2004-03-12 07:22:36 +0800 |
commit | f7a3285b39565c90f5df01ec996cdc2399a2e827 (patch) | |
tree | b477c69aa269364baa8c16dcd6ca504d26ff546f /net-mgmt/net-snmp53 | |
parent | da81f718c915b7fd63d8e4efc6e87cf1b1127a07 (diff) | |
download | freebsd-ports-gnome-f7a3285b39565c90f5df01ec996cdc2399a2e827.tar.gz freebsd-ports-gnome-f7a3285b39565c90f5df01ec996cdc2399a2e827.tar.zst freebsd-ports-gnome-f7a3285b39565c90f5df01ec996cdc2399a2e827.zip |
o More $REINPLACE_CMD'ify.
o Bump $PORTREVISION to force to clean up recent changes.
Submitted by: Cyrille Lefevre
Diffstat (limited to 'net-mgmt/net-snmp53')
-rw-r--r-- | net-mgmt/net-snmp53/Makefile | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/net-mgmt/net-snmp53/Makefile b/net-mgmt/net-snmp53/Makefile index 86fa82e55d84..01b2b06ee171 100644 --- a/net-mgmt/net-snmp53/Makefile +++ b/net-mgmt/net-snmp53/Makefile @@ -7,7 +7,7 @@ PORTNAME= snmp PORTVERSION= 5.1 -PORTREVISION= 3 +PORTREVISION= 4 PKGNAMEPREFIX= net- CATEGORIES= net-mgmt ipv6 MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} @@ -225,14 +225,14 @@ patch-startup-files: post-configure: @${FIND} ${WRKSRC} -name Makefile | \ - ${XARGS} ${PERL} -pi -e 's|$$| -m 755| if /^INSTALL\s+=/' + ${XARGS} ${REINPLACE_CMD} -E -e '/^INSTALL[ ]+=/s|$$| -m 755|' .if !defined(WITHOUT_PERL) post-build: ${FIND} ${WRKSRC}/perl -name Makefile | \ - ${XARGS} ${REINPLACE_CMD} -e '\ - s!^(PREFIX) = .*!$$1 = ${PREFIX}!; \ - s!^(INSTALLMAN3DIR) = /usr/local!$$1 = \$$\(PREFIX\)!; \ + ${XARGS} ${REINPLACE_CMD} -E -e '\ + s!^(PREFIX) = .*!\1 = ${PREFIX}!; \ + s!^(INSTALLMAN3DIR) = .*!\1 = ${MAN3PERLPREFIX}/man/man3!; \ s! doc_(perl|site|\$$\(INSTALLDIRS\))_install$$!!; \ ' .endif |