Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Mar 2015 02:05:24 +0000 (UTC)
From:      "Vanilla I. Shu" <vanilla@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r381055 - in head/devel: . rapidjson
Message-ID:  <201503120205.t2C25Osp074289@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: vanilla
Date: Thu Mar 12 02:05:23 2015
New Revision: 381055
URL: https://svnweb.freebsd.org/changeset/ports/381055
QAT: https://qat.redports.org/buildarchive/r381055/

Log:
  Add rapidjson 0.150310, fast JSON parser/generator for C++ with both
  SAX/DOM style API.
  
  PR:		198516
  Submitted by:	Yuri Victorovich <yuri@rawbw.com>

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

Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile	Thu Mar 12 00:09:55 2015	(r381054)
+++ head/devel/Makefile	Thu Mar 12 02:05:23 2015	(r381055)
@@ -4294,6 +4294,7 @@
     SUBDIR += radare2
     SUBDIR += ragel
     SUBDIR += raknet
+    SUBDIR += rapidjson
     SUBDIR += rapidsvn
     SUBDIR += rbenv
     SUBDIR += rbtools

Added: head/devel/rapidjson/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/rapidjson/Makefile	Thu Mar 12 02:05:23 2015	(r381055)
@@ -0,0 +1,34 @@
+# Created by: Yuri Victorovich <yuri@rawbw.com>
+# $FreeBSD$
+
+PORTNAME=	rapidjson
+PORTVERSION=	0.150310
+CATEGORIES=	devel textproc
+
+MAINTAINER=	yuri@rawbw.com
+COMMENT=	Fast JSON parser/generator for C++ with both SAX/DOM style API
+
+LICENSE=	unknown
+LICENSE_NAME=	RapidJSON
+LICENSE_FILE=	${WRKSRC}/license.txt
+LICENSE_PERMS=	${_LICENSE_PERMS_DEFAULT}
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	miloyip
+GH_COMMIT=	c745c95
+GH_TAGNAME=	${GH_COMMIT}
+
+USES=		cmake compiler:c++11-lang gmake
+
+OPTIONS_DEFINE=	DOCS EXAMPLES
+OPTIONS_DEFAULT=${OPTIONS_DEFINE}
+OPTIONS_SUB=	yes
+
+post-patch:
+	@${REINPLACE_CMD} -e 's|LIB_INSTALL_DIR}/pkgconfig"|CMAKE_INSTALL_PREFIX}/libdata/pkgconfig"|' ${WRKSRC}/CMakeLists.txt
+	@${REINPLACE_CMD} -e 's|DOC_INSTALL_DIR}/examples"|CMAKE_INSTALL_PREFIX}/share/examples/${PORTNAME}"|' ${WRKSRC}/CMakeLists.txt
+
+post-stage:
+	@${RM} -rf ${STAGEDIR}${EXAMPLESDIR}/CMakeFiles
+
+.include <bsd.port.mk>

Added: head/devel/rapidjson/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/rapidjson/distinfo	Thu Mar 12 02:05:23 2015	(r381055)
@@ -0,0 +1,2 @@
+SHA256 (rapidjson-0.150310.tar.gz) = c1ea1694b32fe33466b90ab70e80105823286a9f1332431d1f6f0fc15ceac43e
+SIZE (rapidjson-0.150310.tar.gz) = 582317

Added: head/devel/rapidjson/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/rapidjson/pkg-descr	Thu Mar 12 02:05:23 2015	(r381055)
@@ -0,0 +1,4 @@
+RapidJSON is a JSON parser and generator for C++.
+It supports both SAX and DOM style API.
+
+WWW: https://github.com/miloyip/rapidjson

Added: head/devel/rapidjson/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/rapidjson/pkg-plist	Thu Mar 12 02:05:23 2015	(r381055)
@@ -0,0 +1,45 @@
+include/rapidjson/allocators.h
+include/rapidjson/document.h
+include/rapidjson/encodedstream.h
+include/rapidjson/encodings.h
+include/rapidjson/error/en.h
+include/rapidjson/error/error.h
+include/rapidjson/filereadstream.h
+include/rapidjson/filestream.h
+include/rapidjson/filewritestream.h
+include/rapidjson/internal/biginteger.h
+include/rapidjson/internal/diyfp.h
+include/rapidjson/internal/dtoa.h
+include/rapidjson/internal/ieee754.h
+include/rapidjson/internal/itoa.h
+include/rapidjson/internal/meta.h
+include/rapidjson/internal/pow10.h
+include/rapidjson/internal/stack.h
+include/rapidjson/internal/strfunc.h
+include/rapidjson/internal/strtod.h
+include/rapidjson/memorybuffer.h
+include/rapidjson/memorystream.h
+include/rapidjson/msinttypes/inttypes.h
+include/rapidjson/msinttypes/stdint.h
+include/rapidjson/prettywriter.h
+include/rapidjson/rapidjson.h
+include/rapidjson/reader.h
+include/rapidjson/stringbuffer.h
+include/rapidjson/writer.h
+lib/cmake/RapidJSON/RapidJSONConfig.cmake
+lib/cmake/RapidJSON/RapidJSONConfigVersion.cmake
+libdata/pkgconfig/RapidJSON.pc
+%%DOCS%%share/doc/RapidJSON/readme.md
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/CMakeLists.txt
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/Makefile
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/capitalize/capitalize.cpp
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/cmake_install.cmake
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/condense/condense.cpp
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/messagereader/messagereader.cpp
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/pretty/pretty.cpp
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/prettyauto/prettyauto.cpp
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/serialize/serialize.cpp
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/simpledom/simpledom.cpp
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/simplereader/simplereader.cpp
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/simplewriter/simplewriter.cpp
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tutorial/tutorial.cpp



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