aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/gnomebaker
diff options
context:
space:
mode:
authorkwm <kwm@FreeBSD.org>2005-03-26 05:38:39 +0800
committerkwm <kwm@FreeBSD.org>2005-03-26 05:38:39 +0800
commitbb9f321204e372a3a41ec0cbfef657e74df29f87 (patch)
treed3a3c2c4ebdf00938430b0fbd727515e81e30415 /sysutils/gnomebaker
parentce1e2fd785f01d1a4a6515b6c38c6d4e1feb6e2b (diff)
downloadfreebsd-ports-gnome-bb9f321204e372a3a41ec0cbfef657e74df29f87.tar.gz
freebsd-ports-gnome-bb9f321204e372a3a41ec0cbfef657e74df29f87.tar.zst
freebsd-ports-gnome-bb9f321204e372a3a41ec0cbfef657e74df29f87.zip
Remove some locale directories if empty.
Submitted by: maintainer Approved by: portmgr (marcus)
Diffstat (limited to 'sysutils/gnomebaker')
-rw-r--r--sysutils/gnomebaker/Makefile1
-rw-r--r--sysutils/gnomebaker/pkg-plist6
2 files changed, 7 insertions, 0 deletions
diff --git a/sysutils/gnomebaker/Makefile b/sysutils/gnomebaker/Makefile
index 4292eb9feaa0..a21f95c4d6c6 100644
--- a/sysutils/gnomebaker/Makefile
+++ b/sysutils/gnomebaker/Makefile
@@ -6,6 +6,7 @@
PORTNAME= gnomebaker
PORTVERSION= 0.3
+PORTREVISION= 1
CATEGORIES= sysutils gnome
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= gnomebaker
diff --git a/sysutils/gnomebaker/pkg-plist b/sysutils/gnomebaker/pkg-plist
index f95858c5626b..990c54f1df93 100644
--- a/sysutils/gnomebaker/pkg-plist
+++ b/sysutils/gnomebaker/pkg-plist
@@ -60,6 +60,12 @@ share/locale/sv/LC_MESSAGES/gnomebaker.mo
share/locale/sv_SE/LC_MESSAGES/gnomebaker.mo
share/locale/tr/LC_MESSAGES/gnomebaker.mo
share/locale/zh_CN/LC_MESSAGES/gnomebaker.mo
+@unexec /bin/rmdir %D/share/locale/nl_NL/LC_MESSAGES 2>/dev/null || /usr/bin/true
+@unexec /bin/rmdir %D/share/locale/nl_NL 2>/dev/null || /usr/bin/true
+@unexec /bin/rmdir %D/share/locale/en_US/LC_MESSAGES 2>/dev/null || /usr/bin/true
+@unexec /bin/rmdir %D/share/locale/en_US 2>/dev/null || /usr/bin/true
+@unexec /bin/rmdir %D/share/locale/sv_SE/LC_MESSAGES 2>/dev/null || /usr/bin/true
+@unexec /bin/rmdir %D/share/locale/sv_SE 2>/dev/null || /usr/bin/true
@dirrm %%DATADIR%%
@dirrm share/gnome/omf/gnomebaker
@dirrm share/gnome/gnomebaker/doc/gnomebaker/C/figures