aboutsummaryrefslogtreecommitdiffstats
path: root/x11-themes/gnome-icons/bsd.gnome-icons.mk
blob: 51ffa02440542017c6646b9ee957e75d13dd3872 (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
# New ports collection makefile for:    Gnome iconset
# Date created:             29 Feb 2004
# Whom:                 Tom McLaughlin <tmclaugh@sdf.lonestar.org>
#
# $FreeBSD$
#

# Port logic gratuitously stolen from x11-themes/kde-icons-noia by
# lioux@.

PKGNAMEPREFIX=  gnome-icons-
MASTER_SITES?=  ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR?=    teams/art.gnome.org/themes/icon

NO_BUILD=   yes
USE_SIZE=   yes

REASON=     Themes may contain artwork not done by the author. \
        Keep FreeBSD safe if theme author violated copyrights.

USE_X_PREFIX=   yes

do-install:
    ${MKDIR} ${PREFIX}/share/icons/${PORTNAME}
    cd ${WRKSRC} && ${FIND} . -type d ! -empty \
        -exec ${MKDIR} -m 0755 \
        ${PREFIX}/share/icons/${PORTNAME}/"{}" \;
    cd ${WRKSRC} && ${FIND} . -type f \
        -exec ${INSTALL_DATA} ${WRKSRC}/"{}" \
        ${PREFIX}/share/icons/${PORTNAME}/"{}" \;