# Port logic gratuitously stolen from x11-themes/kde-icons-noia by
# lioux@.  If it's not defined here and you think it should be, check
# x11-themes/gnome-icons/bsd.gnome-icons.mk for it.

PORTNAME=	crystal
PORTVERSION=	1.2.0
PORTREVISION=	5
CATEGORIES=	x11-themes gnome
MASTER_SITES=	SF/${PORTNAME}forgnome/Crystal%20SVG%20Icons/v${PORTVERSION}
DISTNAME=	CrystalSVG-${PORTVERSION}
EXTRACT_SUFX=	.bz2

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Crystal SVG Icons for Gnome
WWW=		https://art.gnome.org/

# Converted from RESTRICTED
LICENSE=	icons
LICENSE_NAME=	icons
LICENSE_TEXT=	${REASON}
LICENSE_PERMS=	auto-accept

USES=		tar:bzip2
NO_WRKSUBDIR=	yes

post-patch:
	@${REINPLACE_CMD} 's|\(^Directories=.*\),,|\1,|' ${WRKSRC}/CfG-Crystal-SVG-${PORTVERSION}/index.theme

.include "${.CURDIR}/../gnome-icons/bsd.gnome-icons.mk"
.include <bsd.port.mk>
