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

takeshi at macports.org takeshi at macports.org
Sun Jun 28 00:02:27 PDT 2009


Revision: 53013
          http://trac.macports.org/changeset/53013
Author:   takeshi at macports.org
Date:     2009-06-28 00:02:26 -0700 (Sun, 28 Jun 2009)
Log Message:
-----------
wgrib2: updated to 1.7.8j

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

Modified: trunk/dports/science/wgrib2/Portfile
===================================================================
--- trunk/dports/science/wgrib2/Portfile	2009-06-28 06:58:13 UTC (rev 53012)
+++ trunk/dports/science/wgrib2/Portfile	2009-06-28 07:02:26 UTC (rev 53013)
@@ -4,7 +4,7 @@
 PortSystem 1.0
 
 name               wgrib2
-version            1.7.8a
+version            1.7.8j
 platforms          darwin
 maintainers        takeshi
 categories         science
@@ -12,10 +12,11 @@
 master_sites       ftp://ftp.cpc.ncep.noaa.gov/wd51we/wgrib2/
 distname           ${name}.tgz.v${version}
 extract.suffix     
-worksrcdir         grib2/g2clib-1.1.7
-checksums          md5    f03b57a00db7322f57a8fcf03247ae65         \
-                   sha1   fabecaed787a58b6b1c2a9de87457dcf09ef7216 \
-                   rmd160 4c42de54c5c1191ef068b5abfd444fa8243e0e36
+set version_g2clib 1.1.8
+worksrcdir         grib2/g2clib-${version_g2clib}
+checksums          md5    f4625d0b3b6b276a7ee256bb31aa04d5         \
+                   sha1   430b5cca611fba2ebc5bf14fc00142b26998bdbd \
+                   rmd160 763e5108dc2e93e2a4079177c31b567910b7ab63
 homepage           http://www.cpc.noaa.gov/products/wesley/wgrib2/
 long_description   \
     wgrib2 is a swiss army knife for grib2 files. \
@@ -34,16 +35,16 @@
     set cflags ${configure.cflags}
     set ldflags ${configure.ldflags}
 }
-build.args        "-f makefile INC=\"${cppflags} ${cflags}\""
+build.args        "-f makefile CPPFLAGS=\"${cppflags}\" CFLAGS=\"${cflags}\""
 
 post-build  { 
     system "ranlib ${worksrcpath}/libgrib2c.a" 
     system "cd ${worksrcpath}/../wgrib2; \
             make -f makefile ${name} \
-            CFLAGS=\"-I../g2clib-1.1.7 ${cppflags} \
+            CFLAGS=\"-I../g2clib-${version_g2clib} ${cppflags} \
                            -I/usr/include ${cflags}      \
                            -DUSE_NETCDF -DUSE_REGEX -DUSE_TIGGE\"  \
-            LDFLAGS=\"-L../g2clib-1.1.7 ${ldflags} \
+            LDFLAGS=\"-L../g2clib-${version_g2clib} ${ldflags} \
                            -lgrib2c -ljasper -lnetcdf -lpng -lz\" "
 }
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090628/b9ef111e/attachment.html>


More information about the macports-changes mailing list