# Created by: Oliver Lehmann <oliver@FreeBSD.org>
# $FreeBSD: head/sysutils/garcon/Makefile 450042 2017-09-18 14:17:15Z madpilot $

PORTNAME=	garcon
PORTVERSION=	0.6.1
CATEGORIES=	sysutils xfce
MASTER_SITES=	XFCE/src/xfce/${PORTNAME}/${PORTVERSION:R}
DIST_SUBDIR=	xfce4

MAINTAINER=	xfce@FreeBSD.org
COMMENT=	Freedesktop compliant menu library

# garcon's source code is licensed under GPLv2, while its
# documentation is under GFDL 1.1.
LICENSE=	GPLv2

LIB_DEPENDS=	libfontconfig.so:x11-fonts/fontconfig \
		libfreetype.so:print/freetype2

GNU_CONFIGURE=	yes
INSTALL_TARGET=	install-strip
USES=		gettext-tools gmake libtool pathfix pkgconfig tar:bzip2 xfce:gtk3
USE_GNOME=	glib20 gtk20 gtk30 intltool cairo gdkpixbuf2
USE_XFCE=	libmenu
USE_LDCONFIG=	yes

CONFIGURE_ARGS=	--without-html-dir \
		--enable-gtk2

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

.include <bsd.port.mk>
