Grace version 5.1.22 - How to Download and Install on Mac OS X
Saturday the 4th of July, 2009

    version 5.1.22

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


      # -*- coding: utf-8; mode: tcl; tab-width: 4; truncate-lines: t; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4
      The grace Portfile 40960 2008-10-19 04:28:17Z blb macports.org $

      PortSystem 1.0

      Name: grace
      Version: 5.1.22
      Revision: 1
      Category: x11 math science print
      Platform: darwin
      Maintainers: nomaintainer
      Description: WYSIWYG tool to make two-dimensional plots of numerical data
      Long Description: ${description}

      Homepage: http://plasma-gate.weizmann.ac.il/Grace/
      set sub grace/src/stable
      Master Sites: ftp://gd.tuwien.ac.at/visual/${sub} ftp://linux.mathematik.tu-darmstadt.de/pub/linux/mirrors/misc/${sub} ftp://ftp.fu-berlin.de/unix/graphics/${sub} ftp://freedom7.swmed.edu/pub/mirrors/${sub} ftp://ftp.u-aizu.ac.jp/pub/SciEng/math/${sub} http://ftp.chg.ru/pub/math/${sub}

      Checksums: md5 672356466f18fe59ed21a8fb44f9851d sha1 3ce88c7c264d2de73b8935f835a1c1f8e368c78f rmd160 ca7b1abe240de7cd3dbdc52d5182020c410b9772

      depends_lib lib:libX11.6:XFree86 port:openmotif port:libpng port:pdflib port:jpeg port:zlib

      Patch Files: patch-configure.diff

      configure.pre_args --prefix=${prefix}/lib --with-helpviewer="open ${prefix}/share/doc/${name}/`basename %s`"

      post-destroot {
      xinstall -m 755 -d ${destroot}${prefix}/share/doc
      file delete ${destroot}${prefix}/bin
      file rename ${destroot}${prefix}/lib/grace/bin ${destroot}${prefix}/bin
      file rename ${destroot}${prefix}/lib/grace/doc ${destroot}${prefix}/share/doc/${name}
      file rename ${destroot}${prefix}/lib/grace/examples ${destroot}${prefix}/share/doc/${name}/examples
      file rename ${destroot}${prefix}/lib/grace/include/grace_np.h ${destroot}${prefix}/include/grace_np.h
      file rename ${destroot}${prefix}/lib/grace/lib/libgrace_np.a ${destroot}${prefix}/lib/libgrace_np.a
      system "cd ${destroot}${prefix}/share/doc/${name} && ln -s . doc"
      system "cd ${destroot}${prefix}/share && mv doc/grace/*.1 man/man1/"
      }

      Variant: netcdf description {Support for NetCDF data files} {
      depends_lib-append port:netcdf
      configure.args-append --enable-netcdf
      }

    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/grace
      % sudo port install grace
      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 grace
      ---> Verifying checksum for grace
      ---> Extracting grace
      ---> Configuring grace
      ---> Building grace with target all
      ---> Staging grace into destroot
      ---> Installing grace
    - 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 grace with these commands:
      %  man grace
      % apropos grace
      % which grace
      % locate grace

     Where to find more information:

    Darwin Ports



    Lightbox this page.