View | Details | Raw Unified | Return to bug 200108 | Differences between
and this patch

Collapse All | Expand All

(-)net-p2p/qbittorrent/Makefile (-8 / +18 lines)
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>
(-)net-p2p/qbittorrent/distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (qbittorrent-3.1.12.tar.xz) = d5d5b27958297f0b14cf03af8dd24a0d2a990e108c9a7a6159e4a2fbb1111c83
1
SHA256 (qBittorrent-qBittorrent-3.2.0-release-3.2.0_GH0.tar.xz) = 1ca59b532c36c1c4e5b87ddfb13789104ecfbf79cd09afc3b05a5871011d0a75
2
SIZE (qbittorrent-3.1.12.tar.xz) = 2465744
2
SIZE (qBittorrent-qBittorrent-3.2.0-release-3.2.0_GH0.tar.xz) = 4467597
(-)net-p2p/qbittorrent/files/patch-configure (+22 lines)
Line 0 Link Here
1
--- configure.orig	2015-05-10 01:20:19 UTC
2
+++ configure
3
@@ -4263,7 +4263,7 @@ fi
4
 # Detect OS
5
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether OS is FreeBSD" >&5
6
 $as_echo_n "checking whether OS is FreeBSD... " >&6; }
7
-if test "x$host_os" = "x*FreeBSD*"; then :
8
+if expr "$host_os" : ".*freebsd.*" > /dev/null; then :
9
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10
 $as_echo "yes" >&6; }
11
       LIBS="-lexecinfo $LIBS"
12
@@ -5808,8 +5808,8 @@ extract() {
13
     return 1
14
   fi
15
 
16
-  # Convert " -" to "\n" if not between quotes
17
-  string=$(echo " $*" | $SED -e 's: -:\n:g' -e 's:"\(.*\)\n\(.*\)":\"\1 -\2":g' -e "s:'\(.*\)\n\(.*\)':\'\1 -\2':g")
18
+  # Convert " -" to "\n" if not between quotes and remove possible leading white spaces
19
+  string=$(echo " $*" | $SED -e 's: -:\n:g' -e 's:"\(.*\)\n\(.*\)":\"\1 -\2":g' -e "s:'\(.*\)\n\(.*\)':\'\1 -\2':g" -e 's/^[:space:]*//')
20
   SAVEIFS=$IFS
21
   IFS=$(printf "\n\b")
22
   for i in $string; do
(-)net-p2p/qbittorrent/pkg-plist (+1 lines)
Lines 13-15 Link Here
13
share/icons/hicolor/72x72/apps/qbittorrent.png
13
share/icons/hicolor/72x72/apps/qbittorrent.png
14
share/icons/hicolor/96x96/apps/qbittorrent.png
14
share/icons/hicolor/96x96/apps/qbittorrent.png
15
share/pixmaps/qbittorrent.png
15
share/pixmaps/qbittorrent.png
16
share/appdata/qBittorrent.appdata.xml

Return to bug 200108