[79763] trunk/dports/science/wgrib2/Portfile

takeshi at macports.org takeshi at macports.org
Fri Jun 24 20:58:00 PDT 2011


Revision: 79763
          http://trac.macports.org/changeset/79763
Author:   takeshi at macports.org
Date:     2011-06-24 20:57:56 -0700 (Fri, 24 Jun 2011)
Log Message:
-----------
wgrib2: updated for 1.9.3a

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

Modified: trunk/dports/science/wgrib2/Portfile
===================================================================
--- trunk/dports/science/wgrib2/Portfile	2011-06-25 02:54:56 UTC (rev 79762)
+++ trunk/dports/science/wgrib2/Portfile	2011-06-25 03:57:56 UTC (rev 79763)
@@ -4,20 +4,19 @@
 PortSystem 1.0
 
 name                wgrib2
-version             1.9.1
-revision            1
+version             1.9.3a
 platforms           darwin
 maintainers         takeshi
 categories          science
 description         program to read atmospheric data files in GRIB2
 master_sites        ftp://ftp.cpc.ncep.noaa.gov/wd51we/wgrib2/
-distname            ${name}.tgz.v${version}
+distname            ${name}_nolib.tgz.v${version}
 extract.suffix     
 set version_g2clib  1.2.1
 worksrcdir          grib2/g2clib-${version_g2clib}
-checksums           md5     b595db0d73307d8a6c2ebc4519138e53 \
-                    sha1    f79110257068d02c68c77aeb9ac82fda3111de84 \
-                    rmd160  8a83a07de63f63c0d28341a42882a009273be1b8
+checksums           md5     6e9b8f6611ee50908497cb89ca1f2387 \
+                    sha1    a9cd93a6d7b35267692f7f17322e4413b5940696 \
+                    rmd160  0cfeb2e5123bc81531f4fffea55252b797def83b
 homepage            http://www.cpc.noaa.gov/products/wesley/wgrib2/
 long_description   \
     wgrib2 is a swiss army knife for grib2 files. \
@@ -42,6 +41,11 @@
 use_parallel_build  no
 
 set cppflags ${configure.cppflags}
+if {[variant_isset g95]} {
+    set cppflags "-DG95 ${cppflags}"
+} elseif {[variant_isset gcc44]||[variant_isset gcc45]} {
+    set cppflags "-DGFORTRAN ${cppflags}"
+}
 if {[variant_isset universal]} {
     set cflags "${configure.cflags} ${configure.universal_cflags}"
     set ldflags "${configure.ldflags} ${configure.universal_ldflags}"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110624/7c0e6800/attachment-0001.html>


More information about the macports-changes mailing list