# Created by: James Earl <jdearl@telus.net>
# $FreeBSD: tags/RELEASE_11_0_0/x11-wm/xfce4-panel/Makefile 415742 2016-05-23 20:35:01Z amdmi3 $

PORTNAME=	xfce4-panel
PORTVERSION=	4.12.0
PORTREVISION=	1
CATEGORIES=	x11-wm xfce
MASTER_SITES=	XFCE
DIST_SUBDIR=	xfce4

MAINTAINER=	xfce@FreeBSD.org
COMMENT=	Xfce's panel

LICENSE=	GPLv2 LGPL21
LICENSE_COMB=	multi
LICENSE_DISTFILES=	${WRKSRC}/COPYING \
	${WRKSRC}/COPYING.LIB

LIB_DEPENDS=	libdbus-glib-1.so:devel/dbus-glib

USES=		desktop-file-utils gmake libtool pathfix gettext-tools perl5 \
		pkgconfig tar:bzip2
GNU_CONFIGURE=	yes
INSTALLS_ICONS=	yes
USE_GNOME=	glib20 gtk20 intltool intlhack libwnck cairo
USE_LDCONFIG=	yes
USE_XFCE=	garcon libexo
USE_XORG=	x11 sm

CONFIGURE_ARGS+=--enable-gio-unix --without-html-dir

OPTIONS_DEFINE=		GTK3 NLS
OPTIONS_DEFAULT=	GTK3
GTK3_USES=	xfce:gtk3
GTK3_USE=	gnome=gtk30
GTK3_CONFIGURE_ENABLE=	gtk3
GTK3_USES_OFF=	xfce
NLS_USES=	gettext-runtime
NLS_CONFIGURE_ENABLE=	nls
OPTIONS_SUB=	yes

.include <bsd.port.mk>
