diff options
author | obache <obache@pkgsrc.org> | 2006-11-19 04:56:17 +0000 |
---|---|---|
committer | obache <obache@pkgsrc.org> | 2006-11-19 04:56:17 +0000 |
commit | ef6c45af5181e7ef2fd78245517e88beb6cbc6ec (patch) | |
tree | 2e2ebcf9f8006f465f70089d2d12c111cd84dc8f /math/units | |
parent | dea4bd6524991e0f1f44ded97948a51b7c724542 (diff) | |
download | pkgsrc-ef6c45af5181e7ef2fd78245517e88beb6cbc6ec.tar.gz |
Import GNU units 1.86.
Based on PR 30397 by Cameron Patrick, I modify to adapt to recent pkgsrc
tree and update from 1.85 to 1.86.
GNU Units can convert quantities expressed in one unit to an equivalent in a
difference scale. Compared to traditional BSD implementations, it offers more
units, non-linear conversions (e.g. between degrees Celsius and Fahrenheit), a
more lenient input parser, and tab completion. It can also be used to perform
calculations taking physical units into account, and provide the definitions of
units (e.g. "joule = N m = 1 kg m^2 / s^2").
Diffstat (limited to 'math/units')
-rw-r--r-- | math/units/DESCR | 6 | ||||
-rw-r--r-- | math/units/Makefile | 23 | ||||
-rw-r--r-- | math/units/PLIST | 5 | ||||
-rw-r--r-- | math/units/distinfo | 5 |
4 files changed, 39 insertions, 0 deletions
diff --git a/math/units/DESCR b/math/units/DESCR new file mode 100644 index 00000000000..60a5cdb41eb --- /dev/null +++ b/math/units/DESCR @@ -0,0 +1,6 @@ +GNU Units can convert quantities expressed in one unit to an equivalent in a +difference scale. Compared to traditional BSD implementations, it offers more +units, non-linear conversions (e.g. between degrees Celsius and Fahrenheit), a +more lenient input parser, and tab completion. It can also be used to perform +calculations taking physical units into account, and provide the definitions of +units (e.g. "joule = N m = 1 kg m^2 / s^2"). diff --git a/math/units/Makefile b/math/units/Makefile new file mode 100644 index 00000000000..afb2693b2a6 --- /dev/null +++ b/math/units/Makefile @@ -0,0 +1,23 @@ +# $NetBSD: Makefile,v 1.1.1.1 2006/11/19 04:56:17 obache Exp $ + +DISTNAME= units-1.86 +CATEGORIES= math +MASTER_SITES= ${MASTER_SITE_GNU:=units/} + +MAINTAINER= cameron@patrick.wattle.id.au +HOMEPAGE= http://www.gnu.org/software/units/ +COMMENT= GNU Units - a calculator capable of performing unit conversions + +INFO_FILES= YES + +GNU_CONFIGURE= YES + +.include "../../mk/bsd.prefs.mk" + +CONFIGURE_ARGS= --program-prefix=${GNU_PROGRAM_PREFIX} + +PLIST_SUBST+= GNU_PROGRAM_PREFIX=${GNU_PROGRAM_PREFIX} +BUILD_DEFS+= GNU_PROGRAM_PREFIX + +.include "../../devel/readline/buildlink3.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/math/units/PLIST b/math/units/PLIST new file mode 100644 index 00000000000..51b1e70a90a --- /dev/null +++ b/math/units/PLIST @@ -0,0 +1,5 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2006/11/19 04:56:17 obache Exp $ +bin/${GNU_PROGRAM_PREFIX}units +info/units.info +man/man1/${GNU_PROGRAM_PREFIX}units.1 +share/units.dat diff --git a/math/units/distinfo b/math/units/distinfo new file mode 100644 index 00000000000..b45ef9b2a70 --- /dev/null +++ b/math/units/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1.1.1 2006/11/19 04:56:17 obache Exp $ + +SHA1 (units-1.86.tar.gz) = f6386d7fb476ffc808c6658af53a66f8f1027b1f +RMD160 (units-1.86.tar.gz) = d54d8074445bbe60832301174544c40192a50dd7 +Size (units-1.86.tar.gz) = 232898 bytes |