diff options
author | Jun Kuriyama <kuriyama@FreeBSD.org> | 2004-03-11 23:22:36 +0000 |
---|---|---|
committer | Jun Kuriyama <kuriyama@FreeBSD.org> | 2004-03-11 23:22:36 +0000 |
commit | 01742ce0923b18993cc19fd1ff40398826be6a9b (patch) | |
tree | a1f1cbbcdaf281568de0d2c782e3b9dda02fc39c /net-mgmt/net-snmp/Makefile | |
parent | - Update to 0.4.1 (diff) |
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-snmp/Makefile')
-rw-r--r-- | net-mgmt/net-snmp/Makefile | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/net-mgmt/net-snmp/Makefile b/net-mgmt/net-snmp/Makefile index 86fa82e55d84..01b2b06ee171 100644 --- a/net-mgmt/net-snmp/Makefile +++ b/net-mgmt/net-snmp/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 |