aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2023-04-19 18:51:54 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2023-04-19 18:54:26 +0000
commit872b3de33f208502bd0b4fbfc6b604eb54c2dabc (patch)
treec2f81c2468a21bd02c8c37dd8b22a29154546e8a
parentc650cb98a985c0ba8cb327f892435bcd2f8f449d (diff)
downloadports-872b3de33f208502bd0b4fbfc6b604eb54c2dabc.tar.gz
ports-872b3de33f208502bd0b4fbfc6b604eb54c2dabc.zip
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
-rw-r--r--devel/string_theory/Makefile23
-rw-r--r--devel/string_theory/distinfo6
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