mirror of
https://git.freebsd.org/ports.git
synced 2025-07-17 17:29:23 -04:00
Add p5-POE-Session-MultiDispatch 1.3,
callback dispatch for session events.
This commit is contained in:
parent
ed66ce00fe
commit
da57acccdd
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=81981
5 changed files with 51 additions and 0 deletions
|
@ -617,6 +617,7 @@
|
|||
SUBDIR += p5-POE-Component-Pcap
|
||||
SUBDIR += p5-POE-Component-RSS
|
||||
SUBDIR += p5-POE-Session-Cascading
|
||||
SUBDIR += p5-POE-Session-MultiDispatch
|
||||
SUBDIR += p5-PPerl
|
||||
SUBDIR += p5-PV
|
||||
SUBDIR += p5-Parallel-ForkManager
|
||||
|
|
26
devel/p5-POE-Session-MultiDispatch/Makefile
Normal file
26
devel/p5-POE-Session-MultiDispatch/Makefile
Normal file
|
@ -0,0 +1,26 @@
|
|||
# New ports collection makefile for: POE-Session-MultiDispatch
|
||||
# Date created: 02 June 2003
|
||||
# Whom: Sergey Skvortsov <skv@protey.ru>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= POE-Session-MultiDispatch
|
||||
PORTVERSION= 1.3
|
||||
CATEGORIES= devel perl5
|
||||
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
|
||||
MASTER_SITE_SUBDIR= POE
|
||||
PKGNAMEPREFIX= p5-
|
||||
|
||||
MAINTAINER= skv@FreeBSD.org
|
||||
COMMENT= Callback dispatch for session events
|
||||
|
||||
RUN_DEPENDS= ${SITE_PERL}/POE.pm:${PORTSDIR}/devel/p5-POE
|
||||
BUILD_DEPENDS= ${RUN_DEPENDS} \
|
||||
${SITE_PERL}/Test/More.pm:${PORTSDIR}/devel/p5-Test-Simple
|
||||
|
||||
PERL_CONFIGURE= yes
|
||||
|
||||
MAN3= POE::Session::MultiDispatch.3
|
||||
|
||||
.include <bsd.port.mk>
|
1
devel/p5-POE-Session-MultiDispatch/distinfo
Normal file
1
devel/p5-POE-Session-MultiDispatch/distinfo
Normal file
|
@ -0,0 +1 @@
|
|||
MD5 (POE-Session-MultiDispatch-1.3.tar.gz) = 59b2e2614c3a048d4ad5d0bd87ecd044
|
18
devel/p5-POE-Session-MultiDispatch/pkg-descr
Normal file
18
devel/p5-POE-Session-MultiDispatch/pkg-descr
Normal file
|
@ -0,0 +1,18 @@
|
|||
POE::Session::MultiDispatch is a drop in replacement for POE::Session
|
||||
that adds callback dispatch functionality to POE sessions. Each event
|
||||
may have multiple handlers associated with it. Fine control over the
|
||||
order of execution is available using helper methods that extend the
|
||||
interface of a POE::Session.
|
||||
|
||||
POE::Session::MultiDispatch uses POE::Session as a base class. When
|
||||
multiple callbacks are registered for an event, only the last callback
|
||||
survives, all the others are clobbered. POE::Session::MultiDispatch is
|
||||
much nicer to your registered callbacks, it keeps them all in the order
|
||||
they were defined. When an event is triggered, all the callbacks are
|
||||
then executed in that same order (unless you muck around with said
|
||||
order).
|
||||
|
||||
WWW: http://search.cpan.org/dist/POE-Session-MultiDispatch/
|
||||
|
||||
-- Sergey Skvortsov
|
||||
skv@FreeBSD.org
|
5
devel/p5-POE-Session-MultiDispatch/pkg-plist
Normal file
5
devel/p5-POE-Session-MultiDispatch/pkg-plist
Normal file
|
@ -0,0 +1,5 @@
|
|||
%%SITE_PERL%%/%%PERL_ARCH%%/auto/POE/Session/MultiDispatch/.packlist
|
||||
%%SITE_PERL%%/POE/Session/MultiDispatch.pm
|
||||
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/POE/Session/MultiDispatch
|
||||
@unexec rmdir %D/%%SITE_PERL%%/POE 2>/dev/null || true
|
||||
@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/POE 2>/dev/null || true
|
Loading…
Add table
Reference in a new issue