[123910] trunk/dports/science/cdo/Portfile
takeshi at macports.org
takeshi at macports.org
Fri Aug 15 17:38:22 PDT 2014
Revision: 123910
https://trac.macports.org/changeset/123910
Author: takeshi at macports.org
Date: 2014-08-15 17:38:22 -0700 (Fri, 15 Aug 2014)
Log Message:
-----------
cdo: wrapped error message with pre-configure
Modified Paths:
--------------
trunk/dports/science/cdo/Portfile
Modified: trunk/dports/science/cdo/Portfile
===================================================================
--- trunk/dports/science/cdo/Portfile 2014-08-15 23:03:46 UTC (rev 123909)
+++ trunk/dports/science/cdo/Portfile 2014-08-16 00:38:22 UTC (rev 123910)
@@ -5,18 +5,17 @@
PortGroup mpi 1.0
name cdo
-version 1.6.3
-revision 1
+version 1.6.4
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/7220
-checksums md5 52ec6b511f402fb115fdb985ff12487b \
- sha1 9aa9f2227247eee6e5a0d949f5189f9a0ce4f2f1 \
- rmd160 be5e12f78246d1f87295a90ba846e21322fc249e
+master_sites https://code.zmaw.de/attachments/download/8376
+checksums md5 a23d1b6f0708d3a510be6ede6ef4b5b9 \
+ sha1 a324a9ab55b125aefe8b66003ac6a669dfe25bc2 \
+ rmd160 2b8f93b4e6524b713aefe25fd513862c14a07418
long_description \
CDO is a collection of command line Operators \
to manipulate and analyse Climate Data files. \
@@ -41,9 +40,11 @@
-I${prefix}/include/udunits2
if {[mpi_variant_isset]} {
- if {![file exists ${prefix}/bin/h5pcc]} {
- ui_error "${prefix}/bin/h5pcc not found. Install hdf5 with an mpi variant"
- return -code error
+ pre-configure {
+ if {![file exists ${prefix}/bin/h5pcc]} {
+ ui_error "${prefix}/bin/h5pcc not found. Install hdf5 with an mpi variant"
+ return -code error
+ }
}
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/20140815/e001182c/attachment-0001.html>
More information about the macports-changes
mailing list