aboutsummaryrefslogtreecommitdiffstats
path: root/x11-themes/claws-mail-themes/Makefile
blob: bb82d3efa8f8df0de5e2d480965f6b6eda33e5e4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# New ports collection makefile for:    claws-mail-themes
# Date created:     2008-10-04
# Whom:         Martin Wilke <miwi@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   claws-mail-themes
PORTVERSION=    20120129
CATEGORIES= x11-themes mail
MASTER_SITES=   http://www.claws-mail.org/themes/

MAINTAINER= miwi@FreeBSD.org
COMMENT=    Claws-Mail Themes

NO_BUILD=   yes

THEMESDIR?= ${PREFIX}/share/claws-mail/themes

.include <bsd.port.pre.mk>

do-install:
    @${MKDIR} ${THEMESDIR}
        cd ${WRKSRC}/ && ${FIND} . -mindepth 2 -print | \
        ${GREP} -vE '(Makefile.*|INSTALL)' | \
        ${CPIO} -pdu -R ${BINOWN}:${BINGRP} --quiet ${THEMESDIR}
    @${CHMOD} -R a+r ${THEMESDIR}
    @${FIND} ${THEMESDIR} -type d -print0 | ${XARGS} -0 ${CHMOD} 755
    @${FIND} ${THEMESDIR} -type f -print0 | ${XARGS} -0 ${CHMOD} 644

.include <bsd.port.post.mk>