Ticket #19425: Portfile.2

File Portfile.2, 1.5 KB (added by mtalexander (Mike Alexander), 16 years ago)

libdbi-drivers Portfile

Line 
1# $Id$
2
3PortSystem          1.0
4
5name                libdbi-drivers
6version             0.8.3-1
7categories          databases devel
8maintainers         mta@umich.edu       
9description         Drivers for libdbi
10long_description    $description
11homepage            http://libdbi.sourceforge.net/
12platforms           darwin
13master_sites        sourceforge
14
15checksums           md5     4de79b323162a5a7652b65b608eca6cd \
16                    sha1    599fbab115419e8fc88b3b31a38031584ee213b5 \
17                    rmd160  e0aa9e67f6560fb44018b1d35d90d4ac21b48597
18
19depends_lib         port:libdbi
20
21configure.args      --with-dbi-incdir=/opt/local/include --with-dbi-libdir=/opt/local/lib \
22                    --disable-docs
23
24variant mysql   description "Include drivers for MySQL" {
25        configure.args-append "--with-mysql --with-mysql-dir=/opt/local"
26}
27
28variant postgresql description "Include drivers for PostgreSQL" {
29        configure.args-append "--with-pgsql --with-pgsql-dir=/opt/local"
30}
31
32variant sqlite description "Include drivers for SQLite" {
33        configure.args-append "--with-sqlite --with-sqlite-dir=/opt/local"
34}
35
36variant sqlite3 description "Include drivers for SQLite3" {
37        configure.args-append "--with-sqlite3 --with-sqlite3-dir=/opt/local"
38}
39
40variant msql description "Include drivers for mSQL" {
41        configure.args-append "--with-msql --with-msql-dir=/opt/local"
42}
43
44variant docs description "Build the documentation" {
45        configure.args-delete --disable-docs
46       
47        depends_build port:openjade
48}