Lines 6-49
Link Here
|
6 |
# |
6 |
# |
7 |
|
7 |
|
8 |
PORTNAME= aria2 |
8 |
PORTNAME= aria2 |
9 |
DISTVERSION= 1.5.0 |
9 |
DISTVERSION= 1.9.2 |
10 |
CATEGORIES= www |
10 |
CATEGORIES= www |
11 |
MASTER_SITES= SF/${PORTNAME}/stable/archives/${PORTNAME}-${PORTVERSION} |
11 |
MASTER_SITES= SF/${PORTNAME}/stable/latest/ |
12 |
DISTNAME= ${PORTNAME}-${DISTVERSION} |
12 |
DISTNAME= ${PORTNAME}-${DISTVERSION} |
13 |
|
13 |
|
14 |
MAINTAINER= miwi@FreeBSD.org |
14 |
MAINTAINER= miwi@FreeBSD.org |
15 |
COMMENT= Yet another download tool |
15 |
COMMENT= Yet another download tool |
16 |
|
16 |
|
17 |
CONFIGURE_ARGS= --with-libintl-prefix=${LOCALBASE} --with-openssl \ |
17 |
CONFIGURE_ARGS= --with-libintl-prefix=${LOCALBASE} --with-libxml2 \ |
18 |
--with-libxml2 --without-gnutls --without-libares \ |
18 |
--without-gnutls --with-openssl --with-openssl-prefix=/usr \ |
19 |
--without-libcares --program-transform-name="" |
19 |
--without-libcares --with-libz --enable-bittorrent \ |
|
|
20 |
--enable-metalink --disable-epoll --enable-threads=pth |
20 |
|
21 |
|
21 |
USE_BZIP2= yes |
22 |
USE_BZIP2= yes |
22 |
USE_GNOME= gnomehack libxml2 |
23 |
USE_GNOME= gnomehack libxml2 |
23 |
USE_GETTEXT= yes |
24 |
USE_GETTEXT= yes |
24 |
GNU_CONFIGURE= yes |
25 |
GNU_CONFIGURE= yes |
25 |
MAKE_JOBS_SAFE= yes |
26 |
MAKE_JOBS_SAFE= yes |
|
|
27 |
|
26 |
.ifdef WITHOUT_NLS |
28 |
.ifdef WITHOUT_NLS |
27 |
CONFIGURE_ARGS+= --disable-nls |
29 |
CONFIGURE_ARGS+= --disable-nls |
28 |
.else |
30 |
.else |
29 |
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 \ |
31 |
LINGUAS= bg ca da de el en@boldquot en@quot es fi fr he hu id it ja \ |
30 |
sk sr th tr uk vi zh_CN zh_TW |
32 |
nl nn pl pt pt_BR ru sk sr sv th tr uk vi zh_CN zh_TW |
31 |
.endif |
33 |
.endif |
|
|
34 |
|
32 |
PLIST_FILES= bin/aria2c \ |
35 |
PLIST_FILES= bin/aria2c \ |
33 |
${LINGUAS:S|^|share/locale/|:S|$|/LC_MESSAGES/aria2.mo|} |
36 |
${LINGUAS:S|^|share/locale/|:S|$|/LC_MESSAGES/aria2.mo|} \ |
|
|
37 |
share/doc/aria2/README \ |
38 |
share/doc/aria2/README.html \ |
39 |
share/doc/aria2/aria2c.1.html \ |
40 |
share/doc/aria2/xmlrpc/aria2mon \ |
41 |
share/doc/aria2/xmlrpc/aria2rpc \ |
42 |
share/doc/aria2/xmlrpc/README.txt |
43 |
|
44 |
PLIST_DIRS= share/doc/aria2/xmlrpc \ |
45 |
share/doc/aria2 |
46 |
|
34 |
MAN1= aria2c.1 |
47 |
MAN1= aria2c.1 |
35 |
|
48 |
|
|
|
49 |
OPTIONS= SQLITE "Support for Firefox cookies" Off |
50 |
|
36 |
.include <bsd.port.pre.mk> |
51 |
.include <bsd.port.pre.mk> |
37 |
|
52 |
|
|
|
53 |
.if defined(WITH_SQLITE) |
54 |
CONFIGURE_ARGS+= --with-sqlite3 |
55 |
LIB_DEPENDS+= sqlite3:${PORTSDIR}/databases/sqlite3 |
56 |
.else |
57 |
CONFIGURE_ARGS+= --without-sqlite3 |
58 |
.endif |
59 |
|
38 |
.if ${OSVERSION} < 700000 |
60 |
.if ${OSVERSION} < 700000 |
39 |
BROKEN= Does not compile on FreeBSD 6.X |
61 |
BROKEN= Does not compile on FreeBSD 6.X |
40 |
.endif |
62 |
.endif |
41 |
|
63 |
|
42 |
post-patch: |
|
|
43 |
@${REINPLACE_CMD} -e '/^install-data-am:/s|install-dist_docDATA||'\ |
44 |
${WRKSRC}/Makefile.in ${WRKSRC}/doc/Makefile.in |
45 |
|
46 |
post-configure: |
47 |
@${REINPLACE_CMD} -e '/SETMODE/d' ${WRKSRC}/config.h |
48 |
|
49 |
.include <bsd.port.post.mk> |
64 |
.include <bsd.port.post.mk> |