git: 9b1072f0b713 - main - net/bredbandskollen: Update to 1.2
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 02 Mar 2024 10:38:46 UTC
The branch main has been updated by eduardo:
URL: https://cgit.FreeBSD.org/ports/commit/?id=9b1072f0b713689baa7d9af30abe976f9dc5eeb5
commit 9b1072f0b713689baa7d9af30abe976f9dc5eeb5
Author: Nuno Teixeira <eduardo@FreeBSD.org>
AuthorDate: 2024-03-02 10:36:52 +0000
Commit: Nuno Teixeira <eduardo@FreeBSD.org>
CommitDate: 2024-03-02 10:38:34 +0000
net/bredbandskollen: Update to 1.2
- Switch to DISTVERSION
- Define LICENSE_FILE
- Drop USES=compiler
- Take maintainership
ChangeLog: https://github.com/dotse/bbk/compare/7b810a6...BBK_CLI_1.2
---
net/bredbandskollen/Makefile | 15 ++++++++++-----
net/bredbandskollen/distinfo | 6 +++---
2 files changed, 13 insertions(+), 8 deletions(-)
diff --git a/net/bredbandskollen/Makefile b/net/bredbandskollen/Makefile
index e077ae0d8186..238667cd546c 100644
--- a/net/bredbandskollen/Makefile
+++ b/net/bredbandskollen/Makefile
@@ -1,20 +1,21 @@
PORTNAME= bredbandskollen
-PORTVERSION= 0.20190705
-PORTREVISION= 1
+DISTVERSIONPREFIX= BBK_CLI_
+DISTVERSION= 1.2
CATEGORIES= net
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= eduardo@FreeBSD.org
COMMENT= Command line tool to check internet connection speed
WWW= https://github.com/dotse/bbk
LICENSE= GPLv2
+LICENSE_FILE= ${WRKSRC}/src/LICENSE
-USES= compiler:c++11-lang gmake
+TEST_DEPENDS= googletest>0:devel/googletest
+USES= gmake
USE_GITHUB= yes
GH_ACCOUNT= dotse
GH_PROJECT= bbk
-GH_TAGNAME= 7b810a6
BUILD_WRKSRC= ${WRKSRC}/src/cli
@@ -34,4 +35,8 @@ do-install:
${INSTALL_PROGRAM} ${BUILD_WRKSRC}/cli ${STAGEDIR}/${PREFIX}/bin/bbk_cli
${LN} -sf bbk_cli ${STAGEDIR}/${PREFIX}/bin/bredbandskollen
+# testunit requires --std>=c++14, https://github.com/dotse/bbk/issues/14
+do-test:
+ cd ${WRKSRC}/src/test && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} test
+
.include <bsd.port.mk>
diff --git a/net/bredbandskollen/distinfo b/net/bredbandskollen/distinfo
index 293749b8c272..91a5c4a0fd73 100644
--- a/net/bredbandskollen/distinfo
+++ b/net/bredbandskollen/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1562346059
-SHA256 (dotse-bbk-0.20190705-7b810a6_GH0.tar.gz) = 69e09fb17ce3f4efc586ad5529b2205b060d6183cb3334f57dabb16302ef82dd
-SIZE (dotse-bbk-0.20190705-7b810a6_GH0.tar.gz) = 133836
+TIMESTAMP = 1709322856
+SHA256 (dotse-bbk-BBK_CLI_1.2_GH0.tar.gz) = dff38d1226844642891afcd869bfce2b9d0414c9507bacf156fb5849ab2ae8c5
+SIZE (dotse-bbk-BBK_CLI_1.2_GH0.tar.gz) = 174352