devel/scnlib 4.0.1 FreeBSD
scanf for modern C++
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- Port added
- Last update
- Commit
734040197a- License
- APACHE20
- Categories
- devel
- Package size
- 405.5 KiB, 2437.8 KiB installed
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".
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | devel/scnlib | 4.0.1 |
| OpenBSD | devel/scnlib | 4.0.1p0 |
Install
Binary package:
pkg install scnlib
From the ports tree:
cd /usr/ports/devel/scnlib/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= scnlib>0:devel/scnlib
LIB_DEPENDS= libscn.so:devel/scnlib
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 4.0.1 | 4.0.1 | - | - | 4.0.1 |
| FreeBSD:14:quarterly | 4.0.1 | 4.0.1 | n/a | - | 4.0.1 |
| FreeBSD:15:latest | 4.0.1 | 4.0.1 | n/a | - | - |
| FreeBSD:15:quarterly | 4.0.1 | 4.0.1 | n/a | n/a | n/a |
| FreeBSD:16:latest | 4.0.1 | 4.0.1 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Build 3
${NONEXISTENT}: devel/googletest${NONEXISTENT}: math/fast_float${NONEXISTENT}: devel/benchmark
The full lists below include those, and their dependencies in turn.
Build dependencies 18
Run dependencies 7
Required by 2
Configuration
No options to configure.
- USES
- cmake compiler:c++20-lang python
- Service scripts
- none
Files
pkg-plist 13
- include/scn/chrono.h
- include/scn/fwd.h
- include/scn/istream.h
- include/scn/ranges.h
- include/scn/regex.h
- include/scn/scan.h
- include/scn/xchar.h
- lib/cmake/scn/scn-config-version.cmake
- lib/cmake/scn/scn-config.cmake
- lib/cmake/scn/scn-targets-.cmake
- lib/cmake/scn/scn-targets.cmake
- lib/libscn.so
- lib/libscn.so.4
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| eliaskosunen-scnlib-v4.0.1_GH0.tar.gz | 434107 | ece17b26840894cc57a7127138fe4540929adcb297524dec02c490c233ff46a7 |