1 | # $Id: $ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | PortGroup archcheck 1.0 |
---|
5 | |
---|
6 | name mysql-connector-odbc |
---|
7 | version 5.1.6 |
---|
8 | set branch [join [lrange [split ${version} .] 0 1] .] |
---|
9 | homepage http://www.mysql.com/ |
---|
10 | categories databases |
---|
11 | platforms darwin |
---|
12 | maintainers ryandesign |
---|
13 | license GPLv2 |
---|
14 | distname ${name}-${version} |
---|
15 | use_parallel_build yes |
---|
16 | |
---|
17 | description \ |
---|
18 | The MySQL Connector/ODBC |
---|
19 | |
---|
20 | long_description \ |
---|
21 | The MySQL Connector/ODBC is the name for the family of MySQL ODBC drivers \ |
---|
22 | (previously called MyODBC drivers) that provide access to a MySQL database \ |
---|
23 | using the industry standard Open Database Connectivity (ODBC) API. |
---|
24 | |
---|
25 | master_sites \ |
---|
26 | http://mysql.mirrors.pair.com/Downloads/Connector-ODBC/${branch}/ \ |
---|
27 | http://mysql.he.net/Downloads/Connector-ODBC/${branch}/ \ |
---|
28 | http://mirrors.sunsite.dk/mysql/Downloads/Connector-ODBC/${branch}/ \ |
---|
29 | http://sunsite.informatik.rwth-aachen.de/mysql/Downloads/Connector-ODBC/${branch}/ \ |
---|
30 | http://ftp.plusline.de/mysql/Downloads/Connector-ODBC/${branch}/ |
---|
31 | |
---|
32 | checksums \ |
---|
33 | md5 ed445092466be030f991b3a093649f45 \ |
---|
34 | sha1 c02e1c671fae60f7f7389dd2f963b07c3113ab35 \ |
---|
35 | rmd160 90eeefbfb0153a32dd7f0be5c2685fcf13036543 |
---|
36 | |
---|
37 | depends_lib \ |
---|
38 | port:zlib \ |
---|
39 | port:openssl |
---|
40 | |
---|
41 | configure.args \ |
---|
42 | --with-unixODBC=${prefix} \ |
---|
43 | --with-mysql-path=${prefix} \ |
---|
44 | --disable-shared \ |
---|
45 | --enable-gui=no |
---|
46 | |
---|
47 | depends_lib-append \ |
---|
48 | port:unixODBC \ |
---|
49 | port:mysql5 |
---|
50 | |
---|
51 | pre-configure { |
---|
52 | reinplace "s;bin/mysql_config;bin/mysql_config5;" ${worksrcpath}/configure |
---|
53 | } |
---|
54 | |
---|
55 | livecheck.type regex |
---|
56 | livecheck.url http://dev.mysql.com/ |
---|
57 | livecheck.regex "(5\\.1\\.\[0-9\.\]+)" |
---|