Ticket #15014: Portfile

File Portfile, 1.1 KB (added by philipproessler@…, 13 years ago)

Corrected Portfile

Line 
1# $Id: Portfile 30223 2007-10-22 22:46:02Z jmpp@macports.org $
2
3PortSystem 1.0
4name            mysqltcl
5version         3.02
6categories      databases devel
7maintainers     nomaintainer
8description     Simple API for Mysql-Database and Tcl scripting language.
9long_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.   
12homepage        http://www.xdobry.de/mysqltcl/
13platforms       darwin
14master_sites    http://www.xdobry.de/mysqltcl/
15checksums       md5 bf408a7d1f10aec28102fd27cba1f6eb
16
17depends_lib     port:mysql5 \
18                port:tcl \
19                port:tk
20
21configure.args  --with-tcl=${prefix}/lib \
22                --with-mysql-include=${prefix}/include/mysql5/mysql \
23                --with-mysql-lib=${prefix}/lib/mysql5/mysql
24
25variant 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}