freebsd-ports/www/aria2/Makefile
Sunpoet Po-Chuan Hsieh 16bf270058 - Use openssl and zlib from base system by default
- Use variable name in English
- Bump PORTREVISION for dependency change

Submitted by:	sunpoet (myself)
Approved by:	miwi (maintainer)
2012-05-29 16:00:25 +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
PORTREVISION= 1
CATEGORIES= www
MASTER_SITES= SF/${PORTNAME}/stable/${PORTNAME}-${PORTVERSION}
MAINTAINER= miwi@FreeBSD.org
COMMENT= Yet another download tool
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
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
CONFIGURE_ENV= OPENSSL_CFLAGS=-I${OPENSSLINC} OPENSSL_LIBS="-L${OPENSSLLIB} -lssl" \
ZLIB_CFLAGS=-I${INCLUDEDIR} ZLIB_LIBS="-L${LIBDIR} -lz"
USE_BZIP2= yes
USE_GNOME= gnomehack libxml2
USE_GETTEXT= yes
GNU_CONFIGURE= yes
USE_OPENSSL= yes
MAKE_JOBS_SAFE= yes
.ifdef WITHOUT_NLS
CONFIGURE_ARGS+= --disable-nls
.else
LANGS= 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 \
${LANGS: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>