# $FreeBSD: tags/RELEASE_10_4_0/devel/phpunit/Makefile 443562 2017-06-14 09:56:44Z tz $

PORTNAME=	phpunit
PORTVERSION=	5.7.20
CATEGORIES=	devel www
MASTER_SITES=	https://phar.phpunit.de/ \
		http://ports.toco-domains.de/
EXTRACT_SUFX=	.phar

MAINTAINER=	tz@FreeBSD.org
COMMENT=	Testing framework for unit tests

LICENSE=	BSD3CLAUSE

CONFLICTS_INSTALL=	phpunit6

PORTSCOUT=	limit:^5\.7\.[0-9]*

USES=		cpe php
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>
