notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Port details
nlohmann-json JSON library for Modern C++
3.10.1 devel on this many watch lists=0 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 3.9.1_2Version of this port present on the latest quarterly branch.
Maintainer: yuri@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2017-03-29 00:28:30
Last Update: 2021-08-25 06:07:50
Commit Hash: 8dea8a2
License: MIT
Description:
SVNWeb : git : Homepage
pkg-plist: as obtained via: make generate-plist
Expand this list (49 items)
Collapse this list.
  1. /usr/local/share/licenses/nlohmann-json-3.10.1/catalog.mk
  2. /usr/local/share/licenses/nlohmann-json-3.10.1/LICENSE
  3. /usr/local/share/licenses/nlohmann-json-3.10.1/MIT
  4. include/nlohmann/adl_serializer.hpp
  5. include/nlohmann/byte_container_with_subtype.hpp
  6. include/nlohmann/detail/conversions/from_json.hpp
  7. include/nlohmann/detail/conversions/to_chars.hpp
  8. include/nlohmann/detail/conversions/to_json.hpp
  9. include/nlohmann/detail/exceptions.hpp
  10. include/nlohmann/detail/hash.hpp
  11. include/nlohmann/detail/input/binary_reader.hpp
  12. include/nlohmann/detail/input/input_adapters.hpp
  13. include/nlohmann/detail/input/json_sax.hpp
  14. include/nlohmann/detail/input/lexer.hpp
  15. include/nlohmann/detail/input/parser.hpp
  16. include/nlohmann/detail/input/position_t.hpp
  17. include/nlohmann/detail/iterators/internal_iterator.hpp
  18. include/nlohmann/detail/iterators/iter_impl.hpp
  19. include/nlohmann/detail/iterators/iteration_proxy.hpp
  20. include/nlohmann/detail/iterators/iterator_traits.hpp
  21. include/nlohmann/detail/iterators/json_reverse_iterator.hpp
  22. include/nlohmann/detail/iterators/primitive_iterator.hpp
  23. include/nlohmann/detail/json_pointer.hpp
  24. include/nlohmann/detail/json_ref.hpp
  25. include/nlohmann/detail/macro_scope.hpp
  26. include/nlohmann/detail/macro_unscope.hpp
  27. include/nlohmann/detail/meta/cpp_future.hpp
  28. include/nlohmann/detail/meta/detected.hpp
  29. include/nlohmann/detail/meta/identity_tag.hpp
  30. include/nlohmann/detail/meta/is_sax.hpp
  31. include/nlohmann/detail/meta/type_traits.hpp
  32. include/nlohmann/detail/meta/void_t.hpp
  33. include/nlohmann/detail/output/binary_writer.hpp
  34. include/nlohmann/detail/output/output_adapters.hpp
  35. include/nlohmann/detail/output/serializer.hpp
  36. include/nlohmann/detail/string_escape.hpp
  37. include/nlohmann/detail/value_t.hpp
  38. include/nlohmann/json.hpp
  39. include/nlohmann/json_fwd.hpp
  40. include/nlohmann/ordered_map.hpp
  41. include/nlohmann/thirdparty/hedley/hedley.hpp
  42. include/nlohmann/thirdparty/hedley/hedley_undef.hpp
  43. lib/cmake/nlohmann_json/nlohmann_jsonConfig.cmake
  44. lib/cmake/nlohmann_json/nlohmann_jsonConfigVersion.cmake
  45. lib/cmake/nlohmann_json/nlohmann_jsonTargets.cmake
  46. libdata/pkgconfig/nlohmann_json.pc
  47. @owner
  48. @group
  49. @mode
Collapse this list.
Dependency lines:
  • nlohmann-json>0:devel/nlohmann-json
To install the port: cd /usr/ports/devel/nlohmann-json/ && make install clean
To add the package, run one of these commands:
  • pkg install devel/nlohmann-json
  • pkg install nlohmann-json
