math/units 2.27
Unit conversion and calculation
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- License
- GPLv3+
- Categories
- math
- Package size
- 315.5 KiB, 1040.9 KiB installed
Description
The Free Software Foundation's "units" unit conversion and calculation utility.
GNU units converts quantities expressed in various scales to their equivalents in other scales. Units can only handle multiplicative scale changes. For example, it cannot convert Celsius to Fahrenheit but it can convert temperature differences between those temperature scales.
The units are defined externally in an extensive, well annotated data file that defines over 2000 units. You can also provide your own data file.
Note that this port will install the utility with a 'g' prefix, e.g. gunits, but the texinfo documentation will refer to it without the 'g' prefix.
Install
As a binary package — by origin, or by package name:
pkg install math/units
pkg install units
From the ports tree:
cd /usr/ports/math/units/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= units>0:math/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 | 2.27 | 2.27 | 2.16_2 | 2.16_3 | 2.27 |
| FreeBSD:14:quarterly | 2.27 | 2.27 | n/a | 2.16_3 | 2.27 |
| FreeBSD:15:latest | 2.27 | 2.27 | n/a | 2.16_3 | 2.16_3 |
| FreeBSD:15:quarterly | 2.27 | 2.27 | n/a | n/a | n/a |
| FreeBSD:16:latest | 2.27 | 2.27 | 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.
All build dependencies 2
All run dependencies 2
No port depends on this one.
Configuration
Options name: math_units
| Option | Default | Description |
|---|---|---|
| READLINE | on | Command line editing via libreadline |
| UNITS_CUR | off | Include gunits_cur(8) for updating currency exchange rates |
- Service scripts
- none
Files
Manual pages 1
- gunits(1)
pkg-plist 10
- bin/gunits
- bin/gunits_cur
- share/man/man1/gunits.1.gz
- share/units/cpi.units
- share/units/crypto.units
- share/units/currency.units
- share/units/definitions.units
- share/units/elements.units
- share/units/locale_map.txt
- share/units/metal_prices.units
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| units-2.27.tar.gz | 1.73825e+06 | e1bbdb09672e7c08eee986749e7a1629eb84a6bdf41f5a2a79d6804444abbe10 |
Master sites 1
- GNU
Commit history 0
No commits in the history this site was built from.