Search engines are not blocked. Try using "site:www.freshports.org" and your search terms.
Volunteers wanted to help translate FreshPorts
Searches without login should now work. You must get asked to click a button.
Port details
scnlib scanf for modern C++
4.0.1 devel Σ=1 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 4.0.1Version of this port present on the latest quarterly branch.
Maintainer: thierry@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2026-08-15 20:00:10
Last Update: 2026-08-15 19:58:03
Commit Hash: 7340401
People watching this port, also watch: mutt, postfix, fetchmail, libtool, lapack
License: APACHE20
WWW:
https://www.scnlib.dev/
Description: #
scnlib is a modern C++ library for replacing scanf and std::istream. This library attempts to move us ever so much closer to replacing iostreams and C stdio altogether. It's faster than iostream (see Benchmarks), and type-safe, unlike scanf. Think {fmt} or C++20 std::format, but in the other direction. This library is the reference implementation of the ISO C++ standards proposal P1729 "Text Parsing".
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 (20 items)
Collapse this list.
  1. @ldconfig
  2. /usr/local/share/licenses/scnlib-4.0.1/catalog.mk
  3. /usr/local/share/licenses/scnlib-4.0.1/LICENSE
  4. /usr/local/share/licenses/scnlib-4.0.1/APACHE20
  5. include/scn/chrono.h
  6. include/scn/fwd.h
  7. include/scn/istream.h
  8. include/scn/ranges.h
  9. include/scn/regex.h
  10. include/scn/scan.h
  11. include/scn/xchar.h
  12. lib/cmake/scn/scn-config-version.cmake
  13. lib/cmake/scn/scn-config.cmake
  14. lib/cmake/scn/scn-targets-release.cmake
  15. lib/cmake/scn/scn-targets.cmake
  16. lib/libscn.so
  17. lib/libscn.so.4
  18. @owner
  19. @group
  20. @mode
Collapse this list.
USE_RC_SUBR (Service Scripts)
  • no SUBR information found for this port
Dependency lines:
  • For RUN/BUILD depends:
    • scnlib>0:devel/scnlib
  • For LIB depends:
    • libscn.so:devel/scnlib
To install the port: #
cd /usr/ports/devel/scnlib/ && make install clean
To add the package, run one of these commands:
  • pkg install devel/scnlib
  • pkg install scnlib
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: scnlib
Flavors: there is no flavor information for this port. #
distinfo: #
TIMESTAMP = 1786812032 SHA256 (eliaskosunen-scnlib-v4.0.1_GH0.tar.gz) = ece17b26840894cc57a7127138fe4540929adcb297524dec02c490c233ff46a7 SIZE (eliaskosunen-scnlib-v4.0.1_GH0.tar.gz) = 434107

Packages (timestamps in pop-ups are UTC): #
scnlib
ABIaarch64amd64armv6armv7i386
FreeBSD:14:latest4.0.14.0.1--4.0.1
FreeBSD:14:quarterly4.0.14.0.1--4.0.1
FreeBSD:15:latest4.0.14.0.1n/a-n/a
FreeBSD:15:quarterly4.0.14.0.1n/a-n/a
FreeBSD:16:latest4.0.14.0.1n/a-n/a
Dependencies #
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies: #
  1. nonexistent : devel/googletest
  2. nonexistent : math/fast_float
  3. nonexistent : devel/benchmark
  4. cmake : devel/cmake-core
  5. ninja : devel/ninja
  6. python3.12 : lang/python312
Test dependencies: #
  1. python3.12 : lang/python312
Runtime dependencies: #
  1. python3.12 : lang/python312
This port is required by: #
for Libraries #
  1. science/paraview
  2. science/ttk

Configuration Options: #
No options to configure
Options name: #
devel_scnlib
USES: #
cmake compiler:c++20-lang python
FreshPorts was unable to extract/find any pkg message #
Master Sites: #
Expand this list (1 items)
Collapse this list.
  1. https://codeload.github.com/eliaskosunen/scnlib/tar.gz/v4.0.1?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
4.0.1
15 Aug 2026 19:58:03
commit hash: 734040197adf219afbc750f9d478cae735db2dedcommit hash: 734040197adf219afbc750f9d478cae735db2dedcommit hash: 734040197adf219afbc750f9d478cae735db2dedcommit hash: 734040197adf219afbc750f9d478cae735db2ded files touched by this commit
Thierry Thomas (thierry) search for other commits by this committer
devel/scnlib: new port, scanf for modern C++

Number of commits found: 1