aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2026-05-02 21:27:29 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2026-05-02 21:27:29 +0000
commite6da3269203d39eee5cfec3e40aa610db567335a (patch)
treecd0f57eeb6bd7126b90debe5ccdd90ede9f40c6a
parent639507ce8d53aaaa8f1ef6e3c7ee84206e4ee72f (diff)
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.
-rw-r--r--devel/Makefile1
-rw-r--r--devel/phpunit13/Makefile34
-rw-r--r--devel/phpunit13/distinfo3
-rw-r--r--devel/phpunit13/pkg-descr2
4 files changed, 40 insertions, 0 deletions
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.