1 | # $Id: Portfile 125659 2014-09-23 19:26:51Z ryandesign@macports.org $ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | |
---|
5 | name axel |
---|
6 | version 2.5 |
---|
7 | categories net www |
---|
8 | platforms darwin |
---|
9 | license GPL-2+ |
---|
10 | maintainers nomaintainer |
---|
11 | description A light Unix download accelerator |
---|
12 | long_description Axel does the same thing any other accelerator does: \ |
---|
13 | it opens more than one HTTP/FTP connection per download and \ |
---|
14 | each connection transfers its own, separate, part of the file. \ |
---|
15 | It may sound weird, but it works very well in practice. |
---|
16 | |
---|
17 | master_sites https://github.com/eribertomota/axel/archive/ |
---|
18 | distfiles 2.5.tar.gz |
---|
19 | homepage http://axel.alioth.debian.org/ |
---|
20 | checksums rmd160 083b8ea057a483decb36d6a3231472fab23ad728 \ |
---|
21 | sha256 02376767e7f9e6c4292333e69ad0f615f62be5df176a8daaee395f25b0ab1a83 |
---|
22 | |
---|
23 | depends_lib port:libiconv port:gettext |
---|
24 | |
---|
25 | configure.args --i18n=1 --etcdir=${prefix}/etc |
---|
26 | configure.universal_args-delete --disable-dependency-tracking |
---|
27 | if {[variant_isset universal]} { |
---|
28 | build.args CFLAGS="${configure.cflags} ${configure.universal_cflags} ${configure.cppflags}" \ |
---|
29 | LFLAGS="${configure.ldflags} ${configure.universal_ldflags} -lintl -liconv" |
---|
30 | } else { |
---|
31 | build.args CFLAGS="${configure.cflags} ${configure.cc_archflags} ${configure.cppflags}" \ |
---|
32 | LFLAGS="${configure.ldflags} -lintl -liconv" |
---|
33 | } |
---|