pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/textproc cJSON: added version 1.7.15



details:   https://anonhg.NetBSD.org/pkgsrc/rev/319e1a68b357
branches:  trunk
changeset: 458427:319e1a68b357
user:      adam <adam%pkgsrc.org@localhost>
date:      Wed Sep 15 18:59:54 2021 +0000

description:
cJSON: added version 1.7.15

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.

diffstat:

 textproc/Makefile            |   3 ++-
 textproc/cJSON/DESCR         |   2 ++
 textproc/cJSON/Makefile      |  24 ++++++++++++++++++++++++
 textproc/cJSON/PLIST         |  19 +++++++++++++++++++
 textproc/cJSON/buildlink3.mk |  12 ++++++++++++
 textproc/cJSON/distinfo      |   6 ++++++
 6 files changed, 65 insertions(+), 1 deletions(-)

diffs (100 lines):

diff -r 9374470a9d73 -r 319e1a68b357 textproc/Makefile
--- a/textproc/Makefile Wed Sep 15 14:09:48 2021 +0000
+++ b/textproc/Makefile Wed Sep 15 18:59:54 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1250 2021/09/11 23:40:25 wen Exp $
+# $NetBSD: Makefile,v 1.1251 2021/09/15 18:59:54 adam Exp $
 #
 
 COMMENT=       Text processing utilities (does not include desktop publishing)
@@ -154,6 +154,7 @@
 SUBDIR+=       bsdgrep-devel
 SUBDIR+=       btparse
 SUBDIR+=       c2html
+SUBDIR+=       cJSON
 SUBDIR+=       cabocha
 SUBDIR+=       catdoc
 SUBDIR+=       catdoc-tk
diff -r 9374470a9d73 -r 319e1a68b357 textproc/cJSON/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/cJSON/DESCR      Wed Sep 15 18:59:54 2021 +0000
@@ -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.
diff -r 9374470a9d73 -r 319e1a68b357 textproc/cJSON/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/cJSON/Makefile   Wed Sep 15 18:59:54 2021 +0000
@@ -0,0 +1,24 @@
+# $NetBSD: Makefile,v 1.1 2021/09/15 18:59:54 adam Exp $
+
+DISTNAME=      cJSON-1.7.15
+CATEGORIES=    textproc
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=DaveGamble/}
+GITHUB_TAG=    v${PKGVERSION_NOREV}
+
+MAINTAINER=    tpaul%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/DaveGamble/cJSON
+COMMENT=       Ultralightweight JSON parser in ANSI C
+LICENSE=       mit
+
+USE_CMAKE=     yes
+USE_TOOLS+=    pkg-config
+CMAKE_ARGS+=   -DENABLE_CJSON_UTILS=ON
+CMAKE_ARGS+=   -DENABLE_CUSTOM_COMPILER_FLAGS=OFF
+CMAKE_ARGS+=   -DBUILD_SHARED_AND_STATIC_LIBS=ON
+TEST_TARGET=   test
+TEST_ENV+=     LD_LIBRARY_PATH=${WRKSRC}
+
+PKGCONFIG_OVERRIDE+=   library_config/libcjson_utils.pc.in
+PKGCONFIG_OVERRIDE+=   library_config/libcjson.pc.in
+
+.include "../../mk/bsd.pkg.mk"
diff -r 9374470a9d73 -r 319e1a68b357 textproc/cJSON/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/cJSON/PLIST      Wed Sep 15 18:59:54 2021 +0000
@@ -0,0 +1,19 @@
+@comment $NetBSD: PLIST,v 1.1 2021/09/15 18:59:54 adam Exp $
+include/cjson/cJSON.h
+include/cjson/cJSON_Utils.h
+lib/cmake/cJSON/cJSONConfig.cmake
+lib/cmake/cJSON/cJSONConfigVersion.cmake
+lib/cmake/cJSON/cjson-noconfig.cmake
+lib/cmake/cJSON/cjson.cmake
+lib/cmake/cJSON/cjson_utils-noconfig.cmake
+lib/cmake/cJSON/cjson_utils.cmake
+lib/libcjson.a
+lib/libcjson.so
+lib/libcjson.so.${PKGVERSION}
+lib/libcjson.so.1
+lib/libcjson_utils.a
+lib/libcjson_utils.so
+lib/libcjson_utils.so.${PKGVERSION}
+lib/libcjson_utils.so.1
+lib/pkgconfig/libcjson.pc
+lib/pkgconfig/libcjson_utils.pc
diff -r 9374470a9d73 -r 319e1a68b357 textproc/cJSON/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/cJSON/buildlink3.mk      Wed Sep 15 18:59:54 2021 +0000
@@ -0,0 +1,12 @@
+# $NetBSD: buildlink3.mk,v 1.1 2021/09/15 18:59:54 adam Exp $
+
+BUILDLINK_TREE+=       cJSON
+
+.if !defined(CJSON_BUILDLINK3_MK)
+CJSON_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.cJSON+=  cJSON>=1.7.15
+BUILDLINK_PKGSRCDIR.cJSON?=    ../../textproc/cJSON
+.endif # CJSON_BUILDLINK3_MK
+
+BUILDLINK_TREE+=       -cJSON
diff -r 9374470a9d73 -r 319e1a68b357 textproc/cJSON/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/cJSON/distinfo   Wed Sep 15 18:59:54 2021 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2021/09/15 18:59:54 adam Exp $
+
+SHA1 (cJSON-1.7.15.tar.gz) = 268593a0838a6ae9115ec778828f1e06a88def03
+RMD160 (cJSON-1.7.15.tar.gz) = 52e90600efe8e2008d2a3efc32c0a82c5e35c52b
+SHA512 (cJSON-1.7.15.tar.gz) = 0b32a758c597fcc90c8ed0af493c9bccd611b9d4f9a03e87de3f7337bb9a28990b810befd44bc321a0cb42cbcd0b026d45761f9bab7bd798f920b7b6975fb124
+Size (cJSON-1.7.15.tar.gz) = 352278 bytes



Home | Main Index | Thread Index | Old Index