# This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # net-p2p/qbittorrent # net-p2p/qbittorrent/files # net-p2p/qbittorrent/files/patch-configure # net-p2p/qbittorrent/pkg-plist # net-p2p/qbittorrent/distinfo # net-p2p/qbittorrent/Makefile # net-p2p/qbittorrent/pkg-descr # echo c - net-p2p/qbittorrent mkdir -p net-p2p/qbittorrent > /dev/null 2>&1 echo c - net-p2p/qbittorrent/files mkdir -p net-p2p/qbittorrent/files > /dev/null 2>&1 echo x - net-p2p/qbittorrent/files/patch-configure sed 's/^X//' >net-p2p/qbittorrent/files/patch-configure << '14c97843d835610f325e03c5079a8d9d' X--- configure.orig 2015-05-10 01:20:19 UTC X+++ configure X@@ -4263,7 +4263,7 @@ fi X # Detect OS X { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether OS is FreeBSD" >&5 X $as_echo_n "checking whether OS is FreeBSD... " >&6; } X-if test "x$host_os" = "x*FreeBSD*"; then : X+if expr "$host_os" : ".*freebsd.*" > /dev/null; then : X { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 X $as_echo "yes" >&6; } X LIBS="-lexecinfo $LIBS" X@@ -5815,6 +5815,7 @@ extract() { X for i in $string; do X case "$(echo "$i" | cut -c1)" in X '') ;; X+ ' ') ;; X D) QBT_CONF_DEFINES="$(echo $i | cut -c2-) $QBT_CONF_DEFINES";; X I) QBT_CONF_INCLUDES="$(echo $i | cut -c2-) $QBT_CONF_INCLUDES";; X *) QBT_CONF_EXTRA_CFLAGS="-$i $QBT_CONF_EXTRA_CFLAGS";; 14c97843d835610f325e03c5079a8d9d echo x - net-p2p/qbittorrent/pkg-plist sed 's/^X//' >net-p2p/qbittorrent/pkg-plist << '9f49056601249ee6d90daa1c4d764ff6' Xbin/qbittorrent Xman/man1/qbittorrent.1.gz Xshare/applications/qBittorrent.desktop Xshare/icons/hicolor/128x128/apps/qbittorrent.png Xshare/icons/hicolor/16x16/apps/qbittorrent.png Xshare/icons/hicolor/192x192/apps/qbittorrent.png Xshare/icons/hicolor/22x22/apps/qbittorrent.png Xshare/icons/hicolor/24x24/apps/qbittorrent.png Xshare/icons/hicolor/32x32/apps/qbittorrent.png Xshare/icons/hicolor/36x36/apps/qbittorrent.png Xshare/icons/hicolor/48x48/apps/qbittorrent.png Xshare/icons/hicolor/64x64/apps/qbittorrent.png Xshare/icons/hicolor/72x72/apps/qbittorrent.png Xshare/icons/hicolor/96x96/apps/qbittorrent.png Xshare/pixmaps/qbittorrent.png 9f49056601249ee6d90daa1c4d764ff6 echo x - net-p2p/qbittorrent/distinfo sed 's/^X//' >net-p2p/qbittorrent/distinfo << '7bd1d8220c4be997899957d681a206b8' XSHA256 (qBittorrent-qBittorrent-3.2.0-release-3.2.0_GH0.tar.xz) = 1ca59b532c36c1c4e5b87ddfb13789104ecfbf79cd09afc3b05a5871011d0a75 XSIZE (qBittorrent-qBittorrent-3.2.0-release-3.2.0_GH0.tar.xz) = 4467597 7bd1d8220c4be997899957d681a206b8 echo x - net-p2p/qbittorrent/Makefile sed 's/^X//' >net-p2p/qbittorrent/Makefile << '315cd576d5a1aa110d00d663dbc4adf5' X# Created by: Doug Barton X# $FreeBSD: head/net-p2p/qbittorrent/Makefile 380103 2015-02-27 16:45:14Z amdmi3 $ X XPORTNAME= qbittorrent XPORTVERSION= 3.2.0 XCATEGORIES= net-p2p ipv6 XMASTER_SITES= GH X XMAINTAINER= ports@FreeBSD.org XCOMMENT?= Bittorrent client using Qt4 and libtorrent-rasterbar X XLICENSE= GPLv2 X X# ABI versions specified on purpose for libtorrent-rasterbar XLIB_DEPENDS= libtorrent-rasterbar.so:${PORTSDIR}/net-p2p/libtorrent-rasterbar \ X libboost_system.so:${PORTSDIR}/devel/boost-libs X XUSE_GITHUB= yes XGH_ACCOUNT= qBittorrent XGH_PROJECT= qBittorrent XGH_TAGNAME= release-${PORTVERSION} X XUSES= execinfo pkgconfig tar:xz XUSE_QT4= corelib network qmake_build linguisttools_build moc_build \ X rcc_build uic_build XQT_NONSTANDARD= yes XDESTDIRNAME= INSTALL_ROOT X X.if !defined(SLAVE_PORT) XLIB_DEPENDS+= libGeoIP.so:${PORTSDIR}/net/GeoIP XUSES+= desktop-file-utils XUSE_QT4+= gui xml XINSTALLS_ICONS= yes XOPTIONS_DEFINE= DBUS X.endif X XPORTDOCS= AUTHORS Changelog README.md X XOPTIONS_DEFINE= DEBUG DOCS DBUS X XDEBUG_CONFIGURE_ENABLE= debug XDBUS_CONFIGURE_ENABLE= qt-dbus XCONFIGURE_ENV+= zlib_CFLAGS=/usr/include XCONFIGURE_ENV+= zlib_LIBS=-lz XCONFIGURE_ENV+= QMAKESPEC=freebsd-clang XCONFIGURE_ARGS+=CXXFLAGS=-DBOOST_ASIO_DYN_LINK X XUSE_OPENSSL= yes X X.include X X.if ${PORT_OPTIONS:MDBUS} XUSE_QT4+= dbus X.endif X Xdo-configure: X.if defined(SLAVE_PORT) && ${SLAVE_PORT:tl} == "no" X @cd ${WRKSRC} ; ${SETENV} ${CONFIGURE_ENV} \ X ./configure --prefix=${PREFIX} ${CONFIGURE_ARGS} X.else X @cd ${WRKSRC} ; ${SETENV} ${CONFIGURE_ENV} \ X ./configure --prefix=${PREFIX} ${CONFIGURE_ARGS} --disable-gui X.endif X Xpost-install: X.if ${PORT_OPTIONS:MDOCS} X @${MKDIR} ${STAGEDIR}${DOCSDIR} X ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} X.endif X X.if defined(SLAVE_PORT) && ${SLAVE_PORT:tl} == "no" X @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/qbittorrent X ${INSTALL_MAN} ${WRKSRC}/doc/qbittorrent.1 \ X ${STAGEDIR}${MAN1PREFIX}/man/man1/ X.else X @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/qbittorrent-nox X ${INSTALL_MAN} ${WRKSRC}/doc/qbittorrent-nox.1 \ X ${STAGEDIR}${MAN1PREFIX}/man/man1/ X.endif X X.include 315cd576d5a1aa110d00d663dbc4adf5 echo x - net-p2p/qbittorrent/pkg-descr sed 's/^X//' >net-p2p/qbittorrent/pkg-descr << 'f5b77bb5610a1b4e3fddc616579032ed' XqBittorrent is the closest open source (GNU GPL v2 licensed) equivalent to Xpopular uTorrent. It is based on the Qt4 toolkit and libtorrent-rasterbar. X XFeatures: X X - Well-integrated and extensible Search Engine X - Simultaneous search in most famous BitTorrent search sites X - Per-category-specific search requests (e.g. Books, Music, Movies) X - All BitTorrent extensions: DHT, Peer Exchange, Full encryption, X Magnet URI, uTP X - Remote control through a Web user interface (nearly identical to X the regular UI, all in Ajax) X - Advanced control over trackers, peers, and torrents: queueing and X prioritizing, content selection and prioritizing X - UPnP/NAT-PMP port forwarding support X - Available in ~25 languages (Unicode support) X - uTorrent spoofing to bypass private trackers whitelisting X - Advanced RSS support with download filters (inc. regex) X - IP Filtering (eMule and PeerGuardian compatible) X XWWW: http://www.qbittorrent.org/ f5b77bb5610a1b4e3fddc616579032ed exit