[53665] trunk/dports/science/cdo/Portfile

takeshi at macports.org takeshi at macports.org
Sat Jul 11 05:27:21 PDT 2009


Revision: 53665
          http://trac.macports.org/changeset/53665
Author:   takeshi at macports.org
Date:     2009-07-11 05:27:20 -0700 (Sat, 11 Jul 2009)
Log Message:
-----------
cdo: modified to enable build with netcdf 4

Modified Paths:
--------------
    trunk/dports/science/cdo/Portfile

Modified: trunk/dports/science/cdo/Portfile
===================================================================
--- trunk/dports/science/cdo/Portfile	2009-07-11 12:20:32 UTC (rev 53664)
+++ trunk/dports/science/cdo/Portfile	2009-07-11 12:27:20 UTC (rev 53665)
@@ -1,27 +1,29 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
 # $Id$
 
-PortSystem       1.0
+PortSystem                  1.0
 
-name             cdo
-version          1.3.2
-platforms        darwin
-maintainers      takeshi
-categories       science
-description      Climate Data Operators
-homepage         http://www.mpimet.mpg.de/fileadmin/software/cdo/
-master_sites     ${homepage}
-checksums        md5    596010619ee73a9ee142fd0e2c63a124         \
-                 sha1   4488a834d07efa0a39d24d09dedc8f78c010af40 \
-                 rmd160 26d1f0cad933875be996ca6831e31e5b25c53549
+name                        cdo
+version                     1.3.2
+revision                    1
+platforms                   darwin
+maintainers                 takeshi
+categories                  science
+description                 Climate Data Operators
+homepage                    http://www.mpimet.mpg.de/fileadmin/software/cdo/
+master_sites                ${homepage}
+checksums                   md5    596010619ee73a9ee142fd0e2c63a124         \
+                            sha1   4488a834d07efa0a39d24d09dedc8f78c010af40 \
+                            rmd160 26d1f0cad933875be996ca6831e31e5b25c53549
 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
+    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 port:hdf5-18 port:zlib
 
-configure.ldflags	"-undefined dynamic_lookup"
-configure.args   --with-netcdf=${prefix} --disable-dependency-tracking
+configure.ldflags-append    "-undefined dynamic_lookup -lhdf5_hl -lhdf5 -lz"
+configure.args              --with-netcdf=${prefix} --disable-dependency-tracking
 
 post-destroot {
     xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}/doc
@@ -31,6 +33,6 @@
     }
 }
 
-livecheck.check regex
-livecheck.url   ${homepage}
-livecheck.regex {Current version is ([0-9]+\.[0-9]+\.[0-9]+)}
+livecheck.check             regex
+livecheck.url               ${homepage}
+livecheck.regex             {Current version is ([0-9]+\.[0-9]+\.[0-9]+)}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090711/115d8072/attachment.html>


More information about the macports-changes mailing list