aboutsummaryrefslogtreecommitdiff
path: root/science/netcdf
diff options
context:
space:
mode:
authorThomas Gellekum <tg@FreeBSD.org>1999-07-30 14:12:53 +0000
committerThomas Gellekum <tg@FreeBSD.org>1999-07-30 14:12:53 +0000
commitd66eb78a8a005221687672c4d1fd9e7d1580b056 (patch)
tree8e7b53fe557f20e85a0186cd206b38b89ee60362 /science/netcdf
parent5ad58348d5b0fe3da10504827cdf2b4d9f95afb4 (diff)
downloadports-d66eb78a8a005221687672c4d1fd9e7d1580b056.tar.gz
ports-d66eb78a8a005221687672c4d1fd9e7d1580b056.zip
Notes
Diffstat (limited to 'science/netcdf')
-rw-r--r--science/netcdf/Makefile37
-rw-r--r--science/netcdf/distinfo1
-rw-r--r--science/netcdf/pkg-comment1
-rw-r--r--science/netcdf/pkg-descr9
-rw-r--r--science/netcdf/pkg-plist15
5 files changed, 63 insertions, 0 deletions
diff --git a/science/netcdf/Makefile b/science/netcdf/Makefile
new file mode 100644
index 000000000000..451f282d6d72
--- /dev/null
+++ b/science/netcdf/Makefile
@@ -0,0 +1,37 @@
+# New ports collection makefile for: netcdf
+# Version required: 3.5-beta1
+# Date created: 29 July 1999
+# Whom: Thomas Gellekum <tg@FreeBSD.org>
+#
+# $Id$
+#
+
+DISTNAME= netcdf-3.5-beta1
+PKGNAME= netcdf-3.5b1
+CATEGORIES= math
+MASTER_SITES= ftp://unidata.ucar.edu/pub/netcdf/
+EXTRACT_SUFX= .tar.Z
+
+MAINTAINER= ports@FreeBSD.org
+
+WRKSRC= ${WRKDIR}/netcdf-3.5/src
+GNU_CONFIGURE= yes
+CONFIGURE_ENV= CFLAGS="${CFLAGS} -fPIC -DPIC -Df2cFortran"
+
+MAN1= ncdump.1 ncgen.1
+MAN3= netcdf.3 netcdf.3f
+
+post-build:
+ @(cd ${WRKSRC}/libsrc && \
+ ${SETENV} ${MAKE_ENV} ${MAKE} linux_shared_library)
+ @(cd ${WRKSRC}/cxx && \
+ ${SETENV} ${MAKE_ENV} ${MAKE} linux_shared_library)
+
+post-install:
+ ${INSTALL_DATA} ${WRKSRC}/libsrc/libnetcdf.so ${PREFIX}/lib/libnetcdf.so.1
+ ${LN} -sf ${PREFIX}/lib/libnetcdf.so.1 ${PREFIX}/lib/libnetcdf.so
+ ${INSTALL_DATA} ${WRKSRC}/cxx/libnetcdf_c++.so ${PREFIX}/lib/libnetcdf_c++.so.1
+ ${LN} -sf ${PREFIX}/lib/libnetcdf_c++.so.1 ${PREFIX}/lib/libnetcdf_c++.so
+ ${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib
+
+.include <bsd.port.mk>
diff --git a/science/netcdf/distinfo b/science/netcdf/distinfo
new file mode 100644
index 000000000000..029b23caf800
--- /dev/null
+++ b/science/netcdf/distinfo
@@ -0,0 +1 @@
+MD5 (netcdf-3.5-beta1.tar.Z) = 4f001ce27ecb5af3194530e41304b33d
diff --git a/science/netcdf/pkg-comment b/science/netcdf/pkg-comment
new file mode 100644
index 000000000000..fa7d4e6a47bb
--- /dev/null
+++ b/science/netcdf/pkg-comment
@@ -0,0 +1 @@
+Library for machine-independent, array-oriented data access.
diff --git a/science/netcdf/pkg-descr b/science/netcdf/pkg-descr
new file mode 100644
index 000000000000..a8ab96607da6
--- /dev/null
+++ b/science/netcdf/pkg-descr
@@ -0,0 +1,9 @@
+NetCDF (network Common Data Form) is an interface for array-oriented
+data access and a library that provides an implementation of the
+interface. The netCDF library also defines a machine-independent
+format for representing scientific data. Together, the interface,
+library, and format support the creation, access, and sharing of
+scientific data. The netCDF software was developed at the Unidata
+Program Center in Boulder, Colorado.
+
+WWW: http://www.unidata.ucar.edu/packages/netcdf/
diff --git a/science/netcdf/pkg-plist b/science/netcdf/pkg-plist
new file mode 100644
index 000000000000..1d84bd6662c3
--- /dev/null
+++ b/science/netcdf/pkg-plist
@@ -0,0 +1,15 @@
+bin/ncdump
+bin/ncgen
+include/ncvalues.h
+include/netcdf.h
+include/netcdf.hh
+include/netcdf.inc
+include/netcdfcpp.h
+lib/libnetcdf.a
+lib/libnetcdf.so
+lib/libnetcdf.so.1
+lib/libnetcdf_c++.a
+lib/libnetcdf_c++.so
+lib/libnetcdf_c++.so.1
+@exec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -m %B
+@unexec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -R