Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Jan 2024 20:51:46 GMT
From:      Daniel Engberg <diizzy@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 4967eaa2129b - main - devel/libbson: Use USE_GITHUB helper and remove USES= pathfix
Message-ID:  <202401012051.401Kpk1o010924@gitrepo.freebsd.org>

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

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

commit 4967eaa2129ba0e5b8dda5512968023f19a1bcd5
Author:     Daniel Engberg <diizzy@FreeBSD.org>
AuthorDate: 2024-01-01 20:48:27 +0000
Commit:     Daniel Engberg <diizzy@FreeBSD.org>
CommitDate: 2024-01-01 20:50:57 +0000

    devel/libbson: Use USE_GITHUB helper and remove USES= pathfix
    
    * Use USE_GITHUB helper instead of working around it
    * Remove USES= pathfix as .pc files are installed using a custom
      cmake file that needs custom patching
    
    Approved by:    portmgr (build fix and compliance)
---
 devel/libbson/Makefile | 8 +++++---
 devel/libbson/distinfo | 6 +++---
 2 files changed, 8 insertions(+), 6 deletions(-)

diff --git a/devel/libbson/Makefile b/devel/libbson/Makefile
index f508aaed2b55..5360d7848d96 100644
--- a/devel/libbson/Makefile
+++ b/devel/libbson/Makefile
@@ -1,8 +1,6 @@
 PORTNAME=	libbson
 DISTVERSION=	1.25.3
 CATEGORIES=	devel
-MASTER_SITES=	https://codeload.github.com/mongodb/${PORTNAME}/tar.gz/${DISTVERSION}?dummy=/
-DISTNAME=	mongo-c-driver-${DISTVERSION}
 
 MAINTAINER=	ports@bsdserwis.com
 COMMENT=	BSON utility library
@@ -11,10 +9,14 @@ WWW=		https://github.com/mongodb/mongo-c-driver
 LICENSE=	APACHE20
 LICENSE_FILE=	${WRKSRC}/COPYING
 
-USES=		cmake cpe pathfix python:env pkgconfig
+USES=		cmake cpe python:env pkgconfig
 CPE_VENDOR=	mongodb
 USE_LDCONFIG=	yes
 
+USE_GITHUB=	yes
+GH_ACCOUNT=	mongodb
+GH_PROJECT=	mongo-c-driver
+
 DOCSDIR=	${PREFIX}/share/doc/mongo-c-driver
 
 CMAKE_OFF=	BUILD_TESTING \
diff --git a/devel/libbson/distinfo b/devel/libbson/distinfo
index a4e44411fab8..a4325e89660b 100644
--- a/devel/libbson/distinfo
+++ b/devel/libbson/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1703795554
-SHA256 (mongo-c-driver-1.25.3.tar.gz) = d7cdedc5164b7b8ca39bb45bee789da44097052c882fa84996e4d90eec6fe8d3
-SIZE (mongo-c-driver-1.25.3.tar.gz) = 7306922
+TIMESTAMP = 1704140351
+SHA256 (mongodb-mongo-c-driver-1.25.3_GH0.tar.gz) = d7cdedc5164b7b8ca39bb45bee789da44097052c882fa84996e4d90eec6fe8d3
+SIZE (mongodb-mongo-c-driver-1.25.3_GH0.tar.gz) = 7306922



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