freebsd-ports/devel/phpunit6/Makefile
Mathieu Arnold bc75d11f2d Enable PHP flavors for these php apps that do not support the default
PHP version.

This is done so that they actually build something, and to show very
clearly how adding flavors to a PHP app is done:

- Add the flavors keyword to USES=php
- Add ${PHP_PKGNAMESUFFIX} to PKGNAMESUFFIX.

Sponsored by:	Absolight
2018-03-08 19:54:40 +00:00

37 lines
761 B
Makefile

# Created by: Jochen Neumeister (<joneum@bsdproject.de>)
# $FreeBSD$
PORTNAME= phpunit
DISTVERSION= 6.5.7
CATEGORIES= devel www
MASTER_SITES= https://phar.phpunit.de/
PKGNAMESUFFIX= 6${PHP_PKGNAMESUFFIX}
EXTRACT_SUFX= .phar
MAINTAINER= joneum@FreeBSD.org
COMMENT= Testing framework for unit tests
LICENSE= BSD3CLAUSE
IGNORE_WITH_PHP= 56
CONFLICTS_INSTALL= phpunit
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>