Octave-database version 1.0.4 - How to Download and Install on Mac OS X
Saturday the 7th of November, 2009

    octave-database  most recent diff


    version 1.0.4

      View the most recent changes for the octave-database port at: octave-database.darwinports.com/diff
      Scroll down toward the bottom of the page to get installation instructions for octave-database.
      The raw portfile for octave-database 1.0.4 is located here:
      http://octave-database.darwinports.com/dports/math/octave-database/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-database


      The octave-database Portfile 58230 2009-09-24 16:45:22Z ryandesign macports.org $

      PortSystem 1.0

      Name: octave-database
      Version: 1.0.4
      Category: math science
      Platform: darwin
      Maintainers: and.damore alakazam
      Description: These are bindings that allow SQL queries and other database operations on postgres, mysql, sqlite, and standard ODBC databases from within Octave.
      Long Description: ${description} A simplified interface that is uniform across all database types is provided, as well as the entire C client API for each database (libpq, libmysqlclient, etc).

      Homepage: http://octave.sourceforge.net/
      Master Sites: sourceforge:octave

      distname database-$version

      Checksums: md5 3de89d16ad1c5945ebcb90f8759803b0 sha1 ee62edd5c213bc18a9be0a5696ab418b1887b2de rmd160 6e768f1633e5f1f53c0224956135028459b0a505

      Patch Files: patch-sqlite3_wrap.cpp.diff patch-odbc_wrap.cpp.diff

      depends_lib-append port:octave port:swig port:postgresql82 path:bin/mysql_config5:mysql5 port:sqlite3 port:unixODBC

      post-destroot {
      move ${destroot}${prefix}/share/octave/octave_packages ${destroot}${prefix}/share/octave/octave_packages_${name}
      }

      post-activate {
      system "octave --eval \"pkg rebuild\""
      }

      livecheck.type regex
      livecheck.url http://octave.sourceforge.net/packages.html
      livecheck.regex http://downloads\.sourceforge\.net/octave/database-(\\d+(\\.\\d+)*)\.tar\.gz

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

     Where to find more information:

    Darwin Ports



    Lightbox this page.