git: 4255ea500234 - main - biology/libbigwig: Update 0.4.6 → 0.4.7

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Mon, 17 Jul 2023 07:09:05 UTC
The branch main has been updated by yuri:

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

commit 4255ea500234d672dcc73e8e3d32b7d7eb6304e8
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2023-07-17 06:35:07 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2023-07-17 07:09:00 +0000

    biology/libbigwig: Update 0.4.6 → 0.4.7
    
    Reported by:    portscout
---
 biology/libbigwig/Makefile | 20 +++++++++-----------
 biology/libbigwig/distinfo |  6 +++---
 2 files changed, 12 insertions(+), 14 deletions(-)

diff --git a/biology/libbigwig/Makefile b/biology/libbigwig/Makefile
index 31ad9b4e2df8..f0884f1f31a2 100644
--- a/biology/libbigwig/Makefile
+++ b/biology/libbigwig/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	libbigwig
-DISTVERSION=	0.4.6
+DISTVERSION=	0.4.7
 CATEGORIES=	biology
 
 MAINTAINER=	yuri@FreeBSD.org
@@ -11,23 +11,21 @@ LICENSE_FILE=	${WRKSRC}/LICENSE
 
 LIB_DEPENDS=	libcurl.so:ftp/curl
 
-USES=		gmake localbase:ldflags
+USES=		cmake:testing localbase:ldflags
 USE_LDCONFIG=	yes
 
 USE_GITHUB=	yes
 GH_ACCOUNT=	dpryan79
 GH_PROJECT=	libBigWig
 
-MAKE_ARGS=	LDFLAGS=-L${LOCALBASE}/lib
+CMAKE_ON=	BUILD_SHARED_LIBS
+CMAKE_TESTING_ON=	ENABLE_TESTING # unclear how to run tests, see https://github.com/dpryan79/libBigWig/issues/63
+CMAKE_TESTING_TARGET=
 
-PLIST_FILES=	include/bigWig.h \
-		include/bigWigIO.h \
-		include/bwCommon.h \
-		include/bwValues.h \
-		lib/libBigWig.a \
+PLIST_FILES=	include/libbigwig/bigWig.h \
+		include/libbigwig/bigWigIO.h \
+		include/libbigwig/bwCommon.h \
+		include/libbigwig/bwValues.h \
 		lib/libBigWig.so
 
-post-stage:
-	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libBigWig.so
-
 .include <bsd.port.mk>
diff --git a/biology/libbigwig/distinfo b/biology/libbigwig/distinfo
index 05d7b21ec99a..feb3500be752 100644
--- a/biology/libbigwig/distinfo
+++ b/biology/libbigwig/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1614989298
-SHA256 (dpryan79-libBigWig-0.4.6_GH0.tar.gz) = eb4ecbd3ae428474a57dab969fa7564ae755310da65be68efa18969e0d132a9e
-SIZE (dpryan79-libBigWig-0.4.6_GH0.tar.gz) = 300805
+TIMESTAMP = 1689575069
+SHA256 (dpryan79-libBigWig-0.4.7_GH0.tar.gz) = 8e057797011d93fa00e756600898af4fe6ca2d48959236efc9f296abe94916d9
+SIZE (dpryan79-libBigWig-0.4.7_GH0.tar.gz) = 302341