aboutsummaryrefslogtreecommitdiffstats
path: root/devel/pear-PHPUnit2/Makefile
blob: ec08dba63dc1531d7c96110fdd5fbeefd3265862 (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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# Ports collection makefile for:  pear-PHPUnit2
# Date created:           09 September 2004
# Whom:               Antonio Carlos Venancio Junior (<antonio@inf.ufsc.br>)
#
# $FreeBSD$
#

PORTNAME=   PHPUnit
PORTVERSION=    2.3.6
CATEGORIES= devel www pear
MASTER_SITES=   http://pear.phpunit.de/get/
PKGNAMEPREFIX=  pear-

MAINTAINER= ports@FreeBSD.org
COMMENT=    PEAR regression testing framework for unit tests

CONFLICTS=  pear-PHPUnit-[13]*

BUILD_DEPENDS=  ${PEARDIR}/PEAR.php:${PORTSDIR}/devel/pear \
        ${PEARDIR}/.channels/pear.phpunit.de.reg:${PORTSDIR}/devel/pear-channel-phpunit

RUN_DEPENDS=    ${PEARDIR}/PEAR.php:${PORTSDIR}/devel/pear \
        ${PEARDIR}/.channels/pear.phpunit.de.reg:${PORTSDIR}/devel/pear-channel-phpunit \
        ${PEARDIR}/Benchmark/Timer.php:${PORTSDIR}/benchmarks/pear-Benchmark

PEAR_CHANNEL=   phpunit
PEAR_AUTOINSTALL=   yes

LATEST_LINK=    pear-PHPUnit2

OPTIONS_DEFINE= PEAR_LOG
PEAR_LOG_DESC=  PEAR::Log support

USE_PHP=    dom pcre

DEFAULT_PHP_VER=5
IGNORE_WITH_PHP=4

.include <bsd.port.pre.mk>

.if ${PORT_OPTIONS:MPEAR_LOG}
RUN_DEPENDS+=   ${PEARDIR}/Log/null.php:${PORTSDIR}/sysutils/pear-Log
.endif

.include "${PORTSDIR}/devel/pear/bsd.pear.mk"
.include <bsd.port.post.mk>