PORTNAME=	clearlooks-phenix
PORTVERSION=	7.1
CATEGORIES=	x11-themes xfce
PKGNAMESUFFIX=	-theme

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Gtk3 port of Clearlooks theme for the Xfce Desktop
WWW=		https://github.com/jpfleury/clearlooks-phenix

LICENSE=	GPLv3

RUN_DEPENDS=	gtk-engines2>=2.20.2:x11-themes/gtk-engines2

USE_GITHUB=	yes
NO_BUILD=	yes
NO_ARCH=	yes

GH_ACCOUNT=	jpfleury

do-install:
	${MKDIR} ${STAGEDIR}${PREFIX}/share/themes/Clearlooks-Phenix
.for dir in gtk-2.0 gtk-3.0 xfwm4
	cd ${WRKSRC} && \
		${COPYTREE_SHARE} ${dir} \
		${STAGEDIR}${PREFIX}/share/themes/Clearlooks-Phenix
.endfor
	${INSTALL_DATA} ${WRKSRC}/index.theme \
		${STAGEDIR}${PREFIX}/share/themes/Clearlooks-Phenix

.include <bsd.port.mk>
