octave version 2.9.15 for Mac OS X 10.5 Leopard
Saturday the 17th of May, 2008

    octave  most recent diff


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



      # $Id: Portfile 33572 2008-01-30 14:21:35Z nox macports.org $

      PortSystem 1.0
      Name: octave
      Version: 2.9.15
      revision 1
      Category: math science
      Maintainers: stechert macports.org
      Platform: darwin
      Description: a Matlab-like environment for numerical analysis
      Long Description: Octave provides a convenient command line interface for solving linear and nonlinear problems numerically, using a language that is mostly compatible with Matlab. It is easily extensible and customizable via user-defined functions or using dynamically loaded modules written in e.g. C++, C or Fortran.

      Homepage: http://www.octave.org
      master_sites ftp://ftp.octave.org/pub/octave/bleeding-edge/

      use_bzip2 yes
      checksums md5 c7c0449a5e1418479bebbdd565eb9cc2

      patch.args -p1
      patchfiles patch-configure patch-configure-2 patch-dynamic-ld-cc

      depends_build bin:texinfo:texinfo bin:tex:teTeX port:gawk port:gsed

      depends_lib port:readline port:hdf5 port:fftw-3 port:metis port:SuiteSparse port:pcre port:glpk port:gnuplot

      configure.args --enable-shared --enable-dl --disable-static --with-hdf5 --with-fftw --without-mpi --with-blas="-framework Accelerate"

      configure.env-append AWK="${prefix}/bin/gawk" SED="${prefix}/bin/gsed"
      build.env-append AWK="${prefix}/bin/gawk" SED="${prefix}/bin/gsed"

      post-patch {
      # Avoid using heimdal's broken fnmatch.h
      reinplace "s|<\\(fnmatch\.h\\)>|\"/usr/include/\\1\"|" ${worksrcpath}/liboctave/glob-match.cc
      }

      pre-destroot {
      file copy ${worksrcpath}/src/defaults.h ${worksrcpath}/src/defaults.h.tmp
      file copy ${worksrcpath}/src/oct-conf.h ${worksrcpath}/src/oct-conf.h.tmp
      }
      destroot.destdir prefix=${destroot}${prefix}
      post-destroot {
      file rename -force ${worksrcpath}/src/defaults.h.tmp ${destroot}${prefix}/include/${name}-${version}/${name}/defaults.h
      file rename -force ${worksrcpath}/src/oct-conf.h.tmp ${destroot}${prefix}/include/${name}-${version}/${name}/oct-conf.h
      }

      if {![variant_isset g95]} {
      depends_lib-append port:gcc42
      configure.compiler macports-gcc-4.2
      }

      default_variants +test
      Variant: test { depends_build-append bin:runtest:dejagnu
      test.run yes
      test.target check
      }

      Variant: ptex {
      depends_build-delete bin:tex:teTeX
      depends_build-append bin:tex:pTeX
      }

      Variant: g95 {
      depends_lib-append port:g95
      configure.f77 "${prefix}/bin/g95"
      configure.env-append FFLAGS=-O2 MACOSX_DEPLOYMENT_TARGET=10.4
      }

      livecheck.check regex
      livecheck.url http://www.gnu.org/software/octave/news.html
      livecheck.regex Version (\\d+(\\.\\d+)*) is now available

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

     Where to find more information:

    Darwin Ports



    image test