summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2005-01-13 16:06:46 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2005-01-13 16:06:46 +0800
commit09b8438926ac30b7f101af16ac91cea7d25e187d (patch)
treea74427cfa5625a1c313da24b1e670a93aa49d49a
parent621e18b46828dc758cd727671c14fc80e43b0142 (diff)
downloadmarcuscom-ports-09b8438926ac30b7f101af16ac91cea7d25e187d.tar
marcuscom-ports-09b8438926ac30b7f101af16ac91cea7d25e187d.tar.gz
marcuscom-ports-09b8438926ac30b7f101af16ac91cea7d25e187d.tar.bz2
marcuscom-ports-09b8438926ac30b7f101af16ac91cea7d25e187d.tar.lz
marcuscom-ports-09b8438926ac30b7f101af16ac91cea7d25e187d.tar.xz
marcuscom-ports-09b8438926ac30b7f101af16ac91cea7d25e187d.tar.zst
marcuscom-ports-09b8438926ac30b7f101af16ac91cea7d25e187d.zip
Handle removal of share/icons/gnome/48x48/apps to fix the leftovers problem
with gnomecontrolcenter2. git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@3424 df743ca5-7f9a-e211-a948-0013205c9059
-rw-r--r--misc/gnome-icon-theme/Makefile4
-rw-r--r--misc/gnome-icon-theme/pkg-plist2
2 files changed, 6 insertions, 0 deletions
diff --git a/misc/gnome-icon-theme/Makefile b/misc/gnome-icon-theme/Makefile
index 7a8afb0d0..a20316240 100644
--- a/misc/gnome-icon-theme/Makefile
+++ b/misc/gnome-icon-theme/Makefile
@@ -7,6 +7,7 @@
PORTNAME= gnome-icon-theme
PORTVERSION= 2.9.3
+PORTREVISION= 1
CATEGORIES= misc gnome
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= sources/${PORTNAME}/2.9
@@ -31,4 +32,7 @@ post-patch:
@${REINPLACE_CMD} -e 's|%%X11BASE%%|${X11BASE}|g' \
${WRKSRC}/Makefile.in
+post-install:
+ @${MKDIR} ${PREFIX}/share/icons/gnome/48x48/apps
+
.include <bsd.port.mk>
diff --git a/misc/gnome-icon-theme/pkg-plist b/misc/gnome-icon-theme/pkg-plist
index 992d72ca1..21bd0fa50 100644
--- a/misc/gnome-icon-theme/pkg-plist
+++ b/misc/gnome-icon-theme/pkg-plist
@@ -108,6 +108,7 @@ share/icons/gnome/36x36/filesystems/gnome-fs-directory-visiting.icon
share/icons/gnome/36x36/filesystems/gnome-fs-directory-visiting.png
share/icons/gnome/36x36/filesystems/gnome-fs-directory.icon
share/icons/gnome/36x36/filesystems/gnome-fs-directory.png
+@exec mkdir -p %D/share/icons/gnome/48x48/apps
share/icons/gnome/48x48/devices/gnome-dev-battery.png
share/icons/gnome/48x48/devices/gnome-dev-cdrom-audio.png
share/icons/gnome/48x48/devices/gnome-dev-cdrom.png
@@ -2513,6 +2514,7 @@ share/icons/hicolor/96x96/apps/gnome-starthere.png
@unexec /bin/rmdir %D/share/icons/gnome/48x48/filesystems 2>/dev/null || /usr/bin/true
@unexec /bin/rmdir %D/share/icons/gnome/48x48/emblems 2>/dev/null || /usr/bin/true
@unexec /bin/rmdir %D/share/icons/gnome/48x48/devices 2>/dev/null || /usr/bin/true
+@unexec /bin/rmdir %D/share/icons/gnome/48x48/apps 2>/dev/null || /usr/bin/true
@unexec /bin/rmdir %D/share/icons/gnome/48x48 2>/dev/null || /usr/bin/true
@unexec /bin/rmdir %D/share/icons/gnome/36x36/mimetypes 2>/dev/null || /usr/bin/true
@unexec /bin/rmdir %D/share/icons/gnome/36x36/filesystems 2>/dev/null || /usr/bin/true