Gexpr version 2.0.2 - How to Download and Install on Mac OS X
Saturday the 7th of November, 2009

    version 2.0.2

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


      The gexpr Portfile 30237 2007-10-23 01:46:57Z jmpp macports.org $

      PortSystem 1.0

      Name: gexpr
      Version: 2.0.2
      Category: math
      Platform: darwin
      Maintainers: nomaintainer
      Description: A shell calculator
      Long Description: Gexpr is a shell calculator with floating point, standard C functions, relational operators, and output in base 2/8/10/16. It is a light alternative to bc(1). It can also be used to add floating point math to shell scripts.

      Homepage: http://gexpr.sourceforge.net/
      Master Sites: http://www.ibiblio.org/pub/Linux/apps/math/calc/ freebsd
      Checksums: md5 e4cb9b62b1f363bbf788f455ef144885

      use_configure no

      destroot {
      xinstall -m 755 ${worksrcpath}/gexpr ${destroot}${prefix}/bin
      xinstall -m 644 ${worksrcpath}/gexpr.1 ${destroot}${prefix}/share/man/man1
      xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
      xinstall -m 644 -W ${worksrcpath} README COPYING ${destroot}${prefix}/share/doc/${name}
      }


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

     Where to find more information:

    Darwin Ports



    Lightbox this page.