PKGNAME: nlohmann-json
Flavors: there is no flavor information for this port.
distinfo:
Packages (timestamps in pop-ups are UTC):
nlohmann-json
ABIlatestquarterly
FreeBSD:11:aarch643.1.2_13.8.0
FreeBSD:11:amd643.10.13.9.1_2
FreeBSD:11:armv6-3.8.0
FreeBSD:11:i3863.10.13.9.1_2
FreeBSD:11:mips--
FreeBSD:11:mips64--
FreeBSD:12:aarch643.1.2_13.9.1_2
FreeBSD:12:amd643.10.13.9.1_2
FreeBSD:12:armv63.1.2_13.9.1_2
FreeBSD:12:armv73.1.2_13.9.1_2
FreeBSD:12:i3863.10.13.9.1_2
FreeBSD:12:mips--
FreeBSD:12:mips64--
FreeBSD:12:powerpc64-3.9.1_2
FreeBSD:13:aarch643.9.1_23.9.1_2
FreeBSD:13:amd643.10.13.9.1_2
FreeBSD:13:armv63.9.1_23.9.1_2
FreeBSD:13:armv73.9.1_23.9.1_2
FreeBSD:13:i3863.10.13.9.1_2
FreeBSD:13:mips--
FreeBSD:13:mips64--
FreeBSD:13:powerpc643.9.1_23.9.1_2
FreeBSD:14:aarch643.10.1-
FreeBSD:14:amd643.10.1-
FreeBSD:14:armv63.9.1_2-
FreeBSD:14:armv73.9.1_2-
FreeBSD:14:i3863.10.1-
FreeBSD:14:mips--
FreeBSD:14:mips64--
FreeBSD:14:powerpc643.9.1_2-
 

Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. cmake : devel/cmake
  2. ninja : devel/ninja
This port is required by:
for Build
  1. cad/ifcopenshell
  2. devel/bear
  3. devel/google-cloud-cpp
  4. devel/google-cloud-cpp117
  5. devel/jsonnet
  6. devel/xeus
  7. devel/xeus-cling
Expand this list (23 items / 16 hidden - sorry, this count includes any deleted ports)
  1. Collapse this list).
  2. devel/xtl-quant-stack
  3. editors/imhex
  4. emulators/yuzu
  5. emulators/yuzu-qt5
  6. games/el
  7. games/openrct2
  8. math/pdal
  9. math/xtensor
  10. misc/frugally-deep
  11. misc/nn-insight
  12. multimedia/obs-streamfx
  13. net-im/mtxclient
  14. net-im/nheko
  15. science/thermofun
  16. science/vipster
  17. x11/nwg-launchers
  18. Collapse this list.
for Run
  1. devel/xtl-quant-stack
  2. math/xtensor
  3. misc/frugally-deep

Configuration Options:
Options name:

USES:

FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (1 items)
Collapse this list.
  1. https://codeload.github.com/nlohmann/json/tar.gz/v3.10.1?dummy=/
Collapse this list.

Number of commits found: 21

Commit History - (may be incomplete: see SVNWeb link above for full details)
DateByDescription
25 Aug 2021 06:07:50
 files touched by this commit commit hash:8dea8a22f2d8a14de4018e80d569f42eef313d9c  3.10.1
yuri search for other commits by this committer
devel/nlohmann-json: Update 3.10.0 -> 3.10.1
18 Aug 2021 22:50:45
 files touched by this commit commit hash:6a4356a0f431c643b10e1c085eb7fb77ce7fd732  3.10.0
yuri search for other commits by this committer
devel/nlohmann-json: Update 3.9.1 -> 3.10.0

Reported by:	portscout
06 Apr 2021 14:31:07
 files touched by this commit commit hash:305f148f482daf30dcf728039d03d019f88344eb  3.9.1_2
mat search for other commits by this committer
Remove # $FreeBSD$ from Makefiles.
25 Sep 2020 21:44:47
Original commit files touched by this commit Revision:550086  3.9.1_2
0mp search for other commits by this committer
devel/nlohmann-json: Install all the headers

It turns out that it is necessary to ship all the headers if the
JSON_MultipleHeaders option was used for building. Otherwise, even the most
popular header, json.hpp, no longer works correctly.

