aboutsummaryrefslogtreecommitdiff
path: root/devel/pear-Event_Dispatcher/Makefile
blob: 9f0c1c51a52a7b01627b1026823b09d7f2cade7e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# 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>