# -*- 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
# $Id: Portfile 118288 2014-03-28 22:14:18Z ryandesign@macports.org $

PortSystem          1.0

name                gloox
version             1.0
revision            2
categories          net devel
platforms           darwin
maintainers         nomaintainer
license             {GPL-2 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           md5     f8eacf1c6476e0a309b453fd04f90e31 \
                    sha1    8c788738f72b05fae7c05c744a67859419ffa09c \
                    rmd160  92089462ed778fb41bf97d882fc1785b8e82233f

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}

configure.cflags-append -I${prefix}/include

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