Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Mar 2005 14:25:29 -0300 (BRT)
From:      Antonio Carlos Venancio Junior <antonio@php.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/78889: New port: devel/pear-Event_Dispatcher PEAR dispatch notifications using PHP callbacks
Message-ID:  <200503151725.j2FHPTJ5014304@digitalsign.com>
Resent-Message-ID: <200503151730.j2FHU2Dq062384@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         78889
>Category:       ports
>Synopsis:       New port: devel/pear-Event_Dispatcher PEAR dispatch notifications using PHP callbacks
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Mar 15 17:30:01 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Antônio Carlos Venâncio Júnior
>Release:        FreeBSD 4.11-STABLE i386
>Organization:
>Environment:
FreeBSD antonio.cb.sc.gov.br 4.11-STABLE FreeBSD 4.11-STABLE #5: Tue Feb 22 17:32:18 BRT 2005     root@antonio.cb.sc.gov.br:/usr/obj/usr/src/sys/ANTONIO  i386
>Description:
New port: devel/pear-Event_Dispatcher PEAR dispatch notifications using PHP callbacks

The Event_Dispatcher acts as a notification dispatch table.
It is used to notify other objects of interesting things. This
information is encapsulated in Event_Notification objects. Client
objects register themselves with the Event_Dispatcher as observers of
specific notifications posted by other objects. When an event occurs,
an object posts an appropriate notification to the Event_Dispatcher.
The Event_Dispatcher dispatches a message to each registered
observer, passing the notification as the sole argument.
>How-To-Repeat:
>Fix:
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	pear-Event_Dispatcher
#	pear-Event_Dispatcher/Makefile
#	pear-Event_Dispatcher/distinfo
#	pear-Event_Dispatcher/pkg-descr
#
echo c - pear-Event_Dispatcher
mkdir -p pear-Event_Dispatcher > /dev/null 2>&1
echo x - pear-Event_Dispatcher/Makefile
sed 's/^X//' >pear-Event_Dispatcher/Makefile << 'END-of-pear-Event_Dispatcher/Makefile'
X# Ports collection makefile for:  pear-Event_Dispatcher
X# Date created:			  15 March 2005
X# Whom:				  Antonio Carlos Venancio Junior (<antonio@inf.ufsc.br>)
X#
X# $FreeBSD$
X#
X
XPORTNAME=	Event_Dispatcher
XPORTVERSION=	0.9.1
XCATEGORIES=	devel pear
X
XMAINTAINER=	antonio@php.net
XCOMMENT=	PEAR dispatch notifications using PHP callbacks
X
XBUILD_DEPENDS=	${PEARDIR}/PEAR.php:${PORTSDIR}/devel/pear-PEAR
XRUN_DEPENDS=	${BUILD_DEPENDS}
X
XUSE_REINPLACE=	yes
X
XCATEGORY=	Event
XFILES=		Dispatcher.php Notification.php
XEXAMPLES=	bubbling.php cancel.php notification-class.php object.php
XTESTS=		Console_TestListener.php Dispatcher_testcase.php test.php
X
Xpost-extract:
X.for file in ${FILES}
X	@${REINPLACE_CMD} -e "s|@package_version@|${PORTVERSION}|" ${WRKSRC}/${file}
X.endfor
X
X.include <bsd.port.pre.mk>
X.include "${PORTSDIR}/devel/pear-PEAR/Makefile.common"
X.include <bsd.port.post.mk>
END-of-pear-Event_Dispatcher/Makefile
echo x - pear-Event_Dispatcher/distinfo
sed 's/^X//' >pear-Event_Dispatcher/distinfo << 'END-of-pear-Event_Dispatcher/distinfo'
XMD5 (PEAR/Event_Dispatcher-0.9.1.tgz) = 975cab848349c5e190ff773b107796c0
XSIZE (PEAR/Event_Dispatcher-0.9.1.tgz) = 7898
END-of-pear-Event_Dispatcher/distinfo
echo x - pear-Event_Dispatcher/pkg-descr
sed 's/^X//' >pear-Event_Dispatcher/pkg-descr << 'END-of-pear-Event_Dispatcher/pkg-descr'
XThe Event_Dispatcher acts as a notification dispatch table.
XIt is used to notify other objects of interesting things. This
Xinformation is encapsulated in Event_Notification objects. Client
Xobjects register themselves with the Event_Dispatcher as observers of
Xspecific notifications posted by other objects. When an event occurs,
Xan object posts an appropriate notification to the Event_Dispatcher.
XThe Event_Dispatcher dispatches a message to each registered
Xobserver, passing the notification as the sole argument.
X
XWWW: http://pear.php.net/package/Event_Dispatcher/
END-of-pear-Event_Dispatcher/pkg-descr
exit
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200503151725.j2FHPTJ5014304>