pkgsrc-Changes archive

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

CVS commit: pkgsrc/textproc



Module Name:    pkgsrc
Committed By:   adam
Date:           Wed Sep 15 18:59:54 UTC 2021

Modified Files:
        pkgsrc/textproc: Makefile
Added Files:
        pkgsrc/textproc/cJSON: DESCR Makefile PLIST buildlink3.mk distinfo

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.1250 -r1.1251 pkgsrc/textproc/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/textproc/cJSON/DESCR \
    pkgsrc/textproc/cJSON/Makefile pkgsrc/textproc/cJSON/PLIST \
    pkgsrc/textproc/cJSON/buildlink3.mk pkgsrc/textproc/cJSON/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/textproc/Makefile
diff -u pkgsrc/textproc/Makefile:1.1250 pkgsrc/textproc/Makefile:1.1251
--- pkgsrc/textproc/Makefile:1.1250     Sat Sep 11 23:40:25 2021
+++ pkgsrc/textproc/Makefile    Wed Sep 15 18:59:54 2021
@@ -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+=    bk
 SUBDIR+=       bsdgrep-devel
 SUBDIR+=       btparse
 SUBDIR+=       c2html
+SUBDIR+=       cJSON
 SUBDIR+=       cabocha
 SUBDIR+=       catdoc
 SUBDIR+=       catdoc-tk

Added files:

Index: pkgsrc/textproc/cJSON/DESCR
diff -u /dev/null pkgsrc/textproc/cJSON/DESCR:1.1
--- /dev/null   Wed Sep 15 18:59:54 2021
+++ pkgsrc/textproc/cJSON/DESCR Wed Sep 15 18:59:54 2021
@@ -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.
Index: pkgsrc/textproc/cJSON/Makefile
diff -u /dev/null pkgsrc/textproc/cJSON/Makefile:1.1
--- /dev/null   Wed Sep 15 18:59:54 2021
+++ pkgsrc/textproc/cJSON/Makefile      Wed Sep 15 18:59:54 2021
@@ -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"
Index: pkgsrc/textproc/cJSON/PLIST
diff -u /dev/null pkgsrc/textproc/cJSON/PLIST:1.1
--- /dev/null   Wed Sep 15 18:59:54 2021
+++ pkgsrc/textproc/cJSON/PLIST Wed Sep 15 18:59:54 2021
@@ -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
Index: pkgsrc/textproc/cJSON/buildlink3.mk
diff -u /dev/null pkgsrc/textproc/cJSON/buildlink3.mk:1.1
--- /dev/null   Wed Sep 15 18:59:54 2021
+++ pkgsrc/textproc/cJSON/buildlink3.mk Wed Sep 15 18:59:54 2021
@@ -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
Index: pkgsrc/textproc/cJSON/distinfo
diff -u /dev/null pkgsrc/textproc/cJSON/distinfo:1.1
--- /dev/null   Wed Sep 15 18:59:54 2021
+++ pkgsrc/textproc/cJSON/distinfo      Wed Sep 15 18:59:54 2021
@@ -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