[140231] trunk/dports/science/nco/Portfile
takeshi at macports.org
takeshi at macports.org
Sat Sep 12 23:20:43 PDT 2015
Revision: 140231
https://trac.macports.org/changeset/140231
Author: takeshi at macports.org
Date: 2015-09-12 23:20:43 -0700 (Sat, 12 Sep 2015)
Log Message:
-----------
nco: update to 4.5.2
Modified Paths:
--------------
trunk/dports/science/nco/Portfile
Modified: trunk/dports/science/nco/Portfile
===================================================================
--- trunk/dports/science/nco/Portfile 2015-09-13 05:47:13 UTC (rev 140230)
+++ trunk/dports/science/nco/Portfile 2015-09-13 06:20:43 UTC (rev 140231)
@@ -5,22 +5,18 @@
PortGroup compilers 1.0
PortGroup github 1.0
-github.setup czender nco 4.4.9
+github.setup czender nco 4.5.2
platforms darwin
maintainers takeshi
license GPL-3
categories science
description The netCDF Operators
-master_sites sourceforge \
- http://dust.ess.uci.edu/${name}/src/ \
- http://nco.sourceforge.net/src/
-compilers.choose cc
-compilers.setup
+compilers.choose cc cxx
+compilers.setup -clang -dragonegg -llvm -gfortran
-checksums md5 94dbce7d8b43ccfaf6b5a4738883bc49 \
- sha1 5804ea35dabf4f95f0c6cab1b3ff154ec0776b38 \
- rmd160 5a5041e672a5fa73439a15a22b0b39eb41e75f94
+checksums rmd160 f5dceff7b4730981e69d167bf409d5d47c73bbff \
+ sha256 02ce5ad69b5f9d35beb4556cc4f5bba16d3d1dbb91d4464e51fa153224539b5d
homepage http://nco.sourceforge.net/
long_description \
@@ -37,11 +33,13 @@
port:libiconv \
port:libxml2 \
port:netcdf \
+ port:netcdf-fortran \
path:lib/libssl.dylib:openssl \
port:udunits2 \
port:zlib \
port:gsl \
- port:hdf5
+ port:hdf5 \
+ port:xercesc3
depends_build port:antlr \
port:bison \
port:m4 \
@@ -54,11 +52,18 @@
-I${prefix}/include/udunits2 \
-I${prefix}/include \
-DENABLE_NETCDF4
+configure.ldflags-append -lxerces-c
+#if {[gcc_variant_isset]} {
+# configure.ldflags-append -lstdc++
+#} else {
+# configure.ldflags-append -lc++
+#}
configure.args --disable-dependency-tracking \
--mandir=${prefix}/share/man \
- --enable-udunits2 \
- --enable-dap-netcdf \
+ --enable-udunits2 \
+ --enable-dap \
--enable-netcdf4 \
+ --disable-esmf \
--disable-openmp
if [gcc_variant_isset] {
@@ -66,6 +71,13 @@
configure.args-append --enable-openmp
}
+if {[variant_isset atlas]} {
+ configure.ldflags-append -lsatlas
+} else {
+ default_variants-append +accelerate
+ configure.ldflags-append -lvecLibFort
+}
+
#if {![variant_isset openmpi]&&![variant_isset mpich]} {
# post-configure {
# foreach d {nco nco++ nco_c++} {
@@ -96,3 +108,11 @@
# depends_lib-append port:openmpi
# configure.args-append --enable-mpi
}
+
+variant accelerate conflicts atlas description {use Accelerate framework for LAPACK} {
+ depends_lib-append port:vecLibFort
+}
+
+variant atlas conflicts accelerate description {use Atlas for LAPACK} {
+ depends_lib-append port:atlas
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150912/d85e2514/attachment.html>
More information about the macports-changes
mailing list