# Created by: Thorsten Greiner <thorsten.greiner@web.de>
# $FreeBSD: head/sysutils/xfce4-battery-plugin/Makefile 450777 2017-09-27 18:24:40Z madpilot $

PORTNAME=	xfce4-battery-plugin
PORTVERSION=	1.1.0
CATEGORIES=	sysutils xfce
MASTER_SITES=	XFCE/src/panel-plugins/${PORTNAME}/${PORTVERSION:R}
DIST_SUBDIR=	xfce4

MAINTAINER=	xfce@FreeBSD.org
COMMENT=	Battery monitor panel plugin for Xfce4

LICENSE=	GPLv2

ONLY_FOR_ARCHS=	amd64 i386

SSP_UNSAFE=	yes
USES=		alias gettext-tools gmake libtool pkgconfig tar:bzip2 xfce:gtk3
GNU_CONFIGURE=	yes
USE_GNOME=	gtk30 glib20 intltool cairo
USE_XFCE=	panel
INSTALLS_ICONS=	yes
USE_LDCONFIG=	yes
INSTALL_TARGET=	install-strip

OPTIONS_DEFINE=	NLS
NLS_USES=	gettext-runtime
NLS_CONFIGURE_ENABLE=	nls
OPTIONS_SUB=	yes

.include <bsd.port.mk>
