aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2003-01-13 10:17:37 +0800
committermarcus <marcus@FreeBSD.org>2003-01-13 10:17:37 +0800
commitcda87879a740c6eac3c7d1102e139281f9d1f16a (patch)
tree9c66b8727251a6523147c433a5bf5fbe8effd9cf /x11-toolkits
parente1ef7e9c19d9ac29ab9b91f9f1890e0cb1839522 (diff)
downloadfreebsd-ports-gnome-cda87879a740c6eac3c7d1102e139281f9d1f16a.tar.gz
freebsd-ports-gnome-cda87879a740c6eac3c7d1102e139281f9d1f16a.tar.zst
freebsd-ports-gnome-cda87879a740c6eac3c7d1102e139281f9d1f16a.zip
Remove the share/themes directory if it's empty.
Reported by: bento
Diffstat (limited to 'x11-toolkits')
-rw-r--r--x11-toolkits/gtk12/pkg-plist2
-rw-r--r--x11-toolkits/gtk20/pkg-plist1
-rw-r--r--x11-toolkits/gtk30/pkg-plist1
3 files changed, 3 insertions, 1 deletions
diff --git a/x11-toolkits/gtk12/pkg-plist b/x11-toolkits/gtk12/pkg-plist
index 6839e7b0c029..5be754318204 100644
--- a/x11-toolkits/gtk12/pkg-plist
+++ b/x11-toolkits/gtk12/pkg-plist
@@ -232,7 +232,7 @@ share/themes/Default/gtk/gtkrc.zh_TW.Big5
@dirrm lib/gtk
@dirrm share/themes/Default/gtk
@dirrm share/themes/Default
-@dirrm share/themes
@dirrm include/gtk12/gtk
@dirrm include/gtk12/gdk
@dirrm include/gtk12
+@unexec /bin/rmdir %D/share/themes 2>/dev/null || /usr/bin/true
diff --git a/x11-toolkits/gtk20/pkg-plist b/x11-toolkits/gtk20/pkg-plist
index dcec2bf62431..143e7096e46e 100644
--- a/x11-toolkits/gtk20/pkg-plist
+++ b/x11-toolkits/gtk20/pkg-plist
@@ -291,3 +291,4 @@ share/themes/Emacs/gtk-2.0-key/gtkrc
@dirrm include/gtk-2.0
@dirrm etc/gtk-2.0
@unexec /bin/rmdir %D/share/themes/Default 2>/dev/null || /usr/bin/true
+@unexec /bin/rmdir %D/share/themes 2>/dev/null || /usr/bin/true
diff --git a/x11-toolkits/gtk30/pkg-plist b/x11-toolkits/gtk30/pkg-plist
index dcec2bf62431..143e7096e46e 100644
--- a/x11-toolkits/gtk30/pkg-plist
+++ b/x11-toolkits/gtk30/pkg-plist
@@ -291,3 +291,4 @@ share/themes/Emacs/gtk-2.0-key/gtkrc
@dirrm include/gtk-2.0
@dirrm etc/gtk-2.0
@unexec /bin/rmdir %D/share/themes/Default 2>/dev/null || /usr/bin/true
+@unexec /bin/rmdir %D/share/themes 2>/dev/null || /usr/bin/true