diff options
author | will <will@FreeBSD.org> | 2000-07-07 04:55:29 +0800 |
---|---|---|
committer | will <will@FreeBSD.org> | 2000-07-07 04:55:29 +0800 |
commit | 38e0dadc4f13d97451f0bf70d333566b30c05112 (patch) | |
tree | 39612736d4f4054f034a5827883d6befb1535b29 /net-mgmt/p5-Net-SNMP | |
parent | 9a0059db0e52e3aaf1cdf76ee4d2082c4fe061cc (diff) | |
download | freebsd-ports-gnome-38e0dadc4f13d97451f0bf70d333566b30c05112.tar.gz freebsd-ports-gnome-38e0dadc4f13d97451f0bf70d333566b30c05112.tar.zst freebsd-ports-gnome-38e0dadc4f13d97451f0bf70d333566b30c05112.zip |
Add p5-Net-SNMP, a Perl interface to SNMP.
PR: 19743
Submitted by: Christopher N. Harrell <cnh@ivmg.net>
Diffstat (limited to 'net-mgmt/p5-Net-SNMP')
-rw-r--r-- | net-mgmt/p5-Net-SNMP/Makefile | 26 | ||||
-rw-r--r-- | net-mgmt/p5-Net-SNMP/distinfo | 1 | ||||
-rw-r--r-- | net-mgmt/p5-Net-SNMP/pkg-comment | 1 | ||||
-rw-r--r-- | net-mgmt/p5-Net-SNMP/pkg-descr | 8 | ||||
-rw-r--r-- | net-mgmt/p5-Net-SNMP/pkg-plist | 6 |
5 files changed, 42 insertions, 0 deletions
diff --git a/net-mgmt/p5-Net-SNMP/Makefile b/net-mgmt/p5-Net-SNMP/Makefile new file mode 100644 index 000000000000..dc4b4b88fe18 --- /dev/null +++ b/net-mgmt/p5-Net-SNMP/Makefile @@ -0,0 +1,26 @@ +# New ports collection makefile for: p5-Net-SNMP +# Date created: 30 June 2000 +# Whom: Christopher N. Harrell <cnh@ivmg.net> +# +# $FreeBSD$ +# + +PORTNAME= Net-SNMP +PORTVERSION= 3.50 +CATEGORIES= net perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN} +MASTER_SITE_SUBDIR= Net +PKGNAMEPREFIX= p5- + +MAINTAINER= ports@FreeBSD.org + +WRKSRC= ${WRKDIR}/${PORTNAME}-3.5 +USE_PERL5= yes +MAN3= Net::SNMP.3 +MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION} + +do-configure: + @cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL \ + CC="${CC}" CCFLAGS="${CFLAGS}" + +.include <bsd.port.mk> diff --git a/net-mgmt/p5-Net-SNMP/distinfo b/net-mgmt/p5-Net-SNMP/distinfo new file mode 100644 index 000000000000..94dc59a2b014 --- /dev/null +++ b/net-mgmt/p5-Net-SNMP/distinfo @@ -0,0 +1 @@ +MD5 (Net-SNMP-3.50.tar.gz) = 03b57f94c8d2fc2a37326924a5bb29a2 diff --git a/net-mgmt/p5-Net-SNMP/pkg-comment b/net-mgmt/p5-Net-SNMP/pkg-comment new file mode 100644 index 000000000000..23cc30a9b8ef --- /dev/null +++ b/net-mgmt/p5-Net-SNMP/pkg-comment @@ -0,0 +1 @@ +A perl module for SNMP... Net::SNMP diff --git a/net-mgmt/p5-Net-SNMP/pkg-descr b/net-mgmt/p5-Net-SNMP/pkg-descr new file mode 100644 index 000000000000..753a5e759c62 --- /dev/null +++ b/net-mgmt/p5-Net-SNMP/pkg-descr @@ -0,0 +1,8 @@ +The module Net::SNMP implements an object oriented +interface to the Simple Network Management Protocol. Perl +applications can use the module to retrieve or update +information on a remote host using the SNMP protocol. +Net::SNMP is implemented completely in Perl, requires no +compiling, and uses only standard Perl modules. Both +SNMPv1 and SNMPv2c (Community-Based SNMPv2) are supported +by the module. diff --git a/net-mgmt/p5-Net-SNMP/pkg-plist b/net-mgmt/p5-Net-SNMP/pkg-plist new file mode 100644 index 000000000000..c50918a689ad --- /dev/null +++ b/net-mgmt/p5-Net-SNMP/pkg-plist @@ -0,0 +1,6 @@ +lib/perl5/site_perl/%%PERL_VER%%/Net/SNMP.pm +lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Net/SNMP/.packlist +@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Net/SNMP +@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Net 2>/dev/null || true +@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Net 2>/dev/null || true +@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/Net 2>/dev/null || true |