svn commit: r393019 - in head/devel: . p5-Mixin-Event-Dispatch
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Mon Jul 27 19:24:58 UTC 2015
Author: sunpoet
Date: Mon Jul 27 19:24:55 2015
New Revision: 393019
URL: https://svnweb.freebsd.org/changeset/ports/393019
Log:
- Add p5-Mixin-Event-Dispatch 1.006
Add Mixin::Event::Dispatch in as a parent to your class, and it'll provide some
methods for defining event handlers ("subscribe_to_event" or
"add_handler_for_event") and calling them ("invoke_event").
Note that handlers should return 0 for a one-off handler, and 1 if it should be
called again on the next event.
WWW: http://search.cpan.org/dist/Mixin-Event-Dispatch/
Added:
head/devel/p5-Mixin-Event-Dispatch/
head/devel/p5-Mixin-Event-Dispatch/Makefile (contents, props changed)
head/devel/p5-Mixin-Event-Dispatch/distinfo (contents, props changed)
head/devel/p5-Mixin-Event-Dispatch/pkg-descr (contents, props changed)
head/devel/p5-Mixin-Event-Dispatch/pkg-plist (contents, props changed)
Modified:
head/devel/Makefile
Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile Mon Jul 27 19:23:48 2015 (r393018)
+++ head/devel/Makefile Mon Jul 27 19:24:55 2015 (r393019)
@@ -2499,6 +2499,7 @@
SUBDIR += p5-Method-Signatures-Simple
SUBDIR += p5-Minilla
SUBDIR += p5-Minion
+ SUBDIR += p5-Mixin-Event-Dispatch
SUBDIR += p5-Mixin-Linewise
SUBDIR += p5-Mknod
SUBDIR += p5-Mo
Added: head/devel/p5-Mixin-Event-Dispatch/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/p5-Mixin-Event-Dispatch/Makefile Mon Jul 27 19:24:55 2015 (r393019)
@@ -0,0 +1,27 @@
+# Created by: Sunpoet Po-Chuan Hsieh <sunpoet at FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= Mixin-Event-Dispatch
+PORTVERSION= 1.006
+CATEGORIES= devel perl5
+MASTER_SITES= CPAN
+MASTER_SITE_SUBDIR= CPAN:TEAM
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= sunpoet at FreeBSD.org
+COMMENT= Mixin methods for simple event/message dispatch framework
+
+LICENSE= ART10 GPLv1
+LICENSE_COMB= dual
+
+BUILD_DEPENDS= p5-List-UtilsBy>=0:${PORTSDIR}/devel/p5-List-UtilsBy
+RUN_DEPENDS:= ${BUILD_DEPENDS}
+TEST_DEPENDS= p5-Test-CheckDeps>=0.010:${PORTSDIR}/devel/p5-Test-CheckDeps \
+ p5-Test-Fatal>=0.010:${PORTSDIR}/devel/p5-Test-Fatal \
+ p5-Test-Refcount>=0.07:${PORTSDIR}/devel/p5-Test-Refcount
+
+NO_ARCH= yes
+USE_PERL5= configure
+USES= perl5
+
+.include <bsd.port.mk>
Added: head/devel/p5-Mixin-Event-Dispatch/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/p5-Mixin-Event-Dispatch/distinfo Mon Jul 27 19:24:55 2015 (r393019)
@@ -0,0 +1,2 @@
+SHA256 (Mixin-Event-Dispatch-1.006.tar.gz) = a571146d17c0c4eccec3f155b18e746d7e1e31599862810df554ac531b240dcb
+SIZE (Mixin-Event-Dispatch-1.006.tar.gz) = 22384
Added: head/devel/p5-Mixin-Event-Dispatch/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/p5-Mixin-Event-Dispatch/pkg-descr Mon Jul 27 19:24:55 2015 (r393019)
@@ -0,0 +1,8 @@
+Add Mixin::Event::Dispatch in as a parent to your class, and it'll provide some
+methods for defining event handlers ("subscribe_to_event" or
+"add_handler_for_event") and calling them ("invoke_event").
+
+Note that handlers should return 0 for a one-off handler, and 1 if it should be
+called again on the next event.
+
+WWW: http://search.cpan.org/dist/Mixin-Event-Dispatch/
Added: head/devel/p5-Mixin-Event-Dispatch/pkg-plist
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/p5-Mixin-Event-Dispatch/pkg-plist Mon Jul 27 19:24:55 2015 (r393019)
@@ -0,0 +1,7 @@
+%%SITE_PERL%%/Mixin/Event/Dispatch.pm
+%%SITE_PERL%%/Mixin/Event/Dispatch/Bus.pm
+%%SITE_PERL%%/Mixin/Event/Dispatch/Bus.pod
+%%SITE_PERL%%/Mixin/Event/Dispatch/Event.pm
+%%PERL5_MAN3%%/Mixin::Event::Dispatch.3.gz
+%%PERL5_MAN3%%/Mixin::Event::Dispatch::Bus.3.gz
+%%PERL5_MAN3%%/Mixin::Event::Dispatch::Event.3.gz
More information about the svn-ports-all
mailing list