summaryrefslogtreecommitdiff
path: root/devel/phpunit12/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/phpunit12/Makefile')
-rw-r--r--devel/phpunit12/Makefile34
1 files changed, 34 insertions, 0 deletions
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>