summaryrefslogtreecommitdiffstats
path: root/net-mgmt
diff options
context:
space:
mode:
authormharo <mharo@FreeBSD.org>2001-05-03 08:41:58 +0000
committermharo <mharo@FreeBSD.org>2001-05-03 08:41:58 +0000
commitf37aa139b6f1cbad5a4830a6a101353fe36a41e6 (patch)
tree37f599cc944c4d1c3018056372f526995bc2498f /net-mgmt
parent9425d94c342369e1f4101936d444739b459c7039 (diff)
downloadFreeBSD-ports-f37aa139b6f1cbad5a4830a6a101353fe36a41e6.zip
FreeBSD-ports-f37aa139b6f1cbad5a4830a6a101353fe36a41e6.tar.gz
- Install documentation (unless NOPORTDOCS is set, of course)
- Fix up pkg-* - take over MAINTAINER PR: 27047 Submitted by: Pete Fritchman <petef@databits.net> (new maintainer)
Diffstat (limited to 'net-mgmt')
-rw-r--r--net-mgmt/p5-SNMP_Session/Makefile13
-rw-r--r--net-mgmt/p5-SNMP_Session/pkg-comment2
-rw-r--r--net-mgmt/p5-SNMP_Session/pkg-descr13
-rw-r--r--net-mgmt/p5-SNMP_Session/pkg-plist2
4 files changed, 20 insertions, 10 deletions
diff --git a/net-mgmt/p5-SNMP_Session/Makefile b/net-mgmt/p5-SNMP_Session/Makefile
index 18467d4..174d316 100644
--- a/net-mgmt/p5-SNMP_Session/Makefile
+++ b/net-mgmt/p5-SNMP_Session/Makefile
@@ -11,11 +11,18 @@ CATEGORIES= net perl5
MASTER_SITES= ftp://ftp.switch.ch/software/sources/network/snmp/perl/
PKGNAMEPREFIX= p5-
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= petef@databits.net
PERL_CONFIGURE= yes
-pre-install:
- ${PERL} -pi -e "s:/usr/local:${PREFIX}:g" ${WRKSRC}/Makefile;
+post-configure:
+ @${PERL} -pi -e "s:/usr/local:${PREFIX}:g" ${WRKSRC}/Makefile;
+
+post-install:
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${PREFIX}/share/doc/p5-SNMP_Session
+ ${INSTALL_DATA} ${WRKSRC}/README.SNMP_util \
+ ${PREFIX}/share/doc/p5-SNMP_Session
+.endif
.include <bsd.port.mk>
diff --git a/net-mgmt/p5-SNMP_Session/pkg-comment b/net-mgmt/p5-SNMP_Session/pkg-comment
index e85f52b..382d3f9 100644
--- a/net-mgmt/p5-SNMP_Session/pkg-comment
+++ b/net-mgmt/p5-SNMP_Session/pkg-comment
@@ -1 +1 @@
-A perl5 module for providing rudimentary access to SNMPv1 agents
+A perl5 module providing rudimentary access to SNMPv1 and v2 agents
diff --git a/net-mgmt/p5-SNMP_Session/pkg-descr b/net-mgmt/p5-SNMP_Session/pkg-descr
index 6bf0dc0..3f1b28f 100644
--- a/net-mgmt/p5-SNMP_Session/pkg-descr
+++ b/net-mgmt/p5-SNMP_Session/pkg-descr
@@ -1,6 +1,6 @@
This archive contains Perl 5 modules SNMP_Session.pm and BER.pm,
which, when used together, provide rudimentary access to remote SNMP
-(v1) agents.
+(v1 and v2) agents.
This module differs from existing SNMP packages in that it is
completely stand-alone, i.e. you don't need to have another SNMP
@@ -8,9 +8,10 @@ package such as CMU SNMP. It is also written entirely in Perl, so you
don't have to compile any C modules. It uses the Perl 5 Socket.pm
module and should therefore be very portable, even to non-Unix systems.
-The SNMP operations currently supported are "get", "get-next", and
-"set", as well as trap generation and reception.
+The SNMP operations currently supported are "get", "get-next", "get-bulk"
+and "set", as well as trap generation and reception.
-For an excellent example of the type of application this is useful
-for, see Tobias Oetiker's ``mrtg'' (Multi Router Traffic Grapher)
-tool.
+WWW: http://www.switch.ch/misc/leinen/snmp/perl/
+
+- Pete
+petef@databits.net
diff --git a/net-mgmt/p5-SNMP_Session/pkg-plist b/net-mgmt/p5-SNMP_Session/pkg-plist
index cbb2f5d..d62f483 100644
--- a/net-mgmt/p5-SNMP_Session/pkg-plist
+++ b/net-mgmt/p5-SNMP_Session/pkg-plist
@@ -2,4 +2,6 @@ lib/perl5/site_perl/%%PERL_VER%%/BER.pm
lib/perl5/site_perl/%%PERL_VER%%/SNMP_Session.pm
lib/perl5/site_perl/%%PERL_VER%%/SNMP_util.pm
lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/SNMP_Session/.packlist
+%%PORTDOCS%%share/doc/p5-SNMP_Session/README.SNMP_util
@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/SNMP_Session
+%%PORTDOCS%%@dirrm share/doc/p5-SNMP_Session
OpenPOWER on IntegriCloud