Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Apr 2019 17:18:14 +0000 (UTC)
From:      Tobias Kortkamp <tobik@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r499771 - in head/devel: . picojson
Message-ID:  <201904231718.x3NHIEB3099874@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tobik
Date: Tue Apr 23 17:18:13 2019
New Revision: 499771
URL: https://svnweb.freebsd.org/changeset/ports/499771

Log:
  New port: devel/picojson
  
  PicoJSON is a tiny JSON parser / serializer for C++ with the following
  properties:
  
  * Header-file only
  * No external dependencies (only uses standard C++ libraries)
  * STL-friendly (arrays are represented using std::vector, objects are std::map)
  * Provides both pull interface and streaming (event-based) interface
  
  WWW: https://github.com/kazuho/picojson
  
  PR:		237262
  Submitted by:	James Wright <james.wright@digital-chaos.com>
  Reviewed by:	tcberner, tobik
  Differential Revision:	https://reviews.freebsd.org/D19899

Added:
  head/devel/picojson/
  head/devel/picojson/Makefile   (contents, props changed)
  head/devel/picojson/distinfo   (contents, props changed)
  head/devel/picojson/pkg-descr   (contents, props changed)
  head/devel/picojson/pkg-plist   (contents, props changed)
Modified:
  head/devel/Makefile

Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile	Tue Apr 23 17:08:12 2019	(r499770)
+++ head/devel/Makefile	Tue Apr 23 17:18:13 2019	(r499771)
@@ -4121,6 +4121,7 @@
     SUBDIR += phpunit7
     SUBDIR += phpunit8
     SUBDIR += physfs
+    SUBDIR += picojson
     SUBDIR += picp
     SUBDIR += picprog
     SUBDIR += pig

Added: head/devel/picojson/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/picojson/Makefile	Tue Apr 23 17:18:13 2019	(r499771)
@@ -0,0 +1,28 @@
+# $FreeBSD$
+
+PORTNAME=	picojson
+DISTVERSIONPREFIX=	v
+DISTVERSION=	1.3.0
+CATEGORIES=	devel
+
+MAINTAINER=	james.wright@digital-chaos.com
+COMMENT=	Header file only JSON parser/serializer in C++
+
+LICENSE=	BSD2CLAUSE
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	kazuho
+
+NO_ARCH=	yes
+NO_BUILD=	yes
+TEST_TARGET=	check
+
+OPTIONS_DEFINE=	EXAMPLES
+OPTIONS_SUB=	yes
+
+post-install-EXAMPLES-on:
+	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+	${INSTALL_DATA} ${WRKSRC}/examples/* ${STAGEDIR}${EXAMPLESDIR}
+
+.include <bsd.port.mk>

Added: head/devel/picojson/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/picojson/distinfo	Tue Apr 23 17:18:13 2019	(r499771)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1555165118
+SHA256 (kazuho-picojson-v1.3.0_GH0.tar.gz) = 056805ca2691798f5545935a14bb477f2e1d827c9fb862e6e449dbea22801c7d
+SIZE (kazuho-picojson-v1.3.0_GH0.tar.gz) = 14695

Added: head/devel/picojson/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/picojson/pkg-descr	Tue Apr 23 17:18:13 2019	(r499771)
@@ -0,0 +1,9 @@
+PicoJSON is a tiny JSON parser / serializer for C++ with the following
+properties:
+
+* Header-file only
+* No external dependencies (only uses standard C++ libraries)
+* STL-friendly (arrays are represented using std::vector, objects are std::map)
+* Provides both pull interface and streaming (event-based) interface
+
+WWW: https://github.com/kazuho/picojson

Added: head/devel/picojson/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/picojson/pkg-plist	Tue Apr 23 17:18:13 2019	(r499771)
@@ -0,0 +1,4 @@
+include/picojson.h
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/github-issues.cc
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/iostream.cc
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/streaming.cc



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201904231718.x3NHIEB3099874>