Import devel/cjson.

cJSON aims to be the dumbest possible parser that you can get your job
done with. It's a single file of C, and a single header file.

OK tb@
This commit is contained in:
fcambus 2022-04-27 13:24:00 +00:00
parent 9415ecca52
commit 842f5c4b49
4 changed files with 34 additions and 0 deletions

20
devel/cjson/Makefile Normal file
View File

@ -0,0 +1,20 @@
COMMENT = ultralightweight JSON parser in ANSI C
GH_ACCOUNT = DaveGamble
GH_PROJECT = cJSON
GH_TAGNAME = v1.7.15
PKGNAME = ${DISTNAME:L}
SHARED_LIBS += cjson 0.0 # 0.0
CATEGORIES = devel
# MIT
PERMIT_PACKAGE = Yes
WANTLIB += m
MODULES = devel/cmake
.include <bsd.port.mk>

2
devel/cjson/distinfo Normal file
View File

@ -0,0 +1,2 @@
SHA256 (cJSON-1.7.15.tar.gz) = Uwj9S9kM73qgYFWFFN5qGkoIGZdKJubtE5c8X2JMJLI=
SIZE (cJSON-1.7.15.tar.gz) = 352278

2
devel/cjson/pkg/DESCR Normal file
View File

@ -0,0 +1,2 @@
cJSON aims to be the dumbest possible parser that you can get your job
done with. It's a single file of C, and a single header file.

10
devel/cjson/pkg/PLIST Normal file
View File

@ -0,0 +1,10 @@
include/cjson/
include/cjson/cJSON.h
lib/cmake/
lib/cmake/cJSON/
lib/cmake/cJSON/cJSONConfig.cmake
lib/cmake/cJSON/cJSONConfigVersion.cmake
lib/cmake/cJSON/cjson${MODCMAKE_BUILD_SUFFIX}
lib/cmake/cJSON/cjson.cmake
@lib lib/libcjson.so.${LIBcjson_VERSION}
lib/pkgconfig/libcjson.pc