# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
github.setup aria2 aria2 1.33.1 release-
github.tarball_from releases
maintainers {mps @Schamschula}
license {GPL-2+ OpenSSLException}
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.
checksums rmd160 0cd40f58a09530b6ea679eaabdd61a29e2a5ec81 \
sha256 2539e4844f55a1f1f5c46ad42744335266053a69162e964d9a2d80a362c75e1b
depends_build-append port:pkgconfig
depends_lib-append port:gettext port:libiconv port:gnutls port:libxml2
# use_* must be defined after depends_*, otherwise the automatic dependencies
# Alternatively, depends_*-append could be used.
configure.cxxflags-append -I${prefix}/include/libxml2
configure.ldflags-append -lintl
configure.args --with-gnutls --with-libgnutls-prefix=${prefix} \
--with-libiconv-prefix=${prefix} \
--with-libintl-prefix=${prefix} \
--with-xml-prefix=${prefix} \
# appletls not available on 10.6 or earlier
if {${os.platform} eq "darwin" && ${os.major} <= 10} {
configure.args-append "--without-appletls"