1 | PortSystem 1.0 |
---|
2 | name netcdf |
---|
3 | version 3.6.2 |
---|
4 | revision 0 |
---|
5 | maintainers fulton@cmu.edu |
---|
6 | platforms darwin |
---|
7 | categories science |
---|
8 | |
---|
9 | description NetCDF - Network Common Data Form |
---|
10 | long_description NetCDF is an interface \ |
---|
11 | for array-oriented data access and a library that \ |
---|
12 | provides an implementation of the interface. The \ |
---|
13 | netCDF library also defines a machine-independent \ |
---|
14 | format for representing scientific data. Together, \ |
---|
15 | the interface, library, and format support the \ |
---|
16 | creation, access, and sharing of scientific data. \ |
---|
17 | The netCDF software was developed at the Unidata \ |
---|
18 | Program Center in Boulder, Colorado. |
---|
19 | |
---|
20 | homepage http://unidata.ucar.edu/packages/netcdf/ |
---|
21 | |
---|
22 | master_sites ftp://ftp.unidata.ucar.edu/pub/netcdf/ \ |
---|
23 | ftp://www.gfd-dennou.org/arch/netcdf/unidata-mirror/ |
---|
24 | checksums sha1 ff2d11d2708df08a2370999b19e2c277607afc06 |
---|
25 | use_bzip2 yes |
---|
26 | |
---|
27 | configure.env CPPFLAGS="-DNDEBUG -Df2cFortran" \ |
---|
28 | CXXFLAGS="-O2 -fno-common" \ |
---|
29 | CFLAGS="-O2 -fno-common" |
---|
30 | |
---|
31 | destroot.destdir prefix=${destroot}${prefix} \ |
---|
32 | MANDIR=\\\${prefix}/share/man |
---|
33 | |
---|
34 | post-destroot { |
---|
35 | file delete -force ${destroot}${prefix}/share/man/whatis.db |
---|
36 | } |
---|
37 | |
---|
38 | variant g95 { |
---|
39 | depends_build port:g95 |
---|
40 | configure.env-append FC=${prefix}/bin/g95 \ |
---|
41 | FCFLAGS=-O2 |
---|
42 | } |
---|