freebsd-ports/x11-themes/gnome-icons/bsd.gnome-icons.mk
2014-02-04 20:22:55 +00:00

25 lines
654 B
Makefile

# Whom: Tom McLaughlin <tmclaugh@sdf.lonestar.org>
# $FreeBSD$
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 \
! -path 'stage*' \
-exec ${MKDIR} -m 0755 \
${STAGEDIR}${PREFIX}/share/icons/"{}" \;
cd ${WRKDIR} && ${FIND} * ! -type d ! -name 'plist' ! -name '*.bak' \
! -name '${LICENSE}' \
! -path 'stage/*' \
-exec ${INSTALL_DATA} ${WRKDIR}/"{}" \
${STAGEDIR}${PREFIX}/share/icons/"{}" \;