# $Id: Portfile 35979 2008-04-12 22:05:03Z takeshi@macports.org $ PortSystem 1.0 name cdo version 1.1.1 platforms darwin maintainers takeshi@macports.org categories science description Climate Data Operators homepage http://www.mpimet.mpg.de/fileadmin/software/cdo/ master_sites ${homepage} checksums md5 003e78d96348b4728a0996b3e0d61b7a \ sha1 0c7f65919dd924fff7a70f4f6f4acbbb63d41cc5 \ rmd160 06977c7b11b6d308f99021555f65162c40b50cca long_description \ CDO is a collection of command line Operators \ to manipulate and analyse Climate Data files. \ Supported file formats are GRIB, netCDF, SERVICE and EXTRA. \ There are more than 200 operators available. depends_lib port:netcdf configure.ldflags "-flat_namespace -undefined suppress" configure.args --with-netcdf=${prefix} --disable-dependency-tracking post-destroot { xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}/doc eval xinstall -m 644 [glob ${worksrcpath}/doc/*.pdf] ${destroot}${prefix}/share/doc/${name}/doc foreach f {AUTHORS COPYING ChangeLog INSTALL NEWS OPERATORS README} { eval xinstall -m 644 [glob ${worksrcpath}/${f}] ${destroot}${prefix}/share/doc/${name} } } livecheck.check regex livecheck.url ${homepage} livecheck.regex {Current version is ([0-9]+\.[0-9]+\.[0-9]+)}