freebsd-ports/www/aria2/Makefile
Martin Wilke 295d6821f6 - Update to 1.15.0
PR:		168102
Submitted by:	Muhammad Moinur Rahman <5u623l20@gmail.com>
2012-05-22 09:23:35 +00:00

79 lines
2 KiB
Makefile

# New ports collection makefile for: aria2
# Date created: 1 May 2006
# Whom: Andrew Pantyukhin <infofarmer@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= aria2
PORTVERSION= 1.15.0
CATEGORIES= www
MASTER_SITES= SF/${PORTNAME}/stable/${PORTNAME}-${PORTVERSION}
MAINTAINER= miwi@FreeBSD.org
COMMENT= Yet another download tool
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= z.1:${PORTSDIR}/archivers/zlib
CONFIGURE_ARGS= --with-libintl-prefix=${LOCALBASE} --with-libxml2 \
--without-gnutls --with-openssl \
--without-libcares --with-libz --enable-bittorrent \
--enable-metalink --disable-epoll --enable-threads=pth
USE_BZIP2= yes
USE_GNOME= gnomehack libxml2
USE_GETTEXT= yes
GNU_CONFIGURE= yes
USE_OPENSSL= yes
WITH_OPENSSL_PORT= yes
MAKE_JOBS_SAFE= yes
.ifdef WITHOUT_NLS
CONFIGURE_ARGS+= --disable-nls
.else
LINGUAS= ar bg ca da de el en@boldquot en@quot es fi fr he hu id it ko ja \
nl nn pl pt pt_BR ru sk sr sv th tr uk vi zh_CN zh_TW
.endif
PLIST_FILES= bin/aria2c \
${LINGUAS:S|^|share/locale/|:S|$|/LC_MESSAGES/aria2.mo|} \
share/doc/aria2/README \
share/doc/aria2/README.html \
share/doc/aria2/aria2c.1.html \
share/doc/aria2/aria2c.1.asciidoc \
share/doc/aria2/README.asciidoc \
share/doc/aria2/bash_completion/README.txt \
share/doc/aria2/bash_completion/aria2c \
share/doc/aria2/xmlrpc/aria2mon \
share/doc/aria2/xmlrpc/aria2rpc \
share/doc/aria2/xmlrpc/README.txt \
share/doc/aria2/ru/aria2c.1.html \
share/doc/aria2/ru/aria2c.1.asciidoc
PLIST_DIRS= share/doc/aria2/bash_completion \
share/doc/aria2/xmlrpc \
share/doc/aria2/ru \
share/doc/aria2
MANLANG= "" ru
MAN1= aria2c.1
OPTIONS= SQLITE "Support for Firefox cookies" Off
.include <bsd.port.pre.mk>
.if ${ARCH} == "powerpc" && ${OSVERSION} > 900000
BROKEN= Does not install on powerpc-9
.endif
.if defined(WITH_SQLITE)
CONFIGURE_ARGS+= --with-sqlite3
LIB_DEPENDS+= sqlite3:${PORTSDIR}/databases/sqlite3
.else
CONFIGURE_ARGS+= --without-sqlite3
.endif
.include <bsd.port.post.mk>