misc/units 0.13.1 FreeBSD
C++ library for working with units of measurement
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- License
- BSD3CLAUSE
- Categories
- misc
- Package size
- 363.4 KiB, 1539.8 KiB installed
Description
The Units library provides a means of working with units of measurement at runtime, including conversion to and from strings. It provides a small number of types for working with units and measurements and operations necessary for user input and output with units.
This software was developed for use in LLNL/GridDyn, and HELICS and is currently a work in progress (though getting close). Namespaces, function names, and code organization is subject to change though is fairly stable at this point, input is welcome.
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | misc/units | 0.13.1 |
| DragonFly | misc/units | 0.12.3 |
Install
Binary package:
pkg install units-library
From the ports tree:
cd /usr/ports/misc/units/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= units-library>0:misc/units
LIB_DEPENDS= libunits.so:misc/units
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 | 0.13.1 | 0.13.1 | - | 0.12.3 | 0.13.1 |
| FreeBSD:14:quarterly | 0.13.1 | 0.13.1 | n/a | 0.12.3 | 0.13.1 |
| FreeBSD:15:latest | 0.13.1 | 0.13.1 | n/a | 0.12.3 | 0.12.3 |
| FreeBSD:15:quarterly | 0.13.1 | 0.13.1 | n/a | n/a | n/a |
| FreeBSD:16:latest | 0.13.1 | 0.13.1 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
The Makefile names none itself; they come from USES and USE_*.
The full lists below include those, and their dependencies in turn.
Build dependencies 15
Required by 2
Configuration
No options to configure.
- USES
- cmake:testing
- Service scripts
- none
Files
pkg-plist 17
- bin/units_convert
- include/units/commodity_conversion_maps.hpp
- include/units/commodity_definitions.hpp
- include/units/unit_definitions.hpp
- include/units/units.hpp
- include/units/units_conversion_maps.hpp
- include/units/units_decl.hpp
- include/units/units_export.h
- include/units/units_math.hpp
- include/units/units_util.hpp
- lib/cmake/units/unitsConfig.cmake
- lib/cmake/units/unitsConfigVersion.cmake
- lib/cmake/units/unitsTargets-.cmake
- lib/cmake/units/unitsTargets.cmake
- lib/libunits.so
- lib/libunits.so.0
- lib/libunits.so.0.13.1
distinfo 2
| File | Size | SHA256 |
|---|---|---|
| LLNL-units-v0.13.1_GH0.tar.gz | 2.002671e+06 | e6a19f84a139ec6a06458d68778cc4e491a6e07428c8ac57faadcd3d6f81d50e |
| google-googletest-v1.15.2_GH0.tar.gz | 872667 | 7b42b4d6ed48810c5362c265a17faebe90dc2373c885e5216439d37927f02926 |
Commit history 0
No commits in the history this site was built from.