1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-21 20:38:45 +00:00
freebsd-ports/devel/pear-Event_Dispatcher/Makefile
Pav Lucistnik 68f1515194 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.

PR:		ports/78889
Submitted by:	Antonio Carlos Venancio Junior <antonio@php.net>
2005-03-16 23:55:03 +00:00

33 lines
869 B
Makefile

# Ports collection makefile for: pear-Event_Dispatcher
# Date created: 15 March 2005
# Whom: Antonio Carlos Venancio Junior (<antonio@inf.ufsc.br>)
#
# $FreeBSD$
#
PORTNAME= Event_Dispatcher
PORTVERSION= 0.9.1
CATEGORIES= devel pear
MAINTAINER= antonio@php.net
COMMENT= PEAR dispatch notifications using PHP callbacks
BUILD_DEPENDS= ${PEARDIR}/PEAR.php:${PORTSDIR}/devel/pear-PEAR
RUN_DEPENDS= ${BUILD_DEPENDS}
USE_REINPLACE= yes
CATEGORY= Event
FILES= Dispatcher.php Notification.php
EXAMPLES= bubbling.php cancel.php notification-class.php object.php
TESTS= Console_TestListener.php Dispatcher_testcase.php test.php
post-extract:
.for file in ${FILES}
@${REINPLACE_CMD} -e "s|@package_version@|${PORTVERSION}|" ${WRKSRC}/${file}
.endfor
.include <bsd.port.pre.mk>
.include "${PORTSDIR}/devel/pear-PEAR/Makefile.common"
.include <bsd.port.post.mk>