# $Id: Portfile 82553 2011-08-15 19:22:39Z jmr@macports.org $

PortSystem 1.0

name	 	GTorrentViewer
version	   	0.2b
revision	2
platforms	darwin
categories	net x11
maintainers	jmpp openmaintainer

description	GTK2 based viewer for .torrent files.
long_description	GTorrentViewer is a GTK2-based viewer/editor for BitTorrent \
			meta files for UNIX like operating systems. It gathers information \
			from trackers, checks files, shows detailed information about \
			.torrents and even modifies some of it.

homepage	http://gtorrentviewer.sourceforge.net/
master_sites	sourceforge:gtorrentviewer
checksums	md5 c29058a09f26693863404ecdb2580770

depends_build	port:pkgconfig
depends_lib 	lib:libgtk.2:gtk2 \
		port:curl \
		port:p5.12-xml-parser

configure.args	--mandir=${prefix}/share/man --with-curl-config=${prefix}/bin \
		--disable-gtktest

build.type	gnu
build.args	LDFLAGS="-bind_at_load"
