[52206] trunk/dports/databases
blb at macports.org
blb at macports.org
Thu Jun 11 23:13:25 PDT 2009
Revision: 52206
http://trac.macports.org/changeset/52206
Author: blb at macports.org
Date: 2009-06-11 23:13:17 -0700 (Thu, 11 Jun 2009)
Log Message:
-----------
New port - databases/libdbi-drivers, Drivers for libdbi; ticket #19425
Added Paths:
-----------
trunk/dports/databases/libdbi-drivers/
trunk/dports/databases/libdbi-drivers/Portfile
Added: trunk/dports/databases/libdbi-drivers/Portfile
===================================================================
--- trunk/dports/databases/libdbi-drivers/Portfile (rev 0)
+++ trunk/dports/databases/libdbi-drivers/Portfile 2009-06-12 06:13:17 UTC (rev 52206)
@@ -0,0 +1,58 @@
+# $Id$
+
+PortSystem 1.0
+
+name libdbi-drivers
+version 0.8.3-1
+categories databases devel
+maintainers umich.edu:mta
+description Drivers for libdbi
+long_description $description
+homepage http://libdbi.sourceforge.net/
+platforms darwin
+master_sites sourceforge
+
+checksums md5 4de79b323162a5a7652b65b608eca6cd \
+ sha1 599fbab115419e8fc88b3b31a38031584ee213b5 \
+ rmd160 e0aa9e67f6560fb44018b1d35d90d4ac21b48597
+
+depends_lib port:libdbi
+
+configure.args --with-dbi-incdir=${prefix}/include --with-dbi-libdir=${prefix}/lib \
+ --disable-docs
+
+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 port: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" {
+ build.target debug
+}
\ No newline at end of file
Property changes on: trunk/dports/databases/libdbi-drivers/Portfile
___________________________________________________________________
Added: svn:keywords
+ Id
Added: svn:eol-style
+ native
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090611/f2ca43f5/attachment.html>
More information about the macports-changes
mailing list