1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-02 01:20:54 +00:00

- Update to 1.9.2

PR:		146339
Submitted by:	Frederic Perrin <frederic.perrin@resel.fr>
This commit is contained in:
Martin Wilke 2010-05-09 11:22:32 +00:00
parent fe7ca9de1a
commit 76e56d7c76
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=254006
2 changed files with 33 additions and 18 deletions

View File

@ -6,44 +6,59 @@
#
PORTNAME= aria2
DISTVERSION= 1.5.0
DISTVERSION= 1.9.2
CATEGORIES= www
MASTER_SITES= SF/${PORTNAME}/stable/archives/${PORTNAME}-${PORTVERSION}
MASTER_SITES= SF/${PORTNAME}/stable/latest/
DISTNAME= ${PORTNAME}-${DISTVERSION}
MAINTAINER= miwi@FreeBSD.org
COMMENT= Yet another download tool
CONFIGURE_ARGS= --with-libintl-prefix=${LOCALBASE} --with-openssl \
--with-libxml2 --without-gnutls --without-libares \
--without-libcares --program-transform-name=""
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
USE_BZIP2= yes
USE_GNOME= gnomehack libxml2
USE_GETTEXT= yes
GNU_CONFIGURE= yes
MAKE_JOBS_SAFE= yes
.ifdef WITHOUT_NLS
CONFIGURE_ARGS+= --disable-nls
.else
LINGUAS= bg ca da de es en@boldquot en@quot el fi fr he hu id it ja nl nn pl pt_BR ru sv \
sk sr th tr uk vi zh_CN zh_TW
LINGUAS= bg ca da de el en@boldquot en@quot es fi fr he hu id it 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|}
${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
MAN1= aria2c.1
OPTIONS= SQLITE "Support for Firefox cookies" Off
.include <bsd.port.pre.mk>
.if defined(WITH_SQLITE)
CONFIGURE_ARGS+= --with-sqlite3
LIB_DEPENDS+= sqlite3:${PORTSDIR}/databases/sqlite3
.else
CONFIGURE_ARGS+= --without-sqlite3
.endif
.if ${OSVERSION} < 700000
BROKEN= Does not compile on FreeBSD 6.X
.endif
post-patch:
@${REINPLACE_CMD} -e '/^install-data-am:/s|install-dist_docDATA||'\
${WRKSRC}/Makefile.in ${WRKSRC}/doc/Makefile.in
post-configure:
@${REINPLACE_CMD} -e '/SETMODE/d' ${WRKSRC}/config.h
.include <bsd.port.post.mk>

View File

@ -1,3 +1,3 @@
MD5 (aria2-1.5.0.tar.bz2) = dea3acf0d9dc860151e9058420b80299
SHA256 (aria2-1.5.0.tar.bz2) = 19b5787fad05641fa9ac8239da6587f32ec7b53d4d99ac9677154c637ddefc47
SIZE (aria2-1.5.0.tar.bz2) = 1290587
MD5 (aria2-1.9.2.tar.bz2) = 70ba78851ea62d2f694fb65160d884ad
SHA256 (aria2-1.9.2.tar.bz2) = 55badcb348804fb39db6082e29270cd29a59d090cef77570bf4909c2dc911371
SIZE (aria2-1.9.2.tar.bz2) = 1440547