Ticket #27252: patch-Portfile.diff
File patch-Portfile.diff, 1.4 KB (added by pixilla (Bradley Giesbrecht), 14 years ago) |
---|
-
Portfile
3 3 PortSystem 1.0 4 4 5 5 name mysql-connector-odbc 6 version 5.1. 66 version 5.1.8 7 7 set branch [join [lrange [split ${version} .] 0 1] .] 8 8 homepage http://www.mysql.com/products/connector/ 9 9 categories databases … … 26 26 http://sunsite.informatik.rwth-aachen.de/mysql/Downloads/Connector-ODBC/${branch}/ \ 27 27 http://ftp.plusline.de/mysql/Downloads/Connector-ODBC/${branch}/ 28 28 29 checksums \ 30 md5 ed445092466be030f991b3a093649f45 \ 31 sha1 c02e1c671fae60f7f7389dd2f963b07c3113ab35 \ 32 rmd160 90eeefbfb0153a32dd7f0be5c2685fcf13036543 29 checksums sha1 2272075c66712cf7a05e50eeb4520f7c504c3ae8 \ 30 rmd160 0db5c4d42c7377f7fc1fa2ad569f50f9a497511e 33 31 34 32 depends_lib \ 35 33 port:unixODBC \ … … 45 43 reinplace "s;bin/mysql_config;bin/mysql_config5;" ${worksrcpath}/configure 46 44 } 47 45 48 livecheck.type 49 livecheck.url http://dev.mysql.com/50 livecheck.regex "(5\\.1\\.\[0-9\.\]+)"46 livecheck.type regex 47 livecheck.url http://dev.mysql.com/downloads/connector/odbc/${branch}.html 48 livecheck.regex "${name}-(${branch}.\[0-9\.\]+)"