Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 Dec 2024 02:27:21 GMT
From:      "Vanilla I. Shu" <vanilla@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: e8cf6a0dda42 - main - devel/pecl-pcov: add new port.
Message-ID:  <202412220227.4BM2RLln020233@gitrepo.freebsd.org>

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

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

commit e8cf6a0dda4249e68a53f4f81815e50a3275aa11
Author:     Vanilla I. Shu <vanilla@FreeBSD.org>
AuthorDate: 2024-12-22 02:22:15 +0000
Commit:     Vanilla I. Shu <vanilla@FreeBSD.org>
CommitDate: 2024-12-22 02:27:12 +0000

    devel/pecl-pcov: add new port.
    
    PR:             283141
    Reported by:    Einar Bjarni Halldórsson <einar at isnic.is>
---
 devel/Makefile            |  1 +
 devel/pecl-pcov/Makefile  | 20 ++++++++++++++++++++
 devel/pecl-pcov/distinfo  |  3 +++
 devel/pecl-pcov/pkg-descr |  1 +
 4 files changed, 25 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index 5ebcdf3ed18f..6759ca62de2d 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -4211,6 +4211,7 @@
     SUBDIR += pecl-json_post
     SUBDIR += pecl-msgpack
     SUBDIR += pecl-mustache
+    SUBDIR += pecl-pcov
     SUBDIR += pecl-protobuf
     SUBDIR += pecl-psr
     SUBDIR += pecl-raphf2
diff --git a/devel/pecl-pcov/Makefile b/devel/pecl-pcov/Makefile
new file mode 100644
index 000000000000..e0618aa6e2d1
--- /dev/null
+++ b/devel/pecl-pcov/Makefile
@@ -0,0 +1,20 @@
+PORTNAME=	pcov
+PORTVERSION=	1.0.12
+CATEGORIES=	devel
+
+MAINTAINER=	einar@isnic.is
+COMMENT=	Self contained php-code-coverage compatible driver for PHP
+WWW=		https://pecl.php.net/package/pcov \
+		https://github.com/krakjoe/pcov
+
+LICENSE=	PHP301
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+LIB_DEPENDS=	libpcre2-8.so:devel/pcre2
+
+USES=		php:phpize,pecl pkgconfig
+
+CFLAGS+=	-I${PREFIX}/include
+CONFIGURE_ARGS=	--enable-pcov
+
+.include <bsd.port.mk>
diff --git a/devel/pecl-pcov/distinfo b/devel/pecl-pcov/distinfo
new file mode 100644
index 000000000000..85c2ade04d2f
--- /dev/null
+++ b/devel/pecl-pcov/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1733395835
+SHA256 (PECL/pcov-1.0.12.tgz) = 23255c8c9335a9636ccb743f5302436a97a582a0bbde9869485be911bbc15da8
+SIZE (PECL/pcov-1.0.12.tgz) = 25341
diff --git a/devel/pecl-pcov/pkg-descr b/devel/pecl-pcov/pkg-descr
new file mode 100644
index 000000000000..6dfddf684d1a
--- /dev/null
+++ b/devel/pecl-pcov/pkg-descr
@@ -0,0 +1 @@
+Self contained php-code-coverage compatible driver for PHP



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