aboutsummaryrefslogtreecommitdiffstats
path: root/devel/phpunit/Makefile
blob: 164a39bab2cfb6c80624f7828958c8c27c2bac68 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Created by: Torsten Zühlsdorff (<ports@toco-domains.de>)
# $FreeBSD$

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

MAINTAINER= ports@toco-domains.de
COMMENT=    Testing framework for unit tests

LICENSE=    BSD3CLAUSE

CONFLICTS=  pear-PHPUnit-[123]*

USE_PHP=    dom json spl pcre phar

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>