# $Id: Portfile,v 1.1 2005/12/13 16:47:58 mww Exp $

PortSystem 1.0

name			gloox
version			0.7.3
categories		net devel
platforms		darwin
maintainers		darwinports@opendarwin.org
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/
checksums		md5 ed8ab0f82bcd51ab889a9aad49ffec49
use_bzip2		yes

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

configure.args	--with-gnutls=${prefix} --with-zlib=${prefix} \
				--with-libidn=${prefix}
configure.env	CFLAGS=-I${prefix}/include CPPFLAGS=-I${prefix}/include \
				LDFLAGS=-L${prefix}/lib

platform darwin 8 {
	configure.env-append CC=/usr/bin/gcc-4.0 CPP=/usr/bin/cpp-4.0 CXX=/usr/bin/g++-4.0
}

