import math/gunits, it handles some things that units(1) doesn't. ok martijn@
GNU Units converts quantities expressed in various systems of measurement to their equivalents in other systems of measurement. Like many similar programs, it can handle multiplicative scale changes. It can also handle nonlinear conversions such as Fahrenheit to Celsius or wire gauge, and it can convert from and to sums of units, such as converting between meters and feet plus inches.
This commit is contained in:
parent
96cdcbfaac
commit
be53106af4
20
math/gunits/Makefile
Normal file
20
math/gunits/Makefile
Normal file
@ -0,0 +1,20 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2016/01/28 10:31:15 sthen Exp $
|
||||
|
||||
COMMENT= GNU units conversion program
|
||||
|
||||
DISTNAME= units-2.12
|
||||
PKGNAME= g${DISTNAME}
|
||||
CATEGORIES= math
|
||||
MASTER_SITES= ${MASTER_SITE_GNU:=units/}
|
||||
|
||||
HOMEPAGE= https://www.gnu.org/software/units/
|
||||
|
||||
# GPLv3+
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
|
||||
WANTLIB += c m readline termcap
|
||||
|
||||
CONFIGURE_STYLE= gnu
|
||||
CONFIGURE_ARGS+= --program-prefix=g
|
||||
|
||||
.include <bsd.port.mk>
|
2
math/gunits/distinfo
Normal file
2
math/gunits/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
SHA256 (units-2.12.tar.gz) = eGjqURjx/o6fn3JW7Mfx7g3XAnup8yzHORhK8e2Uu8s=
|
||||
SIZE (units-2.12.tar.gz) = 875884
|
6
math/gunits/pkg/DESCR
Normal file
6
math/gunits/pkg/DESCR
Normal file
@ -0,0 +1,6 @@
|
||||
GNU Units converts quantities expressed in various systems of
|
||||
measurement to their equivalents in other systems of measurement. Like
|
||||
many similar programs, it can handle multiplicative scale changes. It
|
||||
can also handle nonlinear conversions such as Fahrenheit to Celsius
|
||||
or wire gauge, and it can convert from and to sums of units, such as
|
||||
converting between meters and feet plus inches.
|
8
math/gunits/pkg/PLIST
Normal file
8
math/gunits/pkg/PLIST
Normal file
@ -0,0 +1,8 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2016/01/28 10:31:15 sthen Exp $
|
||||
@bin bin/gunits
|
||||
@info info/units.info
|
||||
@man man/man1/gunits.1
|
||||
share/units/
|
||||
share/units/currency.units
|
||||
share/units/definitions.units
|
||||
share/units/locale_map.txt
|
Loading…
Reference in New Issue
Block a user