| 1 | # $Id: Portfile 30223 2007-10-22 22:46:02Z jmpp@macports.org $ |
|---|
| 2 | |
|---|
| 3 | PortSystem 1.0 |
|---|
| 4 | name mysqltcl |
|---|
| 5 | version 3.02 |
|---|
| 6 | categories databases devel |
|---|
| 7 | maintainers nomaintainer |
|---|
| 8 | description Simple API for Mysql-Database and Tcl scripting language. |
|---|
| 9 | long_description MySQLTcl is a collection of Tcl commands and a \ |
|---|
| 10 | Tcl global array that provide access to one or \ |
|---|
| 11 | more mysql database servers. |
|---|
| 12 | homepage http://www.xdobry.de/mysqltcl/ |
|---|
| 13 | platforms darwin |
|---|
| 14 | master_sites http://www.xdobry.de/mysqltcl/ |
|---|
| 15 | checksums md5 bf408a7d1f10aec28102fd27cba1f6eb |
|---|
| 16 | |
|---|
| 17 | depends_lib port:mysql5 \ |
|---|
| 18 | port:tcl \ |
|---|
| 19 | port:tk |
|---|
| 20 | |
|---|
| 21 | configure.args --with-tcl=${prefix}/lib \ |
|---|
| 22 | --with-mysql-include=${prefix}/include/mysql5/mysql \ |
|---|
| 23 | --with-mysql-lib=${prefix}/lib/mysql5/mysql |
|---|
| 24 | |
|---|
| 25 | variant mysql4 { |
|---|
| 26 | depends_lib-delete port:mysql5 |
|---|
| 27 | depends_lib-append port:mysql4 |
|---|
| 28 | configure.args-delete --with-mysql-include=${prefix}/include/mysql5/mysql |
|---|
| 29 | configure.args-delete --with-mysql-lib=${prefix}/lib/mysql5/mysql |
|---|
| 30 | configure.args-append --with-mysql-include=${prefix}/include/mysql |
|---|
| 31 | configure.args-append --with-mysql-lib=${prefix}/lib/mysql |
|---|
| 32 | } |
|---|