# $Id: Portfile 91251 2012-03-27 13:46:18Z and.damore@macports.org $

PortSystem          1.0
PortGroup           octave 1.0

octave.setup        database 1.0.4
platforms           darwin
license             BSD GPL-2
maintainers         nomaintainer
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).

checksums           md5     3de89d16ad1c5945ebcb90f8759803b0 \
                    sha1    ee62edd5c213bc18a9be0a5696ab418b1887b2de \
                    rmd160  6e768f1633e5f1f53c0224956135028459b0a505

patchfiles          patch-sqlite3_wrap.cpp.diff \
                    patch-odbc_wrap.cpp.diff

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

universal_variant   no
configure.cxx_archflags ""

