[111668] trunk/dports/science/nco/Portfile
takeshi at macports.org
takeshi at macports.org
Sat Sep 28 01:54:09 PDT 2013
Revision: 111668
https://trac.macports.org/changeset/111668
Author: takeshi at macports.org
Date: 2013-09-28 01:54:08 -0700 (Sat, 28 Sep 2013)
Log Message:
-----------
nco: updated for 4.3.6. Made mpich and openmpi variants to do nothing since it is not currently supported, closing #40583
Modified Paths:
--------------
trunk/dports/science/nco/Portfile
Modified: trunk/dports/science/nco/Portfile
===================================================================
--- trunk/dports/science/nco/Portfile 2013-09-28 08:18:24 UTC (rev 111667)
+++ trunk/dports/science/nco/Portfile 2013-09-28 08:54:08 UTC (rev 111668)
@@ -4,8 +4,7 @@
PortSystem 1.0
name nco
-version 4.3.5
-revision 1
+version 4.3.6
platforms darwin
maintainers takeshi
license GPL-3
@@ -14,12 +13,10 @@
master_sites sourceforge \
http://dust.ess.uci.edu/${name}/src/ \
http://nco.sourceforge.net/src/
-# stealth update #40561
-dist_subdir ${name}/${version}_1
-checksums md5 80a707d933c675e73bebe45cd37e680d \
- sha1 0b11b7a5bcf22d3de7feb1a8e15ffad2cb2c891b \
- rmd160 521642b80f3640123fce5e197615199eebaf3fd2
+checksums md5 6a15b4f12c035bec2e17a02d360b12fe \
+ sha1 4236c8ae39f839d3629feaf3e96cd61b472d9e70 \
+ rmd160 0655b5632a38e1a5f4737a58b1ae413a82415e9c
homepage http://nco.sourceforge.net/
long_description \
Each NCO operator (e.g., ncks) takes netCDF or HDF input file(s), \
@@ -57,14 +54,14 @@
--enable-dap-netcdf \
--enable-netcdf4
-if {![variant_isset openmpi]&&![variant_isset mpich]} {
- post-configure {
- foreach d {nco nco++ nco_c++} {
- reinplace "s|= -I${prefix}/include|= |" ${worksrcpath}/src/${d}/Makefile
- }
- reinplace "s|nco \${GSL_INC_ARG}|nco|" ${worksrcpath}/src/nco++/Makefile
- }
-}
+#if {![variant_isset openmpi]&&![variant_isset mpich]} {
+# post-configure {
+# foreach d {nco nco++ nco_c++} {
+# reinplace "s|= -I${prefix}/include|= |" ${worksrcpath}/src/${d}/Makefile
+# }
+# reinplace "s|nco \${GSL_INC_ARG}|nco|" ${worksrcpath}/src/nco++/Makefile
+# }
+#}
post-destroot {
xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
@@ -74,18 +71,18 @@
}
}
-variant mpich description {enable MPI with mpich} {
- depends_lib-append path:bin/mpicc-mp:mpich-default
- configure.args-append --enable-mpi
- post-extract {
- reinplace -E "s|( ?MPICC := ).*|\\1${prefix}/mpicc-mp|" bld/Makefile
- reinplace -E "s|( ?MPICXX := ).*|\\1${prefix}/mpicxx-mp|" bld/Makefile
- }
+variant mpich description {enable MPI with mpich (currently MPI is not supported)} {
+# depends_lib-append path:bin/mpicc-mp:mpich-default
+# configure.args-append --enable-mpi
+# post-extract {
+# reinplace -E "s|( ?MPICC := ).*|\\1${prefix}/mpicc-mp|" bld/Makefile
+# reinplace -E "s|( ?MPICXX := ).*|\\1${prefix}/mpicxx-mp|" bld/Makefile
+# }
}
-variant openmpi description {enable MPI with openmpi} {
- depends_lib-append port:openmpi
- configure.args-append --enable-mpi
+variant openmpi description {enable MPI with openmpi (currently MPI is not supported)} {
+# depends_lib-append port:openmpi
+# configure.args-append --enable-mpi
}
livecheck.type regex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130928/7198e32b/attachment.html>
More information about the macports-changes
mailing list