git: d2f7c06c2a5c - main - devel/phpunit12: Add phpunit12 12.1.5
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 19 May 2025 20:02:51 UTC
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=d2f7c06c2a5c10adaba2e1cc521fc404f3bfe669 commit d2f7c06c2a5c10adaba2e1cc521fc404f3bfe669 Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2025-05-19 19:06:09 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2025-05-19 19:57:56 +0000 devel/phpunit12: Add phpunit12 12.1.5 PHPUnit is a programmer-oriented testing framework for PHP. It is an instance of the xUnit architecture for unit testing frameworks. --- devel/Makefile | 1 + devel/phpunit12/Makefile | 34 ++++++++++++++++++++++++++++++++++ devel/phpunit12/distinfo | 3 +++ devel/phpunit12/pkg-descr | 2 ++ 4 files changed, 40 insertions(+) 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.