summaryrefslogtreecommitdiff
path: root/sysutils/xfce4-systemload-plugin/Makefile
blob: aa5cf680823d25e30961e242093b23f77b96c664 (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
PORTNAME=	xfce4-systemload-plugin
PORTVERSION=	1.4.0
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=	libpolkit-gobject-1.so:sysutils/polkit

USES=		compiler:c11 gettext-tools gnome meson pkgconfig tar:xz xfce
USE_GNOME=	gtk30
USE_XFCE=	libmenu panel xfconf
SSP_UNSAFE=	yes

OPTIONS_DEFINE=		LIBGTOP NLS UPOWER
OPTIONS_DEFAULT=	UPOWER
OPTIONS_SUB=		yes

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_MESON_ENABLED=	libgtop

NLS_USES=	gettext-runtime

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

post-patch-NLS-off:
	@${REINPLACE_CMD} -e "/^subdir('po')/d" ${WRKSRC}/meson.build

.include <bsd.port.mk>