pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/textproc/json-c Import json-c-0.10 as textproc/json-c.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f2cfb9327418
branches:  trunk
changeset: 609861:f2cfb9327418
user:      ryoon <ryoon%pkgsrc.org@localhost>
date:      Thu Oct 11 15:40:40 2012 +0000

description:
Import json-c-0.10 as textproc/json-c.

JSON-C implements a reference counting object model that allows
you to easily construct JSON objects in C, output them as JSON
formatted strings and parse JSON formatted strings back into the
C representation of JSON objects.

diffstat:

 textproc/json-c/DESCR                     |   4 ++++
 textproc/json-c/Makefile                  |  23 +++++++++++++++++++++++
 textproc/json-c/PLIST                     |  16 ++++++++++++++++
 textproc/json-c/buildlink3.mk             |  12 ++++++++++++
 textproc/json-c/distinfo                  |   6 ++++++
 textproc/json-c/patches/patch-Makefile.in |  14 ++++++++++++++
 6 files changed, 75 insertions(+), 0 deletions(-)

diffs (99 lines):

diff -r b9ba24ddc920 -r f2cfb9327418 textproc/json-c/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/json-c/DESCR     Thu Oct 11 15:40:40 2012 +0000
@@ -0,0 +1,4 @@
+JSON-C implements a reference counting object model that allows
+you to easily construct JSON objects in C, output them as JSON
+formatted strings and parse JSON formatted strings back into the
+C representation of JSON objects.
diff -r b9ba24ddc920 -r f2cfb9327418 textproc/json-c/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/json-c/Makefile  Thu Oct 11 15:40:40 2012 +0000
@@ -0,0 +1,23 @@
+# $NetBSD: Makefile,v 1.1 2012/10/11 15:40:40 ryoon Exp $
+#
+
+DISTNAME=      json-c-0.10
+CATEGORIES=    textproc
+MASTER_SITES=  https://github.com/downloads/json-c/json-c/
+
+MAINTAINER=    ryoon%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/json-c/json-c/wiki
+COMMENT=       JSON library in C
+LICENSE=       mit
+
+# Force using "curl" for fetching the distribution file. It is only available
+# over HTTPS and "curl" is the only fetch program which always supports HTTPS.
+FETCH_USING=   curl
+
+GNU_CONFIGURE= yes
+USE_LIBTOOL=   yes
+USE_TOOLS+=    pkg-config
+
+PKGCONFIG_OVERRIDE+=   json.pc.in
+
+.include "../../mk/bsd.pkg.mk"
diff -r b9ba24ddc920 -r f2cfb9327418 textproc/json-c/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/json-c/PLIST     Thu Oct 11 15:40:40 2012 +0000
@@ -0,0 +1,16 @@
+@comment $NetBSD: PLIST,v 1.1 2012/10/11 15:40:40 ryoon Exp $
+include/json/arraylist.h
+include/json/bits.h
+include/json/debug.h
+include/json/json.h
+include/json/json_config.h
+include/json/json_inttypes.h
+include/json/json_object.h
+include/json/json_object_iterator.h
+include/json/json_object_private.h
+include/json/json_tokener.h
+include/json/json_util.h
+include/json/linkhash.h
+include/json/printbuf.h
+lib/libjson.la
+lib/pkgconfig/json.pc
diff -r b9ba24ddc920 -r f2cfb9327418 textproc/json-c/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/json-c/buildlink3.mk     Thu Oct 11 15:40:40 2012 +0000
@@ -0,0 +1,12 @@
+# $NetBSD: buildlink3.mk,v 1.1 2012/10/11 15:40:40 ryoon Exp $
+
+BUILDLINK_TREE+=       json-c
+
+.if !defined(JSON_C_BUILDLINK3_MK)
+JSON_C_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.json-c+= json-c>=0.10
+BUILDLINK_PKGSRCDIR.json-c?=   ../../textproc/json-c
+.endif # JSON_C_BUILDLINK3_MK
+
+BUILDLINK_TREE+=       -json-c
diff -r b9ba24ddc920 -r f2cfb9327418 textproc/json-c/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/json-c/distinfo  Thu Oct 11 15:40:40 2012 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2012/10/11 15:40:40 ryoon Exp $
+
+SHA1 (json-c-0.10.tar.gz) = f90f643c8455da21d57b3e8866868a944a93c596
+RMD160 (json-c-0.10.tar.gz) = 2ad4ce9a41d87f30a0dcc15a89246353e8edd360
+Size (json-c-0.10.tar.gz) = 385812 bytes
+SHA1 (patch-Makefile.in) = 6dfebc80c89f1122f3299102c13fdce5618ae4c8
diff -r b9ba24ddc920 -r f2cfb9327418 textproc/json-c/patches/patch-Makefile.in
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/json-c/patches/patch-Makefile.in Thu Oct 11 15:40:40 2012 +0000
@@ -0,0 +1,14 @@
+$NetBSD: patch-Makefile.in,v 1.1 2012/10/11 15:40:40 ryoon Exp $
+
+* From https://github.com/json-c/json-c/commit/4154c55edae6f6b34d6ef4fcc331055fdf8e1a23#Makefile.am
+
+--- Makefile.in.orig   2012-05-31 02:31:35.000000000 +0000
++++ Makefile.in
+@@ -278,6 +278,7 @@ libjsoninclude_HEADERS = \
+       json_config.h \
+       json_inttypes.h \
+       json_object.h \
++      json_object_iterator.h \
+       json_object_private.h \
+       json_tokener.h \
+       json_util.h \



Home | Main Index | Thread Index | Old Index