# -*- 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.35.0 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 9264f00160eca215a709ad442fd14316457a2e66 \
sha256 1e2b7fd08d6af228856e51c07173cfcf987528f1ac97e04c5af4a47642617dfd \
depends_build-append port:pkgconfig
depends_lib-append port:gettext \
# 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-libiconv-prefix=${prefix} \
--with-libintl-prefix=${prefix} \
--with-xml-prefix=${prefix} \
if {![variant_isset gnutls]} {
configure.cxxflags-append -std=c++14
compiler.blacklist-append {clang < 800.0.38}
variant cares description {Add c-ares support} {
configure.args-replace --without-libcares --with-libcares
depends_lib-append port:c-ares
variant gnutls conflicts openssl description {Use GNU TLS instead of Apple built-in TLS library} {
configure.args-append --without-appletls \
--with-libgnutls-prefix=${prefix}
depends_lib-append port:gnutls
variant openssl conflicts gnutls description {Use OpenSSL instead of Apple built-in TLS library} {
configure.args-append --without-appletls \