Ticket #45134: Portfile

File Portfile, 1.3 KB (added by lkraider (Paul Eipper), 9 years ago)

axel-2.5 Portfile

Line 
1# $Id: Portfile 125659 2014-09-23 19:26:51Z ryandesign@macports.org $
2
3PortSystem 1.0
4
5name            axel
6version         2.5
7categories      net www
8platforms       darwin
9license         GPL-2+
10maintainers     nomaintainer
11description     A light Unix download accelerator
12long_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
17master_sites    https://github.com/eribertomota/axel/archive/
18distfiles   2.5.tar.gz
19homepage        http://axel.alioth.debian.org/
20checksums       rmd160  083b8ea057a483decb36d6a3231472fab23ad728 \
21                sha256  02376767e7f9e6c4292333e69ad0f615f62be5df176a8daaee395f25b0ab1a83
22
23depends_lib     port:libiconv port:gettext
24
25configure.args  --i18n=1 --etcdir=${prefix}/etc
26configure.universal_args-delete --disable-dependency-tracking
27if {[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}