Cadabra version 1.16 - How to Download and Install on Mac OS X
Sunday the 22nd of November, 2009

    cadabra  most recent diff


    version 1.16

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


      The cadabra Portfile 56202 2009-08-25 06:54:34Z gwright macports.org $

      PortSystem 1.0

      Name: cadabra
      Version: 1.16
      Category: math
      Platform: darwin
      Maintainers: gwright
      Description: A field theory approach to symbolic computer algebra
      Long Description: Cadabra is a computer algebra system for the manipulation of what could loosely be called tensorial expressions. It is aimed at, though not necessarily restricted to, theoretical high energy physicists. Because of its target audience, the program's interface, storage system and underlying philosophy differ substantially from other computer algebra systems.

      Homepage: http://www.aei.mpg.de/~peekas/cadabra/
      Master Sites: ${homepage}

      Checksums: md5 9a9af6dd770362e1be04b37dfe1ab85d sha1 4fdaf6a959c048dde9efaf449d1e6667eab445c6 rmd160 bbe773b6831e66a0bcdead5148ceb8f5ab1edcc2

      Variant: texmacs description { install TeXmacs from end } {
      depends_run port:TeXmacs
      }

      Variant: no_gui description { do not build GUI } {
      depends_lib-delete port:gtkmm
      configure.args-append --disable-gui
      }

      Patch Files: patch-Makefile.in.diff patch-src-Makefile.in.diff patch-configure.diff

      depends_lib port:modglue port:pcre port:gmp port:LiE port:gtkmm port:texlive

      post-patch {
      reinplace "s|XXPATH_TO_GCCXX|${configure.cc}|" ${worksrcpath}/configure
      }

      build.env CC=${configure.cc} CXX=${configure.cxx}

      post-build {
      system "env CDB_LOG=1 ${build.cmd} advtest"
      }

      post-activate {
      if {[variant_isset texmacs]} {
      system "${prefix}/bin/texhash"
      }
      }


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

     Where to find more information:

    Darwin Ports



    Lightbox this page.