summaryrefslogtreecommitdiff
path: root/sysutils/xfce4-battery-plugin/Makefile
blob: d83e7d9c7978ac08e6a017010cf3eaf14abca720 (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
PORTNAME=	xfce4-battery-plugin
PORTVERSION=	1.2.0
CATEGORIES=	sysutils xfce
MASTER_SITES=	XFCE/panel-plugins
DIST_SUBDIR=	xfce4

MAINTAINER=	xfce@FreeBSD.org
COMMENT=	Battery monitor panel plugin for Xfce4
WWW=		https://docs.xfce.org/panel-plugins/xfce4-battery-plugin/start

LICENSE=	GPLv2

ONLY_FOR_ARCHS=	amd64 i386

USES=		alias gettext-tools gnome meson pkgconfig tar:xz xfce
USE_GNOME=	glib20 gtk30
USE_LDCONFIG=	yes
USE_XFCE=	libmenu panel

SSP_UNSAFE=	yes

OPTIONS_DEFINE=	NLS
OPTIONS_SUB=	yes

NLS_USES=	gettext-runtime

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

.include <bsd.port.mk>