git: e6da3269203d - main - devel/phpunit13: Add phpunit13 13.1.8
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 02 May 2026 21:37:22 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=e6da3269203d39eee5cfec3e40aa610db567335a
commit e6da3269203d39eee5cfec3e40aa610db567335a
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2026-05-02 21:27:29 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2026-05-02 21:27:29 +0000
devel/phpunit13: Add phpunit13 13.1.8
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/phpunit13/Makefile | 34 ++++++++++++++++++++++++++++++++++
devel/phpunit13/distinfo | 3 +++
devel/phpunit13/pkg-descr | 2 ++
4 files changed, 40 insertions(+)
diff --git a/devel/Makefile b/devel/Makefile
index 624ab65cde8c..931fdff0d6de 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -4332,6 +4332,7 @@
SUBDIR += phpunit10
SUBDIR += phpunit11
SUBDIR += phpunit12
+ SUBDIR += phpunit13
SUBDIR += phpunit8
SUBDIR += phpunit9
SUBDIR += physfs
diff --git a/devel/phpunit13/Makefile b/devel/phpunit13/Makefile
new file mode 100644
index 000000000000..8344227ebc97
--- /dev/null
+++ b/devel/phpunit13/Makefile
@@ -0,0 +1,34 @@
+PORTNAME= phpunit
+PORTVERSION= 13.1.8
+CATEGORIES= devel www
+MASTER_SITES= https://phar.phpunit.de/
+PKGNAMESUFFIX= 13${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= ctype dom mbstring phar tokenizer xml xmlwriter
+
+IGNORE_WITH_PHP=82 83
+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/phpunit13/distinfo b/devel/phpunit13/distinfo
new file mode 100644
index 000000000000..b3b207635f8c
--- /dev/null
+++ b/devel/phpunit13/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1777722777
+SHA256 (phpunit-13.1.8.phar) = 0d38c8e5f89fa64d2602b026b6339ac100c50abba2d0c4fef13d229e9a7c16df
+SIZE (phpunit-13.1.8.phar) = 5871574
diff --git a/devel/phpunit13/pkg-descr b/devel/phpunit13/pkg-descr
new file mode 100644
index 000000000000..102dc6c002c2
--- /dev/null
+++ b/devel/phpunit13/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.