PORTNAME=	lxde-icon-theme
PORTVERSION=	0.5.1
CATEGORIES=	x11-themes
MASTER_SITES=	SF/lxde/LXDE%20Icon%20Theme/${DISTNAME}/

MAINTAINER=	ports@FreeBSD.org
COMMENT=	LXDE Icon Theme
WWW=		https://lxde.org/

LICENSE=	GPLv3
LICENSE_FILE=	${WRKSRC}/COPYING

USES=		gnome tar:xz
GNU_CONFIGURE=	yes
NO_ARCH=	yes

DATADIR=	${PREFIX}/share/lxde

PORTDOCS=	AUTHORS

OPTIONS_DEFINE=	DOCS

post-patch:
	@${REINPLACE_CMD} -e 's|cp -raf --no-preserve=ownership|cp -RpPf|' \
		${WRKSRC}/Makefile.in

post-install-DOCS-on:
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>
