Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 5 Feb 2023 15:53:46 GMT
From:      Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: dfa5313e5a1e - main - devel/phpunit10: Add phpunit10 10.0.0
Message-ID:  <202302051553.315FrkOQ028490@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=dfa5313e5a1e7b139c3c648fb038880da4792463

commit dfa5313e5a1e7b139c3c648fb038880da4792463
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-02-05 15:15:12 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-02-05 15:47:38 +0000

    devel/phpunit10: Add phpunit10 10.0.0
    
    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/phpunit10/Makefile  | 34 ++++++++++++++++++++++++++++++++++
 devel/phpunit10/distinfo  |  3 +++
 devel/phpunit10/pkg-descr |  2 ++
 4 files changed, 40 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index a6797c883b2d..d11cde2b9934 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -4073,6 +4073,7 @@
     SUBDIR += php82-sysvsem
     SUBDIR += php82-sysvshm
     SUBDIR += php82-tokenizer
+    SUBDIR += phpunit10
     SUBDIR += phpunit6
     SUBDIR += phpunit7
     SUBDIR += phpunit8
diff --git a/devel/phpunit10/Makefile b/devel/phpunit10/Makefile
new file mode 100644
index 000000000000..9e09b93189a8
--- /dev/null
+++ b/devel/phpunit10/Makefile
@@ -0,0 +1,34 @@
+PORTNAME=	phpunit
+PORTVERSION=	10.0.0
+CATEGORIES=	devel www
+MASTER_SITES=	https://phar.phpunit.de/
+PKGNAMESUFFIX=	10${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 json pcre phar spl
+
+IGNORE_WITH_PHP=80
+NO_ARCH=	yes
+NO_BUILD=	yes
+
+PLIST_FILES=	bin/phpunit
+
+CONFLICTS_INSTALL=	phpunit[0-9]
+
+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/phpunit10/distinfo b/devel/phpunit10/distinfo
new file mode 100644
index 000000000000..46a46d2e3d67
--- /dev/null
+++ b/devel/phpunit10/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1675540883
+SHA256 (phpunit-10.0.0.phar) = 07c7ccac3526aea9dfcc6d5eeb5dd852ed1b6e88a497dbb243ae050fd8b5ec4f
+SIZE (phpunit-10.0.0.phar) = 4479560
diff --git a/devel/phpunit10/pkg-descr b/devel/phpunit10/pkg-descr
new file mode 100644
index 000000000000..102dc6c002c2
--- /dev/null
+++ b/devel/phpunit10/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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202302051553.315FrkOQ028490>