grads version 1.9b4 for Mac OS X 10.5 Leopard
Saturday the 17th of May, 2008

    grads  most recent diff


      View the most recent changes for the grads port at: grads.darwinports.com/diff
      Scroll down toward the bottom of the page to get installation instructions for grads.
      The raw portfile for grads 1.9b4 is located here:
      http://grads.darwinports.com/dports/science/grads/Portfile
      Find related portfiles with the unique DarwinPorts.com search feature.
      Check for any related Fink projects here: pdb.finkproject.org/pdb/package.php/grads
      Google
      Web Darwinports.com



      # $Id: Portfile 32958 2008-01-15 14:17:12Z takeshi macports.org $

      PortSystem 1.0

      Name: grads
      Version: 1.9b4
      revision 1
      Platform: darwin
      Maintainers: takeshi macports.org
      Category: science
      Description: interactive visualization tool for earth science data
      master_sites ftp://grads.iges.org/grads/1.9/:src ftp://grads.iges.org/grads/:data
      set gradssrc ${name}-src-${version}${extract.suffix}
      set gradsdata data.tar.Z
      distfiles ${gradssrc}:src ${gradsdata}:data
      checksums ${gradssrc} sha1 839e32693602e2695825d4d5a1a8ae7e1672c3a5 ${gradsdata} sha1 6a3e997868b358ecf71ea618c27ad10f28183f5e
      Homepage: http://www.iges.org/grads/grads.html
      Long Description: The Grid Analysis and Display System (GrADS) is an interactive desktop tool that is used for easy access, manipulation, and visualization of earth science data. The format of the data may be either binary, GRIB, NetCDF, or HDF-SDS (Scientific Data Sets). GrADS has been implemented worldwide on a variety of commonly used operating systems and is freely distributed over the Internet.

      depends_build port:libwww port:readline port:rx port:netcdf port:udunits port:libdap port:libnc-dap

      patchfiles patch-configure patch-grads.h patch-wgrib.c patch-bufrscan.c patch-gacfg.c

      configure.cppflags "-I/usr/include -I${prefix}/include"
      configure.ldflags "-L/usr/lib -L${prefix}/lib"
      configure.env LIBS="-lwmf" SUPPLIBS=${prefix}
      configure.args --prefix=${prefix} --with-lats --with-x

      pre-build {
      reinplace "s|libwww.a|libwwwcore.a|g" ${worksrcpath}/src/Makefile
      reinplace "s|\$(supp_lib_dir)/inst.o| |g" ${worksrcpath}/src/Makefile
      }

      post-destroot {
      xinstall -d -m 755 ${destroot}${prefix}/share/${name}/
      foreach file [glob -directory ${workpath} *.dat *res] {
      file rename ${file} ${destroot}${prefix}/share/${name}/
      }
      system "ln -s ${prefix}/bin/${name}dods ${destroot}${prefix}/bin/${name}"
      }

      Variant: printim {
      depends_build-append port:jpeg port:libpng port:gd2 port:libwmf
      configure.args-append --with-printim
      }

    If you haven't already installed Darwin Ports, you can find easy instructions for doing so at the main Darwin Ports page.

    Once Darwin Ports has been installed, in a terminal window and while online, type the following and hit return:


      %  cd /opt/local/bin/portslocation/dports/grads
      % sudo port install grads
      Password:
    You will then be prompted for your root password, which you should enter. You may have to wait for a few minutes while the software is retrieved from the network and installed for you. Y ou should see something that looks similar to:

      ---> Fetching grads
      ---> Verifying checksum for grads
      ---> Extracting grads
      ---> Configuring grads
      ---> Building grads with target all
      ---> Staging grads into destroot
      ---> Installing grads
    - Make sure that you do not close the terminal window while Darwin Ports is working. Once the software has been installed, you can find further information about using grads with these commands:
      %  man grads
      % apropos grads
      % which grads
      % locate grads

     Where to find more information:

    Darwin Ports



    image test