1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00
freebsd-ports/devel/pear-PHPUnit3/Makefile
Antoine Brodin 2a7dd78bf9 Stage support for pear classes and channels in the devel category
Reviewed by:	bapt, ports@
Tested with:	poudriere + diff on the content of generated packages
2013-11-08 21:41:53 +00:00

61 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
.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>