[117881] trunk/dports/science/netcdf
takeshi at macports.org
takeshi at macports.org
Sat Mar 15 22:02:06 PDT 2014
Revision: 117881
https://trac.macports.org/changeset/117881
Author: takeshi at macports.org
Date: 2014-03-15 22:02:06 -0700 (Sat, 15 Mar 2014)
Log Message:
-----------
netcdf: updated for 4.3.1.1. Obtain distfiles from github using PortGroup github. Commented out mpi.enforce_variant hdf5-18
Modified Paths:
--------------
trunk/dports/science/netcdf/Portfile
trunk/dports/science/netcdf/files/patch-configure.diff
Removed Paths:
-------------
trunk/dports/science/netcdf/files/patch-ncgen3-genlib.h.diff
Modified: trunk/dports/science/netcdf/Portfile
===================================================================
--- trunk/dports/science/netcdf/Portfile 2014-03-16 02:29:12 UTC (rev 117880)
+++ trunk/dports/science/netcdf/Portfile 2014-03-16 05:02:06 UTC (rev 117881)
@@ -3,22 +3,22 @@
PortSystem 1.0
PortGroup mpi 1.0
+PortGroup github 1.0
compilers.choose cc cpp
mpi.setup
-mpi.enforce_variant hdf5-18
+# If hdf5-18 is built without a compiler variant (with /usr/bin/clang),
+# cxx is the only variant, which does not exist in netcdf.
+# configure fails if mpi.enforce_variant is used.
+#mpi.enforce_variant hdf5-18
+github.setup Unidata netcdf-c 4.3.1.1 v
name netcdf
-epoch 2
-version 4.3.0
-revision 3
maintainers takeshi openmaintainer
platforms darwin
categories science
license Permissive
-# Stealth update on 21 Nov 2013
-dist_subdir ${name}/${version}_1
description libraries for array-oriented scientific data
long_description \
@@ -28,14 +28,11 @@
homepage http://www.unidata.ucar.edu/software/netcdf/
-master_sites ftp://ftp.unidata.ucar.edu/pub/netcdf/ \
- http://www.gfd-dennou.org/arch/netcdf/unidata-mirror/
-checksums md5 40c0e53433fc5dc59296ee257ff4a813 \
- sha1 246e4963e66e1c175563cc9a714e9da0a19b8b07 \
- rmd160 3e3522be3000c94ca58b7a31788f9165201e6cfd
+checksums md5 532c1fb1ca70d329955566dc70ad9fce \
+ sha1 c1ae35193ed312fe5c1ff3d46c27d306fed18f6d \
+ rmd160 0ac2e390697daea60bd1cc1accd021da16c1ea08
patchfiles patch-configure.diff \
- patch-ncgen3-genlib.h.diff \
patch-daputil.c.diff
configure.cppflags-append -DNDEBUG
@@ -77,7 +74,3 @@
As of version 4.2 c++ and fortran interfaces are separate ports,\
netcdf-cxx and netcdf-fortran, respectively.
"
-
-livecheck.type regex
-livecheck.url http://www.unidata.ucar.edu/downloads/${name}/
-livecheck.regex {The netCDF C library and utilities, version ([0-9]+\.[0-9]+\.[0-9]+[\.]*[0-9]*)}
Modified: trunk/dports/science/netcdf/files/patch-configure.diff
===================================================================
--- trunk/dports/science/netcdf/files/patch-configure.diff 2014-03-16 02:29:12 UTC (rev 117880)
+++ trunk/dports/science/netcdf/files/patch-configure.diff 2014-03-16 05:02:06 UTC (rev 117881)
@@ -1,6 +1,6 @@
---- configure.orig 2013-05-10 01:24:18.000000000 +0900
-+++ configure 2013-11-05 21:24:27.000000000 +0900
-@@ -16711,6 +16711,7 @@
+--- configure.orig 2014-02-07 03:24:07.000000000 +0900
++++ configure 2014-03-16 09:14:17.000000000 +0900
+@@ -16994,6 +16994,7 @@
else
USE_SZIP_TRUE='#'
USE_SZIP_FALSE=
Deleted: trunk/dports/science/netcdf/files/patch-ncgen3-genlib.h.diff
===================================================================
--- trunk/dports/science/netcdf/files/patch-ncgen3-genlib.h.diff 2014-03-16 02:29:12 UTC (rev 117880)
+++ trunk/dports/science/netcdf/files/patch-ncgen3-genlib.h.diff 2014-03-16 05:02:06 UTC (rev 117881)
@@ -1,11 +0,0 @@
---- ncgen3/genlib.h.orig 2013-08-07 14:26:55.000000000 -0700
-+++ ncgen3/genlib.h 2013-08-07 14:27:11.000000000 -0700
-@@ -5,6 +5,8 @@
- * See netcdf/COPYRIGHT file for copying and redistribution conditions.
- * $Header: /upc/share/CVS/netcdf-3/ncgen3/genlib.h,v 1.15 2009/12/29 18:42:35 dmh Exp $
- *********************************************************************/
-+#include "config.h"
-+
- #include <stdlib.h>
- #include <limits.h>
-
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140315/3919f30d/attachment-0001.html>
More information about the macports-changes
mailing list