summaryrefslogtreecommitdiff
path: root/math/udunits
diff options
context:
space:
mode:
authorjtb <jtb@pkgsrc.org>2001-02-07 04:31:39 +0000
committerjtb <jtb@pkgsrc.org>2001-02-07 04:31:39 +0000
commite3e1abfdd79bbf7a49c02f4afb3b38cd303e895f (patch)
treeb4d64ea394647ac63d3e052add542496e1c83904 /math/udunits
parentf499142e69173fc93bff1a32b88bcb6cf0772a6a (diff)
downloadpkgsrc-e3e1abfdd79bbf7a49c02f4afb3b38cd303e895f.tar.gz
Initial import of udunits:
Library and program for manipulating units of physical quantities (There is also a Perl module, but that doesn't fit in 70 characters).
Diffstat (limited to 'math/udunits')
-rw-r--r--math/udunits/Makefile20
-rw-r--r--math/udunits/files/md53
-rw-r--r--math/udunits/files/patch-sum3
-rw-r--r--math/udunits/patches/patch-aa13
-rw-r--r--math/udunits/pkg/COMMENT1
-rw-r--r--math/udunits/pkg/DESCR8
-rw-r--r--math/udunits/pkg/PLIST11
7 files changed, 59 insertions, 0 deletions
diff --git a/math/udunits/Makefile b/math/udunits/Makefile
new file mode 100644
index 00000000000..536e254f666
--- /dev/null
+++ b/math/udunits/Makefile
@@ -0,0 +1,20 @@
+# $NetBSD: Makefile,v 1.1.1.1 2001/02/07 04:31:39 jtb Exp $
+
+DISTNAME= udunits
+PKGNAME= udunits-1.11.7
+CATEGORIES= math devel
+MASTER_SITES= http://www.unidata.ucar.edu/packages/udunits/
+EXTRACT_SUFX= .tar.Z
+
+MAINTAINER= jtb@netbsd.org
+HOMEPAGE= http://www.unidata.ucar.edu/packages/udunits/
+
+WRKSRC= ${WRKDIR}/${PKGNAME}/src
+DIST_SUBDIR= ${PKGNAME}
+GNU_CONFIGURE= yes
+CPPFLAGS+= -Df2cFortran -Dunix
+CONFIGURE_ENV+= "CPPFLAGS=${CPPFLAGS}"
+USE_PERL5= yes
+PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/UDUNITS/.packlist
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/math/udunits/files/md5 b/math/udunits/files/md5
new file mode 100644
index 00000000000..26eb1cb699f
--- /dev/null
+++ b/math/udunits/files/md5
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1.1.1 2001/02/07 04:31:39 jtb Exp $
+
+MD5 (udunits-1.11.7/udunits.tar.Z) = d5bb619c8ab008fba9fc1e3ddefb2728
diff --git a/math/udunits/files/patch-sum b/math/udunits/files/patch-sum
new file mode 100644
index 00000000000..0f12aebc6f5
--- /dev/null
+++ b/math/udunits/files/patch-sum
@@ -0,0 +1,3 @@
+$NetBSD: patch-sum,v 1.1.1.1 2001/02/07 04:31:39 jtb Exp $
+
+MD5 (patch-aa) = 7045f9db48b54de7d306da021addca26
diff --git a/math/udunits/patches/patch-aa b/math/udunits/patches/patch-aa
new file mode 100644
index 00000000000..f1fd3e81902
--- /dev/null
+++ b/math/udunits/patches/patch-aa
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1.1.1 2001/02/07 04:31:39 jtb Exp $
+
+--- port/master.mk.in.orig Wed Feb 7 03:58:38 2001
++++ port/master.mk.in
+@@ -387,7 +387,7 @@
+ WHATIS = @WHATIS@
+ # The following macro should be empty on systems that don't
+ # allow users to create their own manual-page indexes.
+-MAKEWHATIS_CMD = @MAKEWHATIS_CMD@
++#MAKEWHATIS_CMD = @MAKEWHATIS_CMD@
+
+ installed_manuals: FORCE
+ @if [ -n "$(MANUALS)" ]; then \
diff --git a/math/udunits/pkg/COMMENT b/math/udunits/pkg/COMMENT
new file mode 100644
index 00000000000..b8a12eedd5a
--- /dev/null
+++ b/math/udunits/pkg/COMMENT
@@ -0,0 +1 @@
+Library and program for manipulating units of physical quantities
diff --git a/math/udunits/pkg/DESCR b/math/udunits/pkg/DESCR
new file mode 100644
index 00000000000..470f5f872f5
--- /dev/null
+++ b/math/udunits/pkg/DESCR
@@ -0,0 +1,8 @@
+The Unidata units library, udunits, supports conversion of unit
+specifications between formatted and binary forms, arithmetic
+manipulation of unit specifications, and conversion of values between
+compatible scales of measurement.
+
+The udunits package consists of the library, a unit conversion
+program, and a Perl module which provides an interface to the udunits
+library.
diff --git a/math/udunits/pkg/PLIST b/math/udunits/pkg/PLIST
new file mode 100644
index 00000000000..7b7f091dab1
--- /dev/null
+++ b/math/udunits/pkg/PLIST
@@ -0,0 +1,11 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2001/02/07 04:31:39 jtb Exp $
+bin/udunits
+etc/udunits.dat
+include/udunits.h
+include/udunits.inc
+lib/libudport.a
+lib/libudunits.a
+man/man1/udunits.1
+man/man1/udunitsperl.1
+man/man3/udunits.3
+man/man3f/udunits.3f