source: trunk/dports/databases/mysqltcl/Portfile

Last change on this file was 146575, checked in by ryandesign@…, 21 months ago

mysqltcl: fix syntax errors in mysql4 variant

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