aboutsummaryrefslogtreecommitdiffstats
path: root/x11-themes/gnome-icons/bsd.gnome-icons.mk
blob: a79ca0ee2b2f8cc95e180a22674968f31b8eaf3b (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
# 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-

NO_BUILD=   yes

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

WANT_GNOME= yes
INSTALLS_ICONS= yes

do-install: icon-do-install

icon-do-install:
    cd ${WRKDIR} && ${FIND} * -type d ! -empty \
        -exec ${MKDIR} -m 0755 \
        ${PREFIX}/share/icons/"{}" \;
    cd ${WRKDIR} && ${FIND} * ! -type d ! -name 'plist' ! -name '*.bak' \
        -exec ${INSTALL_DATA} ${WRKDIR}/"{}" \
        ${PREFIX}/share/icons/"{}" \;