Ticket #56805: Portfile-mysql-proxy.diff

File Portfile-mysql-proxy.diff, 2.5 KB (added by mf2k (Frank Schima), 6 years ago)

Portfile patch

  • Portfile

    old new  
    11# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
    22
    33PortSystem          1.0
     4PortGroup           github 1.0
    45
    5 name                mysql-proxy
    6 version             0.8.2
    7 revision            1
     6github.setup        mysql mysql-proxy 0.8.5
    87categories          databases
    98license             GPL-2
     9platforms           darwin
    1010maintainers         nomaintainer
     11
    1112description         Proxy for MySQL-Server
    1213long_description    \
    1314    MySQL Proxy is a simple program that sits between your client and MySQL server(s) that can monitor, analyze or transform their communication. \
    1415    Its flexibility allows for unlimited uses\; common ones include: load balancing\; failover\; query analysis\; query filtering and modification\; and many more.
    1516
    16 homepage            http://forge.mysql.com/wiki/MySQL_Proxy
    17 platforms           darwin
    18 master_sites        http://ftp.gwdg.de/pub/misc/mysql/Downloads/MySQL-Proxy/ \
    19     http://sunsite.informatik.rwth-aachen.de/mysql/Downloads/MySQL-Proxy/ \
    20     http://mysql.proserve.nl/Downloads/MySQL-Proxy/ \
    21     ftp://mirror.leaseweb.com/mysql/Downloads/MySQL-Proxy/
    22 
    23 checksums           md5 b00784ddc5d28787fc99712d602a3614 \
    24                     sha1 3ae4f2f68849cfd95eeaf033af8df78d643dbf4d \
    25                     rmd160 02a46970d3d046da5f04159bf9266dd564ba9f55
    26 
    27 depends_build       port:pkgconfig
    28 depends_lib         port:lua \
     17github.master_sites ${github.homepage}/archive/
     18distname            rel-${version}
     19worksrcdir          ${name}-${distname}
     20
     21checksums           rmd160  d71b303b291b4d9d107592672d61e4b45def8dcf \
     22                    sha256  8c6befab41a84f5c59d5f764ce1e5ffbceeea6fa92e71abad4e13f2cecc285b8 \
     23                    size    473506
     24
     25depends_build-append \
     26                    port:pkgconfig
     27depends_lib-append  path:lib/pkgconfig/glib-2.0.pc:glib2 \
    2928                    port:libevent \
    30                     path:bin/mysql_config5:mysql5 \
    31                     path:lib/pkgconfig/glib-2.0.pc:glib2
     29                    port:lua \
     30                    path:bin/mysql_config5:mysql57 \
     31
     32use_autoconf        yes
     33autoconf.cmd        ./autogen.sh
    3234
    33 configure.args      --with-mysql=${prefix}/lib/mysql5/bin/mysql_config \
     35configure.env       ACLOCAL_FLAGS="-I ${prefix}/share/aclocal"
     36configure.args      --with-mysql=${prefix}/lib/mysql57/bin/mysql_config \
    3437                    --with-lua