notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine
I started running short on disk space for the non-production FreshPorts hosts. This time, I have decided to ask for donations. See my recent blog post which points to my Patreon account.
Server is being updated to FreeBSD 14.3 as you read this... and it is done.
Commit processing is stalled - it is a jail issue. I will work on it later today. 2025-09-17 12:17 UTC - It has been fixed. Sometime before 17:27 UTC.
Port details on branch 2023Q3
nlohmann-json JSON library for Modern C++
3.12.0_1 devel on this many watch lists=2 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.12.0Version 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: 2025-07-13 21:16:22
Commit Hash: 8ab9edd
People watching this port, also watch:: jdictionary, py311-Automat, py311-python-gdsii, py311-PyOpenGL, p5-Sane
License: MIT
WWW:
https://nlohmann.github.io/json/
https://github.com/nlohmann/json
Description:
JSON for Modern C++ is an open-source library consisting of a C++11-style header-only JSON class.
HomepageHomepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
Expand this list (56 items)
Collapse this list.
  1. /usr/local/share/licenses/nlohmann-json-3.12.0_1/catalog.mk
  2. /usr/local/share/licenses/nlohmann-json-3.12.0_1/LICENSE
  3. /usr/local/share/licenses/nlohmann-json-3.12.0_1/MIT
  4. include/nlohmann/adl_serializer.hpp
  5. include/nlohmann/byte_container_with_subtype.hpp
  6. include/nlohmann/detail/abi_macros.hpp
  7. include/nlohmann/detail/conversions/from_json.hpp
  8. include/nlohmann/detail/conversions/to_chars.hpp
  9. include/nlohmann/detail/conversions/to_json.hpp
  10. include/nlohmann/detail/exceptions.hpp
  11. include/nlohmann/detail/hash.hpp
  12. include/nlohmann/detail/input/binary_reader.hpp
  13. include/nlohmann/detail/input/input_adapters.hpp
  14. include/nlohmann/detail/input/json_sax.hpp
  15. include/nlohmann/detail/input/lexer.hpp
  16. include/nlohmann/detail/input/parser.hpp
  17. include/nlohmann/detail/input/position_t.hpp
  18. include/nlohmann/detail/iterators/internal_iterator.hpp
  19. include/nlohmann/detail/iterators/iter_impl.hpp
  20. include/nlohmann/detail/iterators/iteration_proxy.hpp
  21. include/nlohmann/detail/iterators/iterator_traits.hpp
  22. include/nlohmann/detail/iterators/json_reverse_iterator.hpp
  23. include/nlohmann/detail/iterators/primitive_iterator.hpp
  24. include/nlohmann/detail/json_custom_base_class.hpp
  25. include/nlohmann/detail/json_pointer.hpp
  26. include/nlohmann/detail/json_ref.hpp
  27. include/nlohmann/detail/macro_scope.hpp
  28. include/nlohmann/detail/macro_unscope.hpp
  29. include/nlohmann/detail/meta/call_std/begin.hpp
  30. include/nlohmann/detail/meta/call_std/end.hpp
  31. include/nlohmann/detail/meta/cpp_future.hpp
  32. include/nlohmann/detail/meta/detected.hpp
  33. include/nlohmann/detail/meta/identity_tag.hpp
  34. include/nlohmann/detail/meta/is_sax.hpp
  35. include/nlohmann/detail/meta/std_fs.hpp
  36. include/nlohmann/detail/meta/type_traits.hpp
  37. include/nlohmann/detail/meta/void_t.hpp
  38. include/nlohmann/detail/output/binary_writer.hpp
  39. include/nlohmann/detail/output/output_adapters.hpp
  40. include/nlohmann/detail/output/serializer.hpp
  41. include/nlohmann/detail/string_concat.hpp
  42. include/nlohmann/detail/string_escape.hpp
  43. include/nlohmann/detail/string_utils.hpp
  44. include/nlohmann/detail/value_t.hpp
  45. include/nlohmann/json.hpp
  46. include/nlohmann/json_fwd.hpp
  47. include/nlohmann/ordered_map.hpp
  48. include/nlohmann/thirdparty/hedley/hedley.hpp
  49. include/nlohmann/thirdparty/hedley/hedley_undef.hpp
  50. share/cmake/nlohmann_json/nlohmann_jsonConfig.cmake
  51. share/cmake/nlohmann_json/nlohmann_jsonConfigVersion.cmake
  52. share/cmake/nlohmann_json/nlohmann_jsonTargets.cmake
  53. share/pkgconfig/nlohmann_json.pc
  54. @owner
  55. @group
  56. @mode
