# Created by: Martin Wilke # $FreeBSD: head/x11-themes/claws-mail-themes/Makefile 394914 2015-08-20 20:44:55Z pawel $ PORTNAME= claws-mail-themes PORTVERSION= 20140629 CATEGORIES= x11-themes mail MASTER_SITES= http://www.claws-mail.org/themes/ MAINTAINER= pawel@FreeBSD.org COMMENT= Claws Mail icon themes NO_ARCH= yes NO_BUILD= yes THEMESDIR?= ${PREFIX}/share/claws-mail/themes do-install: @${MKDIR} ${STAGEDIR}${THEMESDIR} cd ${WRKSRC}/ && ${FIND} . -mindepth 2 -print | \ ${GREP} -vE '(Makefile.*|INSTALL)' | \ ${CPIO} -pdu -R ${BINOWN}:${BINGRP} --quiet ${STAGEDIR}${THEMESDIR} @${CHMOD} -R a+r ${STAGEDIR}${THEMESDIR} @${FIND} ${STAGEDIR}${THEMESDIR} -type d -print0 | ${XARGS} -0 ${CHMOD} 755 @${FIND} ${STAGEDIR}${THEMESDIR} -type f -print0 | ${XARGS} -0 ${CHMOD} 644 .include