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

takeshi at macports.org takeshi at macports.org
Fri Mar 26 02:01:16 PDT 2010


Revision: 65459
          http://trac.macports.org/changeset/65459
Author:   takeshi at macports.org
Date:     2010-03-26 02:01:15 -0700 (Fri, 26 Mar 2010)
Log Message:
-----------
cdo: updated to 1.4.3. changed dependency to netcdf-devel

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

Modified: trunk/dports/science/cdo/Portfile
===================================================================
--- trunk/dports/science/cdo/Portfile	2010-03-26 08:59:54 UTC (rev 65458)
+++ trunk/dports/science/cdo/Portfile	2010-03-26 09:01:15 UTC (rev 65459)
@@ -4,31 +4,38 @@
 PortSystem                  1.0
 
 name                        cdo
-version                     1.4.1
-revision                    2
+version                     1.4.3
 platforms                   darwin
 maintainers                 takeshi
 license                     GPLv2
 categories                  science
 description                 Climate Data Operators
-homepage                    http://www.mpimet.mpg.de/fileadmin/software/cdo/
-master_sites                ${homepage}
-checksums                   md5     774b8de3d537a1049e446ffdb50d55f1 \
-                            sha1    458b5d69778a80aee5a4d0894b66dd71b4366bb0 \
-                            rmd160  11c4ad2a8f9db777bb0ad31dbdd0006d807cadba
+homepage                    https://code.zmaw.de/projects/cdo
+master_sites                https://code.zmaw.de/attachments/download/76
+checksums                   md5     5c7928728bd930e7802c516ff099208f \
+                            sha1    df1376f4f167a049e0abb42eda2578a691704018 \
+                            rmd160  7f2128f56bc8555fab965aa87518409a26380486
 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 \
+    Supported data formats are GRIB, netCDF, SERVICE, EXTRA and IEG. \
+    There are more than 400 operators available.
+
+fetch.ignore_sslcert        yes
+
+depends_lib                 port:netcdf-devel \
+                            port:hdf5-18 \
                             port:proj \
                             port:szip
 
 configure.env-append        LIBS=\"-lopenjpeg -lpng\"
-configure.args              --with-netcdf=${prefix} \
+configure.cppflags          -I${prefix}/lib/netcdf-devel/include
+configure.ldflags           -L${prefix}/lib/netcdf-devel/lib
+configure.args              --with-netcdf=${prefix}/lib/netcdf-devel \
                             --disable-dependency-tracking \
                             --with-proj=${prefix} \
+                            --with-hdf5=${prefix} \
+                            --with-zlib=${prefix} \
                             --with-szlib=${prefix}
 
 post-destroot {
@@ -39,12 +46,6 @@
     }
 }
 
-variant netcdf4 description {enable netcdf4} {
-    depends_lib-append      port:hdf5-18
-    configure.args-append   --with-hdf5=${prefix} \
-                            --with-szlib=${prefix}
-}
-
 variant grib2 description {enable experimental grib2 support} {
     depends_lib-append      port:grib_api
     configure.args-append   --with-jasper=${prefix} \
@@ -53,4 +54,4 @@
 
 livecheck.type              regex
 livecheck.url               ${homepage}
-livecheck.regex             {Current version is ([0-9]+\.[0-9]+\.[0-9]+\.*[0-9]*)}
+livecheck.regex             {Version ([0-9]+\.[0-9]+\.[0-9]+\.*[0-9]*)}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100326/d488a4b9/attachment.html>


More information about the macports-changes mailing list