Skip to content

Commit

Permalink
devel/phpunit10: Add phpunit10 10.0.0
Browse files Browse the repository at this point in the history
PHPUnit is a programmer-oriented testing framework for PHP. It is an instance of
the xUnit architecture for unit testing frameworks.
  • Loading branch information
sunpoet committed Feb 5, 2023
1 parent 9ab04f0 commit dfa5313
Show file tree
Hide file tree
Showing 4 changed files with 40 additions and 0 deletions.
1 change: 1 addition & 0 deletions devel/Makefile
Expand Up @@ -4073,6 +4073,7 @@
SUBDIR += php82-sysvsem
SUBDIR += php82-sysvshm
SUBDIR += php82-tokenizer
SUBDIR += phpunit10
SUBDIR += phpunit6
SUBDIR += phpunit7
SUBDIR += phpunit8
Expand Down
34 changes: 34 additions & 0 deletions devel/phpunit10/Makefile
@@ -0,0 +1,34 @@
PORTNAME= phpunit
PORTVERSION= 10.0.0
CATEGORIES= devel www
MASTER_SITES= https://phar.phpunit.de/
PKGNAMESUFFIX= 10${PHP_PKGNAMESUFFIX}
EXTRACT_SUFX= .phar

MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Testing framework for unit tests
WWW= https://phpunit.de/ \
https://github.com/sebastianbergmann/phpunit

LICENSE= BSD3CLAUSE

USES= cpe php:flavors
USE_PHP= dom json pcre phar spl

IGNORE_WITH_PHP=80
NO_ARCH= yes
NO_BUILD= yes

PLIST_FILES= bin/phpunit

CONFLICTS_INSTALL= phpunit[0-9]

CPE_VENDOR= phpunit_project

do-extract:
@${CP} ${DISTDIR}/${DISTFILES} ${WRKDIR}/phpunit

do-install:
${INSTALL_SCRIPT} ${WRKDIR}/phpunit ${STAGEDIR}${PREFIX}/bin/phpunit

.include <bsd.port.mk>
3 changes: 3 additions & 0 deletions devel/phpunit10/distinfo
@@ -0,0 +1,3 @@
TIMESTAMP = 1675540883
SHA256 (phpunit-10.0.0.phar) = 07c7ccac3526aea9dfcc6d5eeb5dd852ed1b6e88a497dbb243ae050fd8b5ec4f
SIZE (phpunit-10.0.0.phar) = 4479560
2 changes: 2 additions & 0 deletions devel/phpunit10/pkg-descr
@@ -0,0 +1,2 @@
PHPUnit is a programmer-oriented testing framework for PHP. It is an instance of
the xUnit architecture for unit testing frameworks.

0 comments on commit dfa5313

Please sign in to comment.