aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2004-12-20 14:25:32 +0800
committerkris <kris@FreeBSD.org>2004-12-20 14:25:32 +0800
commit02989e2437fbb92bec09872e24565f5258738d6c (patch)
treefe4b8882b203329c780131256607631f3c9982f1 /graphics
parent250c4112863bc910c426644f3d19dc3a2974d3b7 (diff)
downloadfreebsd-ports-gnome-02989e2437fbb92bec09872e24565f5258738d6c.tar.gz
freebsd-ports-gnome-02989e2437fbb92bec09872e24565f5258738d6c.tar.zst
freebsd-ports-gnome-02989e2437fbb92bec09872e24565f5258738d6c.zip
Don't remove system locale directories (not listed in the relevant
BSD.*.dist), but do remove locale directories that are not listed there. Moreover, don't try to unconditionally @dirrm these directories since they're shared with other ports and are likely to still be in use.
Diffstat (limited to 'graphics')
-rw-r--r--graphics/eog2/pkg-plist2
-rw-r--r--graphics/kalbum/pkg-plist9
2 files changed, 2 insertions, 9 deletions
diff --git a/graphics/eog2/pkg-plist b/graphics/eog2/pkg-plist
index ecd22848fd0b..61b80e5a1daa 100644
--- a/graphics/eog2/pkg-plist
+++ b/graphics/eog2/pkg-plist
@@ -129,6 +129,8 @@ share/locale/wa/LC_MESSAGES/eog.mo
share/locale/zh_CN/LC_MESSAGES/eog.mo
share/locale/zh_TW/LC_MESSAGES/eog.mo
share/locale/zu/LC_MESSAGES/eog.mo
+@unexec rmdir %D/share/locale/zu/LC_MESSAGES 2> /dev/null || true
+@unexec rmdir %D/share/locale/zu 2> /dev/null || true
@dirrm share/gnome/pixmaps/eog
@dirrm share/gnome/omf/eog
@dirrm share/gnome/help/eog/zh_TW/figures
diff --git a/graphics/kalbum/pkg-plist b/graphics/kalbum/pkg-plist
index 4fcb3ed2033d..ce1bdf54ee16 100644
--- a/graphics/kalbum/pkg-plist
+++ b/graphics/kalbum/pkg-plist
@@ -53,15 +53,6 @@ share/locale/it/LC_MESSAGES/kalbum.mo
share/mimelnk/application/x-kalbum.desktop
@unexec rmdir %D/share/mimelnk/application 2>/dev/null || true
@unexec rmdir %D/share/mimelnk 2>/dev/null || true
-@unexec rmdir %D/share/locale/it/LC_MESSAGES 2>/dev/null || true
-@unexec rmdir %D/share/locale/it 2>/dev/null || true
-@unexec rmdir %D/share/locale/hu/LC_MESSAGES 2>/dev/null || true
-@unexec rmdir %D/share/locale/hu 2>/dev/null || true
-@unexec rmdir %D/share/locale/fr/LC_MESSAGES 2>/dev/null || true
-@unexec rmdir %D/share/locale/fr 2>/dev/null || true
-@unexec rmdir %D/share/locale/es/LC_MESSAGES 2>/dev/null || true
-@unexec rmdir %D/share/locale/es 2>/dev/null || true
-@unexec rmdir %D/share/locale 2>/dev/null || true
@unexec rmdir %D/share/icons/locolor/32x32/apps 2>/dev/null || true
@unexec rmdir %D/share/icons/locolor/32x32 2>/dev/null || true
@unexec rmdir %D/share/icons/locolor/16x16/apps 2>/dev/null || true