summaryrefslogtreecommitdiff
path: root/devel/bstring/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/bstring/Makefile')
-rw-r--r--devel/bstring/Makefile18
1 files changed, 13 insertions, 5 deletions
diff --git a/devel/bstring/Makefile b/devel/bstring/Makefile
index 7d5eecbb343b..4e66c5dee1e9 100644
--- a/devel/bstring/Makefile
+++ b/devel/bstring/Makefile
@@ -1,17 +1,25 @@
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
+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= autoreconf gmake libtool pathfix pkgconfig tar:xz
+USES= meson pkgconfig tar:xz
USE_LDCONFIG= yes
-GNU_CONFIGURE= yes
+TEST_TARGET= test
+
+MESON_ARGS= -Denable-tests=true
.include <bsd.port.mk>