diff options
author | wiz <wiz@pkgsrc.org> | 2014-04-18 22:26:08 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2014-04-18 22:26:08 +0000 |
commit | b9966478ff3bc8256a1f6a244b01e52ea174be5a (patch) | |
tree | 74afb6bcf5f1338d4073448429f080a5fc5fb302 /textproc/jsoncpp | |
parent | d1db7ca391a024bd6ac88a4e0eb9f0c7d94d0ed0 (diff) | |
download | pkgsrc-b9966478ff3bc8256a1f6a244b01e52ea174be5a.tar.gz |
Import jsoncpp-0.6.0rc2svn276 as textproc/jsoncpp.
JSON (JavaScript Object Notation) is a lightweight data-interchange
format. It can represent integer, real number, string, an ordered
sequence of value, and a collection of name/value pairs.
JsonCpp is a simple API to manipulate JSON value, handle serialization
and unserialization to string.
It can also preserve existing comment in unserialization/serialization
steps, making it a convenient format to store user input files.
Unserialization parsing is user friendly and provides precise error
reports.
Diffstat (limited to 'textproc/jsoncpp')
-rw-r--r-- | textproc/jsoncpp/DESCR | 12 | ||||
-rw-r--r-- | textproc/jsoncpp/Makefile | 22 | ||||
-rw-r--r-- | textproc/jsoncpp/PLIST | 12 | ||||
-rw-r--r-- | textproc/jsoncpp/buildlink3.mk | 13 | ||||
-rw-r--r-- | textproc/jsoncpp/distinfo | 5 |
5 files changed, 64 insertions, 0 deletions
diff --git a/textproc/jsoncpp/DESCR b/textproc/jsoncpp/DESCR new file mode 100644 index 00000000000..dbc22ec13c8 --- /dev/null +++ b/textproc/jsoncpp/DESCR @@ -0,0 +1,12 @@ +JSON (JavaScript Object Notation) is a lightweight data-interchange +format. It can represent integer, real number, string, an ordered +sequence of value, and a collection of name/value pairs. + +JsonCpp is a simple API to manipulate JSON value, handle serialization +and unserialization to string. + +It can also preserve existing comment in unserialization/serialization +steps, making it a convenient format to store user input files. + +Unserialization parsing is user friendly and provides precise error +reports. diff --git a/textproc/jsoncpp/Makefile b/textproc/jsoncpp/Makefile new file mode 100644 index 00000000000..0ce28c4682d --- /dev/null +++ b/textproc/jsoncpp/Makefile @@ -0,0 +1,22 @@ +# $NetBSD: Makefile,v 1.1 2014/04/18 22:26:08 wiz Exp $ + +DISTNAME= jsoncpp-src-0.6.0rc2svn276 +PKGNAME= ${DISTNAME:C/-src//} +CATEGORIES= textproc +MASTER_SITES= # manually extracted from SVN + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= http://jsoncpp.sourceforge.net/ +COMMENT= JSON reader and writer in C++ +LICENSE= mit + +USE_CMAKE= yes +USE_LANGUAGES= c c++ +WRKSRC= ${WRKDIR}/jsoncpp + +# for tests +PYTHON_FOR_BUILD_ONLY= yes +PYTHON_VERSIONS_INCOMPATIBLE= 33 # not yet ported as of 0.6.0rc2nb20140217 + +.include "../../lang/python/application.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/textproc/jsoncpp/PLIST b/textproc/jsoncpp/PLIST new file mode 100644 index 00000000000..3ed4a557ee1 --- /dev/null +++ b/textproc/jsoncpp/PLIST @@ -0,0 +1,12 @@ +@comment $NetBSD: PLIST,v 1.1 2014/04/18 22:26:08 wiz Exp $ +include/json/assertions.h +include/json/autolink.h +include/json/config.h +include/json/features.h +include/json/forwards.h +include/json/json.h +include/json/reader.h +include/json/value.h +include/json/version.h +include/json/writer.h +lib/libjsoncpp.a diff --git a/textproc/jsoncpp/buildlink3.mk b/textproc/jsoncpp/buildlink3.mk new file mode 100644 index 00000000000..4539b615a3a --- /dev/null +++ b/textproc/jsoncpp/buildlink3.mk @@ -0,0 +1,13 @@ +# $NetBSD: buildlink3.mk,v 1.1 2014/04/18 22:26:08 wiz Exp $ + +BUILDLINK_TREE+= jsoncpp + +.if !defined(JSONCPP_BUILDLINK3_MK) +JSONCPP_BUILDLINK3_MK:= + +BUILDLINK_API_DEPENDS.jsoncpp+= jsoncpp>=0.6.0rc2svn276 +BUILDLINK_PKGSRCDIR.jsoncpp?= ../../textproc/jsoncpp +BUILDLINK_DEPMETHOD.jsoncpp?= build +.endif # JSONCPP_BUILDLINK3_MK + +BUILDLINK_TREE+= -jsoncpp diff --git a/textproc/jsoncpp/distinfo b/textproc/jsoncpp/distinfo new file mode 100644 index 00000000000..a4cf61a84c8 --- /dev/null +++ b/textproc/jsoncpp/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1 2014/04/18 22:26:08 wiz Exp $ + +SHA1 (jsoncpp-src-0.6.0rc2svn276.tar.gz) = 47a36b612343bb93ba89532b822eb9f851380ddf +RMD160 (jsoncpp-src-0.6.0rc2svn276.tar.gz) = 1d9ff19fafd2ffb080774cd17215315cfca248f5 +Size (jsoncpp-src-0.6.0rc2svn276.tar.gz) = 342225 bytes |