aboutsummaryrefslogtreecommitdiff
path: root/www/aria2
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2010-05-09 11:22:32 +0000
committerMartin Wilke <miwi@FreeBSD.org>2010-05-09 11:22:32 +0000
commit76e56d7c767cd7bbebf78d8fdf059eae8a5a70d5 (patch)
treeb3afce91651b7494c6bcac7f66a4f0630e94186d /www/aria2
parentfe7ca9de1a7da46843a689a1e9189003b25c470e (diff)
downloadports-76e56d7c767cd7bbebf78d8fdf059eae8a5a70d5.tar.gz
ports-76e56d7c767cd7bbebf78d8fdf059eae8a5a70d5.zip
Notes
Diffstat (limited to 'www/aria2')
-rw-r--r--www/aria2/Makefile45
-rw-r--r--www/aria2/distinfo6
2 files changed, 33 insertions, 18 deletions
diff --git a/www/aria2/Makefile b/www/aria2/Makefile
index 5d95f7f43119..6f068e09cc51 100644
--- a/www/aria2/Makefile
+++ b/www/aria2/Makefile
@@ -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>
diff --git a/www/aria2/distinfo b/www/aria2/distinfo
index f0d5d54e4278..e49bfd193693 100644
--- a/www/aria2/distinfo
+++ b/www/aria2/distinfo
@@ -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