aboutsummaryrefslogtreecommitdiffstats
path: root/net/p5-POE-Component-Pcap
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2001-12-13 19:44:14 +0800
committerijliao <ijliao@FreeBSD.org>2001-12-13 19:44:14 +0800
commite52495a7ed4f9916fce4764fe88f22afc9c39aef (patch)
tree6baea93a67d6ba748264c99d936d3ff75f714e75 /net/p5-POE-Component-Pcap
parent6968d67be403f302618fffa46629a28294fc574a (diff)
downloadfreebsd-ports-gnome-e52495a7ed4f9916fce4764fe88f22afc9c39aef.tar.gz
freebsd-ports-gnome-e52495a7ed4f9916fce4764fe88f22afc9c39aef.tar.zst
freebsd-ports-gnome-e52495a7ed4f9916fce4764fe88f22afc9c39aef.zip
add p5-POE-Component-Pcap
POE component for non-blocking use of Net::Pcap PR: 32777 Submitted by: Sergey Skvortsov <skv@protey.ru>
Diffstat (limited to 'net/p5-POE-Component-Pcap')
-rw-r--r--net/p5-POE-Component-Pcap/Makefile27
-rw-r--r--net/p5-POE-Component-Pcap/distinfo1
-rw-r--r--net/p5-POE-Component-Pcap/pkg-comment1
-rw-r--r--net/p5-POE-Component-Pcap/pkg-descr4
-rw-r--r--net/p5-POE-Component-Pcap/pkg-plist7
5 files changed, 40 insertions, 0 deletions
diff --git a/net/p5-POE-Component-Pcap/Makefile b/net/p5-POE-Component-Pcap/Makefile
new file mode 100644
index 000000000000..d4817b160181
--- /dev/null
+++ b/net/p5-POE-Component-Pcap/Makefile
@@ -0,0 +1,27 @@
+# New ports collection makefile for: POE-Component-Pcap
+# Date created: 10 Dec 2001
+# Whom: Sergey Skvortsov <skv@protey.ru>
+#
+# $FreeBSD$
+#
+
+PORTNAME= POE-Component-Pcap
+PORTVERSION= 0.03
+CATEGORIES= devel perl5 net
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= POE
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= skv@protey.ru
+
+BUILD_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/POE.pm:${PORTSDIR}/devel/p5-POE \
+ ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/Net/Pcap.pm:${PORTSDIR}/net/p5-Net-Pcap \
+ ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/NetPacket/Ethernet:${PORTSDIR}/net/p5-NetPacket
+RUN_DEPENDS= ${BUILD_DEPENDS}
+
+PERL_CONFIGURE= yes
+
+MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
+MAN3= POE::Component::Pcap.3
+
+.include <bsd.port.mk>
diff --git a/net/p5-POE-Component-Pcap/distinfo b/net/p5-POE-Component-Pcap/distinfo
new file mode 100644
index 000000000000..76f3220f9bff
--- /dev/null
+++ b/net/p5-POE-Component-Pcap/distinfo
@@ -0,0 +1 @@
+MD5 (POE-Component-Pcap-0.03.tar.gz) = 16f048a0f4f96f74c4c7a2e60d7a9fd1
diff --git a/net/p5-POE-Component-Pcap/pkg-comment b/net/p5-POE-Component-Pcap/pkg-comment
new file mode 100644
index 000000000000..afebd34fd076
--- /dev/null
+++ b/net/p5-POE-Component-Pcap/pkg-comment
@@ -0,0 +1 @@
+POE component for non-blocking use of Net::Pcap
diff --git a/net/p5-POE-Component-Pcap/pkg-descr b/net/p5-POE-Component-Pcap/pkg-descr
new file mode 100644
index 000000000000..1478366f129b
--- /dev/null
+++ b/net/p5-POE-Component-Pcap/pkg-descr
@@ -0,0 +1,4 @@
+POE::Component::Pcap provides a wrapper for using the Net::Pcap module
+from POE programs. The component creates a separate session which
+posts events to a specified session and state when packets are
+available.
diff --git a/net/p5-POE-Component-Pcap/pkg-plist b/net/p5-POE-Component-Pcap/pkg-plist
new file mode 100644
index 000000000000..04b1ca37f474
--- /dev/null
+++ b/net/p5-POE-Component-Pcap/pkg-plist
@@ -0,0 +1,7 @@
+lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/POE/Component/Pcap/.packlist
+lib/perl5/site_perl/%%PERL_VER%%/POE/Component/Pcap.pm
+@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/POE/Component/Pcap
+@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/POE/Component 2>/dev/null || true
+@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/POE 2>/dev/null || true
+@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/POE/Component 2>/dev/null || true
+@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/POE 2>/dev/null || true