Date: Wed, 29 Mar 2017 00:28:20 +0000 (UTC) From: Michael Gmelin <grembo@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r437178 - in head/devel: . nlohmann-json Message-ID: <201703290028.v2T0SKrc069160@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: grembo Date: Wed Mar 29 00:28:19 2017 New Revision: 437178 URL: https://svnweb.freebsd.org/changeset/ports/437178 Log: Add nlohmann-json v2.1.1, JSON library for Modern C++. PR: 215098 Submitted by: Viacheslav Mikerov <SlavaMikerov@gmail.com> Added: head/devel/nlohmann-json/ head/devel/nlohmann-json/Makefile (contents, props changed) head/devel/nlohmann-json/distinfo (contents, props changed) head/devel/nlohmann-json/pkg-descr (contents, props changed) Modified: head/devel/Makefile Modified: head/devel/Makefile ============================================================================== --- head/devel/Makefile Tue Mar 28 23:47:58 2017 (r437177) +++ head/devel/Makefile Wed Mar 29 00:28:19 2017 (r437178) @@ -1678,6 +1678,7 @@ SUBDIR += nini SUBDIR += ninja SUBDIR += ninja-ide + SUBDIR += nlohmann-json SUBDIR += node-thrift SUBDIR += notify-sharp SUBDIR += noweb Added: head/devel/nlohmann-json/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/nlohmann-json/Makefile Wed Mar 29 00:28:19 2017 (r437178) @@ -0,0 +1,36 @@ +# Created by: Viacheslav Mikerov <SlavaMikerov@gmail.com> +# $FreeBSD$ + +PORTNAME= nlohmann-json +PORTVERSION= v2.1.1 +CATEGORIES= devel + +MAINTAINER= SlavaMikerov@gmail.com +COMMENT= JSON library for Modern C++ + +LICENSE= BSD2CLAUSE + +NO_ARCH= yes + +USE_GITHUB= yes +GH_ACCOUNT= nlohmann +GH_PROJECT= json + +PLIST_FILES= share/cmake/Modules/nlohmann_jsonConfig.cmake \ + share/cmake/Modules/nlohmann_jsonConfigVersion.cmake \ + share/cmake/Modules/nlohmann_jsonTargets.cmake \ + include/nlohmann/json.hpp + +USES= compiler:c++11-lib cmake:outsource +OPTIONS_DEFINE= TEST +TEST_CMAKE_OFF= -DBuildTests=OFF + +post-patch: + @${REINPLACE_CMD} -e \ + 's|set(JSON_CONFIG_DESTINATION "cmake")|set(JSON_CONFIG_DESTINATION "share/cmake/Modules")|g' \ + ${WRKSRC}/CMakeLists.txt + +do-test-TEST-on: + @cd ${WRKDIR}/.build && ${MAKE_CMD} test + +.include <bsd.port.mk> Added: head/devel/nlohmann-json/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/nlohmann-json/distinfo Wed Mar 29 00:28:19 2017 (r437178) @@ -0,0 +1,3 @@ +TIMESTAMP = 1490609142 +SHA256 (nlohmann-json-v2.1.1_GH0.tar.gz) = 59b85ebe61d9dcbd24946f2082ce5943e276f05b4ef1baeb3c6c10d324333053 +SIZE (nlohmann-json-v2.1.1_GH0.tar.gz) = 108615607 Added: head/devel/nlohmann-json/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/nlohmann-json/pkg-descr Wed Mar 29 00:28:19 2017 (r437178) @@ -0,0 +1,4 @@ +JSON for Modern C++ is an open-source library consisting of a C++11-style +header-only JSON class. + +WWW: https://nlohmann.github.io/json/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201703290028.v2T0SKrc069160>