# $Id: Portfile 108324 2013-07-19 15:06:38Z ciserlohn@macports.org $

PortSystem 1.0

name		axel
version		2.4
categories	net www
platforms	darwin
license         GPL-2
maintainers	nomaintainer
description	A light Unix download accelerator
long_description Axel does the same thing any other accelerator does: \
		it opens more than one HTTP/FTP connection per download and \
		each connection transfers its own, separate, part of the file. \
		It may sound weird, but it works very well in practice.

master_sites	http://alioth.debian.org/frs/download.php/file/3016
homepage	http://axel.alioth.debian.org/
checksums       rmd160  34fc9f951495904a44ed9649f88abae9c2840060 \
                sha256  ebc7d40e989c680d2afa632a17e5208101608924cf446da20814a6f3c3338612

use_bzip2       yes

depends_lib	port:libiconv port:gettext

configure.args	--i18n=1
configure.universal_args-delete --disable-dependency-tracking
if {[variant_isset universal]} {
    build.args	CFLAGS="${configure.cflags} ${configure.universal_cflags} ${configure.cppflags}" \
		LFLAGS="${configure.ldflags} ${configure.universal_ldflags} -lintl -liconv"
} else {
    build.args	CFLAGS="${configure.cflags} ${configure.cc_archflags} ${configure.cppflags}" \
		LFLAGS="${configure.ldflags} -lintl -liconv"
}
