# $FreeBSD: tags/RELEASE_10_4_0/x11/tint/Makefile 441702 2017-05-25 17:01:03Z madpilot $

PORTNAME=	tint2
PORTVERSION=	0.14.5
CATEGORIES=	x11

MAINTAINER=	yamagi@yamagi.org
COMMENT=	Lightweight freedesktop-compliant panel/taskbar/systray/clock

LICENSE=	GPLv2
LICENSE_FILE=	${WRKSRC}/COPYING

LIB_DEPENDS=	libfontconfig.so:x11-fonts/fontconfig \
		libfreetype.so:print/freetype2 \
		libImlib2.so:graphics/imlib2 \
		libstartup-notification-1.so:x11/startup-notification

BROKEN_powerpc64=	fails to build: area.h: redefinition of typedef 'Area'

USES=		alias cmake:outsource pkgconfig
USE_GNOME=	cairo glib20 gtk20 librsvg2 pango
USE_XORG=	x11 xcomposite xdamage xfixes xinerama xrandr xrender
INSTALLS_ICONS=	yes

CMAKE_ARGS=	-DMANDIR:PATH=man -DSYSCONFDIR:PATH=etc

OPTIONS_DEFINE=	EXAMPLES NLS
OPTIONS_SUB=	yes
EXAMPLES_CMAKE_BOOL=	ENABLE_EXAMPLES
NLS_USES=	gettext
NLS_CMAKE_BOOL_OFF=	CMAKE_DISABLE_FIND_PACKAGE_Gettext

USE_GITHUB=	yes
GH_ACCOUNT=	o9000

.include <bsd.port.mk>
