# New ports collection makefile for: qbittorrent-23 # Date created: 24 July 2010 # Whom: dougb@FreeBSD.org # # $FreeBSD$ # PORTNAME= qbittorrent PORTVERSION= 2.3.0.rc10 CATEGORIES= net-p2p ipv6 MASTER_SITES= http://cdnetworks-us-2.dl.sourceforge.net/project/qbittorrent/qbittorrent-unstable/ DISTNAME= qbittorrent-2.3.0rc10 PKGNAMESUFFIX= -devel NO_LATEST_LINK= yes MAINTAINER= dougb@FreeBSD.org COMMENT= Bittorrent client using Qt4 and libtorrent-rasterbar (release candidate) LIB_DEPENDS= execinfo.1:${PORTSDIR}/devel/libexecinfo \ torrent-rasterbar.6:${PORTSDIR}/net-p2p/libtorrent-rasterbar-15 \ GeoIP.5:${PORTSDIR}/net/GeoIP MAKE_JOBS_SAFE= yes CONFLICTS= qbittorrent-2.2.* OPTIONS= NOTIFY "Enable libnotify support" on USE_QT_VER= 4 QT_COMPONENTS= corelib gui network xml \ moc_build qmake_build rcc_build uic_build QT_NONSTANDARD= yes HAS_CONFIGURE= yes CONFIGURE_ARGS= --with-libboost-inc="${LOCALBASE}/include" \ --with-libboost-lib="${LOCALBASE}/lib" INSTALLS_ICONS= yes MAN1= qbittorrent.1 .include .if !defined(WITHOUT_NOTIFY) LIB_DEPENDS+= notify.1:${PORTSDIR}/devel/libnotify .else CONFIGURE_ARGS+= --disable-libnotify .endif BOOSTLIB_PATTERN= -e 's|\*\-mt\*||' post-patch: @${REINPLACE_CMD} -e 's|$$$$PREFIX/share/man|${MANPREFIX}/man|' \ ${WRKSRC}/src/src.pro @${ECHO_CMD} "LIBS+= -lexecinfo" >> ${WRKSRC}/src/src.pro @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' ${BOOSTLIB_PATTERN} \ ${WRKSRC}/configure @${REINPLACE_CMD} ${BOOSTLIB_PATTERN} ${WRKSRC}/qcm/libboost.qcm post-install: @${STRIP_CMD} ${PREFIX}/bin/qbittorrent .include