# $Id: Portfile 38309 2008-07-15 09:06:17Z rhwood@macports.org $

PortSystem 1.0

name		gtk-gnutella
version		0.96.5
categories	net
maintainers	nomaintainer
description	GTK-based Gnutella client
homepage	http://gtk-gnutella.sourceforge.net/
platforms	darwin

long_description GTK-Gnutella is a Gnutella client that features search, \
		 download, file sharing, bandwidth limiting, host caching, \
		 and some basic statistics.

master_sites	sourceforge

checksums	md5 539fbdf65c6038d1da2e5cebede52e43 \
		sha1 80589a24322f509ed1c2494a1b5ce08951c7e216 \
		rmd160 1f7b58b45955d940e19284110ad78bb6410cd3c6

use_bzip2	yes

depends_lib	port:libxml2 port:gtk2

depends_build	bin:gawk:gawk

configure.cppflags-append -no-cpp-precomp

configure.args	-Oders \
		-D prefix=${prefix} \
		-D official=true \
		-D ccflags='-I${prefix}/include' \
		-D sysman=${prefix}/share/man \
		-D libpth="${prefix}/lib /usr/lib" \
		-D remotectrl=true -D gtkversion=2

configure.pre_args-delete	--prefix=${prefix}

destroot.destdir	INSTALL_PREFIX=${destroot}
