Lines 2-11
Link Here
|
2 |
# $FreeBSD: head/net-p2p/qbittorrent/Makefile 380103 2015-02-27 16:45:14Z amdmi3 $ |
2 |
# $FreeBSD: head/net-p2p/qbittorrent/Makefile 380103 2015-02-27 16:45:14Z amdmi3 $ |
3 |
|
3 |
|
4 |
PORTNAME= qbittorrent |
4 |
PORTNAME= qbittorrent |
5 |
PORTVERSION= 3.1.12 |
5 |
PORTVERSION= 3.2.0 |
6 |
PORTREVISION?= 0 |
|
|
7 |
CATEGORIES= net-p2p ipv6 |
6 |
CATEGORIES= net-p2p ipv6 |
8 |
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}/ |
7 |
MASTER_SITES= GH |
9 |
|
8 |
|
10 |
MAINTAINER= ports@FreeBSD.org |
9 |
MAINTAINER= ports@FreeBSD.org |
11 |
COMMENT?= Bittorrent client using Qt4 and libtorrent-rasterbar |
10 |
COMMENT?= Bittorrent client using Qt4 and libtorrent-rasterbar |
Lines 13-19
Link Here
|
13 |
LICENSE= GPLv2 |
12 |
LICENSE= GPLv2 |
14 |
|
13 |
|
15 |
# ABI versions specified on purpose for libtorrent-rasterbar |
14 |
# ABI versions specified on purpose for libtorrent-rasterbar |
16 |
LIB_DEPENDS= libtorrent-rasterbar.so:${PORTSDIR}/net-p2p/libtorrent-rasterbar |
15 |
LIB_DEPENDS= libtorrent-rasterbar.so:${PORTSDIR}/net-p2p/libtorrent-rasterbar \ |
|
|
16 |
libboost_system.so:${PORTSDIR}/devel/boost-libs |
17 |
|
18 |
USE_GITHUB= yes |
19 |
GH_ACCOUNT= qBittorrent |
20 |
GH_PROJECT= qBittorrent |
21 |
GH_TAGNAME= release-${PORTVERSION} |
17 |
|
22 |
|
18 |
USES= execinfo pkgconfig tar:xz |
23 |
USES= execinfo pkgconfig tar:xz |
19 |
USE_QT4= corelib network qmake_build linguisttools_build moc_build \ |
24 |
USE_QT4= corelib network qmake_build linguisttools_build moc_build \ |
Lines 29-42
Link Here
|
29 |
OPTIONS_DEFINE= DBUS |
34 |
OPTIONS_DEFINE= DBUS |
30 |
.endif |
35 |
.endif |
31 |
|
36 |
|
32 |
SUB_FILES= pkg-message |
|
|
33 |
|
34 |
PORTDOCS= AUTHORS Changelog README.md |
37 |
PORTDOCS= AUTHORS Changelog README.md |
35 |
|
38 |
|
36 |
OPTIONS_DEFINE= DEBUG DOCS DBUS |
39 |
OPTIONS_DEFINE= DEBUG DOCS DBUS |
37 |
|
40 |
|
38 |
DEBUG_CONFIGURE_ENABLE= debug |
41 |
DEBUG_CONFIGURE_ENABLE= debug |
39 |
DBUS_CONFIGURE_ENABLE= qt-dbus |
42 |
DBUS_CONFIGURE_ENABLE= qt-dbus |
|
|
43 |
CONFIGURE_ENV+= zlib_CFLAGS=-I/usr/include |
44 |
CONFIGURE_ENV+= zlib_LIBS=-lz |
45 |
CONFIGURE_ENV+= QMAKESPEC=freebsd-clang |
46 |
CONFIGURE_ARGS+=CXXFLAGS=-DBOOST_ASIO_DYN_LINK |
47 |
|
48 |
USE_OPENSSL= yes |
40 |
|
49 |
|
41 |
.include <bsd.port.options.mk> |
50 |
.include <bsd.port.options.mk> |
42 |
|
51 |
|
Lines 47-56
Link Here
|
47 |
do-configure: |
56 |
do-configure: |
48 |
.if defined(SLAVE_PORT) && ${SLAVE_PORT:tl} == "no" |
57 |
.if defined(SLAVE_PORT) && ${SLAVE_PORT:tl} == "no" |
49 |
@cd ${WRKSRC} ; ${SETENV} ${CONFIGURE_ENV} \ |
58 |
@cd ${WRKSRC} ; ${SETENV} ${CONFIGURE_ENV} \ |
50 |
./configure --prefix=${PREFIX} |
59 |
./configure --prefix=${PREFIX} ${CONFIGURE_ARGS} |
51 |
.else |
60 |
.else |
52 |
@cd ${WRKSRC} ; ${SETENV} ${CONFIGURE_ENV} \ |
61 |
@cd ${WRKSRC} ; ${SETENV} ${CONFIGURE_ENV} \ |
53 |
./configure --prefix=${PREFIX} --disable-gui |
62 |
./configure --prefix=${PREFIX} ${CONFIGURE_ARGS} --disable-gui |
54 |
.endif |
63 |
.endif |
55 |
|
64 |
|
56 |
post-install: |
65 |
post-install: |
Lines 68-72
Link Here
|
68 |
${INSTALL_MAN} ${WRKSRC}/doc/qbittorrent-nox.1 \ |
77 |
${INSTALL_MAN} ${WRKSRC}/doc/qbittorrent-nox.1 \ |
69 |
${STAGEDIR}${MAN1PREFIX}/man/man1/ |
78 |
${STAGEDIR}${MAN1PREFIX}/man/man1/ |
70 |
.endif |
79 |
.endif |
|
|
80 |
@${RM} -rf ${STAGEDIR}${PREFIX}/share/man |
71 |
|
81 |
|
72 |
.include <bsd.port.mk> |
82 |
.include <bsd.port.mk> |