Ticket #27252: patch-Portfile.diff

File patch-Portfile.diff, 1.4 KB (added by pixilla (Bradley Giesbrecht), 13 years ago)
  • Portfile

     
    33PortSystem              1.0
    44
    55name                    mysql-connector-odbc
    6 version                 5.1.6
     6version                 5.1.8
    77set branch              [join [lrange [split ${version} .] 0 1] .]
    88homepage                http://www.mysql.com/products/connector/
    99categories              databases
     
    2626    http://sunsite.informatik.rwth-aachen.de/mysql/Downloads/Connector-ODBC/${branch}/ \
    2727    http://ftp.plusline.de/mysql/Downloads/Connector-ODBC/${branch}/
    2828
    29 checksums \
    30     md5     ed445092466be030f991b3a093649f45 \
    31     sha1    c02e1c671fae60f7f7389dd2f963b07c3113ab35 \
    32     rmd160  90eeefbfb0153a32dd7f0be5c2685fcf13036543
     29checksums           sha1    2272075c66712cf7a05e50eeb4520f7c504c3ae8 \
     30                    rmd160  0db5c4d42c7377f7fc1fa2ad569f50f9a497511e
    3331
    3432depends_lib \
    3533    port:unixODBC \
     
    4543    reinplace "s;bin/mysql_config;bin/mysql_config5;" ${worksrcpath}/configure
    4644}
    4745
    48 livecheck.type          regex
    49 livecheck.url           http://dev.mysql.com/
    50 livecheck.regex         "(5\\.1\\.\[0-9\.\]+)"
     46livecheck.type      regex
     47livecheck.url       http://dev.mysql.com/downloads/connector/odbc/${branch}.html
     48livecheck.regex     "${name}-(${branch}.\[0-9\.\]+)"