[63328] trunk/dports/science/cdo/Portfile
takeshi at macports.org
takeshi at macports.org
Mon Feb 1 16:51:07 PST 2010
Revision: 63328
http://trac.macports.org/changeset/63328
Author: takeshi at macports.org
Date: 2010-02-01 16:51:07 -0800 (Mon, 01 Feb 2010)
Log Message:
-----------
cdo: moved grib2 support to a variant upon a warning from a cdo developer
Modified Paths:
--------------
trunk/dports/science/cdo/Portfile
Modified: trunk/dports/science/cdo/Portfile
===================================================================
--- trunk/dports/science/cdo/Portfile 2010-02-02 00:26:25 UTC (rev 63327)
+++ trunk/dports/science/cdo/Portfile 2010-02-02 00:51:07 UTC (rev 63328)
@@ -5,6 +5,7 @@
name cdo
version 1.4.1
+revision 1
platforms darwin
maintainers takeshi
license GPLv2
@@ -21,16 +22,12 @@
Supported file formats are GRIB, netCDF, SERVICE and EXTRA. \
There are more than 200 operators available.
depends_lib port:netcdf \
- port:grib_api \
port:proj
configure.env-append LIBS=\"-lopenjpeg -lpng\"
configure.args --with-netcdf=${prefix} \
--disable-dependency-tracking \
- --with-proj=${prefix} \
- --with-jasper=${prefix} \
- --with-hdf5=${prefix} \
- --with-grib_api=${prefix}
+ --with-proj=${prefix}
post-destroot {
xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}/doc
@@ -46,6 +43,12 @@
--with-szlib=${prefix}
}
+variant grib2 description {enable experimental grib2 support} {
+ depends_lib-append port:grib_api
+ configure.args-append --with-jasper=${prefix} \
+ --with-grib_api=${prefix}
+}
+
livecheck.type regex
livecheck.url ${homepage}
livecheck.regex {Current version is ([0-9]+\.[0-9]+\.[0-9]+\.*[0-9]*)}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100201/b3ea2537/attachment.html>
More information about the macports-changes
mailing list