diff options
author | Joe Marcus Clarke <marcus@FreeBSD.org> | 2005-11-19 07:57:48 +0000 |
---|---|---|
committer | Joe Marcus Clarke <marcus@FreeBSD.org> | 2005-11-19 07:57:48 +0000 |
commit | f6f5b302dc9115ac4f0c363dc38666e486adccd8 (patch) | |
tree | 7ce57f6a0eaf98ced5338b5d59060ae9bd8573fd /x11-toolkits | |
parent | 4844e223778fb2ab55e701fd7d06f9f702e7f25b (diff) | |
download | ports-f6f5b302dc9115ac4f0c363dc38666e486adccd8.tar.gz ports-f6f5b302dc9115ac4f0c363dc38666e486adccd8.zip |
Notes
Diffstat (limited to 'x11-toolkits')
-rw-r--r-- | x11-toolkits/gtk20/Makefile | 5 | ||||
-rw-r--r-- | x11-toolkits/gtk20/pkg-plist | 5 | ||||
-rw-r--r-- | x11-toolkits/gtk30/Makefile | 5 | ||||
-rw-r--r-- | x11-toolkits/gtk30/pkg-plist | 5 |
4 files changed, 14 insertions, 6 deletions
diff --git a/x11-toolkits/gtk20/Makefile b/x11-toolkits/gtk20/Makefile index 95cc7e7c63a6..ff7f9bdc0769 100644 --- a/x11-toolkits/gtk20/Makefile +++ b/x11-toolkits/gtk20/Makefile @@ -8,6 +8,7 @@ PORTNAME= gtk PORTVERSION= 2.8.7 +PORTREVISION= 1 CATEGORIES= x11-toolkits MASTER_SITES= ${MASTER_SITE_GNOME:S,%SUBDIR%,sources/gtk+/2.8,} \ ftp://ftp.gtk.org/pub/gtk/v2.8/ \ @@ -104,7 +105,9 @@ pre-build: @${RM} -rf ${WRKSRC}/docs/gtk.info* post-install: - -@${FIND} ${PREFIX}/share/icons -type d -depth 1 -exec \ + -@${TOUCH} -f ${X11BASE}/share/icons/hicolor/icon-theme.cache \ + 2>/dev/null + -@${FIND} ${X11BASE}/share/icons -type d -depth 1 -exec \ ${PREFIX}/bin/gtk-update-icon-cache -q -f {} \; 2>/dev/null @${MKDIR} ${PREFIX}/lib/gtk-2.0/modules @${MKDIR} ${PREFIX}/lib/gtk-2.0/${GTK_VERSION}/engines diff --git a/x11-toolkits/gtk20/pkg-plist b/x11-toolkits/gtk20/pkg-plist index a7a06be2c7d3..65901912d12f 100644 --- a/x11-toolkits/gtk20/pkg-plist +++ b/x11-toolkits/gtk20/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 diff --git a/x11-toolkits/gtk30/Makefile b/x11-toolkits/gtk30/Makefile index 95cc7e7c63a6..ff7f9bdc0769 100644 --- a/x11-toolkits/gtk30/Makefile +++ b/x11-toolkits/gtk30/Makefile @@ -8,6 +8,7 @@ PORTNAME= gtk PORTVERSION= 2.8.7 +PORTREVISION= 1 CATEGORIES= x11-toolkits MASTER_SITES= ${MASTER_SITE_GNOME:S,%SUBDIR%,sources/gtk+/2.8,} \ ftp://ftp.gtk.org/pub/gtk/v2.8/ \ @@ -104,7 +105,9 @@ pre-build: @${RM} -rf ${WRKSRC}/docs/gtk.info* post-install: - -@${FIND} ${PREFIX}/share/icons -type d -depth 1 -exec \ + -@${TOUCH} -f ${X11BASE}/share/icons/hicolor/icon-theme.cache \ + 2>/dev/null + -@${FIND} ${X11BASE}/share/icons -type d -depth 1 -exec \ ${PREFIX}/bin/gtk-update-icon-cache -q -f {} \; 2>/dev/null @${MKDIR} ${PREFIX}/lib/gtk-2.0/modules @${MKDIR} ${PREFIX}/lib/gtk-2.0/${GTK_VERSION}/engines diff --git a/x11-toolkits/gtk30/pkg-plist b/x11-toolkits/gtk30/pkg-plist index a7a06be2c7d3..65901912d12f 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 |