diff options
author | Jun Kuriyama <kuriyama@FreeBSD.org> | 2003-04-22 01:40:02 +0000 |
---|---|---|
committer | Jun Kuriyama <kuriyama@FreeBSD.org> | 2003-04-22 01:40:02 +0000 |
commit | c041f3907354eba20a57a688549755b7eb34efbc (patch) | |
tree | 03a66644edb07ea42fbf0318d37aaf834b892e4c /net-mgmt/net-snmp/Makefile | |
parent | Update to 2.2.0, the fontastic-everything-finally-works release. (diff) |
Installs perl modules.
Submitted by: tobez
PR: ports/50780
Diffstat (limited to 'net-mgmt/net-snmp/Makefile')
-rw-r--r-- | net-mgmt/net-snmp/Makefile | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/net-mgmt/net-snmp/Makefile b/net-mgmt/net-snmp/Makefile index c095b5f9c45a..cd631c8b6a3a 100644 --- a/net-mgmt/net-snmp/Makefile +++ b/net-mgmt/net-snmp/Makefile @@ -7,6 +7,7 @@ PORTNAME= net-snmp PORTVERSION= 5.0.8 +PORTREVISION= 1 CATEGORIES= net ipv6 MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= net-snmp @@ -28,6 +29,7 @@ CONFIGURE_ARGS+= --enable-shared --with-mib-modules="host ucd-snmp/diskio" \ --with-sys-location="${NET_SNMP_SYS_LOCATION}" \ --with-logfile="${NET_SNMP_LOGFILE}" \ --with-persistent-directory="${NET_SNMP_PERSISTENTDIR}" \ + --with-perl-modules \ --with-gnu-ld --with-libwrap --with-libs="-lkvm -ldevstat" .if defined(BATCH) CONFIGURE_ARGS+= --with-defaults --with-sys-contact=nobody@no.where @@ -73,6 +75,12 @@ MAN3= add_mibdir.3 add_module_replacement.3 default_store.3 \ snmp_sess_send.3 snmp_sess_session.3 snmp_sess_timeout.3 \ snmp_set_mib_warnings.3 snmp_set_save_descriptions.3 \ snmp_timeout.3 snmp_trap_api.3 +MAN3PERL= NetSNMP::default_store.3 NetSNMP::ASN.3 NetSNMP::OID.3 \ + NetSNMP::agent::default_store.3 \ + NetSNMP::netsnmp_request_infoPtr.3 \ + NetSNMP::agent.3 SNMP.3 +MAN3PERLPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION} +_MANPAGES+= ${MAN3PERL:S%^%${MAN3PERLPREFIX}/man/man3/%} MAN5= snmp.conf.5 snmp_config.5 snmpd.conf.5 \ snmptrapd.conf.5 variables.5 MAN8= snmpd.8 snmptrapd.8 @@ -96,6 +104,10 @@ post-patch: @${REINPLACE_CMD} -e "s|%%LOCALBASE%%|${LOCALBASE}|g" \ ${WRKSRC}/aclocal.m4 +post-configure: + @${FIND} ${CONFIGURE_WRKSRC}/perl -name Makefile | \ + ${XARGS} ${PERL5} -pi -e 's/ doc_(perl|site|\$$\(INSTALLDIRS\))_install$$//' + pre-install: -@[ -f ${STARTUP_FILE} ] && \ (echo "Remove old ${STARTUP_FILE} before install." && exit 1) |