openbsd-ports/www/aria2/Makefile
gonzalo 2996627c9b Update for Aria2 to 1.15.1 with some changes:
* Updated manuals.
* Fixed memory leak.
* Updated templates.
* Return appropriate HTTP status code on RPC failure.

And others, tested on i386.

Ok rpointel@ (maintainer) aja@
2012-07-02 13:13:51 +00:00

47 lines
1018 B
Makefile

# $OpenBSD: Makefile,v 1.18 2012/07/02 13:13:51 gonzalo Exp $
COMMENT = lightweight multi-protocol & multi-source download utility
DISTNAME = aria2-1.15.1
CATEGORIES = www
HOMEPAGE = http://aria2.sourceforge.net/
MAINTAINER = Remi Pointel <rpointel@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 += crypto expat ssl cares \
sqlite3 c m 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>