Collapse this list.
USE_RC_SUBR (Service Scripts)
  • no SUBR information found for this port
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
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: nlohmann-json
Flavors: there is no flavor information for this port.
distinfo:
TIMESTAMP = 1751420793 SHA256 (nlohmann-json-v3.12.0_GH0.tar.gz) = 4b92eb0c06d10683f7447ce9406cb97cd4b453be18d7279320f7b2f025c10187 SIZE (nlohmann-json-v3.12.0_GH0.tar.gz) = 9678593

Expand this list (2 items)

Collapse this list.

SHA256 (34868f90149de02432ea758a29227a6ad74f098c.patch) = c80334fdc49b8e4762a83b671e9526e7ee30a89c190c36c4e1d963bbfaf8c66b SIZE (34868f90149de02432ea758a29227a6ad74f098c.patch) = 6513

Collapse this list.


Packages (timestamps in pop-ups are UTC):
nlohmann-json
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest3.12.0_13.12.0_13.9.1_23.12.0_13.12.0_1-3.9.1_2-
FreeBSD:13:quarterly3.12.03.12.03.11.23.12.03.12.03.11.33.11.33.11.3
FreeBSD:14:latest3.12.0_13.12.0_13.11.23.12.0_13.12.0_13.11.2-3.11.2
FreeBSD:14:quarterly3.12.03.12.0-3.12.03.12.03.11.33.11.33.11.3
FreeBSD:15:latest3.12.0_13.12.0_1n/a3.12.0n/a3.11.33.11.33.11.3
FreeBSD:15:quarterly--n/a-n/a---
FreeBSD:16:latest--n/a-n/a---
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. cmake : devel/cmake-core
  2. ninja : devel/ninja
This port is required by:
for Build
  1. audio/mumble
  2. cad/ifcopenshell
  3. comms/redsea
  4. converters/osm2pgsql
  5. devel/bear
  6. devel/google-cloud-cpp
  7. devel/jsonnet
Expand this list (51 items / 44 hidden - sorry, this count includes any deleted ports)
  1. Collapse this list).
  2. devel/pybind11-json
  3. devel/root
  4. devel/xeus
  5. devel/xeus-cling
  6. devel/xeus-zmq
  7. devel/xtl-quant-stack
  8. emulators/yuzu
  9. games/easyrpg-player
  10. games/el
  11. games/maxr
  12. games/openrct2
  13. graphics/proj
  14. lang/solidity
  15. math/cimod
  16. math/pdal
  17. math/xtensor
  18. math/zarray
  19. misc/frugally-deep
  20. misc/json-tui
  21. misc/nn-insight
  22. misc/visp
  23. multimedia/obs-streamfx
  24. multimedia/obs-studio
  25. net-im/abaddon
  26. net-im/mtxclient
  27. net-im/nheko
  28. science/arbor
  29. science/chemicalfun
  30. science/mrchem
  31. science/nlcglib
  32. science/paraview
  33. science/py-arbor
  34. science/qiskit-aer
  35. science/thermofun
  36. science/ttk
  37. science/vipster
  38. sysutils/nix
  39. www/dpp
  40. www/envoy
  41. x11/nwg-launchers
  42. x11-toolkits/kddockwidgets
  43. Collapse this list.

Deleted ports which required this port:

Expand this list of 3 deleted ports
  1. devel/google-cloud-cpp117*
  2. emulators/yuzu-qt5*
  3. science/py-qiskit-aer*
  4. Collapse this list of deleted ports.
for Run
  1. devel/pybind11-json
  2. devel/root
  3. devel/xtl-quant-stack
  4. math/cimod
  5. math/xtensor
  6. math/zarray
  7. misc/frugally-deep
Expand this list (8 items / 1 hidden - sorry, this count includes any deleted ports)
  1. Collapse this list).
  2. www/dpp
  3. Collapse this list.

Configuration Options:
No options to configure
Options name:
devel_nlohmann-json
USES:
cmake:testing compiler:c++11-lib
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.12.0?dummy=/
Collapse this list.

There are no commits on branch 2023Q3 for this port