aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/net-snmp53
diff options
context:
space:
mode:
authorOliver Lehmann <oliver@FreeBSD.org>2005-05-28 08:30:49 +0000
committerOliver Lehmann <oliver@FreeBSD.org>2005-05-28 08:30:49 +0000
commit4b7702b014430206678b4c6dada25547640a023c (patch)
tree455cfa5c19a6b5ae462e77c87f34a2e84774a539 /net-mgmt/net-snmp53
parent55ce6941786532a31b1b633c7113c39d921d6e08 (diff)
downloadports-4b7702b014430206678b4c6dada25547640a023c.tar.gz
ports-4b7702b014430206678b4c6dada25547640a023c.zip
Notes
Diffstat (limited to 'net-mgmt/net-snmp53')
-rw-r--r--net-mgmt/net-snmp53/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/net-mgmt/net-snmp53/Makefile b/net-mgmt/net-snmp53/Makefile
index 39625685468b..8eeed238248a 100644
--- a/net-mgmt/net-snmp53/Makefile
+++ b/net-mgmt/net-snmp53/Makefile
@@ -236,14 +236,17 @@ post-configure:
@${FIND} ${WRKSRC} -name Makefile | \
${XARGS} ${REINPLACE_CMD} -E -e '/^INSTALL[ ]+=/s|$$| -m 755|'
-.if !defined(WITHOUT_PERL)
+
post-build:
+.if !defined(WITHOUT_PERL)
${FIND} ${WRKSRC}/perl -name Makefile | \
- ${XARGS} ${REINPLACE_CMD} -E -e '\
+ ${XARGS} ${REINPLACE_CMD} -E -e '\
s!^(PREFIX) = .*!\1 = ${PREFIX}!; \
s!^(INSTALLMAN3DIR) = .*!\1 = ${MAN3PERLPREFIX}/man/man3!; \
s! doc_(perl|site|\$$\(INSTALLDIRS\))_install$$!!; \
'
+.else
+ ${REINPLACE_CMD} -e 's| perlinstall||' ${WRKSRC}/Makefile
.endif
post-install: strip-files install-startup-files install-config-files install-doc-files display-message