diff options
author | Will Andrews <will@FreeBSD.org> | 2000-07-06 20:55:29 +0000 |
---|---|---|
committer | Will Andrews <will@FreeBSD.org> | 2000-07-06 20:55:29 +0000 |
commit | e25cae493ed3a7df25ba40aa68050b6a0bae2479 (patch) | |
tree | d289215e48a0023be0b6ace98042b78d665874ba /net-mgmt/p5-Net-SNMP3 | |
parent | fb746cf97997cfe2557950a4f951914b454c6872 (diff) | |
download | ports-e25cae493ed3a7df25ba40aa68050b6a0bae2479.tar.gz ports-e25cae493ed3a7df25ba40aa68050b6a0bae2479.zip |
Add p5-Net-SNMP, a Perl interface to SNMP.
PR: 19743
Submitted by: Christopher N. Harrell <cnh@ivmg.net>
Notes
Notes:
svn path=/head/; revision=30284
Diffstat (limited to 'net-mgmt/p5-Net-SNMP3')
-rw-r--r-- | net-mgmt/p5-Net-SNMP3/Makefile | 26 | ||||
-rw-r--r-- | net-mgmt/p5-Net-SNMP3/distinfo | 1 | ||||
-rw-r--r-- | net-mgmt/p5-Net-SNMP3/pkg-comment | 1 | ||||
-rw-r--r-- | net-mgmt/p5-Net-SNMP3/pkg-descr | 8 | ||||
-rw-r--r-- | net-mgmt/p5-Net-SNMP3/pkg-plist | 6 |
5 files changed, 42 insertions, 0 deletions
diff --git a/net-mgmt/p5-Net-SNMP3/Makefile b/net-mgmt/p5-Net-SNMP3/Makefile new file mode 100644 index 000000000000..dc4b4b88fe18 --- /dev/null +++ b/net-mgmt/p5-Net-SNMP3/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-SNMP3/distinfo b/net-mgmt/p5-Net-SNMP3/distinfo new file mode 100644 index 000000000000..94dc59a2b014 --- /dev/null +++ b/net-mgmt/p5-Net-SNMP3/distinfo @@ -0,0 +1 @@ +MD5 (Net-SNMP-3.50.tar.gz) = 03b57f94c8d2fc2a37326924a5bb29a2 diff --git a/net-mgmt/p5-Net-SNMP3/pkg-comment b/net-mgmt/p5-Net-SNMP3/pkg-comment new file mode 100644 index 000000000000..23cc30a9b8ef --- /dev/null +++ b/net-mgmt/p5-Net-SNMP3/pkg-comment @@ -0,0 +1 @@ +A perl module for SNMP... Net::SNMP diff --git a/net-mgmt/p5-Net-SNMP3/pkg-descr b/net-mgmt/p5-Net-SNMP3/pkg-descr new file mode 100644 index 000000000000..753a5e759c62 --- /dev/null +++ b/net-mgmt/p5-Net-SNMP3/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-SNMP3/pkg-plist b/net-mgmt/p5-Net-SNMP3/pkg-plist new file mode 100644 index 000000000000..c50918a689ad --- /dev/null +++ b/net-mgmt/p5-Net-SNMP3/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 |