aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits/gtk30/pkg-plist
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2005-11-19 15:57:48 +0800
committermarcus <marcus@FreeBSD.org>2005-11-19 15:57:48 +0800
commit4332c8c11baecdac29370657afdb3e22fae9d543 (patch)
tree217796781b01f66719ee39600873aa470f83e371 /x11-toolkits/gtk30/pkg-plist
parent6e730db4113bc71e14f77ded2be2c5d726aa291e (diff)
downloadfreebsd-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-plist5
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