1 | # $Id: Portfile 22919 2007-03-19 09:40:23Z takanori@macports.org $ |
---|
2 | PortSystem 1.0 |
---|
3 | name cdo |
---|
4 | version 1.0.8 |
---|
5 | platforms darwin |
---|
6 | maintainers takeshi@mac.com |
---|
7 | categories science |
---|
8 | description Climate Data Operators |
---|
9 | master_sites http://www.mpimet.mpg.de/fileadmin/software/cdo/ |
---|
10 | checksums md5 7d6a10374ee844df5882a8c9b3c16feb |
---|
11 | homepage http://www.mpimet.mpg.de/fileadmin/software/cdo/ |
---|
12 | long_description \ |
---|
13 | CDO is a collection of command line Operators \ |
---|
14 | to manipulate and analyse Climate Data files. \ |
---|
15 | Supported file formats are GRIB, netCDF, SERVICE and EXTRA. \ |
---|
16 | There are more than 200 operators available. |
---|
17 | depends_lib port:netcdf |
---|
18 | |
---|
19 | configure.env LDFLAGS="-flat_namespace -undefined suppress" |
---|
20 | configure.args --with-netcdf=${prefix} --disable-dependency-tracking |
---|
21 | |
---|
22 | post-destroot { |
---|
23 | xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}/doc |
---|
24 | eval xinstall -m 644 [glob ${worksrcpath}/doc/*.pdf] ${destroot}${prefix}/share/doc/${name}/doc |
---|
25 | foreach f {AUTHORS COPYING ChangeLog INSTALL NEWS OPERATORS README} { |
---|
26 | eval xinstall -m 644 [glob ${worksrcpath}/${f}] ${destroot}${prefix}/share/doc/${name} |
---|
27 | } |
---|
28 | } |
---|