summaryrefslogtreecommitdiff
path: root/devel/yyjson/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/yyjson/Makefile')
-rw-r--r--devel/yyjson/Makefile11
1 files changed, 9 insertions, 2 deletions
diff --git a/devel/yyjson/Makefile b/devel/yyjson/Makefile
index dc20130fb787..95cea730faf7 100644
--- a/devel/yyjson/Makefile
+++ b/devel/yyjson/Makefile
@@ -1,17 +1,24 @@
PORTNAME= yyjson
-PORTVERSION= 0.11.1
+DISTVERSION= 0.12.0
CATEGORIES= devel
+PATCH_SITES= https://github.com/ibireme/yyjson/commit/
+PATCHFILES= 878d5da9b6c0352c2601bd6c244c0ef994ee1c24.patch:-p1
+
MAINTAINER= pkubaj@FreeBSD.org
COMMENT= Fastest JSON library in C
WWW= https://github.com/ibireme/yyjson
LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+USES= cmake:testing pathfix
-USES= cmake
USE_GITHUB= yes
GH_ACCOUNT= ibireme
+CMAKE_TESTING_ON= YYJSON_BUILD_TESTS
+
CMAKE_ON= BUILD_SHARED_LIBS
.include <bsd.port.mk>