From owner-svn-ports-head@freebsd.org Sun Oct 9 00:32:40 2016 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 63944A941FA; Sun, 9 Oct 2016 00:32:40 +0000 (UTC) (envelope-from wen@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 23CD0A8F; Sun, 9 Oct 2016 00:32:40 +0000 (UTC) (envelope-from wen@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u990Wdic044439; Sun, 9 Oct 2016 00:32:39 GMT (envelope-from wen@FreeBSD.org) Received: (from wen@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u990Wd4V044436; Sun, 9 Oct 2016 00:32:39 GMT (envelope-from wen@FreeBSD.org) Message-Id: <201610090032.u990Wd4V044436@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: wen set sender to wen@FreeBSD.org using -f From: Wen Heping Date: Sun, 9 Oct 2016 00:32:39 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r423557 - head/devel/rapidjson X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 09 Oct 2016 00:32:40 -0000 Author: wen Date: Sun Oct 9 00:32:38 2016 New Revision: 423557 URL: https://svnweb.freebsd.org/changeset/ports/423557 Log: - Update to 1.1.0 PR: 213263 Submitted by: yuri@rawbw.com(maintainer) Modified: head/devel/rapidjson/Makefile head/devel/rapidjson/distinfo head/devel/rapidjson/pkg-plist Modified: head/devel/rapidjson/Makefile ============================================================================== --- head/devel/rapidjson/Makefile Sat Oct 8 23:10:51 2016 (r423556) +++ head/devel/rapidjson/Makefile Sun Oct 9 00:32:38 2016 (r423557) @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= rapidjson -PORTVERSION= 1.0.2 +PORTVERSION= 1.1.0 DISTVERSIONPREFIX= v CATEGORIES= devel textproc @@ -16,22 +16,37 @@ LICENSE_PERMS= ${_LICENSE_PERMS_DEFAULT} BROKEN_powerpc64= Does not build +DOXYGEN_BUILD_DEPENDS+= doxygen:devel/doxygen + USE_GITHUB= yes GH_ACCOUNT= miloyip -USES= cmake gmake +USES= cmake compiler:c++11-lang gmake -OPTIONS_DEFINE= DOCS EXAMPLES +OPTIONS_DEFINE= DOXYGEN EXAMPLES OPTIONS_DEFAULT=${OPTIONS_DEFINE} OPTIONS_SUB= yes +DOXYGEN_CMAKE_ON= -DRAPIDJSON_BUILD_DOC:BOOL=ON +DOXYGEN_CMAKE_OFF= -DRAPIDJSON_BUILD_DOC:BOOL=OFF +EXAMPLES_CMAKE_ON= -DRAPIDJSON_BUILD_EXAMPLES:BOOL=ON +EXAMPLES_CMAKE_OFF= -DRAPIDJSON_BUILD_EXAMPLES:BOOL=OFF + +CXXFLAGS+= -Wno-c++98-compat # for EXAMPLES option, due to this bug: https://github.com/miloyip/rapidjson/issues/761 +MAKE_ARGS= CXX="${CXX}" CXXFLAGS="${CXXFLAGS}" +CMAKE_ARGS= -DRAPIDJSON_BUILD_TESTS:BOOL=OFF + +DATADIR= ${PREFIX}/share/doc/RapidJSON +PORTDATA= * + 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 - @${REINPLACE_CMD} -e 's|-Werror||' ${WRKSRC}/example/CMakeLists.txt - @${REINPLACE_CMD} -e 's|-Werror||' ${WRKSRC}/test/unittest/CMakeLists.txt + @${REINPLACE_CMD} -e 's|-Werror||' ${WRKSRC}/example/CMakeLists.txt ${WRKSRC}/test/unittest/CMakeLists.txt + @${REINPLACE_CMD} -e 's|.*travis.*||' ${WRKSRC}/CMakeLists.txt # travis_doc breaks cmake, see https://github.com/miloyip/rapidjson/issues/715 + @${REINPLACE_CMD} -e 's|add_subdirectory.*googletest.*|link_directories(${LOCALBASE}/lib)|' ${WRKSRC}/test/CMakeLists.txt post-stage: - @${RM} -rf ${STAGEDIR}${EXAMPLESDIR}/CMakeFiles + @${RM} -rf ${STAGEDIR}${EXAMPLESDIR}/CMake* .include Modified: head/devel/rapidjson/distinfo ============================================================================== --- head/devel/rapidjson/distinfo Sat Oct 8 23:10:51 2016 (r423556) +++ head/devel/rapidjson/distinfo Sun Oct 9 00:32:38 2016 (r423557) @@ -1,2 +1,3 @@ -SHA256 (miloyip-rapidjson-v1.0.2_GH0.tar.gz) = c3711ed2b3c76a5565ee9f0128bb4ec6753dbcc23450b713842df8f236d08666 -SIZE (miloyip-rapidjson-v1.0.2_GH0.tar.gz) = 725981 +TIMESTAMP = 1472138938 +SHA256 (miloyip-rapidjson-v1.1.0_GH0.tar.gz) = bf7ced29704a1e696fbccf2a2b4ea068e7774fa37f6d7dd4039d0787f8bed98e +SIZE (miloyip-rapidjson-v1.1.0_GH0.tar.gz) = 1019402 Modified: head/devel/rapidjson/pkg-plist ============================================================================== --- head/devel/rapidjson/pkg-plist Sat Oct 8 23:10:51 2016 (r423556) +++ head/devel/rapidjson/pkg-plist Sun Oct 9 00:32:38 2016 (r423557) @@ -6,6 +6,7 @@ include/rapidjson/error/en.h include/rapidjson/error/error.h include/rapidjson/filereadstream.h include/rapidjson/filewritestream.h +include/rapidjson/fwd.h include/rapidjson/internal/biginteger.h include/rapidjson/internal/diyfp.h include/rapidjson/internal/dtoa.h @@ -13,28 +14,38 @@ include/rapidjson/internal/ieee754.h include/rapidjson/internal/itoa.h include/rapidjson/internal/meta.h include/rapidjson/internal/pow10.h +include/rapidjson/internal/regex.h include/rapidjson/internal/stack.h include/rapidjson/internal/strfunc.h include/rapidjson/internal/strtod.h +include/rapidjson/internal/swap.h +include/rapidjson/istreamwrapper.h include/rapidjson/memorybuffer.h include/rapidjson/memorystream.h include/rapidjson/msinttypes/inttypes.h include/rapidjson/msinttypes/stdint.h +include/rapidjson/ostreamwrapper.h +include/rapidjson/pointer.h include/rapidjson/prettywriter.h include/rapidjson/rapidjson.h include/rapidjson/reader.h +include/rapidjson/schema.h +include/rapidjson/stream.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%%/capitalize/capitalize.cpp %%PORTEXAMPLES%%%%EXAMPLESDIR%%/condense/condense.cpp +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/filterkey/filterkey.cpp +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/filterkeydom/filterkeydom.cpp +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/jsonx/jsonx.cpp %%PORTEXAMPLES%%%%EXAMPLESDIR%%/messagereader/messagereader.cpp +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/parsebyparts/parsebyparts.cpp %%PORTEXAMPLES%%%%EXAMPLESDIR%%/pretty/pretty.cpp %%PORTEXAMPLES%%%%EXAMPLESDIR%%/prettyauto/prettyauto.cpp +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/schemavalidator/schemavalidator.cpp %%PORTEXAMPLES%%%%EXAMPLESDIR%%/serialize/serialize.cpp %%PORTEXAMPLES%%%%EXAMPLESDIR%%/simpledom/simpledom.cpp %%PORTEXAMPLES%%%%EXAMPLESDIR%%/simplereader/simplereader.cpp