1 | # $Id: Portfile 57749 2009-09-16 04:30:02Z ryandesign@macports.org $ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | |
---|
5 | name mysqlxx |
---|
6 | version 3.2.0 |
---|
7 | categories databases |
---|
8 | maintainers genetikayos.com:kayos |
---|
9 | platforms darwin freebsd |
---|
10 | description C++ wrapper for MySQL's C API |
---|
11 | long_description MySQL++ is a C++ wrapper for MySQL's C API. It is \ |
---|
12 | built around STL principles, to make dealing with \ |
---|
13 | the database as easy as dealing with an STL container. |
---|
14 | homepage http://tangentsoft.net/mysql++/ |
---|
15 | master_sites http://tangentsoft.net/mysql++/releases/ |
---|
16 | distname mysql++-${version} |
---|
17 | checksums md5 d2220b74e000d8ede13f451fe99bad5a \ |
---|
18 | sha1 4bd50f5b8259b5f12e42d6a810e5941eaddaf24a \ |
---|
19 | rmd160 308142c8462f801cdf219a63a07de63e717d51a6 |
---|
20 | |
---|
21 | depends_lib port:gettext \ |
---|
22 | port:zlib |
---|
23 | |
---|
24 | variant mysql4 conflicts mysql5 description {Build with MySQL 4 support} { |
---|
25 | depends_lib-append port:mysql4 |
---|
26 | configure.args --with-mysql=${prefix} |
---|
27 | } |
---|
28 | |
---|
29 | variant mysql5 conflicts mysql4 description {Build with MySQL 5 support} { |
---|
30 | depends_lib-append path:bin/mysql_config5:mysql5 |
---|
31 | configure.args --with-mysql-lib=${prefix}/lib/mysql5/mysql \ |
---|
32 | --with-mysql-include=${prefix}/include/mysql5/mysql |
---|
33 | } |
---|
34 | |
---|
35 | if {![variant_isset mysql4]} { |
---|
36 | default_variants +mysql5 |
---|
37 | } |
---|
38 | |
---|
39 | livecheck.type regex |
---|
40 | livecheck.url [lindex ${master_sites} 0]?C=M&O=D |
---|
41 | livecheck.regex mysql\\+\\+-(\[0-9.\]+)\\.tar |
---|