diff options
author | kuriyama <kuriyama@FreeBSD.org> | 2003-04-22 09:40:02 +0800 |
---|---|---|
committer | kuriyama <kuriyama@FreeBSD.org> | 2003-04-22 09:40:02 +0800 |
commit | 0cb957409d422cdb42ec7a0465ad3caf6ece2b40 (patch) | |
tree | 06eb643d4d72e924f16b1952ba7a499d7aa6d3de /net-mgmt/net-snmp53 | |
parent | 6309e06789afac7342d9916ad8dd61ab5f3ac195 (diff) | |
download | freebsd-ports-gnome-0cb957409d422cdb42ec7a0465ad3caf6ece2b40.tar.gz freebsd-ports-gnome-0cb957409d422cdb42ec7a0465ad3caf6ece2b40.tar.zst freebsd-ports-gnome-0cb957409d422cdb42ec7a0465ad3caf6ece2b40.zip |
Installs perl modules.
Submitted by: tobez
PR: ports/50780
Diffstat (limited to 'net-mgmt/net-snmp53')
-rw-r--r-- | net-mgmt/net-snmp53/Makefile | 12 | ||||
-rw-r--r-- | net-mgmt/net-snmp53/pkg-plist | 40 |
2 files changed, 52 insertions, 0 deletions
diff --git a/net-mgmt/net-snmp53/Makefile b/net-mgmt/net-snmp53/Makefile index c095b5f9c45a..cd631c8b6a3a 100644 --- a/net-mgmt/net-snmp53/Makefile +++ b/net-mgmt/net-snmp53/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) diff --git a/net-mgmt/net-snmp53/pkg-plist b/net-mgmt/net-snmp53/pkg-plist index 0102f30cfcc3..cd51465a3015 100644 --- a/net-mgmt/net-snmp53/pkg-plist +++ b/net-mgmt/net-snmp53/pkg-plist @@ -243,9 +243,49 @@ share/snmp/snmpconf-data/snmpd-data/trapsinks share/snmp/snmpconf-data/snmptrapd-data/formatting share/snmp/snmpconf-data/snmptrapd-data/snmpconf-config share/snmp/snmpconf-data/snmptrapd-data/traphandle +%%SITE_PERL%%/%%PERL_ARCH%%/auto/NetSNMP/default_store/default_store.so +%%SITE_PERL%%/%%PERL_ARCH%%/auto/NetSNMP/default_store/default_store.bs +%%SITE_PERL%%/%%PERL_ARCH%%/auto/NetSNMP/default_store/autosplit.ix +%%SITE_PERL%%/%%PERL_ARCH%%/auto/NetSNMP/ASN/ASN.so +%%SITE_PERL%%/%%PERL_ARCH%%/auto/NetSNMP/ASN/ASN.bs +%%SITE_PERL%%/%%PERL_ARCH%%/auto/NetSNMP/ASN/autosplit.ix +%%SITE_PERL%%/%%PERL_ARCH%%/auto/NetSNMP/OID/OID.so +%%SITE_PERL%%/%%PERL_ARCH%%/auto/NetSNMP/OID/OID.bs +%%SITE_PERL%%/%%PERL_ARCH%%/auto/NetSNMP/OID/autosplit.ix +%%SITE_PERL%%/%%PERL_ARCH%%/auto/NetSNMP/agent/agent.so +%%SITE_PERL%%/%%PERL_ARCH%%/auto/NetSNMP/agent/agent.bs +%%SITE_PERL%%/%%PERL_ARCH%%/auto/NetSNMP/agent/default_store/default_store.so +%%SITE_PERL%%/%%PERL_ARCH%%/auto/NetSNMP/agent/default_store/default_store.bs +%%SITE_PERL%%/%%PERL_ARCH%%/auto/NetSNMP/agent/default_store/autosplit.ix +%%SITE_PERL%%/%%PERL_ARCH%%/auto/NetSNMP/agent/autosplit.ix +%%SITE_PERL%%/%%PERL_ARCH%%/auto/SNMP/SNMP.so +%%SITE_PERL%%/%%PERL_ARCH%%/auto/SNMP/SNMP.bs +%%SITE_PERL%%/%%PERL_ARCH%%/auto/SNMP/autosplit.ix +%%SITE_PERL%%/%%PERL_ARCH%%/auto/Bundle/NetSNMP/.packlist +%%SITE_PERL%%/%%PERL_ARCH%%/Bundle/Makefile.subs.pl +%%SITE_PERL%%/%%PERL_ARCH%%/NetSNMP/default_store.pm +%%SITE_PERL%%/%%PERL_ARCH%%/NetSNMP/ASN.pm +%%SITE_PERL%%/%%PERL_ARCH%%/NetSNMP/OID.pm +%%SITE_PERL%%/%%PERL_ARCH%%/NetSNMP/agent/netsnmp_request_infoPtr.pm +%%SITE_PERL%%/%%PERL_ARCH%%/NetSNMP/agent/default_store.pm +%%SITE_PERL%%/%%PERL_ARCH%%/NetSNMP/agent.pm +%%SITE_PERL%%/%%PERL_ARCH%%/SNMP.pm @dirrm share/snmp/snmpconf-data/snmp-data @dirrm share/snmp/snmpconf-data/snmpd-data @dirrm share/snmp/snmpconf-data/snmptrapd-data @dirrm share/snmp/snmpconf-data @dirrm share/snmp/mibs @unexec rmdir %D/share/snmp 2>/dev/null || true +@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/NetSNMP/default_store +@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/NetSNMP/ASN +@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/NetSNMP/OID +@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/NetSNMP/agent/default_store +@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/NetSNMP/agent +@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/NetSNMP +@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/SNMP +@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Bundle/NetSNMP +@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Bundle 2>/dev/null || true +@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto 2>/dev/null || true +@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/Bundle 2>/dev/null || true +@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/NetSNMP/agent +@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/NetSNMP 2>/dev/null || true |