[127693] trunk/dports/science/cdo
takeshi at macports.org
takeshi at macports.org
Fri Oct 31 23:38:02 PDT 2014
Revision: 127693
https://trac.macports.org/changeset/127693
Author: takeshi at macports.org
Date: 2014-10-31 23:38:02 -0700 (Fri, 31 Oct 2014)
Log Message:
-----------
cdo: updated to 1.6.5.1
Modified Paths:
--------------
trunk/dports/science/cdo/Portfile
Removed Paths:
-------------
trunk/dports/science/cdo/files/
Modified: trunk/dports/science/cdo/Portfile
===================================================================
--- trunk/dports/science/cdo/Portfile 2014-11-01 06:27:35 UTC (rev 127692)
+++ trunk/dports/science/cdo/Portfile 2014-11-01 06:38:02 UTC (rev 127693)
@@ -5,18 +5,17 @@
PortGroup mpi 1.0
name cdo
-version 1.6.4
-revision 1
+version 1.6.5.1
platforms darwin
maintainers takeshi openmaintainer
license GPL-2
categories science
description Climate Data Operators
homepage https://code.zmaw.de/projects/cdo
-master_sites https://code.zmaw.de/attachments/download/8376
-checksums md5 a23d1b6f0708d3a510be6ede6ef4b5b9 \
- sha1 a324a9ab55b125aefe8b66003ac6a669dfe25bc2 \
- rmd160 2b8f93b4e6524b713aefe25fd513862c14a07418
+master_sites https://code.zmaw.de/attachments/download/9248
+checksums md5 1d515085338a996487f41ddec208b300 \
+ sha1 64ba41b9869eca183bf70037aed4dabd8a997b31 \
+ rmd160 1c76b45c431dc5b2a45a41b92d3eb46bc0c819cb
long_description \
CDO is a collection of command line Operators \
to manipulate and analyse Climate Data files. \
@@ -25,30 +24,29 @@
fetch.ignore_sslcert yes
-mpi.setup
+mpi.choose cc
+mpi.setup -clang -dragonegg
+mpi.enforce_variant hdf5
depends_lib port:netcdf \
port:udunits2 \
- port:proj47
+ port:proj47 \
+ port:fftw-3
-patchfiles patch-libcdi-src-cksum.c.diff
-
configure.args --with-netcdf=${prefix} \
--disable-dependency-tracking \
+ --with-threads=no \
--with-proj=${prefix}/lib/proj47 \
--with-hdf5=${prefix} \
--with-udunits2=${prefix} \
+ --with-fftw3 \
+ --with-curl=${prefix} \
--with-zlib=${prefix}
configure.cppflags-append -I/usr/include/malloc \
-I${prefix}/include/udunits2
-if {[mpi_variant_isset]} {
- pre-configure {
- if {![file exists ${prefix}/bin/h5pcc]} {
- ui_error "${prefix}/bin/h5pcc not found. Install hdf5 with an mpi variant"
- return -code error
- }
- }
+set v [mpi_active_variant_name bin:h5pcc:hdf5]
+if {${v} != "" } {
depends_build-append port:yaxt
configure.cc ${prefix}/bin/h5pcc
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20141031/e88bbb7a/attachment.html>
More information about the macports-changes
mailing list