# -*- 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 axel-download-accelerator axel 2.17.6 v
license {GPL-2+ OpenSSLException}
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.
github.tarball_from releases
# https://github.com/axel-download-accelerator/axel/issues/136
configure.cppflags-append -D_DARWIN_C_SOURCE
# Tiger needs a different workaround for the same issue
patchfiles patch-axel-tiger-no-posix-c-source.diff
checksums rmd160 9167c7d134b71f7b2d56b0ab200ad40c097d869b \
sha256 24ab549021bdfca01ad5e8e95b706869dd30fe9ab1043da4cbb9dff89edc267d \
depends_lib port:gettext \
path:lib/libssl.dylib:openssl
copy ${worksrcpath}/doc ${destroot}${prefix}/share/doc/${subport}