aboutsummaryrefslogtreecommitdiffstats
path: root/math
diff options
context:
space:
mode:
authorpetef <petef@FreeBSD.org>2001-11-03 15:08:49 +0800
committerpetef <petef@FreeBSD.org>2001-11-03 15:08:49 +0800
commit3e86f63fa98e03356e71bc80e7a976990e854a12 (patch)
tree41b465f8a170d665645bdbe92600c04e4dc03a93 /math
parent61bb741c930ddb004b49016b7fa22df6ad791300 (diff)
downloadfreebsd-ports-gnome-3e86f63fa98e03356e71bc80e7a976990e854a12.tar.gz
freebsd-ports-gnome-3e86f63fa98e03356e71bc80e7a976990e854a12.tar.zst
freebsd-ports-gnome-3e86f63fa98e03356e71bc80e7a976990e854a12.zip
Add units-1.74, the GNU version of the units program: unit conversion and
calculation Submitted by: Jason Harris <jharris@widomaker.com>
Diffstat (limited to 'math')
-rw-r--r--math/Makefile1
-rw-r--r--math/units/Makefile20
-rw-r--r--math/units/distinfo1
-rw-r--r--math/units/pkg-comment1
-rw-r--r--math/units/pkg-descr15
-rw-r--r--math/units/pkg-plist5
6 files changed, 43 insertions, 0 deletions
diff --git a/math/Makefile b/math/Makefile
index 64f2aef83f32..0bdeb6374126 100644
--- a/math/Makefile
+++ b/math/Makefile
@@ -125,6 +125,7 @@
SUBDIR += topaz
SUBDIR += umatrix
SUBDIR += umfpack
+ SUBDIR += units
SUBDIR += vecfem
SUBDIR += vtk
SUBDIR += wingz
diff --git a/math/units/Makefile b/math/units/Makefile
new file mode 100644
index 000000000000..4bf3ddca38ae
--- /dev/null
+++ b/math/units/Makefile
@@ -0,0 +1,20 @@
+# New ports collection makefile for: units
+# Date created: 2001-11-03
+# Whom: Jason Harris <jharris@widomaker.com>
+#
+# $FreeBSD$
+#
+
+PORTNAME= units
+PORTVERSION= 1.74
+CATEGORIES= math
+MASTER_SITES= ${MASTER_SITE_GNU}
+MASTER_SITE_SUBDIR= ${PORTNAME}
+
+MAINTAINER= ports@FreeBSD.org
+
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS= --program-prefix=g
+MAN1= gunits.1
+
+.include <bsd.port.mk>
diff --git a/math/units/distinfo b/math/units/distinfo
new file mode 100644
index 000000000000..5b88e37ce0e9
--- /dev/null
+++ b/math/units/distinfo
@@ -0,0 +1 @@
+MD5 (units-1.74.tar.gz) = 230d1cb0367f9f4ac345beda371bbb53
diff --git a/math/units/pkg-comment b/math/units/pkg-comment
new file mode 100644
index 000000000000..f4018f247e8b
--- /dev/null
+++ b/math/units/pkg-comment
@@ -0,0 +1 @@
+Unit conversion and calculation
diff --git a/math/units/pkg-descr b/math/units/pkg-descr
new file mode 100644
index 000000000000..ec5cabcf5d34
--- /dev/null
+++ b/math/units/pkg-descr
@@ -0,0 +1,15 @@
+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.
+
+WWW: http://www.gnu.org/directory/units.html
+
+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.
diff --git a/math/units/pkg-plist b/math/units/pkg-plist
new file mode 100644
index 000000000000..2f3e758931ee
--- /dev/null
+++ b/math/units/pkg-plist
@@ -0,0 +1,5 @@
+bin/gunits
+@unexec install-info --delete %D/info/units.info %D/info/dir
+info/units.info
+@exec install-info %D/info/units.info %D/info/dir
+share/units.dat