mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-07 06:40:06 +00:00
a1993564e0
Ports using USES=php:phpize, php:ext, php:zend, and php:pecl are now flavored. They will automatically get flavors (php56, php70, php71, php72) depending of the versions they support (set with IGNORE_WITH_PHP). As a consequence, ports using USES=pear and USES=horde are also flavored. PR: 226242 Submitted by: mat Exp-run by: antoine Approved by: portmgr Sponsored by: Absolight Differential Revision: https://reviews.freebsd.org/D14208
40 lines
784 B
Makefile
40 lines
784 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= phpunit
|
|
DISTVERSION= 5.7.27
|
|
CATEGORIES= devel www
|
|
MASTER_SITES= https://phar.phpunit.de/
|
|
EXTRACT_SUFX= .phar
|
|
PKGNAMEPREFIX= ${PHP_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= tz@FreeBSD.org
|
|
COMMENT= Testing framework for unit tests
|
|
|
|
LICENSE= BSD3CLAUSE
|
|
|
|
DEPRECATED= No longer maintained upstream
|
|
EXPIRATION_DATE= 2018-02-02
|
|
|
|
CONFLICTS_INSTALL= phpunit6
|
|
|
|
PORTSCOUT= limit:^5\.7\.[0-9]*
|
|
|
|
USES= cpe php:flavors
|
|
CPE_VENDOR= phpunit_project
|
|
USE_PHP= dom json spl pcre phar
|
|
|
|
NO_ARCH= yes
|
|
NO_BUILD= yes
|
|
|
|
PLIST_FILES= bin/phpunit
|
|
|
|
# Download isn't compressed or aggregated, it's just the single file
|
|
do-extract:
|
|
${CP} ${DISTDIR}/${DISTFILES} ${WRKDIR}/${PORTNAME}
|
|
|
|
do-install:
|
|
${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} \
|
|
${STAGEDIR}${PREFIX}/bin/${PORTNAME}
|
|
|
|
.include <bsd.port.mk>
|