categories databases devel
maintainers umich.edu:mta
description Drivers for libdbi
long_description $description
homepage http://libdbi-drivers.sourceforge.net/
checksums md5 4de79b323162a5a7652b65b608eca6cd \
sha1 599fbab115419e8fc88b3b31a38031584ee213b5 \
rmd160 e0aa9e67f6560fb44018b1d35d90d4ac21b48597
patchfiles configure.patch
configure.args --with-dbi-incdir=${prefix}/include --with-dbi-libdir=${prefix}/lib \
if {![variant_isset mysql5] && ![variant_isset postgresql83] &&
![variant_isset sqlite2] && ![variant_isset sqlite3]} {
default_variants +sqlite3
variant mysql5 description "Include drivers for MySQL" {
configure.args-append --with-mysql --with-mysql-incdir=${prefix}/include/mysql5 \
--with-mysql-libdir=${prefix}/lib/mysql5/mysql
depends_lib-append path:bin/mysql_config5:mysql5
variant postgresql83 description "Include drivers for PostgreSQL" {
configure.args-append --with-pgsql --with-pgsql-incdir=${prefix}/include/postgresql83 \
--with-pgsql-libdir=${prefix}/lib/postgresql83
depends_lib-append port:postgresql83
variant sqlite2 description "Include drivers for SQLite" {
configure.args-append --with-sqlite --with-sqlite-dir=${prefix}
depends_lib-append port:sqlite2
variant sqlite3 description "Include drivers for SQLite3" {
configure.args-append --with-sqlite3 --with-sqlite3-dir=${prefix}
depends_lib-append port:sqlite3
variant docs description "Build the documentation" {
configure.args-delete --disable-docs
depends_build-append port:openjade
variant debug description "Build debug version" {