Changeset View
Changeset View
Standalone View
Standalone View
head/x11-themes/gnome-icons/bsd.gnome-icons.mk
# Whom: Tom McLaughlin <tmclaugh@sdf.lonestar.org> | # Whom: Tom McLaughlin <tmclaugh@sdf.lonestar.org> | ||||
# $FreeBSD$ | # $FreeBSD$ | ||||
PKGNAMEPREFIX= gnome-icons- | PKGNAMEPREFIX= gnome-icons- | ||||
NO_BUILD= yes | NO_BUILD= yes | ||||
REASON= Themes may contain artwork not done by the author. \ | REASON= Themes may contain artwork not done by the author. \ | ||||
Keep FreeBSD safe if theme author violated copyrights. | Keep FreeBSD safe if theme author violated copyrights. | ||||
WANT_GNOME= yes | WANT_GNOME= yes | ||||
INSTALLS_ICONS= yes | INSTALLS_ICONS= yes | ||||
do-install: icon-do-install | do-install: icon-do-install | ||||
icon-do-install: | icon-do-install: | ||||
cd ${WRKDIR} && ${FIND} * -type d ! -empty \ | cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/share/icons/ | ||||
! -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/"{}" \; |