calc version 2.12.1.8 for Mac OS X 10.5 Leopard
Friday the 16th of May, 2008

    calc  most recent diff


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



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

      PortSystem 1.0
      Name: calc
      Version: 2.12.1.8
      Category: math
      Maintainers: nomaintainer
      Description: Arbitrary precision calculator
      Long Description: Calc is an interactive calculator which provides for easy large numeric calculations, but which also can be easily programmed for difficult or long calculations. It can accept a command line argument, in which case it executes that single command and exits. Otherwise, it enters interactive mode. There are a great number of pre-defined functions. The calculator can calculate transcendental functions, and accept and display numbers in real or exponential format. The calculator also knows about complex numbers.
      Homepage: http://www.isthe.com/chongo/tech/comp/calc/
      Platform: darwin
      master_sites sourceforge
      checksums sha1 4ff5f8adb638565814319513e8acdf98191cb580

      depends_lib port:readline port:ncurses

      patchfiles patch-Makefile
      post-patch {
      reinplace "s|___PREFIX___|${prefix}|" ${worksrcpath}/Makefile
      reinplace "s|___DESTROOT___|${destroot}|" ${worksrcpath}/Makefile
      }

      use_configure no

      test.run yes
      test.target check

      destroot.destdir

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

     Where to find more information:

    Darwin Ports



    image test