[63794] trunk/dports/science/netcdf/Portfile
takeshi at macports.org
takeshi at macports.org
Mon Feb 15 02:20:52 PST 2010
Revision: 63794
http://trac.macports.org/changeset/63794
Author: takeshi at macports.org
Date: 2010-02-15 02:20:51 -0800 (Mon, 15 Feb 2010)
Log Message:
-----------
netcdf: updated to 4.1
Modified Paths:
--------------
trunk/dports/science/netcdf/Portfile
Modified: trunk/dports/science/netcdf/Portfile
===================================================================
--- trunk/dports/science/netcdf/Portfile 2010-02-15 06:25:12 UTC (rev 63793)
+++ trunk/dports/science/netcdf/Portfile 2010-02-15 10:20:51 UTC (rev 63794)
@@ -4,23 +4,16 @@
PortSystem 1.0
name netcdf
-version 4.0.1
-revision 7
+version 4.1
maintainers takeshi openmaintainer
platforms darwin
categories science
-description NetCDF - Network Common Data Form
+description libraries for array-oriented scientific data
long_description \
- NetCDF 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.
+ NetCDF (network Common Data Form) is a set of software libraries \
+ and machine-independent data formats that support the creation, \
+ access, and sharing of array-oriented scientific data.
homepage http://unidata.ucar.edu/packages/netcdf/
@@ -28,16 +21,20 @@
http://www.gfd-dennou.org/arch/netcdf/unidata-mirror/ \
ftp://www.gfd-dennou.org/arch/netcdf/unidata-mirror/
-checksums md5 a251453c5477599f050fa4e593295186 \
- sha1 96b361de72bcf68eaba42e7e5cf0f92c33d288e9 \
- rmd160 ba74363bbc4c76fc1bbac578ba4c2af4739b4958
+checksums md5 806756602ee0ea3167452e610160f198 \
+ sha1 8a33030e0cd37c4b6519402803aa9ed2c0585530 \
+ rmd160 90ecae0ff5b101dec59a48591f87cfda2dcc8ff1
configure.cppflags-append -DNDEBUG
configure.cxxflags-append -fno-common
configure.cflags-append -fno-common
configure.args --enable-shared \
--disable-fortran-compiler-check \
- --disable-f77 --disable-f90
+ --disable-f77 --disable-f90 \
+ --disable-netcdf-4 \
+ --disable-dap \
+ --without-udunits \
+ --without-libcf
test.run yes
test.target check
@@ -81,23 +78,24 @@
variant dap description {enable dap} {
depends_lib-append port:curl
+ configure.args-delete --disable-dap
configure.args-append --enable-dap
}
variant netcdf4 description {compile with hdf5} {
configure.env-append LDFLAGS=-L${prefix}/lib LIBS="-lhdf5 -lhdf5_hl"
+ configure.args-delete --disable-netcdf-4 \
+ --without-libcf
configure.args-append --enable-netcdf-4 \
- --enable-ncgen4 \
--with-hdf5=${prefix} \
- --with-szlib=${prefix}
+ --with-szlib=${prefix} \
+ --with-hdf4=${prefix} \
+ --with-libcf
depends_lib-append port:szip \
- port:hdf5-18
+ port:hdf5-18 \
+ port:hdf4
}
variant static description {build static libraries} {
configure.args-delete --enable-shared
}
-
-variant docs description {install documentation} {
- configure.args-append -enable-docs-install
-}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100215/a725c966/attachment.html>
More information about the macports-changes
mailing list