# $Id: Portfile,v 1.1 2006/06/18 17:11:04 mww Exp $

PortSystem 1.0

name			aria2
version			0.5.1
categories		net
platforms		darwin
maintainers		mww@opendarwin.org
description		download utility with resuming and segmented downloading
long_description	aria2 is a download utility with resuming and segmented \
			downloading. Supported protocols are HTTP/HTTPS/FTP/BitTorrent.

homepage		http://aria2.sourceforge.net/
master_sites	sourceforge
checksums		sha1 4c255b0ed130f5ea880f0aa061c3da0487e251cc
use_bzip2		yes

depends_lib		port:gettext port:libiconv port:gnutls

configure.args	--with-gnutls --with-gnutls-prefix=${prefix} \
				--with-libiconv-prefix=${prefix} \
				--with-libintl-prefix=${prefix}

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

