[103292] trunk/dports/science/grads/Portfile

takeshi at macports.org takeshi at macports.org
Wed Feb 20 00:56:11 PST 2013


Revision: 103292
          https://trac.macports.org/changeset/103292
Author:   takeshi at macports.org
Date:     2013-02-20 00:56:11 -0800 (Wed, 20 Feb 2013)
Log Message:
-----------
grads: update for 2.0.2. added livecheck

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

Modified: trunk/dports/science/grads/Portfile
===================================================================
--- trunk/dports/science/grads/Portfile	2013-02-20 08:15:58 UTC (rev 103291)
+++ trunk/dports/science/grads/Portfile	2013-02-20 08:56:11 UTC (rev 103292)
@@ -4,9 +4,8 @@
 PortSystem          1.0
 
 name                grads
-version             2.0.1
+version             2.0.2
 set branch          [join [lrange [split ${version} .] 0 1] .]
-revision            2
 platforms           darwin
 maintainers         takeshi
 license             GPL-2
@@ -17,11 +16,14 @@
 set gradssrc        ${name}-${version}-src${extract.suffix}
 set gradsdata       data2${extract.suffix}
 distfiles           ${gradssrc}:src ${gradsdata}:data
-checksums           ${gradssrc}  rmd160 6fa94639174f626a664effcf236beace79d660f4 \
-                    ${gradssrc}  sha256 5c8111ad650f10092dda12fc875e6f58bf00cf12affa6b10c0fefd03a29591a2 \
-                    ${gradsdata} rmd160 98637dd79e49335e0d986429549fbce2b81afc7a \
-                    ${gradsdata} sha256 55419fe15478d8213031bb1bfa7adec96984379373ec751cbe37d4bb22f6ce18
-homepage            http://www.iges.org/grads/grads.html
+checksums           ${gradssrc} \
+                    rmd160  1e15249ad8f77314b3b430038b8fc5f6594e6319 \
+                    sha256  7bc777292836b104ff6f9c1793f80e8de48c7adf6e24711edffe023bd09becdd \
+                    ${gradsdata} \
+                    rmd160 98637dd79e49335e0d986429549fbce2b81afc7a \
+                    sha256 55419fe15478d8213031bb1bfa7adec96984379373ec751cbe37d4bb22f6ce18
+set url http://www.iges.org/grads/
+homepage            ${url}/grads.html
 long_description   \
     The Grid Analysis and Display System (GrADS) is an interactive     \
     desktop tool that is used for easy access, manipulation, and       \
@@ -45,9 +47,6 @@
 
 patchfiles          patch-configure.diff
 
-#if {${configure.compiler}=="clang"} {
-#    configure.compiler llvm-gcc-4.2
-#}
 configure.env-append    SUPPLIBS="${prefix}"
 configure.args          --without-gui   \
                         --with-readline \
@@ -75,3 +74,10 @@
     configure.args-delete   --with-dap
     configure.args-append   --without-dap
 }
+
+livecheck.type      regex
+livecheck.url       ${url}/downloads.html
+#livecheck.regex     {The Latest Version of GrADS </span><br>
+#            <span class="red">GrADS version ([0-9]+\.[0-9]+\.[0-9]+)}
+#livecheck.regex     {GrADS version ([0-9]+\.[0-9]+\.[0-9]+)}
+livecheck.regex     {^\s+<span class="red">GrADS version (\d+\.\d+\.\d+)}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130220/2eaf341d/attachment.html>


More information about the macports-changes mailing list