# -*- 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.16.1 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 dd67b14c59d49caf42e50132078b38e64bace99f \
sha256 d34094eb63eaebc989f96eabdda091dcfb28e840bb8d274a5f216775941f59e4 \
depends_lib port:gettext \
path:lib/libssl.dylib:openssl
copy ${worksrcpath}/doc ${destroot}${prefix}/share/doc/${subport}