aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcelo Araujo <araujo@FreeBSD.org>2008-04-20 14:04:43 +0000
committerMarcelo Araujo <araujo@FreeBSD.org>2008-04-20 14:04:43 +0000
commit973af12c349d3ecd7e4ee958df89729970bf5ff2 (patch)
treef38e8ab9b92a13ef819cac0f3d8b77aa50ae27b6
parent013091a173704f6041e2e55d70775348b6b605cd (diff)
downloadports-973af12c349d3ecd7e4ee958df89729970bf5ff2.tar.gz
ports-973af12c349d3ecd7e4ee958df89729970bf5ff2.zip
This module was mainly written for Net::XMPP2, Net::IRC3 and BS to
provide a consistent API for registering and emitting events. Even though I originally wrote it for those modules I relased it seperately in case anyone may find this module useful. WWW: http://search.cpan.org/dist/BS-Event/ PR: ports/122629 Submitted by: Gean-Suan Lin <gslin@gslin.org>
Notes
Notes: svn path=/head/; revision=211656
-rw-r--r--devel/Makefile1
-rw-r--r--devel/p5-BS-Event/Makefile26
-rw-r--r--devel/p5-BS-Event/distinfo3
-rw-r--r--devel/p5-BS-Event/pkg-descr6
-rw-r--r--devel/p5-BS-Event/pkg-plist8
5 files changed, 44 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index 80c2958c3dd8..d933f7df1c17 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -935,6 +935,7 @@
SUBDIR += p5-B-Size
SUBDIR += p5-B-Utils
SUBDIR += p5-BFD
+ SUBDIR += p5-BS-Event
SUBDIR += p5-BSD-Resource
SUBDIR += p5-BSD-stat
SUBDIR += p5-Best
diff --git a/devel/p5-BS-Event/Makefile b/devel/p5-BS-Event/Makefile
new file mode 100644
index 000000000000..1324b7973a9b
--- /dev/null
+++ b/devel/p5-BS-Event/Makefile
@@ -0,0 +1,26 @@
+# New ports collection makefile for: p5-BS-Event
+# Date created: 2008-04-10
+# Whom: Gea-Suan Lin <gslin@gslin.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= BS-Event
+PORTVERSION= 0.3
+CATEGORIES= devel perl5
+MASTER_SITES= CPAN
+MASTER_SITE_SUBDIR= ../../authors/id/E/EL/ELMEX
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= gslin@gslin.org
+COMMENT= A class that provides an event callback interface
+
+PERL_CONFIGURE= yes
+
+MAN3= BS::Event.3
+
+post-install:
+ ${MKDIR} ${EXAMPLESDIR}
+ ${INSTALL_SCRIPT} ${WRKSRC}/samples/simple_example ${EXAMPLESDIR}/
+
+.include <bsd.port.mk>
diff --git a/devel/p5-BS-Event/distinfo b/devel/p5-BS-Event/distinfo
new file mode 100644
index 000000000000..f9e8fc127018
--- /dev/null
+++ b/devel/p5-BS-Event/distinfo
@@ -0,0 +1,3 @@
+MD5 (BS-Event-0.3.tar.gz) = 47d8a648165afeb56a6440c03bc455af
+SHA256 (BS-Event-0.3.tar.gz) = 668357ed92a395bb80cb687422293d90049cec6b2056a11fb200abc8229bec8a
+SIZE (BS-Event-0.3.tar.gz) = 6254
diff --git a/devel/p5-BS-Event/pkg-descr b/devel/p5-BS-Event/pkg-descr
new file mode 100644
index 000000000000..718ffd74e289
--- /dev/null
+++ b/devel/p5-BS-Event/pkg-descr
@@ -0,0 +1,6 @@
+This module was mainly written for Net::XMPP2, Net::IRC3 and BS to
+provide a consistent API for registering and emitting events. Even
+though I originally wrote it for those modules I relased it seperately
+in case anyone may find this module useful.
+
+WWW: http://search.cpan.org/dist/BS-Event/
diff --git a/devel/p5-BS-Event/pkg-plist b/devel/p5-BS-Event/pkg-plist
new file mode 100644
index 000000000000..e2f4c9b0366a
--- /dev/null
+++ b/devel/p5-BS-Event/pkg-plist
@@ -0,0 +1,8 @@
+@comment $FreeBSD$
+%%EXAMPLESDIR%%/simple_example
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/BS/Event/.packlist
+%%SITE_PERL%%/BS/Event.pm
+@dirrmtry %%SITE_PERL%%/BS
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/BS/Event
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/BS
+@dirrmtry %%EXAMPLESDIR%%