Date: Fri, 25 Sep 2020 21:18:30 +0000 (UTC) From: Mateusz Piotrowski <0mp@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r550083 - head/devel/nlohmann-json Message-ID: <202009252118.08PLIUYr010376@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: 0mp Date: Fri Sep 25 21:18:30 2020 New Revision: 550083 URL: https://svnweb.freebsd.org/changeset/ports/550083 Log: devel/nlohmann-json: Install include/nlohmann/json_fwd.hpp This header file is required by future versions of sysutils/nix. In order to get that header installed, the JSON_MultipleHeaders option had to be enable. This option results in the build system installing a lot of other header files as well. As there is no need to ship those other headers at the moment, let's delete them in post-install. PR: 249895 Approved by: yuri@ (maintainer) Modified: head/devel/nlohmann-json/Makefile Modified: head/devel/nlohmann-json/Makefile ============================================================================== --- head/devel/nlohmann-json/Makefile Fri Sep 25 20:32:31 2020 (r550082) +++ head/devel/nlohmann-json/Makefile Fri Sep 25 21:18:30 2020 (r550083) @@ -4,6 +4,7 @@ PORTNAME= json DISTVERSIONPREFIX= v DISTVERSION= 3.9.1 +PORTREVISION= 1 CATEGORIES= devel PKGNAMEPREFIX= nlohmann- @@ -20,13 +21,19 @@ GH_ACCOUNT= nlohmann NO_BUILD= yes NO_ARCH= yes +CMAKE_ON= JSON_MultipleHeaders CMAKE_OFF= JSON_BuildTests PLIST_FILES= lib/cmake/nlohmann_json/nlohmann_jsonConfig.cmake \ lib/cmake/nlohmann_json/nlohmann_jsonConfigVersion.cmake \ lib/cmake/nlohmann_json/nlohmann_jsonTargets.cmake \ libdata/pkgconfig/nlohmann_json.pc \ - include/nlohmann/json.hpp + include/nlohmann/json.hpp \ + include/nlohmann/json_fwd.hpp + +post-install: + @${FIND} ${STAGEDIR}${PREFIX}/include/nlohmann \ + ! -name json.hpp -and ! -name json_fwd.hpp -delete do-test: @cd ${BUILD_WRKSRC} && \
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202009252118.08PLIUYr010376>