summaryrefslogtreecommitdiff
path: root/net/aria2/Makefile
diff options
context:
space:
mode:
authorbjs <bjs@pkgsrc.org>2007-10-17 09:42:39 +0000
committerbjs <bjs@pkgsrc.org>2007-10-17 09:42:39 +0000
commit0ca60cabd32e7d012fb25121ffc38cdd73afdb66 (patch)
tree2f2cbb928880b53f4cdf980fe79f71f403454c29 /net/aria2/Makefile
parent0dfd5c224490dc1d2d379f8672206be3b9e7c6c0 (diff)
downloadpkgsrc-0ca60cabd32e7d012fb25121ffc38cdd73afdb66.tar.gz
Import aria2 0.11.3 (patched to stable-0.11 branch).
aria2 is a download utility with resuming and segmented downloading. Supported protocols are HTTP/HTTPS/FTP/BitTorrent; it also supports MetaLink 3.0. Some of its features: * Command-line interface * Download files through HTTP/HTTPS/FTP/BitTorrent * HTTP Proxy support * FTP through HTTP Proxy * HTTP BASIC authentication support * HTTP Proxy authentication support * Segmented downloading * Download speed throttling * Upload speed throttling in BitTorrent * Cookie support * Load Cookies from file whose format is one used by Netscape and Mozilla. * Run as a daemon process. * Selective download in multi-file torrent/metalink * BitTorrent Fast extension support * Multi-tracker support * Metalink version 3.0 support(HTTP/FTP/BitTorrent) * Chunk checksum validation in Metalink * Can disable segmented downloading in Metalink * netrc support * Configuration file support * Download URIs found in a text file or stdin * Parameterized URI support
Diffstat (limited to 'net/aria2/Makefile')
-rw-r--r--net/aria2/Makefile41
1 files changed, 41 insertions, 0 deletions
diff --git a/net/aria2/Makefile b/net/aria2/Makefile
new file mode 100644
index 00000000000..81bc99d51bf
--- /dev/null
+++ b/net/aria2/Makefile
@@ -0,0 +1,41 @@
+# $NetBSD: Makefile,v 1.1.1.1 2007/10/17 09:42:39 bjs Exp $
+#
+
+DISTNAME= aria2-0.11.3
+PKGREVISION= 2
+CATEGORIES= net
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=aria2/}
+EXTRACT_SUFX= .tar.bz2
+
+MAINTAINER= bjs@NetBSD.org
+HOMEPAGE= http://aria2.sourceforge.net/
+COMMENT= Multithreaded download accelerator
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+GNU_CONFIGURE= yes
+USE_LIBTOOL= yes
+USE_PKGLOCALEDIR= yes
+USE_LANGUAGES= c c++
+
+CONFIGURE_ARGS+= --enable-bittorrent
+CONFIGURE_ARGS+= --with-included-gettext=no
+
+TEST_TARGET= check
+
+.include "options.mk"
+
+.include "../../mk/compiler.mk"
+
+.if !empty(PKGSRC_RUN_TEST:M[Yy][Ee][Ss])
+BUILDLINK_DEPMETHOD.cppunit?= build
+. include "../../devel/cppunit/buildlink3.mk"
+.else
+CONFIGURE_ARGS+= --disable-xmltest
+.endif
+
+.include "../../converters/libiconv/buildlink3.mk"
+.include "../../devel/gettext-lib/buildlink3.mk"
+.include "../../devel/libgetopt/buildlink3.mk"
+
+.include "../../mk/bsd.pkg.mk"