diff -ruN net-p2p/qbittorrent/Makefile net-p2p/qbittorrent/Makefile --- net-p2p/qbittorrent/Makefile 2015-05-21 03:53:24.967758000 -0700 +++ net-p2p/qbittorrent/Makefile 2015-05-21 03:53:37.465136000 -0700 @@ -2,10 +2,9 @@ # $FreeBSD: head/net-p2p/qbittorrent/Makefile 380103 2015-02-27 16:45:14Z amdmi3 $ PORTNAME= qbittorrent -PORTVERSION= 3.1.12 -PORTREVISION?= 0 +PORTVERSION= 3.2.0 CATEGORIES= net-p2p ipv6 -MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}/ +MASTER_SITES= GH MAINTAINER= ports@FreeBSD.org COMMENT?= Bittorrent client using Qt4 and libtorrent-rasterbar @@ -13,7 +12,13 @@ LICENSE= GPLv2 # ABI versions specified on purpose for libtorrent-rasterbar -LIB_DEPENDS= libtorrent-rasterbar.so:${PORTSDIR}/net-p2p/libtorrent-rasterbar +LIB_DEPENDS= libtorrent-rasterbar.so:${PORTSDIR}/net-p2p/libtorrent-rasterbar \ + libboost_system.so:${PORTSDIR}/devel/boost-libs + +USE_GITHUB= yes +GH_ACCOUNT= qBittorrent +GH_PROJECT= qBittorrent +GH_TAGNAME= release-${PORTVERSION} USES= execinfo pkgconfig tar:xz USE_QT4= corelib network qmake_build linguisttools_build moc_build \ @@ -29,14 +34,18 @@ OPTIONS_DEFINE= DBUS .endif -SUB_FILES= pkg-message - PORTDOCS= AUTHORS Changelog README.md OPTIONS_DEFINE= DEBUG DOCS DBUS DEBUG_CONFIGURE_ENABLE= debug DBUS_CONFIGURE_ENABLE= qt-dbus +CONFIGURE_ENV+= zlib_CFLAGS=-I/usr/include +CONFIGURE_ENV+= zlib_LIBS=-lz +CONFIGURE_ENV+= QMAKESPEC=freebsd-clang +CONFIGURE_ARGS+=CXXFLAGS=-DBOOST_ASIO_DYN_LINK + +USE_OPENSSL= yes .include @@ -47,10 +56,10 @@ do-configure: .if defined(SLAVE_PORT) && ${SLAVE_PORT:tl} == "no" @cd ${WRKSRC} ; ${SETENV} ${CONFIGURE_ENV} \ - ./configure --prefix=${PREFIX} + ./configure --prefix=${PREFIX} ${CONFIGURE_ARGS} .else @cd ${WRKSRC} ; ${SETENV} ${CONFIGURE_ENV} \ - ./configure --prefix=${PREFIX} --disable-gui + ./configure --prefix=${PREFIX} ${CONFIGURE_ARGS} --disable-gui .endif post-install: @@ -68,5 +77,6 @@ ${INSTALL_MAN} ${WRKSRC}/doc/qbittorrent-nox.1 \ ${STAGEDIR}${MAN1PREFIX}/man/man1/ .endif + @${RM} -rf ${STAGEDIR}${PREFIX}/share/man .include diff -ruN net-p2p/qbittorrent/distinfo net-p2p/qbittorrent/distinfo --- net-p2p/qbittorrent/distinfo 2015-05-21 03:53:24.967840000 -0700 +++ net-p2p/qbittorrent/distinfo 2015-05-21 03:53:37.458645000 -0700 @@ -1,2 +1,2 @@ -SHA256 (qbittorrent-3.1.12.tar.xz) = d5d5b27958297f0b14cf03af8dd24a0d2a990e108c9a7a6159e4a2fbb1111c83 -SIZE (qbittorrent-3.1.12.tar.xz) = 2465744 +SHA256 (qBittorrent-qBittorrent-3.2.0-release-3.2.0_GH0.tar.xz) = 1ca59b532c36c1c4e5b87ddfb13789104ecfbf79cd09afc3b05a5871011d0a75 +SIZE (qBittorrent-qBittorrent-3.2.0-release-3.2.0_GH0.tar.xz) = 4467597 diff -ruN net-p2p/qbittorrent/files/patch-configure net-p2p/qbittorrent/files/patch-configure --- net-p2p/qbittorrent/files/patch-configure 1969-12-31 16:00:00.000000000 -0800 +++ net-p2p/qbittorrent/files/patch-configure 2015-05-21 03:53:37.453870000 -0700 @@ -0,0 +1,11 @@ +--- configure.orig 2015-05-10 01:20:19 UTC ++++ configure +@@ -4263,7 +4263,7 @@ fi + # Detect OS + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether OS is FreeBSD" >&5 + $as_echo_n "checking whether OS is FreeBSD... " >&6; } +-if test "x$host_os" = "x*FreeBSD*"; then : ++if expr "$host_os" : ".*freebsd.*" > /dev/null; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 + $as_echo "yes" >&6; } + LIBS="-lexecinfo $LIBS" diff -ruN net-p2p/qbittorrent/pkg-plist net-p2p/qbittorrent/pkg-plist --- net-p2p/qbittorrent/pkg-plist 2015-05-21 03:53:24.967675000 -0700 +++ net-p2p/qbittorrent/pkg-plist 2015-05-21 03:53:37.456238000 -0700 @@ -13,3 +13,4 @@ share/icons/hicolor/72x72/apps/qbittorrent.png share/icons/hicolor/96x96/apps/qbittorrent.png share/pixmaps/qbittorrent.png +share/appdata/qBittorrent.appdata.xml