git: 62d987cfbddd - main - devel/pkgconf: Update to 3.0.5

Daniel Engberg <[email protected]>
Newsgroups gmane.os.freebsd.devel.cvs.ports
Message-ID <[email protected]>
The branch main has been updated by diizzy:

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

commit 62d987cfbddda588795b669ae385868ccb5f5d5a
Author:     Daniel Engberg <[email protected]>
AuthorDate: 2026-08-08 09:42:16 +0000
Commit:     Daniel Engberg <[email protected]>
CommitDate: 2026-08-08 15:46:10 +0000

    devel/pkgconf: Update to 3.0.5
    
    Move to muon + samurai build as autotools build system is deprecated in
    3.0 series and removed in upstream main branch
    
    Changelog: https://github.com/pkgconf/pkgconf/blob/pkgconf-3.0.5/NEWS
    
    PR:             296339
    Reviewed by:    bapt (maintainer)
    Exp-run by:     antoine (previous iteration)
---
 devel/pkgconf/Makefile  | 30 ++++++++++++++++++------------
 devel/pkgconf/distinfo  |  6 +++---
 devel/pkgconf/pkg-plist | 10 ++++++++--
 3 files changed, 29 insertions(+), 17 deletions(-)

diff --git a/devel/pkgconf/Makefile b/devel/pkgconf/Makefile
index 4da3e8a9ec8a..f93db09daacf 100644
--- a/devel/pkgconf/Makefile
+++ b/devel/pkgconf/Makefile
@@ -1,9 +1,9 @@
 PORTNAME=	pkgconf
-PORTVERSION=	2.4.3
-PORTREVISION=	1
+DISTVERSION=	3.0.5
 PORTEPOCH=	1
 CATEGORIES=	devel
-MASTER_SITES=	https://distfiles.ariadne.space/${PORTNAME}/
+MASTER_SITES=	https://github.com/${PORTNAME}/${PORTNAME}/releases/download/${PORTNAME}-${DISTVERSION}/ \
+		https://distfiles.ariadne.space/${PORTNAME}/
 
 # NOTE: before committing to this port, contact portmgr to arrange for an
 # experimental ports run.  Untested commits may be backed out at portmgr's
@@ -14,21 +14,27 @@ WWW=		https://gitea.treehouse.systems/ariadne/${PORTNAME}
 
 LICENSE=	ISCL
 
-USES=		cpe tar:xz libtool pathfix
-GNU_CONFIGURE=	yes
-GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
-INSTALL_TARGET=	install-strip
+USES=		cpe meson:muon ninja:samurai tar:xz
 USE_LDCONFIG=	yes
-TEST_TARGET=	check
+
 # eliminate PKG_CONFIG_LIBDIR from test env
 TEST_ENV=
-CONFIGURE_ARGS=	--with-pkg-config-dir=${PREFIX}/libdata/pkgconfig:/usr/libdata/pkgconfig:${PREFIX}/share/pkgconfig \
-		--with-system-libdir=/usr/lib \
-		--with-system-includedir=/usr/include
+ALL_TARGET=
+MESON_ARGS=	--default-library both \
+		-Dwith-pkg-config-dir=${PREFIX}/libdata/pkgconfig:/usr/libdata/pkgconfig:${PREFIX}/share/pkgconfig \
+		-Dwith-system-libdir=/usr/lib \
+		-Dwith-system-includedir=/usr/include
 
 OPTIONS_DEFINE=	DOCS
 
 post-install:
-	${LN} -sf pkgconf ${STAGEDIR}${PREFIX}/bin/pkg-config
+	${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/bomtool
+	${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/pccritic
+	${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/pkgconf
+	${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/spdxtool
+	${RLN} ${STAGEDIR}${PREFIX}/bin/pkgconf ${STAGEDIR}${PREFIX}/bin/pkg-config
+
+do-test:
+	(cd ${TEST_WRKSRC} && ${SETENV} ${CONFIGURE_CMD} test -v -d dots)
 
 .include <bsd.port.mk>
diff --git a/devel/pkgconf/distinfo b/devel/pkgconf/distinfo
index e183562ea862..5bb6fb7237e2 100644
--- a/devel/pkgconf/distinfo
+++ b/devel/pkgconf/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1747297629
-SHA256 (pkgconf-2.4.3.tar.xz) = 51203d99ed573fa7344bf07ca626f10c7cc094e0846ac4aa0023bd0c83c25a41
-SIZE (pkgconf-2.4.3.tar.xz) = 321352
+TIMESTAMP = 1786182500
+SHA256 (pkgconf-3.0.5.tar.xz) = 3acd3a8a3cce65a8d620321855d92fb602e026cbe8e13ee36bdec58483b59ace
+SIZE (pkgconf-3.0.5.tar.xz) = 426972
diff --git a/devel/pkgconf/pkg-plist b/devel/pkgconf/pkg-plist
index 84b07a8149e2..3b83246599b7 100644
--- a/devel/pkgconf/pkg-plist
+++ b/devel/pkgconf/pkg-plist
@@ -1,6 +1,8 @@
 bin/bomtool
+bin/pccritic
 bin/pkg-config
 bin/pkgconf
+bin/spdxtool
 include/pkgconf/libpkgconf/bsdstubs.h
 include/pkgconf/libpkgconf/iter.h
 include/pkgconf/libpkgconf/libpkgconf-api.h
@@ -8,13 +10,17 @@ include/pkgconf/libpkgconf/libpkgconf.h
 include/pkgconf/libpkgconf/stdinc.h
 lib/libpkgconf.a
 lib/libpkgconf.so
-lib/libpkgconf.so.6
-lib/libpkgconf.so.6.0.0
+lib/libpkgconf.so.8
+lib/libpkgconf.so.8.0.0
 libdata/pkgconfig/libpkgconf.pc
+share/man/man1/bomtool.1.gz
+share/man/man1/pccritic.1.gz
 share/man/man1/pkgconf.1.gz
+share/man/man1/spdxtool.1.gz
 share/man/man5/pc.5.gz
 share/man/man5/pkgconf-personality.5.gz
 share/man/man7/pkg.m4.7.gz
 share/aclocal/pkg.m4
 %%PORTDOCS%%%%DOCSDIR%%/AUTHORS
+%%PORTDOCS%%%%DOCSDIR%%/COPYING
 %%PORTDOCS%%%%DOCSDIR%%/README.md
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.