PORTNAME=	lemonbar-xft
DISTVERSION=	g20201213
PORTREVISION=	1
CATEGORIES=	x11

MAINTAINER=	dtxdf@FreeBSD.org
COMMENT=	Fork of lemonbar with support for Xft (fontconfig typefaces)
WWW=		https://gitlab.com/protesilaos/lemonbar-xft

LICENSE=	MIT
LICENSE_FILE=	${WRKSRC}/LICENSE

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

USES=		gmake localbase:ldflags perl5 xorg

USE_XORG=	xcb xft x11
USE_PERL5=	build

CONFLICTS_INSTALL=	lemonbar

PLIST_FILES=	bin/lemonbar \
		share/man/man1/lemonbar.1.gz

USE_GITLAB=	yes
GL_ACCOUNT=	protesilaos
GL_TAGNAME=	0042efd2ec1477ab96eb044ebba72a10aefff21f

.include <bsd.port.mk>
