View | Details | Raw Unified | Return to bug 254559
Collapse All | Expand All

(-)b/www/aria2/Makefile (-26 / +38 lines)
Lines 2-8 Link Here
2
# $FreeBSD$
2
# $FreeBSD$
3
3
4
PORTNAME=	aria2
4
PORTNAME=	aria2
5
PORTVERSION=	1.35.0
5
DISTVERSION=	1.35.0
6
PORTREVISION=	1
6
CATEGORIES=	www
7
CATEGORIES=	www
7
MASTER_SITES=	https://github.com/${PORTNAME}/${PORTNAME}/releases/download/release-${PORTVERSION}/ \
8
MASTER_SITES=	https://github.com/${PORTNAME}/${PORTNAME}/releases/download/release-${PORTVERSION}/ \
8
		LOCAL/sunpoet
9
		LOCAL/sunpoet
Lines 13-58 COMMENT= Yet another download tool Link Here
13
LICENSE=	GPLv2
14
LICENSE=	GPLv2
14
LICENSE_FILE=	${WRKSRC}/COPYING
15
LICENSE_FILE=	${WRKSRC}/COPYING
15
16
16
OPTIONS_DEFINE=	CA_BUNDLE CARES DOCS NLS SQLITE SSH2
17
LIB_DEPENDS=	libexpat.so:textproc/expat2
17
OPTIONS_DEFAULT=CA_BUNDLE SQLITE
18
OPTIONS_SUB=	yes
19
CA_BUNDLE_DESC=	Use CA bundle from Mozilla Project
20
SSH2_DESC=	SSH2 protocol support
21
18
22
CONFIGURE_ARGS=	--disable-epoll --enable-bittorrent --enable-libaria2 \
19
USES=		compiler:c++11-lib libtool pathfix pkgconfig ssl tar:xz
23
		--enable-metalink --enable-shared --enable-ssl --enable-static \
24
		--enable-threads=posix --enable-websocket \
25
		--with-disk-cache=${ARIA2_DISK_CACHE} \
26
		--with-libxml2 --with-libz --with-openssl \
27
		--without-appletls --without-gnutls \
28
		--without-libexpat --without-libgcrypt --without-libgmp \
29
		--without-libnettle --without-libuv
30
CONFIGURE_ENV=	OPENSSL_CFLAGS=-I${OPENSSLINC} \
31
		OPENSSL_LIBS="-L${OPENSSLLIB} -lcrypto -lssl" \
32
		ac_cv_path_RST2HTML=no
33
GNU_CONFIGURE=	yes
20
GNU_CONFIGURE=	yes
34
INSTALL_TARGET=	install-strip
35
USE_CXXSTD=	c++11
36
USE_GNOME=	libxml2
37
USE_LDCONFIG=	yes
21
USE_LDCONFIG=	yes
38
USE_RC_SUBR=	${PORTNAME}
22
USE_RC_SUBR=	${PORTNAME}
39
USES=		compiler:c++11-lib gnome libtool pathfix pkgconfig ssl tar:xz
23
24
INSTALL_TARGET=	install-strip
25
26
CONFIGURE_ARGS=	--enable-bittorrent --enable-libaria2 \
27
		--enable-metalink --enable-ssl --enable-websocket \
28
		--without-gnutls --without-libgcrypt --without-libgmp \
29
		--without-libnettle --without-libxml2 \
30
		--with-disk-cache=${ARIA2_DISK_CACHE}
31
32
CONFIGURE_ENV=	OPENSSL_CFLAGS=-I${OPENSSLINC} \
33
		OPENSSL_LIBS="-L${OPENSSLLIB} -lcrypto -lssl" \
34
		ac_cv_path_RST2HTML=no
35
36
OPTIONS_DEFINE=	CA_BUNDLE CARES DOCS LIBUV NLS SQLITE SSH2 STATIC
37
OPTIONS_DEFAULT=CA_BUNDLE SQLITE
38
OPTIONS_SUB=	yes
39
40
CA_BUNDLE_DESC=	Use CA bundle from Mozilla Project
41
SSH2_DESC=	SSH2 protocol support
42
LIBUV_DESC=	Asynchronous I/O support via libuv
40
43
41
PORTDOCS=	*
44
PORTDOCS=	*
42
45
43
CA_BUNDLE_CONFIGURE_OFF=--without-ca-bundle
46
CA_BUNDLE_CONFIGURE_OFF=--without-ca-bundle
44
CA_BUNDLE_CONFIGURE_ON=	--with-ca-bundle=${LOCALBASE}/share/certs/ca-root-nss.crt
47
CA_BUNDLE_CONFIGURE_ON=	--with-ca-bundle=${LOCALBASE}/share/certs/ca-root-nss.crt
45
CA_BUNDLE_RUN_DEPENDS=	${LOCALBASE}/share/certs/ca-root-nss.crt:security/ca_root_nss
48
CA_BUNDLE_RUN_DEPENDS=	${LOCALBASE}/share/certs/ca-root-nss.crt:security/ca_root_nss
46
CARES_CONFIGURE_WITH=	libcares
49
47
CARES_LIB_DEPENDS=	libcares.so:dns/c-ares
50
CARES_LIB_DEPENDS=	libcares.so:dns/c-ares
51
CARES_CONFIGURE_WITH=	libcares
52
53
LIBUV_LIB_DEPENDS=	libuv.so:devel/libuv
54
LIBUV_CONFIGURE_WITH=	libuv
55
56
NLS_USES=		gettext localbase
57
NLS_LDFLAGS=		-lintl
48
NLS_CONFIGURE_OFF=	--disable-nls --without-libintl-prefix
58
NLS_CONFIGURE_OFF=	--disable-nls --without-libintl-prefix
49
NLS_CONFIGURE_ON=	--with-libintl-prefix=${LOCALBASE}
59
NLS_CONFIGURE_ON=	--with-libintl-prefix=${LOCALBASE}
50
NLS_LDFLAGS=		-lintl
60
51
NLS_USES=		gettext localbase
52
SQLITE_CONFIGURE_WITH=	sqlite3
53
SQLITE_USES=		sqlite
61
SQLITE_USES=		sqlite
54
SSH2_CONFIGURE_WITH=	libssh2
62
SQLITE_CONFIGURE_WITH=	sqlite3
63
55
SSH2_LIB_DEPENDS=	libssh2.so:security/libssh2
64
SSH2_LIB_DEPENDS=	libssh2.so:security/libssh2
65
SSH2_CONFIGURE_WITH=	libssh2
66
67
STATIC_CONFIGURE_ENABLE=static
56
68
57
ARIA2_DISK_CACHE?=	16M
69
ARIA2_DISK_CACHE?=	16M
58
70
(-)b/www/aria2/pkg-plist (-1 / +1 lines)
Lines 1-7 Link Here
1
bin/aria2c
1
bin/aria2c
2
etc/bash_completion.d/aria2c
2
etc/bash_completion.d/aria2c
3
include/aria2/aria2.h
3
include/aria2/aria2.h
4
lib/libaria2.a
4
%%STATIC%%lib/libaria2.a
5
lib/libaria2.so
5
lib/libaria2.so
6
lib/libaria2.so.0
6
lib/libaria2.so.0
7
lib/libaria2.so.0.0.0
7
lib/libaria2.so.0.0.0

Return to bug 254559