openbsd-ports/devel/pear-PHPUnit2/Makefile
sthen 2fde866515 no need to set PKGNAME, pear.port.mk does it now.
checked with a batch "make show=PKGNAMES" before and after.
2011-06-04 11:41:08 +00:00

28 lines
588 B
Makefile

# $OpenBSD: Makefile,v 1.8 2011/06/04 11:41:08 sthen Exp $
COMMENT= regression testing framework for PHP 5
DISTNAME= PHPUnit2-2.1.6
REVISION = 1
CATEGORIES= devel
MAINTAINER= Aleksander Piotrowski <alek@openbsd.org>
MODULES= www/pear
RUN_DEPENDS= benchmarks/pear-Benchmark
# PHP License
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
REGRESS_DEPENDS=${RUN_DEPENDS}
do-regress: fake
@cd ${WRKSRC} && ${PEAR_PHPBIN} \
-d include_path="${WRKINST}${PEAR_LIBDIR}:${PEAR_LIBDIR}" \
Tests/AllTests.php
.include <bsd.port.mk>