[133138] trunk/dports/science/netcdf-fortran

takeshi at macports.org takeshi at macports.org
Sat Feb 21 01:47:40 PST 2015


Revision: 133138
          https://trac.macports.org/changeset/133138
Author:   takeshi at macports.org
Date:     2015-02-21 01:47:39 -0800 (Sat, 21 Feb 2015)
Log Message:
-----------
netcdf-fortran: update to 4.4.2

Modified Paths:
--------------
    trunk/dports/science/netcdf-fortran/Portfile

Removed Paths:
-------------
    trunk/dports/science/netcdf-fortran/files/patch-configure.diff
    trunk/dports/science/netcdf-fortran/files/patch-netcdf-fortran.pc.in.diff

Modified: trunk/dports/science/netcdf-fortran/Portfile
===================================================================
--- trunk/dports/science/netcdf-fortran/Portfile	2015-02-21 03:00:49 UTC (rev 133137)
+++ trunk/dports/science/netcdf-fortran/Portfile	2015-02-21 09:47:39 UTC (rev 133138)
@@ -4,15 +4,15 @@
 PortSystem                  1.0
 PortGroup                   muniversal 1.0
 PortGroup                   mpi 1.0
+PortGroup                   github 1.0
 
 # netcdf-fortran does not require the fortran interface of hdf5.
 # enforcing hdf5 variant does not allow installation of
 # hdf5+cxx (w/o a fortran variant) and netcdf-fortran.
 #mpi.enforce_variant         hdf5
 
-name                        netcdf-fortran
-version                     4.2
-revision                    12
+github.setup                Unidata netcdf-fortran 4.4.2 v
+
 maintainers                 takeshi openmaintainer
 platforms                   darwin
 categories                  science
@@ -20,19 +20,20 @@
 
 description                 NetCDF Fortran Library
 long_description \
-    NetCDF (network Common Data Form) is a set of software libraries \
-    and machine-independent data formats that support the creation,  \
-    access, and sharing of array-oriented scientific data.
+    The Unidata network Common Data Form (netCDF) is an interface \
+    for scientific data access and a set of freely-distributed \
+    software libraries that provide an implementation of the interface. \
+    The netCDF library also defines a machine-independent format for \
+    representing scientific data. Together, the interface, library, \
+    and format support the creation, access, and sharing of scientific data. \
+    This software package provides Fortran application interfaces \
+    for accessing netCDF data.
 
-homepage                    http://www.unidata.ucar.edu/software/netcdf/
+homepage            https://github.com/Unidata/netcdf-fortran
+checksums           md5     1cbad993b2e3673b00f9a5835a547178 \
+                    sha1    125cb00c92c05bf05c73c54de8c3c63a815e7a46 \
+                    rmd160  0e725fdb5ff91b8b67aa19dc8cfb880afb201c58
 
-master_sites                ftp://ftp.unidata.ucar.edu/pub/netcdf/ \
-                            http://www.gfd-dennou.org/arch/netcdf/unidata-mirror/ \
-                            ftp://www.gfd-dennou.org/arch/netcdf/unidata-mirror/
-checksums           md5     cc3bf530223e8f4aff93793b9f197bf3 \
-                    sha1    f1887314455330f4057bc8eab432065f8f6f74ef \
-                    rmd160  e10c342a5d6ab2740cd910122b0164d16730e194
-
 compilers.choose    f77 f90 fc
 mpi.setup           require_fortran
 
@@ -45,8 +46,6 @@
     set universal_archs_supported "ppc ppc64"
 }
 
-patchfiles          patch-netcdf-fortran.pc.in.diff \
-                    patch-configure.diff
 post-patch {
     if {[variant_isset g95]} {
         reinplace "s|lt_cv_ld_force_load=yes|lt_cv_ld_force_load=no|" ${worksrcpath}/configure
@@ -62,12 +61,6 @@
     configure.ldflags-append    -lf95
 }
 
-post-configure {
-    if {[variant_isset g95]} {
-        reinplace -E "s|-arch \[a-z0-9_\]+ -lnetcdf ||g" ${worksrcpath}/nf-config
-    }
-}
-
 post-build {
     if {[variant_isset universal]} {
         set dirs {}

Deleted: trunk/dports/science/netcdf-fortran/files/patch-configure.diff
===================================================================
--- trunk/dports/science/netcdf-fortran/files/patch-configure.diff	2015-02-21 03:00:49 UTC (rev 133137)
+++ trunk/dports/science/netcdf-fortran/files/patch-configure.diff	2015-02-21 09:47:39 UTC (rev 133138)
@@ -1,18 +0,0 @@
---- configure.orig	2011-10-03 23:10:43.000000000 +0900
-+++ configure	2013-09-21 11:31:07.000000000 +0900
-@@ -18587,13 +18587,13 @@
- 		      module conftest
- 		      end module conftest
- EOF
--ac_try='$F90 ${F90FLAGS} conftest.f90 ${F90LIBS}>&5'
-+ac_try='$F90 ${F90FLAGS} conftest.f90 -c ${F90LIBS}>&5'
- { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
-   (eval $ac_try) 2>&5
-   ac_status=$?
-   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
-   test $ac_status = 0; }
--if test -f CONFTEST.mod ; then
-+if test `ls *.mod` = CONFTEST.mod ; then
-    ac_cv_prog_f90_uppercase_mod=yes
-    rm -f CONFTEST.mod
- else

Deleted: trunk/dports/science/netcdf-fortran/files/patch-netcdf-fortran.pc.in.diff
===================================================================
--- trunk/dports/science/netcdf-fortran/files/patch-netcdf-fortran.pc.in.diff	2015-02-21 03:00:49 UTC (rev 133137)
+++ trunk/dports/science/netcdf-fortran/files/patch-netcdf-fortran.pc.in.diff	2015-02-21 09:47:39 UTC (rev 133138)
@@ -1,16 +0,0 @@
---- netcdf-fortran.pc.in.orig	2012-05-04 06:28:17.000000000 +0900
-+++ netcdf-fortran.pc.in	2012-05-04 06:31:10.000000000 +0900
-@@ -1,10 +1,10 @@
--prefix=/usr/local
-+prefix=@prefix@
- exec_prefix=${prefix}
- libdir=${exec_prefix}/lib
- includedir=${prefix}/include
--ccompiler=gcc
-+ccompiler=@CC@
- cppcompiler=@CXX@
--fcompiler=gfortran
-+fcompiler=@FC@
- fflags=-g -O2 -I${includedir}
- flibs=-lnetcdff -lnetcdf
- 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150221/61ba9f04/attachment.html>


More information about the macports-changes mailing list