PORTNAME=	canta-gtk-themes
DISTVERSION=	2021-09-08
PORTREVISION=	1
CATEGORIES=	x11-themes

MAINTAINER=	avereeken@fastmail.de
COMMENT=	Flat Material Design theme for GTK 3, GTK 2 and Gnome-Shell
WWW=		https://github.com/vinceliuice/Canta-theme

LICENSE=	GPLv3
LICENSE_FILE=	${WRKSRC}/COPYING

BUILD_DEPENDS=	bash>0:shells/bash \
		coreutils>0:sysutils/coreutils \
		gsed:textproc/gsed \
		sassc>0:textproc/sassc
RUN_DEPENDS=	gtk-engines2>0:x11-themes/gtk-engines2 \
		gtk-murrine-engine>0:x11-themes/gtk-murrine-engine

USES=		shebangfix
SHEBANG_FILES=	install.sh

USE_GITHUB=	yes
GH_ACCOUNT=	vinceliuice
GH_PROJECT=	Canta-theme
NO_ARCH=	yes
NO_BUILD=	yes

do-install:
	@${MKDIR} ${STAGEDIR}${PREFIX}/share/themes
	${WRKSRC}/install.sh -d ${STAGEDIR}${PREFIX}/share/themes -t standard blue indigo

.include <bsd.port.mk>
