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
29 lines
521 B
Makefile
29 lines
521 B
Makefile
# $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>
|