PR:		249895
Approved by:	yuri@ (maintainer)
25 Sep 2020 21:18:30
Original commit files touched by this commit Revision:550083  3.9.1_1
0mp search for other commits by this committer
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)
07 Aug 2020 05:42:17
Original commit files touched by this commit Revision:544314  3.9.1
yuri search for other commits by this committer
devel/nlohmann-json: Update 3.9.0 -> 3.9.1

Changelog: https://github.com/nlohmann/json/releases/tag/v3.9.1
28 Jul 2020 05:22:31
Original commit files touched by this commit Revision:543573  3.9.0
yuri search for other commits by this committer
devel/nlohmann-json: Update 3.8.0 -> 3.9.0

Reported by:	portscout
15 Jun 2020 16:32:59
Original commit files touched by this commit Revision:538919  3.8.0
yuri search for other commits by this committer
devel/nlohmann-json: Update 3.7.3 -> 3.8.0

Reported by:	portscout
18 Nov 2019 07:24:31
Original commit files touched by this commit Revision:517859  3.7.3
yuri search for other commits by this committer
devel/nlohmann-json: Update 3.7.0 -> 3.7.3

Reported by:	portscout
08 Aug 2019 17:58:44
Original commit files touched by this commit Revision:508398  3.7.0
yuri search for other commits by this committer
devel/nlohmann-json: Update 3.3.0 -> 3.7.0

Maintainer reset due to 3 consecutive timeouts on this port.

