aboutsummaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authorPete Fritchman <petef@FreeBSD.org>2001-11-03 07:08:49 +0000
committerPete Fritchman <petef@FreeBSD.org>2001-11-03 07:08:49 +0000
commit7b6be61fdf5124e03d1fdeccdcfd03fd92d187cc (patch)
tree687c8ea67814127fd3cd24250420abe9476af3cd /math
parentba0b43633d29024bc1c82dd45969342606fed22f (diff)
downloadports-7b6be61fdf5124e03d1fdeccdcfd03fd92d187cc.tar.gz
ports-7b6be61fdf5124e03d1fdeccdcfd03fd92d187cc.zip
Notes
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