Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F108101101
D19899.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
2 KB
Referenced Files
None
Subscribers
None
D19899.diff
View Options
Index: head/devel/Makefile
===================================================================
--- head/devel/Makefile
+++ head/devel/Makefile
@@ -4121,6 +4121,7 @@
SUBDIR += phpunit7
SUBDIR += phpunit8
SUBDIR += physfs
+ SUBDIR += picojson
SUBDIR += picp
SUBDIR += picprog
SUBDIR += pig
Index: head/devel/picojson/Makefile
===================================================================
--- head/devel/picojson/Makefile
+++ head/devel/picojson/Makefile
@@ -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>
Index: head/devel/picojson/distinfo
===================================================================
--- head/devel/picojson/distinfo
+++ head/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: head/devel/picojson/pkg-descr
===================================================================
--- head/devel/picojson/pkg-descr
+++ head/devel/picojson/pkg-descr
@@ -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
Index: head/devel/picojson/pkg-plist
===================================================================
--- head/devel/picojson/pkg-plist
+++ head/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
Wed, Jan 22, 9:49 AM (19 h, 54 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16028302
Default Alt Text
D19899.diff (2 KB)
Attached To
Mode
D19899: devel/picojson: New port
Attached
Detach File
Event Timeline
Log In to Comment