# $Id$ PortSystem 1.0 name cdo version 1.2.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 ea7e16cb2ba099bccf5a01cac859e846 \ sha1 727cb8aad8e8dcb46dfb0aa12785dafd72ca7a15 \ rmd160 c676dd7e7c65e82b0630a926fcf35af3e911c7e6 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 "-undefined dynamic_lookup" 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]+)}