Skip to content

Commit

Permalink
Import jsoncpp-0.6.0rc2svn276 as textproc/jsoncpp.
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
wiz committed Apr 18, 2014
1 parent a2a3374 commit 21a32bc
Show file tree
Hide file tree
Showing 5 changed files with 64 additions and 0 deletions.
12 changes: 12 additions & 0 deletions textproc/jsoncpp/DESCR
Original file line number Diff line number Diff line change
@@ -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.
22 changes: 22 additions & 0 deletions textproc/jsoncpp/Makefile
Original file line number Diff line number Diff line change
@@ -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"
12 changes: 12 additions & 0 deletions textproc/jsoncpp/PLIST
Original file line number Diff line number Diff line change
@@ -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
13 changes: 13 additions & 0 deletions textproc/jsoncpp/buildlink3.mk
Original file line number Diff line number Diff line change
@@ -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
5 changes: 5 additions & 0 deletions textproc/jsoncpp/distinfo
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 21a32bc

Please sign in to comment.