summaryrefslogtreecommitdiff
path: root/sysutils/xfce4-systemload-plugin/Makefile
blob: 98f99720f19d1fd878bbf57de7c3ce7e2ff74039 (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
36
37
38
39
40
41
42
43
PORTNAME=	xfce4-systemload-plugin
PORTVERSION=	1.3.3
CATEGORIES=	sysutils xfce
MASTER_SITES=	XFCE/panel-plugins
DIST_SUBDIR=	xfce4

MAINTAINER=	xfce@FreeBSD.org
COMMENT=	System Load plugin for Xfce4 panel
WWW=		https://docs.xfce.org/panel-plugins/xfce4-systemload-plugin/start

LICENSE=	BSD2CLAUSE

LIB_DEPENDS=	libharfbuzz.so:print/harfbuzz \
		libpolkit-gobject-1.so:sysutils/polkit

USES=		compiler:c11 gettext-tools gmake gnome libtool pkgconfig \
		tar:bzip2 xfce
USE_GNOME=	cairo gdkpixbuf gtk30
USE_XFCE=	libmenu panel xfconf

GNU_CONFIGURE=	yes
CONFIGURE_ARGS=	--disable-libgtop
INSTALL_TARGET=	install-strip
SSP_UNSAFE=	yes

OPTIONS_DEFINE=		NLS UPOWER # LIBGTOP
OPTIONS_DEFAULT=	UPOWER
OPTIONS_SUB=		yes

# Enabling libgtop causes crashes, needs investigation
#LIBGTOP_DESC=	Use libgtop for network utilization monitoring
UPOWER_DESC=	Use upower for adapting update interval to power state

#LIBGTOP_LIB_DEPENDS=		libgtop-2.0.so:devel/libgtop
#LIBGTOP_CONFIGURE_ENABLE=	libgtop

NLS_USES=		gettext-runtime
NLS_CONFIGURE_ENABLE=	nls

UPOWER_LIB_DEPENDS=		libupower-glib.so:sysutils/upower
UPOWER_CONFIGURE_ENABLE=	upower

.include <bsd.port.mk>