aboutsummaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2013-11-15 11:03:50 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2013-11-15 11:03:50 +0000
commit15b80885e152e0939204a6d4b02842277710a831 (patch)
treed27c4bba4b8407c1bec989752f2687523d95b00f /www
parent4e02d831538c6f179c0e36775fb0dc4f68b91ba7 (diff)
downloadports-15b80885e152e0939204a6d4b02842277710a831.tar.gz
ports-15b80885e152e0939204a6d4b02842277710a831.zip
Notes
Diffstat (limited to 'www')
-rw-r--r--www/aria2/Makefile12
-rw-r--r--www/aria2/distinfo4
2 files changed, 10 insertions, 6 deletions
diff --git a/www/aria2/Makefile b/www/aria2/Makefile
index 5f96bc0c8601..60002b5fedb2 100644
--- a/www/aria2/Makefile
+++ b/www/aria2/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= aria2
-PORTVERSION= 1.17.1
+PORTVERSION= 1.18.1
CATEGORIES= www
MASTER_SITES= SF/${PORTNAME}/stable/${PORTNAME}-${PORTVERSION}
@@ -17,18 +17,20 @@ OPTIONS_SUB= yes
CA_BUNDLE_DESC= Use CA bundle from Mozilla Project
CONFIGURE_ARGS= --disable-epoll --enable-bittorrent --enable-metalink \
- --enable-shared --enable-threads=posix --with-libz \
- --with-libxml2 --with-openssl --without-gnutls \
+ --enable-shared --enable-threads=posix \
+ --with-disk-cache=${ARIA2_DISK_CACHE} \
+ --with-libxml2 --with-libz --with-openssl --without-gnutls \
--without-libcares --without-libexpat --without-libgcrypt \
--without-libgmp --without-libnettle
CONFIGURE_ENV= OPENSSL_CFLAGS=-I${OPENSSLINC} OPENSSL_LIBS="-L${OPENSSLLIB} -lssl" \
ZLIB_CFLAGS=-I${INCLUDEDIR} ZLIB_LIBS="-L${LIBDIR} -lz" \
ac_cv_path_RST2HTML=no
GNU_CONFIGURE= yes
+USE_CXXSTD= c++11
USE_GNOME= libxml2
USE_OPENSSL= yes
USE_XZ= yes
-USES= pathfix pkgconfig
+USES= compiler:c++11-lang pathfix pkgconfig
CA_BUNDLE_CONFIGURE_OFF=--without-ca-bundle
CA_BUNDLE_CONFIGURE_ON= --with-ca-bundle=${LOCALBASE}/share/certs/ca-root-nss.crt
@@ -40,6 +42,8 @@ SQLITE_CONFIGURE_OFF= --without-sqlite3
SQLITE_CONFIGURE_ON= --with-sqlite3
SQLITE_USE= SQLITE=yes
+ARIA2_DISK_CACHE?= 16M
+
.include <bsd.port.pre.mk>
.if ${ARCH} == "powerpc" && ${OSVERSION} > 900000
diff --git a/www/aria2/distinfo b/www/aria2/distinfo
index f7db8b03fda0..4e89da5cd5eb 100644
--- a/www/aria2/distinfo
+++ b/www/aria2/distinfo
@@ -1,2 +1,2 @@
-SHA256 (aria2-1.17.1.tar.xz) = 7e18cf15afa17cf725c2ab4338751bc165e33d41917a4af9927da0855298efc0
-SIZE (aria2-1.17.1.tar.xz) = 1450440
+SHA256 (aria2-1.18.1.tar.xz) = 14179cec7d476204faa52c4220fd8332a1036edd2c16fa3a9a29fd5d8b763968
+SIZE (aria2-1.18.1.tar.xz) = 1326632