2006-05-01 16:39:52 +00:00
|
|
|
# New ports collection makefile for: aria2
|
|
|
|
# Date created: 1 May 2006
|
2006-05-08 21:41:11 +00:00
|
|
|
# Whom: Andrew Pantyukhin <infofarmer@FreeBSD.org>
|
2006-05-01 16:39:52 +00:00
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= aria2
|
2010-06-05 17:06:45 +00:00
|
|
|
PORTVERSION= 1.9.4
|
2006-05-01 16:39:52 +00:00
|
|
|
CATEGORIES= www
|
2010-05-10 02:08:50 +00:00
|
|
|
MASTER_SITES= SF/${PORTNAME}/stable/${PORTNAME}-${PORTVERSION}
|
2006-05-01 16:39:52 +00:00
|
|
|
|
2008-09-07 11:16:37 +00:00
|
|
|
MAINTAINER= miwi@FreeBSD.org
|
2006-05-01 16:39:52 +00:00
|
|
|
COMMENT= Yet another download tool
|
|
|
|
|
2010-05-09 11:22:32 +00:00
|
|
|
CONFIGURE_ARGS= --with-libintl-prefix=${LOCALBASE} --with-libxml2 \
|
|
|
|
--without-gnutls --with-openssl --with-openssl-prefix=/usr \
|
|
|
|
--without-libcares --with-libz --enable-bittorrent \
|
|
|
|
--enable-metalink --disable-epoll --enable-threads=pth
|
2006-05-01 16:39:52 +00:00
|
|
|
|
|
|
|
USE_BZIP2= yes
|
2006-07-05 06:58:58 +00:00
|
|
|
USE_GNOME= gnomehack libxml2
|
2006-05-01 16:39:52 +00:00
|
|
|
USE_GETTEXT= yes
|
|
|
|
GNU_CONFIGURE= yes
|
2009-03-25 15:04:08 +00:00
|
|
|
MAKE_JOBS_SAFE= yes
|
2010-05-09 11:22:32 +00:00
|
|
|
|
2007-12-14 20:15:35 +00:00
|
|
|
.ifdef WITHOUT_NLS
|
|
|
|
CONFIGURE_ARGS+= --disable-nls
|
|
|
|
.else
|
2010-06-05 17:06:45 +00:00
|
|
|
LINGUAS= bg ca da de el en@boldquot en@quot es fi fr he hu id it ko ja \
|
2010-05-09 11:22:32 +00:00
|
|
|
nl nn pl pt pt_BR ru sk sr sv th tr uk vi zh_CN zh_TW
|
2007-12-14 20:15:35 +00:00
|
|
|
.endif
|
2010-05-09 11:22:32 +00:00
|
|
|
|
2006-05-27 09:22:57 +00:00
|
|
|
PLIST_FILES= bin/aria2c \
|
2010-05-09 11:22:32 +00:00
|
|
|
${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/xmlrpc/aria2mon \
|
|
|
|
share/doc/aria2/xmlrpc/aria2rpc \
|
|
|
|
share/doc/aria2/xmlrpc/README.txt
|
|
|
|
|
|
|
|
PLIST_DIRS= share/doc/aria2/xmlrpc \
|
|
|
|
share/doc/aria2
|
|
|
|
|
2006-10-01 16:34:17 +00:00
|
|
|
MAN1= aria2c.1
|
2006-05-27 09:22:57 +00:00
|
|
|
|
2010-05-09 11:22:32 +00:00
|
|
|
OPTIONS= SQLITE "Support for Firefox cookies" Off
|
|
|
|
|
2008-10-24 12:40:11 +00:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2010-05-09 11:22:32 +00:00
|
|
|
.if defined(WITH_SQLITE)
|
|
|
|
CONFIGURE_ARGS+= --with-sqlite3
|
|
|
|
LIB_DEPENDS+= sqlite3:${PORTSDIR}/databases/sqlite3
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --without-sqlite3
|
|
|
|
.endif
|
|
|
|
|
2008-10-24 12:40:11 +00:00
|
|
|
.if ${OSVERSION} < 700000
|
|
|
|
BROKEN= Does not compile on FreeBSD 6.X
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|