source: trunk/dports/databases/mysqltcl/Portfile @ 58230

Last change on this file since 58230 was 58230, checked in by ryandesign@…, 11 years ago

rewrite mysql5 dependency so mysql5-devel can satisfy it

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.1 KB
Line 
1# $Id: Portfile 58230 2009-09-24 16:45:22Z ryandesign@macports.org $
2
3PortSystem 1.0
4
5name            mysqltcl
6version         3.02
7categories      databases devel
8maintainers     nomaintainer
9description     Simple API for Mysql-Database and Tcl scripting language.
10long_description        MySQLTcl is a collection of Tcl commands and a \
11                        Tcl global array that provide access to one or \
12                        more mysql database servers.
13homepage        http://www.xdobry.de/mysqltcl/
14platforms       darwin
15master_sites    http://www.xdobry.de/mysqltcl/
16checksums       md5 bf408a7d1f10aec28102fd27cba1f6eb
17
18depends_lib     path:bin/mysql_config5:mysql5 \
19                port:tcl \
20                port:tk
21
22configure.args  --with-tcl=${prefix}/lib \
23                --with-mysql-include=${prefix}/include/mysql5/mysql \
24                --with-mysql-lib=${prefix}/lib/mysql5/mysql \
25                --mandir=${prefix}/share/man
26
27variant mysql4 description Install against mysql4 instead of mysql5 {
28        depends_lib-delete path:bin/mysql_config5:mysql5
29        depends_lib-append port:mysql4
30        configure.args_delete --with-mysql-include=${prefix}/include/mysql5/mysql
31        configure.args_delete --with-mysql-lib=${prefix}/lib/mysql5/mysql
32        configure.args_append --with-mysql-include=${prefix}/include/mysql
33        configure.args_append --with-mysql-lib=${prefix}/lib/mysql
34}
Note: See TracBrowser for help on using the repository browser.