openbsd-ports/www/aria2/Makefile
gonzalo 4303cc5674 Update for Aria to 1.16.1
* Save gid option with --save-session option
 * Added --gid option
 * Use 64 bits random bytes as GID
 * Fixed BitfieldMan::getOffsetCompletedLength overflow on 32-bit systems
 * Changed console readout, making it more compact
 * Compact readout when more than 1 simultaneous downloads are going on
 * Console color output
 * Logger: Simplified console output and change level format in log

Ok benoit@
2013-01-15 19:02:58 +00:00

46 lines
1010 B
Makefile

# $OpenBSD: Makefile,v 1.21 2013/01/15 19:02:58 gonzalo Exp $
COMMENT = lightweight multi-protocol & multi-source download utility
DISTNAME = aria2-1.16.1
CATEGORIES = www
HOMEPAGE = http://aria2.sourceforge.net/
MAINTAINER = Gonzalo L. R. <gonzalo@openbsd.org>
# GPLv2
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM =Yes
PERMIT_DISTFILES_FTP = Yes
MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=aria2/}
MODULES = devel/gettext
LIB_DEPENDS = net/libcares
REGRESS_DEPENDS += devel/cppunit
WANTLIB += c cares crypto expat m sqlite3 ssl stdc++ z
CONFIGURE_STYLE = gnu
CONFIGURE_ENV = CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
CONFIGURE_ARGS += --with-sqlite3 \
--with-openssl \
--without-gnutls \
--with-libz \
--with-libcares \
--with-libexpat \
--without-libxml2
# Prevent gcc 4.2.1 from running out of memory.
.if ${MACHINE_ARCH:Mmips64*}
CFLAGS += -O0
.endif
REGRESS_FLAGS += LDFLAGS="-lcppunit"
.include <bsd.port.mk>