PR:		233486
Approved by:	SlavaMikerov@gmail.com (maintainer's timeout 8+ months)
26 Jul 2019 20:46:57
Original commit files touched by this commit Revision:507372  3.3.0_2
gerald search for other commits by this committer
Bump PORTREVISION for ports depending on the canonical version of GCC
as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3
to GCC 9.1 under most circumstances now after revision 507371.

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
   c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, everything INDEX-11 shows with a dependency on lang/gcc9 now.

PR:		238330
25 Dec 2018 20:25:40
Original commit files touched by this commit Revision:488341  3.3.0_1
tcberner search for other commits by this committer
Change cmake default behaviour to outsource.

Ports that build out of source now simply can use "USES=cmake"
instead of "USES=cmake:outsource". Ports that fail to build
out of source now need to specify "USES=cmake:insource".

I tried to only set insource where explictely needed.

PR:		232038
Exp-run by:	antoine
12 Dec 2018 01:35:36
Original commit files touched by this commit Revision:487272  3.3.0_1
gerald search for other commits by this committer
Bump PORTREVISION for ports depending on the canonical version of GCC
defined via Mk/bsd.default-versions.mk which has moved from GCC 7.4 t
GCC 8.2 under most circumstances.

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
   c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, as a double check, everything INDEX-11 showed depending on lang/gcc7.

PR:		231590
23 Nov 2018 21:11:54
Original commit files touched by this commit Revision:485707  3.3.0
yuri search for other commits by this committer
devel/nlohmann-json: Update 3.1.2 -> 3.3.0

PR:		232755
Approved by:	SlavaMikerov@gmail.com (maintainer's timeout; 27 days)
14 Aug 2018 21:48:01
Original commit files touched by this commit Revision:477206  3.1.2_1
jbeich search for other commits by this committer
devel/nlohmann-json: unbreak consumers with libc++ 7

In file included from test/src/unit-conversions.cpp:32:
single_include/nlohmann/json.hpp:1201:9: error: static_assert failed "could not
find from_json() method in T's namespace"
        static_assert(sizeof(BasicJsonType) == 0,
        ^             ~~~~~~~~~~~~~~~~~~~~~~~~~~
single_include/nlohmann/json.hpp:1216:16: note: in instantiation of function
template specialization
'nlohmann::detail::from_json_fn::call<nlohmann::basic_json<std::map,
std::vector, std::__1::basic_string<char>, bool, long, unsigned long, double,
std::allocator, adl_serializer>, std::__1::basic_string_view<char,
std::__1::char_traits<char> > >' requested here
        return call(j, val, priority_tag<1> {});
               ^
single_include/nlohmann/json.hpp:9660:9: note: in instantiation of function
template specialization
'nlohmann::detail::from_json_fn::operator()<nlohmann::basic_json<std::map,
std::vector, std::__1::basic_string<char>, bool, long, unsigned long, double,
std::allocator, adl_serializer>, std::__1::basic_string_view<char,
std::__1::char_traits<char> > >' requested here
        ::nlohmann::from_json(std::forward<BasicJsonType>(j), val);
        ^
single_include/nlohmann/json.hpp:12181:36: note: in instantiation of function
template specialization
'nlohmann::adl_serializer<std::__1::basic_string_view<char,
std::__1::char_traits<char> >, void>::from_json<const
nlohmann::basic_json<std::map, std::vector, std::__1::basic_string<char>, bool,
long, unsigned long, double, std::allocator, adl_serializer> &,
std::__1::basic_string_view<char, std::__1::char_traits<char> > >' requested
here
        JSONSerializer<ValueType>::from_json(*this, ret);
                                   ^
(Only the first 15 lines of the commit message are shown above View all of this commit message)
29 Jul 2018 22:18:46
Original commit files touched by this commit Revision:475857  3.1.2_1
gerald search for other commits by this committer
Bump PORTREVISION for ports depending on the canonical version of GCC
in the ports tree (via Mk/bsd.default-versions.mk and lang/gcc) which
has now moved from GCC 6 to GCC 7 by default.

This includes ports
 - featuring USE_GCC=yes or USE_GCC=any,
 - featuring USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and those
 - with USES=compiler specifying one of openmp, nestedfct, c11, c++0x,
   c++11-lib, c++11-lang, c++14-lang, c++17-lang, or gcc-c++11-lib.

PR:		222542
17 May 2018 15:37:34
Original commit files touched by this commit Revision:470225  3.1.2
yuri search for other commits by this committer
devel/nlohmann-json: Update 2.1.1 -> 3.1.2

Port changes:
* Change to DISTVERSION
* Change license to MIT (it changed?)
* Sort USES
* Preserve the cmake file location set in CMakeLists.txt
* Remove the TEST option, because it can be tested without such option.
* Add the do-test target that builds tests and tests in one step

PR:		227145
Approved by:	SlavaMikerov@gmail.com (maintainer's timeout; 48 days)
10 Sep 2017 20:55:39
Original commit files touched by this commit Revision:449591  2.1.1_1
gerald search for other commits by this committer
Bump PORTREVISION for ports depending on the canonical version of GCC
(via Mk/bsd.default-versions.mk and lang/gcc) which has moved from
GCC 5.4 to GCC 6.4 under most circumstances.

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c++11-lib, c++11-lang,
   c++14-lang, c++0x, c11, or gcc-c++11-lib.

PR:		219275
07 Apr 2017 18:01:07
Original commit files touched by this commit Revision:437949  2.1.1
grembo search for other commits by this committer
Fix version string, improve package naming

Also removed PORTREVISION, as pkg version -t v2.1.1_1 2.1.1 results in "<"

Reported by:	mat
01 Apr 2017 15:23:32
Original commit files touched by this commit Revision:437439  v2.1.1_1
gerald search for other commits by this committer
Bump PORTREVISIONs for ports depending on the canonical version of GCC and
lang/gcc which have moved from GCC 4.9.4 to GCC 5.4 (at least under some
circumstances such as versions of FreeBSD or platforms).

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using using Mk/bsd.octave.mk which in turn has USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c++11-lib, c++14-lang,
   c++11-lang, c++0x, c11, or gcc-c++11-lib.

PR:		216707
29 Mar 2017 00:28:20
Original commit files touched by this commit Revision:437178  v2.1.1
grembo search for other commits by this committer
Add nlohmann-json v2.1.1, JSON library for Modern C++.

PR:		215098
Submitted by:	Viacheslav Mikerov <SlavaMikerov@gmail.com>

Number of commits found: 21