diff options
| author | Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2025-05-19 19:06:09 +0000 |
|---|---|---|
| committer | Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2025-05-19 19:57:56 +0000 |
| commit | d2f7c06c2a5c10adaba2e1cc521fc404f3bfe669 (patch) | |
| tree | dfa66f88a53a40ca5342a343450e93b979a07626 | |
| parent | e4fc57bb5b718544fe9ff676ba82143f1b0b2487 (diff) | |
| -rw-r--r-- | devel/Makefile | 1 | ||||
| -rw-r--r-- | devel/phpunit12/Makefile | 34 | ||||
| -rw-r--r-- | devel/phpunit12/distinfo | 3 | ||||
| -rw-r--r-- | devel/phpunit12/pkg-descr | 2 |
4 files changed, 40 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile index 03e7113c7278..a0c33cef4265 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -4308,6 +4308,7 @@ SUBDIR += php84-tokenizer SUBDIR += phpunit10 SUBDIR += phpunit11 + SUBDIR += phpunit12 SUBDIR += phpunit8 SUBDIR += phpunit9 SUBDIR += physfs diff --git a/devel/phpunit12/Makefile b/devel/phpunit12/Makefile new file mode 100644 index 000000000000..ab8d13da6d70 --- /dev/null +++ b/devel/phpunit12/Makefile @@ -0,0 +1,34 @@ +PORTNAME= phpunit +PORTVERSION= 12.1.5 +CATEGORIES= devel www +MASTER_SITES= https://phar.phpunit.de/ +PKGNAMESUFFIX= 12${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 phar + +IGNORE_WITH_PHP=81 82 +NO_ARCH= yes +NO_BUILD= yes + +PLIST_FILES= bin/phpunit + +CONFLICTS_INSTALL= phpunit* + +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> diff --git a/devel/phpunit12/distinfo b/devel/phpunit12/distinfo new file mode 100644 index 000000000000..a82d679e2d50 --- /dev/null +++ b/devel/phpunit12/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1747546400 +SHA256 (phpunit-12.1.5.phar) = 913bd53647b3d78928335f12948b290a75a0970c43b599ba2c3922b77f93e6c5 +SIZE (phpunit-12.1.5.phar) = 5817620 diff --git a/devel/phpunit12/pkg-descr b/devel/phpunit12/pkg-descr new file mode 100644 index 000000000000..102dc6c002c2 --- /dev/null +++ b/devel/phpunit12/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. |
