From 0ca60cabd32e7d012fb25121ffc38cdd73afdb66 Mon Sep 17 00:00:00 2001 From: bjs Date: Wed, 17 Oct 2007 09:42:39 +0000 Subject: 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 --- net/aria2/Makefile | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 net/aria2/Makefile (limited to 'net/aria2/Makefile') 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" -- cgit v1.2.3