aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/p5-AnyEvent-SNMP
diff options
context:
space:
mode:
authorSteven Kreuzer <skreuzer@FreeBSD.org>2011-06-24 15:30:08 +0000
committerSteven Kreuzer <skreuzer@FreeBSD.org>2011-06-24 15:30:08 +0000
commit5365e2b64f3055debe5066867f0bd73e16f1a416 (patch)
tree05d484e886c2b3ec2ae85e6183cbc7031d846e89 /net-mgmt/p5-AnyEvent-SNMP
parentdbed0a18944c14f4c28beace9ab81222db186754 (diff)
downloadports-5365e2b64f3055debe5066867f0bd73e16f1a416.tar.gz
ports-5365e2b64f3055debe5066867f0bd73e16f1a416.zip
Notes
Diffstat (limited to 'net-mgmt/p5-AnyEvent-SNMP')
-rw-r--r--net-mgmt/p5-AnyEvent-SNMP/Makefile24
-rw-r--r--net-mgmt/p5-AnyEvent-SNMP/distinfo2
-rw-r--r--net-mgmt/p5-AnyEvent-SNMP/pkg-descr8
-rw-r--r--net-mgmt/p5-AnyEvent-SNMP/pkg-plist5
4 files changed, 39 insertions, 0 deletions
diff --git a/net-mgmt/p5-AnyEvent-SNMP/Makefile b/net-mgmt/p5-AnyEvent-SNMP/Makefile
new file mode 100644
index 000000000000..46b01a11af01
--- /dev/null
+++ b/net-mgmt/p5-AnyEvent-SNMP/Makefile
@@ -0,0 +1,24 @@
+# New ports collection makefile for: p5-AnyEvent-SNMP
+# Date created: 2011-06-24
+# Whom: Steven Kreuzer <skreuzer@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= AnyEvent-SNMP
+PORTVERSION= 1.0
+CATEGORIES= net-mgmt perl5
+MASTER_SITES= CPAN
+
+MAINTAINER= skreuzer@FreeBSD.org
+COMMENT= Adaptor to integrate Net::SNMP into AnyEvent
+
+RUN_DEPENDS= p5-AnyEvent>=4.15:${PORTSDIR}/devel/p5-AnyEvent \
+ p5-Net-SNMP>=6.0.1:${PORTSDIR}/net-mgmt/p5-Net-SNMP
+BUILD_DEPENDS= ${RUN_DEPENDS}
+
+PERL_CONFIGURE= YES
+
+MAN3= AnyEvent::SNMP.3
+
+.include <bsd.port.mk>
diff --git a/net-mgmt/p5-AnyEvent-SNMP/distinfo b/net-mgmt/p5-AnyEvent-SNMP/distinfo
new file mode 100644
index 000000000000..a7c36236f12f
--- /dev/null
+++ b/net-mgmt/p5-AnyEvent-SNMP/distinfo
@@ -0,0 +1,2 @@
+SHA256 (AnyEvent-SNMP-1.0.tar.gz) = 8684bc503ad825b236313145ad83c960a6709002a4d38c0a5e1e04a9ced58324
+SIZE (AnyEvent-SNMP-1.0.tar.gz) = 5892
diff --git a/net-mgmt/p5-AnyEvent-SNMP/pkg-descr b/net-mgmt/p5-AnyEvent-SNMP/pkg-descr
new file mode 100644
index 000000000000..4b620afe8d61
--- /dev/null
+++ b/net-mgmt/p5-AnyEvent-SNMP/pkg-descr
@@ -0,0 +1,8 @@
+This module implements an alternative "event dispatcher" for Net::SNMP, using
+AnyEvent as a backend.
+
+It integrates Net::SNMP into AnyEvent: You can make non-blocking Net::SNMP
+calls and as long as other parts of your program also use AnyEvent (or some
+event loop supported by AnyEvent) and they will run in parallel.
+
+WWW: http://search.cpan.org/dist/AnyEvent-SNMP/
diff --git a/net-mgmt/p5-AnyEvent-SNMP/pkg-plist b/net-mgmt/p5-AnyEvent-SNMP/pkg-plist
new file mode 100644
index 000000000000..c2f12a7d5bdc
--- /dev/null
+++ b/net-mgmt/p5-AnyEvent-SNMP/pkg-plist
@@ -0,0 +1,5 @@
+@comment $FreeBSD$
+%%SITE_PERL%%/AnyEvent/SNMP.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/AnyEvent/SNMP/.packlist
+@dirrmtry %%SITE_PERL%%/AnyEvent
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/AnyEvent/SNMP