aboutsummaryrefslogtreecommitdiffstats
path: root/net-p2p
diff options
context:
space:
mode:
authordanfe <danfe@FreeBSD.org>2012-11-24 14:56:16 +0800
committerdanfe <danfe@FreeBSD.org>2012-11-24 14:56:16 +0800
commit22250081534cd137c9223fb70e83f27c269c82a7 (patch)
tree2cea115522c7b89e7558cd8cec5ff5d606085482 /net-p2p
parentd31e3728165fba745689b874a0b3def1a5f15900 (diff)
downloadfreebsd-ports-gnome-22250081534cd137c9223fb70e83f27c269c82a7.tar.gz
freebsd-ports-gnome-22250081534cd137c9223fb70e83f27c269c82a7.tar.zst
freebsd-ports-gnome-22250081534cd137c9223fb70e83f27c269c82a7.zip
- Convert to new OPTIONS framework
- Remove no longer relevant CONFLICTS - Delete rather obvious pkg-message - Sort the knobs a bit while I'm here Feature safe: yes
Diffstat (limited to 'net-p2p')
-rw-r--r--net-p2p/qbittorrent/Makefile25
-rw-r--r--net-p2p/qbittorrent/pkg-message5
2 files changed, 9 insertions, 21 deletions
diff --git a/net-p2p/qbittorrent/Makefile b/net-p2p/qbittorrent/Makefile
index 7202897e7a6f..be9e64dbf6ff 100644
--- a/net-p2p/qbittorrent/Makefile
+++ b/net-p2p/qbittorrent/Makefile
@@ -9,37 +9,31 @@ MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}/
MAINTAINER= ports@FreeBSD.org
COMMENT?= Bittorrent client using Qt4 and libtorrent-rasterbar
-# lib versions specified on purpose
+# ABI versions specified on purpose
LIB_DEPENDS= execinfo.1:${PORTSDIR}/devel/libexecinfo \
torrent-rasterbar.6:${PORTSDIR}/net-p2p/libtorrent-rasterbar-16
-MAKE_JOBS_SAFE= yes
+HAS_CONFIGURE= yes
+USE_QT4= corelib network qmake_build moc_build rcc_build
+QT_NONSTANDARD= yes
-CONFLICTS= qbittorrent-2.* qbittorrent-4.[0-9].*
+MAKE_JOBS_SAFE= yes
-USE_QT4= corelib network qmake_build moc_build rcc_build
+MAN1?= qbittorrent.1
.if !defined(QB_NOX_SLAVE)
-.if defined(WITHOUT_X11)
-BROKEN= Use net-p2p/${PORTNAME}-nox11 for the non-GUI version
-.endif
LIB_DEPENDS+= GeoIP.5:${PORTSDIR}/net/GeoIP
-OPTIONS= DBUS "Enable dbus support" off
USE_QT4+= gui xml uic_build
INSTALLS_ICONS= yes
+OPTIONS_DEFINE= DBUS
.else
CONFIGURE_ARGS+= --disable-gui
.endif
-QT_NONSTANDARD= yes
-HAS_CONFIGURE= yes
-
-MAN1?= qbittorrent.1
-
.include <bsd.port.pre.mk>
-.if defined(WITH_DBUS)
-USE_QT4+= dbus
+.if ${PORT_OPTIONS:MDBUS}
+USE_QT4+= dbus
.else
CONFIGURE_ARGS+= --disable-qt-dbus
.endif
@@ -47,7 +41,6 @@ CONFIGURE_ARGS+= --disable-qt-dbus
post-install:
.if !defined(QB_NOX_SLAVE)
@${STRIP_CMD} ${PREFIX}/bin/qbittorrent
- @${CAT} ${PKGMESSAGE}
.else
@${STRIP_CMD} ${PREFIX}/bin/qbittorrent-nox
${INSTALL_MAN} ${WRKSRC}/doc/qbittorrent-nox.1 ${MANPREFIX}/man/man1
diff --git a/net-p2p/qbittorrent/pkg-message b/net-p2p/qbittorrent/pkg-message
deleted file mode 100644
index 157ed5b528c6..000000000000
--- a/net-p2p/qbittorrent/pkg-message
+++ /dev/null
@@ -1,5 +0,0 @@
-
-****************************************************************************
-* To change the appearance of the interface use misc/qt4-qtconfig *
-****************************************************************************
-