diff options
author | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2006-12-06 10:08:44 +0800 |
---|---|---|
committer | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2006-12-06 10:08:44 +0800 |
commit | 8e2eecdfc954eb0a6fcb0c100af24c4ec94755c8 (patch) | |
tree | c4825db0ddc692d64f23875a75e6601890619110 /misc/hicolor-icon-theme/files/pkg-install.in | |
parent | ca8e84b8815ad0416826d2bd8cd5eec2c163a4b1 (diff) | |
download | marcuscom-ports-8e2eecdfc954eb0a6fcb0c100af24c4ec94755c8.tar marcuscom-ports-8e2eecdfc954eb0a6fcb0c100af24c4ec94755c8.tar.gz marcuscom-ports-8e2eecdfc954eb0a6fcb0c100af24c4ec94755c8.tar.bz2 marcuscom-ports-8e2eecdfc954eb0a6fcb0c100af24c4ec94755c8.tar.lz marcuscom-ports-8e2eecdfc954eb0a6fcb0c100af24c4ec94755c8.tar.xz marcuscom-ports-8e2eecdfc954eb0a6fcb0c100af24c4ec94755c8.tar.zst marcuscom-ports-8e2eecdfc954eb0a6fcb0c100af24c4ec94755c8.zip |
Update to 0.10.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@7999 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'misc/hicolor-icon-theme/files/pkg-install.in')
-rw-r--r-- | misc/hicolor-icon-theme/files/pkg-install.in | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/misc/hicolor-icon-theme/files/pkg-install.in b/misc/hicolor-icon-theme/files/pkg-install.in new file mode 100644 index 000000000..aebbc02b8 --- /dev/null +++ b/misc/hicolor-icon-theme/files/pkg-install.in @@ -0,0 +1,24 @@ +#!/bin/sh +# $FreeBSD: ports/misc/hicolor-icon-theme/files/pkg-install.in,v 1.1 2006/10/14 08:35:20 marcus Exp $ +# $MCom: ports/misc/hicolor-icon-theme/files/pkg-install.in,v 1.1 2006/08/11 01:19:11 ahze Exp $ + +PATH=/bin:/usr/bin:/usr/sbin + +case $2 in +POST-INSTALL) + ICON_SIZES="%%ICON_SIZES%%" + ICON_CONTEXTS="%%ICON_CONTEXTS%%" + STOCK_SUBS="%%STOCK_SUBS%%" + + for dir in ${ICON_SIZES}; do + for ctxt in ${ICON_CONTEXTS}; do + mkdir -p ${PKG_PREFIX}/share/icons/hicolor/${dir}/${ctxt} + if [ "${ctxt}" = "stock" ]; then + for sub in ${STOCK_SUBS}; do + mkdir -p ${PKG_PREFIX}/share/icons/hicolor/${dir}/${ctxt}/${sub} + done + fi + done + done + ;; +esac |