Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F163404237
D19899.id56170.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D19899.id56170.diff
View Options
Index: devel/picojson/Makefile
===================================================================
--- devel/picojson/Makefile
+++ devel/picojson/Makefile
@@ -0,0 +1,26 @@
+# $FreeBSD$
+
+PORTNAME= picojson
+DISTVERSIONPREFIX= v
+DISTVERSION= 1.3.0
+CATEGORIES= devel
+
+MAINTAINER= ports@FreeBSD.org
+COMMENT= Header file only JSON parser/serializer in C++
+
+LICENSE= BSD2CLAUSE
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+OPTIONS_DEFINE= EXAMPLES
+OPTIONS_SUB= yes
+
+USE_GITHUB= yes
+GH_ACCOUNT= kazuho
+
+ALL_TARGET=
+
+post-install-EXAMPLES-on:
+ @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+ ${INSTALL_DATA} ${WRKSRC}/examples/* ${STAGEDIR}${EXAMPLESDIR}
+
+.include <bsd.port.mk>
Index: devel/picojson/distinfo
===================================================================
--- devel/picojson/distinfo
+++ devel/picojson/distinfo
@@ -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
Index: devel/picojson/pkg-descr
===================================================================
--- devel/picojson/pkg-descr
+++ devel/picojson/pkg-descr
@@ -0,0 +1,8 @@
+PicoJSON is a tiny JSON parser / serializer for C++ with following properties;
+
+* Header-file only
+* No external dependencies (only uses standard C++ libraries)
+* STL-frendly (arrays are represented by using std::vector, objects are std::map)
+* Provides both pull interface and streaming (event-based) interface
+
+WWW: https://github.com/kazuho/picojson
Index: devel/picojson/pkg-plist
===================================================================
--- devel/picojson/pkg-plist
+++ devel/picojson/pkg-plist
@@ -0,0 +1,4 @@
+include/picojson.h
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/github-issues.cc
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/iostream.cc
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/streaming.cc
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Jul 23, 10:04 PM (5 h, 12 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
35417267
Default Alt Text
D19899.id56170.diff (1 KB)
Attached To
Mode
D19899: devel/picojson: New port
Attached
Detach File
Event Timeline
Log In to Comment