git: 872b3de33f20 - main - devel/string_theory: Update to 3.7

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Wed, 19 Apr 2023 18:54:44 UTC
The branch main has been updated by sunpoet:

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

commit 872b3de33f208502bd0b4fbfc6b604eb54c2dabc
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-04-19 18:51:54 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-04-19 18:54:26 +0000

    devel/string_theory: Update to 3.7
    
    - Update MASTER_SITES: use upstream release tarball
    - Convert to USES=cmake:testing
    - Add NO_ARCH
    - Remove incorrect NO_BUILD
    - Take maintainership
    
    Changes:        https://github.com/zrax/string_theory/releases
---
 devel/string_theory/Makefile | 23 ++++++++---------------
 devel/string_theory/distinfo |  6 +++---
 2 files changed, 11 insertions(+), 18 deletions(-)

diff --git a/devel/string_theory/Makefile b/devel/string_theory/Makefile
index d28158a007e7..e3415f275758 100644
--- a/devel/string_theory/Makefile
+++ b/devel/string_theory/Makefile
@@ -1,27 +1,20 @@
 PORTNAME=	string_theory
-PORTVERSION=	3.4
+PORTVERSION=	3.7
 CATEGORIES=	devel
+MASTER_SITES=	https://github.com/zrax/string_theory/releases/download/${PORTVERSION}/
 
-MAINTAINER=	ports@FreeBSD.org
+MAINTAINER=	sunpoet@FreeBSD.org
 COMMENT=	Modern C++ library for string manipulation and storage
 WWW=		https://github.com/zrax/string_theory
 
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-USES=		cmake compiler:c++17-lang
-USE_GITHUB=	yes
-GH_ACCOUNT=	zrax
+USES=		cmake:testing compiler:c++20-lang
 
-CMAKE_OFF=	ST_BUILD_TESTS
-
-NO_BUILD=	yes
-
-do-test:
-	@cd ${BUILD_WRKSRC} && \
-		${SETENV} ${CONFIGURE_ENV} ${CMAKE_BIN} ${CMAKE_ARGS} \
-		-DST_BUILD_TESTS=ON ${CMAKE_SOURCE_PATH} && \
-		${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} ${ALL_TARGET} && \
-		${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} test
+CMAKE_ON=	ST_ENABLE_STL_FILESYSTEM ST_ENABLE_STL_STRINGS
+CMAKE_OFF=	ST_BUILD_PROFILE_TEST ST_BUILD_TESTS ST_BUILD_TEST_COVERAGE
+CMAKE_TESTING_ON=	ST_BUILD_TESTS
+NO_ARCH=	yes
 
 .include <bsd.port.mk>
diff --git a/devel/string_theory/distinfo b/devel/string_theory/distinfo
index c034ff13d2ef..4a29d5ec178a 100644
--- a/devel/string_theory/distinfo
+++ b/devel/string_theory/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1604951962
-SHA256 (zrax-string_theory-3.4_GH0.tar.gz) = 0c6bf1b5723e14f24345e9e8ee33ed88f89696f0dd9627ca73a7b282433765f1
-SIZE (zrax-string_theory-3.4_GH0.tar.gz) = 588522
+TIMESTAMP = 1681902293
+SHA256 (string_theory-3.7.tar.gz) = 164744cc68d1f7d1eb77585e2801616d59b6f3d7f495816e736d90fdfa2ce216
+SIZE (string_theory-3.7.tar.gz) = 954108