[127687] trunk/dports/science/grib_api/Portfile

takeshi at macports.org takeshi at macports.org
Fri Oct 31 22:16:39 PDT 2014


Revision: 127687
          https://trac.macports.org/changeset/127687
Author:   takeshi at macports.org
Date:     2014-10-31 22:16:38 -0700 (Fri, 31 Oct 2014)
Log Message:
-----------
grib_api: updated to 1.12.3, closing #45718

Modified Paths:
--------------
    trunk/dports/science/grib_api/Portfile

Modified: trunk/dports/science/grib_api/Portfile
===================================================================
--- trunk/dports/science/grib_api/Portfile	2014-11-01 04:41:51 UTC (rev 127686)
+++ trunk/dports/science/grib_api/Portfile	2014-11-01 05:16:38 UTC (rev 127687)
@@ -5,7 +5,7 @@
 PortGroup compilers 1.0
 
 name                grib_api
-version             1.12.1
+version             1.12.3
 platforms           darwin
 maintainers         takeshi
 license             Apache-2
@@ -13,9 +13,9 @@
 description         GRIB decoder
 homepage            https://software.ecmwf.int/wiki/display/GRIB/Home
 master_sites        https://software.ecmwf.int/wiki/download/attachments/3473437
-checksums           md5     d9a90daa94766617831cf37ccac1e296 \
-                    sha1    b769ac5db70703f0d944d93aafbbeee7513958f1 \
-                    rmd160  4efcd11a359ae28d0675e99c7a4f69c407fa0a66
+checksums           md5     584f60702aeed70330cca42d13b96889 \
+                    sha1    2764b262c8f081fefb81112f7f7463a3a34b6e66 \
+                    rmd160  1bc10c4a22a7cf33f6451f06c8dc5901e3a52133
 long_description \
     The ECMWF GRIB API is an application program interface accessible \
     from C and FORTRAN programs developed for encoding and decoding   \
@@ -23,7 +23,7 @@
     command line tools is also provided to give quick access to grib messages.
 
 compilers.choose    fc f77 f90
-compilers.setup
+compilers.setup     -dragonegg
 
 depends_lib         port:jasper \
                     port:openjpeg15 \
@@ -35,9 +35,6 @@
     if {${os.major} == 8} {
         reinplace "s| -Wl,-rpath \$fortranlibdir||" ${worksrcpath}/configure
     }
-    reinplace "s|share\/samples|share/$name/samples|" ${worksrcpath}/configure
-    reinplace "s|share\/samples|share/$name/samples|" ${worksrcpath}/configure
-    reinplace "s|share\/definitions|share/$name/definitions|" ${worksrcpath}/configure
 # avoid installation to non-existent directory 'none'
     reinplace "s|'none'|''|" ${worksrcpath}/configure
 # avoid auto detection of g95 or gfortran that may prevent generation of shared library
@@ -47,7 +44,9 @@
     reinplace "s|-fno-common||" ${worksrcpath}/configure
 }
 
+configure.cppflags-append   -I${prefix}/include/openjpeg-1.5
 configure.args      --disable-dependency-tracking \
+                    --datadir=${prefix}/share \
                     --disable-fortran \
                     --with-ifs-samples=${prefix}/share/${name}/ifs_samples \
                     --with-jasper=${prefix} \
@@ -110,3 +109,7 @@
     configure.env-append    PYTHON=${prefix}/bin/python2.7 \
                             PYTHON_CONFIG=${prefix}/bin/python2.7-config
 }
+
+livecheck.type	regex
+livecheck.url	${homepage}
+livecheck.regex "GRIB API version (\\d+(?:\\.\\d+)*)"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20141031/b7ee399c/attachment.html>


More information about the macports-changes mailing list