1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-02 01:20:54 +00:00
freebsd-ports/devel/pear-PHPUnit3/Makefile

62 lines
1.9 KiB
Makefile

# Created by: Gerrit Beine (<gerrit.beine@gmx.de>)
# $FreeBSD$
PORTNAME= PHPUnit
PORTVERSION= 3.7.6
CATEGORIES= devel www pear
MASTER_SITES= http://pear.phpunit.de/get/
MAINTAINER= gasol.wu@gmail.com
COMMENT= PEAR regression testing framework for unit tests
LICENSE= BSD
BUILD_DEPENDS= pear>=1.9.4:${PORTSDIR}/devel/pear \
pear-File_Iterator>=1.3.1:${PORTSDIR}/devel/pear-File_Iterator \
pear-Text_Template>=1.1.1:${PORTSDIR}/textproc/pear-Text_Template \
pear-PHP_CodeCoverage>=1.2.1:${PORTSDIR}/devel/pear-PHP_CodeCoverage \
pear-PHP_Timer>=1.0.2:${PORTSDIR}/devel/pear-PHP_Timer \
pear-PHPUnit_MockObject>=1.2.0:${PORTSDIR}/devel/pear-PHPUnit_MockObject \
pear-Symfony_Component_Yaml>=2.1.0:${PORTSDIR}/textproc/pear-Symfony_Component_Yaml \
${PEARDIR}/.channels/pear.phpunit.de.reg:${PORTSDIR}/devel/pear-channel-phpunit
RUN_DEPENDS= pear>=1.9.4:${PORTSDIR}/devel/pear \
pear-File_Iterator>=1.3.1:${PORTSDIR}/devel/pear-File_Iterator \
pear-Text_Template>=1.1.1:${PORTSDIR}/textproc/pear-Text_Template \
pear-PHP_CodeCoverage>=1.2.1:${PORTSDIR}/devel/pear-PHP_CodeCoverage \
pear-PHP_Timer>=1.0.2:${PORTSDIR}/devel/pear-PHP_Timer \
pear-PHPUnit_MockObject>=1.2.0:${PORTSDIR}/devel/pear-PHPUnit_MockObject \
pear-Symfony_Component_Yaml>=2.1.0:${PORTSDIR}/textproc/pear-Symfony_Component_Yaml \
${PEARDIR}/.channels/pear.phpunit.de.reg:${PORTSDIR}/devel/pear-channel-phpunit
CONFLICTS= pear-PHPUnit-[12]*
PEAR_CHANNEL= phpunit
PEAR_AUTOINSTALL= yes
LATEST_LINK= pear-PHPUnit3
OPTIONS_DEFINE= JSON SIMPLEXML TOKENIZER
JSON_DESC= Enable JSON support
SIMPLEXML_DESC= Enable SIMPLEXML support
TOKENIZER_DESC= Enable Tokenizer support
USE_PHP= dom spl pcre
NO_STAGE= yes
.include <bsd.port.pre.mk>
.if ${PORT_OPTIONS:MJSON}
USE_PHP+= json
.endif
.if ${PORT_OPTIONS:MSIMPLEXML}
USE_PHP+= simplexml
.endif
.if ${PORT_OPTIONS:MTOKENIZER}
USE_PHP+= tokenizer
.endif
.include "${PORTSDIR}/devel/pear/bsd.pear.mk"
.include <bsd.port.post.mk>