aboutsummaryrefslogtreecommitdiff
path: root/sysutils/plasma5-ksysguard/Makefile
blob: b101daed15a7e378c5fcaa29652e50764a348498 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
PORTNAME=	ksysguard
DISTVERSION=	${KDE_PLASMA_VERSION}
CATEGORIES=	sysutils kde kde-plasma

MAINTAINER=	kde@FreeBSD.org
COMMENT=	Plasma5 utility to track and control the running processes

USES=		cmake compiler:c++11-lib cpe desktop-file-utils \
		gettext kde:5 localbase pathfix qt:5 tar:xz
USE_KDE=	attica auth codecs completion config configwidgets coreaddons \
		dbusaddons emoticons i18n iconthemes init itemmodels \
		itemviews jobwidgets kdelibs4support kio libksysguard \
		newstuff notifications service widgetsaddons windowsystem \
		xmlgui
USE_QT=		concurrent core dbus gui network widgets xml \
		buildtools_build qmake_build

OPTIONS_DEFINE=	INOTIFY
OPTIONS_DEFAULT=INOTIFY
OPTIONS_SUB=	yes

INOTIFY_DESC=		Filesystem alteration notifications using inotify
INOTIFY_LIB_DEPENDS=	libinotify.so:devel/libinotify
INOTIFY_CMAKE_BOOL_OFF=	CMAKE_DISABLE_FIND_PACKAGE_Inotify

.include <bsd.port.options.mk>

.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1200000
CMAKE_ARGS=	-DCMAKE_DISABLE_FIND_PACKAGE_libpcap:BOOL=TRUE
PLIST_SUB+=	PCAP="@comment "
.else
PLIST_SUB+=	PCAP=""
.endif

.include <bsd.port.mk>