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