Port details
dragonbox Floating-point binary-to-decimal conversion library
1.1.3 mathnew! Σ=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 Package not present on quarterly.This port was created during this quarter. It will be in the next quarterly branch but not the current one.
Maintainer: ports@virtual-estates.net search for ports maintained by this maintainer
Port Added: 2026-11-26 15:45:05
Last Update: 2026-11-26 15:43:09
Commit Hash: 6e44eec
Also Listed In: devel
License: APACHE20 BSL
WWW:
https://github.com/jk-jeon/dragonbox
Description: #
Dragonbox is a float-to-string conversion algorithm: it finds the shortest decimal representation of a binary floating-point number which still rounds back to the same number. It is based on Schubfach, by Raffaello Giulietti, and also inspired by Grisu and Grisu-Exact. This port installs the header-only dragonbox library, along with dragonbox_to_chars, a shared library converting float and double values into strings, and CMake package files for find_package(dragonbox).
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb - no subversion history for this port
Manual pages: #
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist #
Expand this list (18 items)
Collapse this list.
  1. @ldconfig
  2. /usr/local/share/licenses/dragonbox-1.1.3/catalog.mk
  3. /usr/local/share/licenses/dragonbox-1.1.3/LICENSE
  4. /usr/local/share/licenses/dragonbox-1.1.3/APACHE20
  5. /usr/local/share/licenses/dragonbox-1.1.3/BSL
  6. share/sbom/pc/dragonbox.pc
  7. include/dragonbox/dragonbox.h
  8. include/dragonbox/dragonbox_to_chars.h
  9. lib/cmake/dragonbox/dragonboxConfig.cmake
  10. lib/cmake/dragonbox/dragonboxConfigVersion.cmake
  11. lib/cmake/dragonbox/dragonboxTargets-release.cmake
  12. lib/cmake/dragonbox/dragonboxTargets.cmake
  13. lib/libdragonbox_to_chars.so
  14. lib/libdragonbox_to_chars.so.1
  15. lib/libdragonbox_to_chars.so.1.1.3
  16. @owner
  17. @group
  18. @mode
Collapse this list.
USE_RC_SUBR (Service Scripts)
  • no SUBR information found for this port
Dependency lines:
  • For RUN/BUILD depends:
    • dragonbox>0:math/dragonbox
  • For LIB depends:
    • libdragonbox_to_chars.so:math/dragonbox
To install the port: #
cd /usr/ports/math/dragonbox/ && make install clean
To add the package, run one of these commands:
  • pkg install math/dragonbox
  • pkg install dragonbox
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: dragonbox
Flavors: #
there is no flavor information for this port.
distinfo: #
TIMESTAMP = 1795061723 SHA256 (jk-jeon-dragonbox-1.1.3_GH0.tar.gz) = 09d63b05e9c594ec423778ab59b7a5aa1d76fdd71d25c7048b0258c4ec9c3384 SIZE (jk-jeon-dragonbox-1.1.3_GH0.tar.gz) = 4337233

No package information for this port in our database #
Sometimes this happens. Not all ports have packages. This is doubly so for new ports, like this one.
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
There are no ports dependent upon this port #

Configuration Options: #
No options to configure
Options name: #
math_dragonbox
USES: #
cmake:testing compiler:c++17-lang
pkg-message: #
FreshPorts was unable to extract/find any pkg message
Master Sites: #
Expand this list (1 items)
Collapse this list.
  1. https://codeload.github.com/jk-jeon/dragonbox/tar.gz/1.1.3?dummy=/
Collapse this list.

Number of commits found: 1 #

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
1.1.3
26 Nov 2026 15:43:09
commit hash: 6e44eeca1d6d7ed7ee9f756c846d6c04a648f0a8commit hash: 6e44eeca1d6d7ed7ee9f756c846d6c04a648f0a8commit hash: 6e44eeca1d6d7ed7ee9f756c846d6c04a648f0a8commit hash: 6e44eeca1d6d7ed7ee9f756c846d6c04a648f0a8 files touched by this commit
Älven (alven) search for other commits by this committer
Author: Mikhail Teterin
math/dragonbox: [NEW PORT] Floating-point binary-to-decimal conversion library

Dragonbox is a float-to-string conversion algorithm, producing the
shortest decimal representation of a binary floating-point number
which still rounds back to it.  A number of ports bundle a copy of
it in their sources; this port lets them use a single shared one.

The upstream build only makes a static dragonbox_to_chars; patch
it to honor BUILD_SHARED_LIBS and to give the library a SOVERSION
-- idea from NetBSD/pkgsrc.

WWW:	https://github.com/jk-jeon/dragonbox

Co-Authored-By:	Claude Opus 5.5 (effort medium)
PR:		300885

Number of commits found: 1