diff options
author | marcus <marcus@FreeBSD.org> | 2005-11-19 15:57:48 +0800 |
---|---|---|
committer | marcus <marcus@FreeBSD.org> | 2005-11-19 15:57:48 +0800 |
commit | 4332c8c11baecdac29370657afdb3e22fae9d543 (patch) | |
tree | 217796781b01f66719ee39600873aa470f83e371 /x11-toolkits/gtk30/pkg-plist | |
parent | 6e730db4113bc71e14f77ded2be2c5d726aa291e (diff) | |
download | freebsd-ports-graphics-4332c8c11baecdac29370657afdb3e22fae9d543.tar.gz freebsd-ports-graphics-4332c8c11baecdac29370657afdb3e22fae9d543.tar.zst freebsd-ports-graphics-4332c8c11baecdac29370657afdb3e22fae9d543.zip |
* Use X11BASE rather than PREFIX or %D to search for icons
* Make sure ${X11BASE}/share/icons/hicolor/icon-theme.cache exists by
touching it. Otherwise, the cache file would not appear until icons
were actually installed, and this was breaking some port builds on
pointyhat.
Diffstat (limited to 'x11-toolkits/gtk30/pkg-plist')
-rw-r--r-- | x11-toolkits/gtk30/pkg-plist | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/x11-toolkits/gtk30/pkg-plist b/x11-toolkits/gtk30/pkg-plist index a7a06be2c7d..65901912d12 100644 --- a/x11-toolkits/gtk30/pkg-plist +++ b/x11-toolkits/gtk30/pkg-plist @@ -479,8 +479,9 @@ share/locale/zh_TW/LC_MESSAGES/gtk20.mo share/themes/Default/gtk-2.0-key/gtkrc share/themes/Emacs/gtk-2.0-key/gtkrc share/themes/Raleigh/gtk-2.0/gtkrc -@exec /usr/bin/find %D/share/icons -type d -depth 1 -exec %D/bin/gtk-update-icon-cache -q -f {} \; 2>/dev/null || /usr/bin/true -@unexec /usr/bin/find %D/share/icons -type f -depth 2 -name icon-theme.cache -delete 2>/dev/null || /usr/bin/true +@exec /usr/bin/touch -f %%X11BASE%%/share/icons/hicolor/icon-theme.cache 2>/dev/null || /usr/bin/true +@exec /usr/bin/find %%X11BASE%%/share/icons -type d -depth 1 -exec %D/bin/gtk-update-icon-cache -q -f {} \; 2>/dev/null || /usr/bin/true +@unexec /usr/bin/find %%X11BASE%%/share/icons -type f -depth 2 -name icon-theme.cache -delete 2>/dev/null || /usr/bin/true @dirrm share/themes/Raleigh/gtk-2.0 @dirrm share/themes/Raleigh @dirrm share/themes/Emacs/gtk-2.0-key |