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

takeshi at macports.org takeshi at macports.org
Sun Aug 9 15:49:32 PDT 2009


Revision: 55361
          http://trac.macports.org/changeset/55361
Author:   takeshi at macports.org
Date:     2009-08-09 15:49:31 -0700 (Sun, 09 Aug 2009)
Log Message:
-----------
cdo: made netcdf4 a variant

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

Modified: trunk/dports/science/cdo/Portfile
===================================================================
--- trunk/dports/science/cdo/Portfile	2009-08-09 22:49:08 UTC (rev 55360)
+++ trunk/dports/science/cdo/Portfile	2009-08-09 22:49:31 UTC (rev 55361)
@@ -5,7 +5,7 @@
 
 name                        cdo
 version                     1.3.2
-revision                    1
+revision                    2
 platforms                   darwin
 maintainers                 takeshi
 categories                  science
@@ -20,11 +20,9 @@
     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 port:szip
+depends_lib                 port:netcdf
 
 configure.args              --with-netcdf=${prefix} \
-                            --with-hdf5=${prefix} \
-                            --with-szlib=${prefix} \
                             --disable-dependency-tracking
 
 post-destroot {
@@ -35,6 +33,12 @@
     }
 }
 
+variant netcdf4 {
+    depends_lib-append      port:hdf5-18
+    configure.args-append   --with-hdf5=${prefix} \
+                            --with-szlib=${prefix}
+}
+
 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/20090809/2c7c8eae/attachment.html>


More information about the macports-changes mailing list