diff --git a/devel/bstring/Makefile b/devel/bstring/Makefile index 7d5eecbb343b..8a2e604562d3 100644 --- a/devel/bstring/Makefile +++ b/devel/bstring/Makefile @@ -1,17 +1,20 @@ PORTNAME= bstring DISTVERSION= 1.0.1 CATEGORIES= devel -MASTER_SITES= https://github.com/msteinert/${PORTNAME}/releases/download/v${PORTVERSION}/ +MASTER_SITES= https://github.com/msteinert/${PORTNAME}/releases/download/v${DISTVERSION}/ -MAINTAINER= marcus@FreeBSD.org -COMMENT= Fork of Paul Hsieh's Better String Library +MAINTAINER= diizzy@FreeBSD.org +COMMENT= Improved string processing functionality for the C language WWW= https://mike.steinert.ca/bstring/ LICENSE= BSD3CLAUSE +LICENSE_FILE= ${WRKSRC}/COPYING -USES= autoreconf gmake libtool pathfix pkgconfig tar:xz +BUILD_DEPENDS= checkmk:devel/check + +USES= meson pkgconfig tar:xz USE_LDCONFIG= yes -GNU_CONFIGURE= yes +TEST_TARGET= test .include diff --git a/devel/bstring/files/patch-bstring_meson.build b/devel/bstring/files/patch-bstring_meson.build new file mode 100644 index 000000000000..d4dcc6ba3b00 --- /dev/null +++ b/devel/bstring/files/patch-bstring_meson.build @@ -0,0 +1,10 @@ +--- bstring/meson.build.orig 2025-08-07 18:53:46 UTC ++++ bstring/meson.build +@@ -7,7 +7,6 @@ libbstring = library( + soversion: '1', + include_directories: bstring_inc, + install: true, +- install_dir: get_option('libdir'), + ) + + bstring_dep = declare_dependency(include_directories: bstring_inc, link_with: libbstring) diff --git a/devel/bstring/pkg-descr b/devel/bstring/pkg-descr index ad04fb4c5f60..a0dd1a7bb6a6 100644 --- a/devel/bstring/pkg-descr +++ b/devel/bstring/pkg-descr @@ -1,10 +1,2 @@ -Better String Library - -This is a fork of Paul Hsieh's Better String Library. The following features (or mis-features, depending on your point of view) are included: - - Autotools build system - Updated test suite based on Check - Add Valgrind to the workflow - Add continuous integration via Travis-CI - Remove C++ code - Other various improvements +The Better String Library is an abstraction of a string data type which is +superior to the C library char buffer string type, or C++'s std::string. diff --git a/devel/bstring/pkg-plist b/devel/bstring/pkg-plist index 9449fef0013d..503d55c90abe 100644 --- a/devel/bstring/pkg-plist +++ b/devel/bstring/pkg-plist @@ -1,7 +1,6 @@ -include/bstring/bstraux.h -include/bstring/bstrlib.h -lib/libbstring.a +include/bstraux.h +include/bstrlib.h lib/libbstring.so -lib/libbstring.so.0 -lib/libbstring.so.0.1.0 +lib/libbstring.so.1 +lib/libbstring.so.1.0.0 libdata/pkgconfig/bstring.pc