diff --git a/net-p2p/qbittorrent/Makefile b/net-p2p/qbittorrent/Makefile index 31dd1e8e009c..c70a5d69568c 100644 --- a/net-p2p/qbittorrent/Makefile +++ b/net-p2p/qbittorrent/Makefile @@ -1,71 +1,73 @@ # Created by: Doug Barton # $FreeBSD$ PORTNAME= qbittorrent PORTVERSION= 3.1.9 PORTREVISION?= 0 CATEGORIES= net-p2p ipv6 MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}/ MAINTAINER= nemysis@FreeBSD.org COMMENT?= Bittorrent client using Qt4 and libtorrent-rasterbar LICENSE= GPLv2 # ABI versions specified on purpose for libtorrent-rasterbar LIB_DEPENDS= libtorrent-rasterbar.so:${PORTSDIR}/net-p2p/libtorrent-rasterbar \ libexecinfo.so:${PORTSDIR}/devel/libexecinfo USES= pkgconfig USE_QT4= corelib network qmake_build linguist_build moc_build \ rcc_build uic_build QT_NONSTANDARD= yes DESTDIRNAME= INSTALL_ROOT .if !defined(SLAVE_PORT) LIB_DEPENDS+= libGeoIP.so:${PORTSDIR}/net/GeoIP USES+= desktop-file-utils USE_QT4+= gui xml INSTALLS_ICONS= yes OPTIONS_DEFINE= DBUS .endif -PORTDOCS= AUTHORS Changelog README TODO +SUB_FILES= pkg-message + +PORTDOCS= AUTHORS Changelog README OPTIONS_DEFINE= DEBUG DOCS DBUS DEBUG_CONFIGURE_ENABLE= debug DBUS_CONFIGURE_ENABLE= qt-dbus .include .if ${PORT_OPTIONS:MDBUS} USE_QT4+= dbus .endif do-configure: .if defined(SLAVE_PORT) && ${SLAVE_PORT:L} == "no" @cd ${WRKSRC} ; ${SETENV} ${CONFIGURE_ENV} \ ./configure --prefix=${PREFIX} .else @cd ${WRKSRC} ; ${SETENV} ${CONFIGURE_ENV} \ ./configure --prefix=${PREFIX} --disable-gui .endif post-install: .if ${PORT_OPTIONS:MDOCS} @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} .endif .if defined(SLAVE_PORT) && ${SLAVE_PORT:L} == "no" @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/qbittorrent ${INSTALL_MAN} ${WRKSRC}/doc/qbittorrent.1 \ ${STAGEDIR}${MAN1PREFIX}/man/man1/ .else @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/qbittorrent-nox ${INSTALL_MAN} ${WRKSRC}/doc/qbittorrent-nox.1 \ ${STAGEDIR}${MAN1PREFIX}/man/man1/ .endif .include diff --git a/net-p2p/qbittorrent/files/pkg-message.in b/net-p2p/qbittorrent/files/pkg-message.in new file mode 100644 index 000000000000..bd375d620578 --- /dev/null +++ b/net-p2p/qbittorrent/files/pkg-message.in @@ -0,0 +1,11 @@ +=============================================================================== + +qBittorrent has been installed. + +When you have problems, please reinstall qBittorrent + +cd /usr/ports/net-p2p/qbittorrent && make deinstall clean reinstall + +Have fun! + +===============================================================================