Lines 6-13
Link Here
|
6 |
# |
6 |
# |
7 |
|
7 |
|
8 |
PORTNAME= qbittorrent |
8 |
PORTNAME= qbittorrent |
9 |
DISTVERSION= 1.0.0 |
9 |
PORTVERSION= 1.3.2 |
10 |
PORTREVISION= 2 |
|
|
11 |
CATEGORIES= net-p2p |
10 |
CATEGORIES= net-p2p |
12 |
MASTER_SITES= SF |
11 |
MASTER_SITES= SF |
13 |
|
12 |
|
Lines 15-51
Link Here
|
15 |
COMMENT= Bittorrent client written in C++ / Qt4 using libtorrent |
14 |
COMMENT= Bittorrent client written in C++ / Qt4 using libtorrent |
16 |
|
15 |
|
17 |
LIB_DEPENDS= ccext2-1.6.0:${PORTSDIR}/devel/commoncpp \ |
16 |
LIB_DEPENDS= ccext2-1.6.0:${PORTSDIR}/devel/commoncpp \ |
|
|
17 |
execinfo.1:${PORTSDIR}/devel/libexecinfo \ |
18 |
zzip.13:${PORTSDIR}/devel/zziplib \ |
18 |
curl.5:${PORTSDIR}/ftp/curl \ |
19 |
curl.5:${PORTSDIR}/ftp/curl \ |
19 |
torrent.1:${PORTSDIR}/net-p2p/rblibtorrent |
20 |
torrent-rasterbar.2:${PORTSDIR}/net-p2p/rblibtorrent-devel |
20 |
|
21 |
|
21 |
USE_PYTHON= 2.3+ |
|
|
22 |
USE_QT_VER= 4 |
22 |
USE_QT_VER= 4 |
23 |
QT_COMPONENTS= qmake_build uic_build moc_build rcc_build gui network xml |
23 |
QT_COMPONENTS= corelib gui network xml \ |
|
|
24 |
moc_build qmake_build rcc_build uic_build |
24 |
QT_NONSTANDARD= yes |
25 |
QT_NONSTANDARD= yes |
25 |
INSTALLS_ICONS= yes |
|
|
26 |
HAS_CONFIGURE= yes |
26 |
HAS_CONFIGURE= yes |
27 |
CONFIGURE_ARGS= --with-libtorrent-inc="${LOCALBASE}/include" \ |
27 |
CONFIGURE_ARGS= --prefix="${PREFIX}" \ |
28 |
--with-libtorrent-lib="${LOCALBASE}/lib" |
28 |
--with-libtorrent-inc="${LOCALBASE}/include" \ |
29 |
CONFIGURE_ENV= QMAKESPEC="${QMAKESPEC}" |
29 |
--with-libtorrent-lib="${LOCALBASE}/lib" \ |
30 |
MAKE_ENV= QMAKESPEC="${QMAKESPEC}" |
30 |
--with-libcurl-inc="${LOCALBASE}/include" \ |
31 |
|
31 |
--with-libcurl-lib="${LOCALBASE}/lib" \ |
32 |
OPTIONS= IMAGEMAGICK "Enable libmagick++ support" off |
32 |
--with-libzzip-inc="${LOCALBASE}/include" \ |
|
|
33 |
--with-libzzip-lib="${LOCALBASE}/lib" |
34 |
INSTALLS_ICONS= yes |
33 |
|
35 |
|
34 |
MAN1= qbittorrent.1 |
36 |
MAN1= qbittorrent.1 |
35 |
MANCOMPRESSED= yes |
|
|
36 |
|
37 |
|
37 |
.include <bsd.port.pre.mk> |
38 |
.include <bsd.port.pre.mk> |
38 |
|
39 |
|
39 |
.if defined(WITH_IMAGEMAGICK) |
|
|
40 |
LIB_DEPENDS+= MagickWand.2:${PORTSDIR}/graphics/ImageMagick |
41 |
CONFIGURE_ARGS+=--with-libmagick-inc=${LOCALBASE}/include/ImageMagick |
42 |
.else |
43 |
CONFIGURE_ARGS+=--disable-libmagick |
44 |
.endif |
45 |
|
46 |
post-patch: |
40 |
post-patch: |
47 |
@${REINPLACE_CMD} -e 's|bin/qmake|bin/${QMAKE:T}|' ${WRKSRC}/configure |
|
|
48 |
@${REINPLACE_CMD} -e 's|$$$$PREFIX/share/man|${MANPREFIX}/man|' \ |
41 |
@${REINPLACE_CMD} -e 's|$$$$PREFIX/share/man|${MANPREFIX}/man|' \ |
49 |
${WRKSRC}/src/src.pro |
42 |
${WRKSRC}/src/src.pro |
|
|
43 |
@${ECHO_CMD} "LIBS+= -lexecinfo" >> ${WRKSRC}/src/src.pro |
44 |
|
45 |
post-install: |
46 |
@${STRIP_CMD} ${PREFIX}/bin/qbittorrent |
50 |
|
47 |
|
51 |
.include <bsd.port.post.mk> |
48 |
.include <bsd.port.post.mk> |