blob: 2a9632b08fa203c0840d00fec875026d442b8ec9 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
|
# Created by: Doug Barton <dougb@FreeBSD.org>
# $FreeBSD$
PORTNAME= qbittorrent
PORTVERSION= 3.0.10
PORTREVISION?= 1
CATEGORIES= net-p2p ipv6
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}/
MAINTAINER= nemysis@gmx.ch
COMMENT?= Bittorrent client using Qt4 and libtorrent-rasterbar
LICENSE= GPLv2
# ABI versions specified on purpose for libtorrent-rasterbar
LIB_DEPENDS= torrent-rasterbar.7:${PORTSDIR}/net-p2p/libtorrent-rasterbar-16 \
execinfo:${PORTSDIR}/devel/libexecinfo \
USES= pkgconfig
HAS_CONFIGURE= yes
USE_QT4= corelib network qmake_build moc_build rcc_build
QT_NONSTANDARD= yes
MAKE_JOBS_SAFE= yes
MAN1?= qbittorrent.1
.if !defined(QB_NOX_SLAVE)
LIB_DEPENDS+= GeoIP:${PORTSDIR}/net/GeoIP
USE_QT4+= gui xml uic_build
INSTALLS_ICONS= yes
OPTIONS_DEFINE= DBUS
.else
CONFIGURE_ARGS+= --disable-gui
.endif
PORTDOCS= AUTHORS Changelog README TODO
OPTIONS_DEFINE= DOCS DBUS
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MDBUS}
USE_QT4+= dbus
.else
CONFIGURE_ARGS+= --disable-qt-dbus
.endif
post-install:
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
.endif
.if !defined(QB_NOX_SLAVE)
@${STRIP_CMD} ${PREFIX}/bin/qbittorrent
.else
@${STRIP_CMD} ${PREFIX}/bin/qbittorrent-nox
${INSTALL_MAN} ${WRKSRC}/doc/qbittorrent-nox.1 ${MAN1PREFIX}/man/man1
.endif
.include <bsd.port.mk>
|