pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/math/units Import GNU units 1.86.
details: https://anonhg.NetBSD.org/pkgsrc/rev/73bdc13b8610
branches: trunk
changeset: 521728:73bdc13b8610
user: obache <obache%pkgsrc.org@localhost>
date: Sun Nov 19 04:56:17 2006 +0000
description:
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:
math/units/DESCR | 6 ++++++
math/units/Makefile | 23 +++++++++++++++++++++++
math/units/PLIST | 5 +++++
math/units/distinfo | 5 +++++
4 files changed, 39 insertions(+), 0 deletions(-)
diffs (55 lines):
diff -r 08ddb7b43a60 -r 73bdc13b8610 math/units/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/math/units/DESCR Sun Nov 19 04:56:17 2006 +0000
@@ -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 -r 08ddb7b43a60 -r 73bdc13b8610 math/units/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/math/units/Makefile Sun Nov 19 04:56:17 2006 +0000
@@ -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@localhost
+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 -r 08ddb7b43a60 -r 73bdc13b8610 math/units/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/math/units/PLIST Sun Nov 19 04:56:17 2006 +0000
@@ -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 -r 08ddb7b43a60 -r 73bdc13b8610 math/units/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/math/units/distinfo Sun Nov 19 04:56:17 2006 +0000
@@ -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
Home |
Main Index |
Thread Index |
Old Index