# $Id: Portfile,v 1.2 2006/04/08 00:46:11 markd Exp $
PortSystem				1.0

name					transmission
version					0.5
categories				net
maintainers				amonre@amonre.org
description				Lightweight BitTorrent client

long_description	Transmission is a free, lightweight BitTorrent client. \
			It features a simple, intuitive interface on top on an \
			efficient, cross-platform back-end. Transmission is open \
			source (MIT license) and runs on Mac OS X (Cocoa interface), \
			Linux/NetBSD/FreeBSD/OpenBSD (GTK+ interface) and BeOS \
			(native interface).

homepage		http://transmission.m0k.org/

distname		Transmission-0.5

master_sites		http://download.m0k.org/transmission/files/
checksums		md5 07f737c837d25af7d14056edd4a81d49

depends_build		bin:jam:jam
depends_lib		port:gettext

configure.args		--disable-gtk --with-gettext=${prefix}/include
build.cmd		jam
build.target		all

destroot				{
	xinstall -c ${worksrcpath}/transmissioncli ${destroot}${prefix}/bin/transmissioncli
	
	set appPath ${destroot}/Applications/DarwinPorts
	file mkdir ${appPath}
	file copy ${worksrcpath}/Transmission.app ${appPath}
}

