# -*- 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

PortSystem          1.0

name                gloox
version             1.0.20
revision            1

categories          net devel
platforms           darwin
maintainers         nomaintainer
license             {GPL-3 OpenSSLException}

description         C++ Jabber/XMPP library taking care of the low-level protocol

long_description    gloox is a C++ Jabber/XMPP library which takes care of the \
                    low-level protocol stuff. Additionally, it offers high-level \
                    interfaces for interaction with an XMPP server.

homepage            http://camaya.net/gloox
master_sites        http://camaya.net/download/
use_bzip2           yes

checksums           rmd160  293db69556c998514afbd077d5b2558a94ba05e7 \
                    sha256  0243086c0f4f0440d6d8e55705f83249a4463a1d75a034be42b5312e8886dea8 \
                    size    701114

depends_build       port:pkgconfig

depends_lib         port:gettext \
                    port:gnutls \
                    port:iksemel \
                    port:libgcrypt \
                    port:libgpg-error \
                    port:libiconv \
                    port:libidn \
                    port:zlib

configure.args      --with-gnutls=${prefix} \
                    --with-libidn=${prefix} \
                    --with-zlib=${prefix}

livecheck.type      regex
livecheck.url       ${homepage}
livecheck.regex     ${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}