freebsd-ports/net-p2p/ktorrent/Makefile
Felix Palmen ddae4e92d8 Mk/Uses: always use colon for build/run suffix
Most USES use a colon for build/run(/test) suffixes. Change kde.mk,
qt.mk and pyqt.mk to do the same, and update all ports using that.

Document in CHANGES.

PR:			266034
Exp-run by:		antoine
Approved by:		tcberner (mentor)
Differential Revision:	https://reviews.freebsd.org/D36349
2022-09-11 12:20:14 +02:00

48 lines
1.4 KiB
Makefile

PORTNAME= ktorrent
DISTVERSION= ${KDE_APPLICATIONS_VERSION}
CATEGORIES= net-p2p kde kde-applications
MAINTAINER= kde@FreeBSD.org
COMMENT= BitTorrent client for KDE
WWW= https://kde.org/applications/en/internet/org.kde.ktorrent
CONFLICTS_BUILD= libtorrent
BUILD_DEPENDS= ${LOCALBASE}/include/boost/concept_check.hpp:devel/boost-libs
LIB_DEPENDS= libKF5Torrent.so:net-p2p/libktorrent \
libgcrypt.so:security/libgcrypt \
libgmp.so:math/gmp \
libtag.so:audio/taglib
USES= cmake compiler:c++11-lang desktop-file-utils gettext \
kde:5 qt:5 tar:xz xorg
USE_KDE= archive auth bookmarks codecs completion config configwidgets \
coreaddons crash dbusaddons dnssd i18n iconthemes itemviews \
jobwidgets kcmutils kio kross notifications \
notifyconfig parts plotting service \
solid sonnet syndication textwidgets widgetsaddons \
windowsystem xmlgui \
ecm:build
USE_QT= concurrent core dbus declarative gui location network phonon4 printsupport \
script webchannel widgets xml \
buildtools:build qmake:build
USE_XORG= x11
OPTIONS_DEFINE= DOCS WORKSPACE
OPTIONS_DEFAULT= WORKSPACE
OPTIONS_SUB= yes
WORKSPACE_USE= KDE=plasma-workspace
WORKSPACE_DESC= Shutdown on completion support
WORKSPACE_CMAKE_BOOL_OFF= CMAKE_DISABLE_FIND_PACKAGE_LibKWorkspace
.include <bsd.port.options.mk>
.if ${ARCH} == aarch64 || ${ARCH} == amd64 || ${ARCH} == i386
PLIST_SUB+= WEBENGINE=""
USE_QT+= webengine
.else
PLIST_SUB+= WEBENGINE="@comment "
.endif
.include <bsd.port.mk>