Ticket #47851: Portfile-mysqlxx.diff
File Portfile-mysqlxx.diff, 2.3 KB (added by bruce@…, 9 years ago) |
---|
-
Portfile
old new 1 # $Id $1 # $Id: Portfile 57749 2009-09-16 04:30:02Z ryandesign@macports.org $ 2 2 3 3 PortSystem 1.0 4 4 5 5 name mysqlxx 6 version 3. 0.86 version 3.2.2 7 7 categories databases 8 maintainers genetikayos.com:kayos8 maintainers nomaintainer 9 9 platforms darwin freebsd 10 license LGPL 10 11 description C++ wrapper for MySQL's C API 11 12 long_description MySQL++ is a C++ wrapper for MySQL's C API. It is \ 12 13 built around STL principles, to make dealing with \ … … 14 15 homepage http://tangentsoft.net/mysql++/ 15 16 master_sites http://tangentsoft.net/mysql++/releases/ 16 17 distname mysql++-${version} 17 checksums md5 b977bbf671df08661c15cde051db1513 \ 18 sha1 060d81dcf284732a4dc3f74b305f48ec8d12150f \ 19 rmd160 686fc71773c3d828ed01374ba383e2d58ea5f370 18 checksums rmd160 2339039f33c7e9291763e2dd7a388d959524ca0d \ 19 sha256 55667bee79a5981b1a04e57e3a4fd8b03bf330e4e3371b023c2bf5ba0f50ed17 20 20 21 21 depends_lib port:gettext \ 22 22 port:zlib 23 23 24 variant mysql 4 conflicts mysql5 description {Build with MySQL 4support} {25 depends_lib-append port:mysql426 configure.args --with-mysql=${prefix}24 variant mysql56 conflicts mysql5 mysql51 mysql55 description {Build with MySQL 5.6 support} { 25 configure.args --with-mysql-lib=${prefix}/lib/mysql56/mysql \ 26 --with-mysql-include=${prefix}/include/mysql56/mysql 27 27 } 28 28 29 variant mysql5 conflicts mysql4 description {Build with MySQL 5 support} { 29 variant mysql55 conflicts mysql5 mysql51 mysql56 description {Build with MySQL 5.5 support} { 30 configure.args --with-mysql-lib=${prefix}/lib/mysql55/mysql \ 31 --with-mysql-include=${prefix}/include/mysql55/mysql 32 } 33 34 variant mysql51 conflicts mysql5 mysql55 mysql56 description {Build with MySQL 5.1 support} { 35 configure.args --with-mysql-lib=${prefix}/lib/mysql51/mysql \ 36 --with-mysql-include=${prefix}/include/mysql51/mysql 37 } 38 39 variant mysql5 conflicts mysql51 mysql55 mysql56 description {Build with MySQL 5 support} { 30 40 depends_lib-append path:bin/mysql_config5:mysql5 31 41 configure.args --with-mysql-lib=${prefix}/lib/mysql5/mysql \ 32 42 --with-mysql-include=${prefix}/include/mysql5/mysql 33 43 } 34 44 35 if {![variant_isset mysql4]} { 36 default_variants +mysql5 37 } 45 default_variants +mysql56 38 46 39 47 livecheck.type regex 40 48 livecheck.url [lindex ${master_sites} 0]?C=M&O=D