BSD Ports

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

SystemPortVersion
FreeBSDmisc/units0.13.1
DragonFlymisc/units0.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.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest0.13.10.13.1-0.12.30.13.1
FreeBSD:14:quarterly0.13.10.13.1n/a0.12.30.13.1
FreeBSD:15:latest0.13.10.13.1n/a0.12.30.12.3
FreeBSD:15:quarterly0.13.10.13.1n/an/an/a
FreeBSD:16:latest0.13.10.13.1n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/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

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
FileSizeSHA256
LLNL-units-v0.13.1_GH0.tar.gz2.002671e+06e6a19f84a139ec6a06458d68778cc4e491a6e07428c8ac57faadcd3d6f81d50e
google-googletest-v1.15.2_GH0.tar.gz8726677b42b4d6ed48810c5362c265a17faebe90dc2373c885e5216439d37927f02926

Commit history 0

No commits in the history this site was built from.