Lines 6-13
Link Here
|
6 |
# |
6 |
# |
7 |
|
7 |
|
8 |
PORTNAME?= rtorrent |
8 |
PORTNAME?= rtorrent |
9 |
PORTVERSION?= 0.8.6 |
9 |
PORTVERSION?= 0.8.7 |
10 |
PORTREVISION?= 1 |
|
|
11 |
CATEGORIES= net-p2p |
10 |
CATEGORIES= net-p2p |
12 |
MASTER_SITES= http://libtorrent.rakshasa.no/downloads/ \ |
11 |
MASTER_SITES= http://libtorrent.rakshasa.no/downloads/ \ |
13 |
${MASTER_SITE_LOCAL} |
12 |
${MASTER_SITE_LOCAL} |
Lines 16-39
Link Here
|
16 |
MAINTAINER?= flz@FreeBSD.org |
15 |
MAINTAINER?= flz@FreeBSD.org |
17 |
COMMENT?= BitTorrent Client written in C++ |
16 |
COMMENT?= BitTorrent Client written in C++ |
18 |
|
17 |
|
19 |
BUILD_DEPENDS?= libtorrent=0.12.6_1:${PORTSDIR}/net-p2p/libtorrent |
18 |
BUILD_DEPENDS?= libtorrent=0.12.7:${PORTSDIR}/net-p2p/libtorrent |
20 |
RUN_DEPENDS?= libtorrent=0.12.6_1:${PORTSDIR}/net-p2p/libtorrent |
19 |
RUN_DEPENDS?= libtorrent=0.12.7:${PORTSDIR}/net-p2p/libtorrent |
21 |
LIB_DEPENDS?= curl.6:${PORTSDIR}/ftp/curl |
20 |
LIB_DEPENDS?= curl.6:${PORTSDIR}/ftp/curl |
22 |
|
21 |
|
23 |
CONFLICTS?= rtorrent-devel-[0-9]* |
22 |
CONFLICTS?= rtorrent-devel-[0-9]* |
24 |
|
23 |
|
25 |
MAN1= rtorrent.1 |
|
|
26 |
|
27 |
USE_GCC= 4.2+ |
24 |
USE_GCC= 4.2+ |
28 |
|
25 |
|
29 |
GNU_CONFIGURE= yes |
26 |
GNU_CONFIGURE= yes |
|
|
27 |
CONFIGURE_ENV+= LDFLAGS="${LDFLAGS} -pthread" |
30 |
CONFIGURE_ARGS= --disable-debug |
28 |
CONFIGURE_ARGS= --disable-debug |
31 |
|
29 |
|
32 |
SUB_FILES= pkg-message |
30 |
SUB_FILES= pkg-message |
33 |
|
31 |
|
34 |
PORTDOCS= README |
32 |
PORTDOCS= README |
35 |
|
33 |
|
36 |
OPTIONS= XMLRPC "Compile with xmlrpc-c support" on |
34 |
OPTIONS= XMLRPC "Compile with xmlrpc-c support" on \ |
|
|
35 |
IPV6 "Enable IPv6 support" off |
37 |
|
36 |
|
38 |
.include <bsd.port.pre.mk> |
37 |
.include <bsd.port.pre.mk> |
39 |
|
38 |
|
Lines 44-49
Link Here
|
44 |
CONFIGURE_ARGS+= --with-xmlrpc-c=no |
43 |
CONFIGURE_ARGS+= --with-xmlrpc-c=no |
45 |
.endif |
44 |
.endif |
46 |
|
45 |
|
|
|
46 |
.if defined(WITH_IPV6) |
47 |
CONFIGURE_ARGS+= --enable-ipv6 |
48 |
.endif |
49 |
|
47 |
post-patch: |
50 |
post-patch: |
48 |
@${REINPLACE_CMD} -e 's|-O3|${CFLAGS}|' ${WRKSRC}/configure |
51 |
@${REINPLACE_CMD} -e 's|-O3|${CFLAGS}|' ${WRKSRC}/configure |
49 |
|
52 |
|