summaryrefslogtreecommitdiff
path: root/devel/bstring
diff options
context:
space:
mode:
Diffstat (limited to 'devel/bstring')
-rw-r--r--devel/bstring/Makefile25
-rw-r--r--devel/bstring/distinfo5
-rw-r--r--devel/bstring/pkg-descr2
-rw-r--r--devel/bstring/pkg-plist6
4 files changed, 38 insertions, 0 deletions
diff --git a/devel/bstring/Makefile b/devel/bstring/Makefile
new file mode 100644
index 000000000000..4e66c5dee1e9
--- /dev/null
+++ b/devel/bstring/Makefile
@@ -0,0 +1,25 @@
+PORTNAME= bstring
+DISTVERSION= 1.0.1
+CATEGORIES= devel
+MASTER_SITES= https://github.com/msteinert/${PORTNAME}/releases/download/v${DISTVERSION}/
+
+PATCH_SITES= https://github.com/msteinert/bstring/commit/
+PATCHFILES= 251cf825eaf66e04736921330c8e847ffe6d9ee0.patch:-p1
+
+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
+
+BUILD_DEPENDS= checkmk:devel/check
+
+USES= meson pkgconfig tar:xz
+USE_LDCONFIG= yes
+
+TEST_TARGET= test
+
+MESON_ARGS= -Denable-tests=true
+
+.include <bsd.port.mk>
diff --git a/devel/bstring/distinfo b/devel/bstring/distinfo
new file mode 100644
index 000000000000..676dffe31fd5
--- /dev/null
+++ b/devel/bstring/distinfo
@@ -0,0 +1,5 @@
+TIMESTAMP = 1754605617
+SHA256 (bstring-1.0.1.tar.xz) = a86b6b30f4ad2496784cc7f53eb449c994178b516935384c6707f381b9fe6056
+SIZE (bstring-1.0.1.tar.xz) = 93096
+SHA256 (251cf825eaf66e04736921330c8e847ffe6d9ee0.patch) = 63ce0f815fe5622bf819aa02ec48567b1bf49e8191e8a85bc96b9e2c637460e8
+SIZE (251cf825eaf66e04736921330c8e847ffe6d9ee0.patch) = 767
diff --git a/devel/bstring/pkg-descr b/devel/bstring/pkg-descr
new file mode 100644
index 000000000000..a0dd1a7bb6a6
--- /dev/null
+++ b/devel/bstring/pkg-descr
@@ -0,0 +1,2 @@
+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
new file mode 100644
index 000000000000..503d55c90abe
--- /dev/null
+++ b/devel/bstring/pkg-plist
@@ -0,0 +1,6 @@
+include/bstraux.h
+include/bstrlib.h
+lib/libbstring.so
+lib/libbstring.so.1
+lib/libbstring.so.1.0.0
+libdata/pkgconfig/bstring.pc