aboutsummaryrefslogtreecommitdiff
path: root/net-p2p/qbittorrent
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2018-06-20 13:35:23 +0000
committerMathieu Arnold <mat@FreeBSD.org>2018-06-20 13:35:23 +0000
commit26f3dd78ff5bb7d4c51669b06a81bbbbe47f80fe (patch)
tree2f7ab72ac4a35e311e2a2bdaac65558a77937147 /net-p2p/qbittorrent
parent7104f320908af8d9f33587d66895c1547fca96f8 (diff)
downloadports-26f3dd78ff5bb7d4c51669b06a81bbbbe47f80fe.tar.gz
ports-26f3dd78ff5bb7d4c51669b06a81bbbbe47f80fe.zip
Better use flavors.
Sponsored by: Absolight
Notes
Notes: svn path=/head/; revision=472870
Diffstat (limited to 'net-p2p/qbittorrent')
-rw-r--r--net-p2p/qbittorrent/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/net-p2p/qbittorrent/Makefile b/net-p2p/qbittorrent/Makefile
index a3c50eff0d73..dd286f85cfda 100644
--- a/net-p2p/qbittorrent/Makefile
+++ b/net-p2p/qbittorrent/Makefile
@@ -18,6 +18,7 @@ LIB_DEPENDS= libtorrent-rasterbar.so:net-p2p/libtorrent-rasterbar \
libboost_system.so:devel/boost-libs
FLAVORS= default nox
+FLAVOR= ${FLAVORS:[1]}
default_LIB_DEPENDS= libGeoIP.so:net/GeoIP
nox_PKGNAMESUFFIX= -nox
nox_PLIST= ${NONEXISTENT}
@@ -29,13 +30,13 @@ CONFIGURE_ARGS= CFLAGS="${CFLAGS}" CXXFLAGS="${CXXFLAGS}"
QT_NONSTANDARD= yes
DESTDIRNAME= INSTALL_ROOT
-.if ${FLAVOR:Udefault} == default
+.if ${FLAVOR} == default
USES+= desktop-file-utils
USE_QT5+= concurrent gui widgets
USE_GL= gl
.endif
-.if ${FLAVOR:U} == nox
+.if ${FLAVOR} == nox
SUFFIX= -nox
COMMENT+= (web UI version)
CONFIGURE_ARGS+= --disable-gui