mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-24 00:45:52 +00:00
- 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/
This commit is contained in:
parent
9a6bb891fe
commit
18b95bad94
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=393019
@ -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
|
||||
|
27
devel/p5-Mixin-Event-Dispatch/Makefile
Normal file
27
devel/p5-Mixin-Event-Dispatch/Makefile
Normal file
@ -0,0 +1,27 @@
|
||||
# Created by: Sunpoet Po-Chuan Hsieh <sunpoet@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@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>
|
2
devel/p5-Mixin-Event-Dispatch/distinfo
Normal file
2
devel/p5-Mixin-Event-Dispatch/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
SHA256 (Mixin-Event-Dispatch-1.006.tar.gz) = a571146d17c0c4eccec3f155b18e746d7e1e31599862810df554ac531b240dcb
|
||||
SIZE (Mixin-Event-Dispatch-1.006.tar.gz) = 22384
|
8
devel/p5-Mixin-Event-Dispatch/pkg-descr
Normal file
8
devel/p5-Mixin-Event-Dispatch/pkg-descr
Normal file
@ -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/
|
7
devel/p5-Mixin-Event-Dispatch/pkg-plist
Normal file
7
devel/p5-Mixin-Event-Dispatch/pkg-plist
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user