aboutsummaryrefslogtreecommitdiffstats
path: root/games/wesnoth
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2004-12-16 13:49:27 +0800
committerkris <kris@FreeBSD.org>2004-12-16 13:49:27 +0800
commit7b7c9bd0dc7d6b6913f2fa5e8ba139254cdbe135 (patch)
tree190106e9bf54a571703d713bb45b9e73a9c9d8c7 /games/wesnoth
parentbefba174ca2c351e960ed7779aef28e6453785ff (diff)
downloadfreebsd-ports-gnome-7b7c9bd0dc7d6b6913f2fa5e8ba139254cdbe135.tar.gz
freebsd-ports-gnome-7b7c9bd0dc7d6b6913f2fa5e8ba139254cdbe135.tar.zst
freebsd-ports-gnome-7b7c9bd0dc7d6b6913f2fa5e8ba139254cdbe135.zip
Clean up handling of locale directories at deinstall-time:
* Don't remove "system directories" (which were created by BSD.*.dist) * Silently try to remove locale directories which we might have created
Diffstat (limited to 'games/wesnoth')
-rw-r--r--games/wesnoth/pkg-plist2
1 files changed, 2 insertions, 0 deletions
diff --git a/games/wesnoth/pkg-plist b/games/wesnoth/pkg-plist
index b840191404bc..7e60f9659bdc 100644
--- a/games/wesnoth/pkg-plist
+++ b/games/wesnoth/pkg-plist
@@ -2771,6 +2771,8 @@ share/wesnoth/sounds/wolf-attack.wav
share/wesnoth/sounds/wolf-cry.wav
share/wesnoth/sounds/zombie-attack.wav
share/wesnoth/sounds/zombie-hit.wav
+@unexec rmdir %D/share/locale/el_GR/LC_MESSAGES 2> /dev/null || true
+@unexec rmdir %D/share/locale/el_GR 2> /dev/null || true
@dirrm share/wesnoth/sounds
%%LITE:%%@dirrm share/wesnoth/music
@dirrm share/wesnoth/images/tools/exploder