diff --git a/math/netcdf/Makefile b/math/netcdf/Makefile new file mode 100644 index 00000000000..1b4560b7a4c --- /dev/null +++ b/math/netcdf/Makefile @@ -0,0 +1,45 @@ +# $OpenBSD: Makefile,v 1.1.1.1 2000/12/26 12:22:53 reinhard Exp $ +# $FreeBSD: ports/math/netcdf/Makefile,v 1.7 2000/06/16 21:51:39 asami Exp $ +# + +DISTNAME= netcdf-3.5b3 +CATEGORIES= math +NEED_VERSION= 1.346 +DISTFILES= netcdf-3.5-beta3.tar.Z + +MASTER_SITES= ftp://unidata.ucar.edu/pub/netcdf/ + +HOMEPAGE= http://www.unidata.ucar.edu/packages/netcdf/ + +MAINTAINER= Tom Knienieder + +PERMIT_PACKAGE_CDROM= Yes +PERMIT_PACKAGE_FTP= Yes +PERMIT_DISTFILES_CDROM= Yes +PERMIT_DISTFILES_FTP= Yes + +WRKSRC= ${WRKDIR}/netcdf-3.5-beta3/src + +INSTALLS_SHLIB= yes +CONFIGURE_STYLE= gnu dest + +FAKE_FLAGS= DESTDIR="${WRKINST}" +MAKE_FLAGS= CPPFLAGS="-fPIC -DPIC -Df2cFortran -I${WRKSRC}/libsrc" + + +MAN1= ncdump.1 ncgen.1 +MAN3= netcdf.3 + +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.0 + ln -sf libnetcdf.so.1.0 ${PREFIX}/lib/libnetcdf.so + ${INSTALL_DATA} ${WRKSRC}/cxx/libnetcdf_c++.so ${PREFIX}/lib/libnetcdf_c++.so.1.0 + ln -sf libnetcdf_c++.so.1.0 ${PREFIX}/lib/libnetcdf_c++.so + +.include diff --git a/math/netcdf/files/md5 b/math/netcdf/files/md5 new file mode 100644 index 00000000000..b863897a6ce --- /dev/null +++ b/math/netcdf/files/md5 @@ -0,0 +1,3 @@ +MD5 (netcdf-3.5-beta3.tar.Z) = b6b0f1d6fd6c5ccf559032eb1e9d6950 +RMD160 (netcdf-3.5-beta3.tar.Z) = ba440f4b3bcecf93f73c15feb2971cb0be34de65 +SHA1 (netcdf-3.5-beta3.tar.Z) = 01318ab60014dc8a2316dc51962edfbdea12a73b diff --git a/math/netcdf/pkg/COMMENT b/math/netcdf/pkg/COMMENT new file mode 100644 index 00000000000..c4bcb0f65a4 --- /dev/null +++ b/math/netcdf/pkg/COMMENT @@ -0,0 +1 @@ +library for machine-independent, array-oriented data access diff --git a/math/netcdf/pkg/DESCR b/math/netcdf/pkg/DESCR new file mode 100644 index 00000000000..9ffb0b001eb --- /dev/null +++ b/math/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: ${HOMEPAGE} diff --git a/math/netcdf/pkg/PLIST b/math/netcdf/pkg/PLIST new file mode 100644 index 00000000000..d69a908df66 --- /dev/null +++ b/math/netcdf/pkg/PLIST @@ -0,0 +1,14 @@ +@comment $OpenBSD: PLIST,v 1.1.1.1 2000/12/26 12:22:53 reinhard Exp $ +bin/ncdump +bin/ncgen +include/ncvalues.h +include/netcdf.h +include/netcdf.hh +include/netcdfcpp.h +lib/libnetcdf.a +lib/libnetcdf.so +lib/libnetcdf_c++.a +lib/libnetcdf_c++.so +man/man1/ncdump.1 +man/man1/ncgen.1 +man/man3/netcdf.3 diff --git a/math/netcdf/pkg/PLIST.noshared b/math/netcdf/pkg/PLIST.noshared new file mode 100644 index 00000000000..1d751b45292 --- /dev/null +++ b/math/netcdf/pkg/PLIST.noshared @@ -0,0 +1,12 @@ +@comment $OpenBSD: PLIST.noshared,v 1.1.1.1 2000/12/26 12:22:53 reinhard Exp $ +bin/ncdump +bin/ncgen +include/ncvalues.h +include/netcdf.h +include/netcdf.hh +include/netcdfcpp.h +lib/libnetcdf.a +lib/libnetcdf_c++.a +man/man1/ncdump.1 +man/man1/ncgen.1 +man/man3/netcdf.3