From owner-svn-ports-all@freebsd.org Wed Mar 29 00:28:21 2017 Return-Path: Delivered-To: svn-ports-all@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 A2064D23CA7; Wed, 29 Mar 2017 00:28:21 +0000 (UTC) (envelope-from grembo@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 5CB502F1C; Wed, 29 Mar 2017 00:28:21 +0000 (UTC) (envelope-from grembo@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v2T0SKJQ069164; Wed, 29 Mar 2017 00:28:20 GMT (envelope-from grembo@FreeBSD.org) Received: (from grembo@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v2T0SKrc069160; Wed, 29 Mar 2017 00:28:20 GMT (envelope-from grembo@FreeBSD.org) Message-Id: <201703290028.v2T0SKrc069160@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: grembo set sender to grembo@FreeBSD.org using -f From: Michael Gmelin Date: Wed, 29 Mar 2017 00:28:20 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r437178 - in head/devel: . nlohmann-json X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Mar 2017 00:28:21 -0000 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 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 +# $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 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/