aboutsummaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2004-01-11 07:07:35 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2004-01-11 07:07:35 +0000
commit7b9a75cf651be11d9f540f5e712b478340591c14 (patch)
tree0c71a6f71f888129848cd3977ff560eb803562cf /textproc
parentf06f7333d1a194897f7c5b3047d9412707daa64b (diff)
downloadports-7b9a75cf651be11d9f540f5e712b478340591c14.tar.gz
ports-7b9a75cf651be11d9f540f5e712b478340591c14.zip
Remove some control-center directories if they exist and are empty. This
keeps us from adding a mostly superfluous RUN_DEPENDS on gnomecontrolcenter2. Reported by: adamw
Notes
Notes: svn path=/head/; revision=97907
Diffstat (limited to 'textproc')
-rw-r--r--textproc/gnome-spell/pkg-plist2
-rw-r--r--textproc/gnomespell/pkg-plist2
2 files changed, 4 insertions, 0 deletions
diff --git a/textproc/gnome-spell/pkg-plist b/textproc/gnome-spell/pkg-plist
index 8eadb0ea194d..7d770b26ae5c 100644
--- a/textproc/gnome-spell/pkg-plist
+++ b/textproc/gnome-spell/pkg-plist
@@ -40,4 +40,6 @@ share/locale/vi/LC_MESSAGES/gnome-spell-%%VERSION%%.mo
share/locale/wa/LC_MESSAGES/gnome-spell-%%VERSION%%.mo
share/locale/zh_CN/LC_MESSAGES/gnome-spell-%%VERSION%%.mo
@dirrm share/gnome/gnome-spell-%%VERSION%%
+@unexec /bin/rmdir %D/share/gnome/control-center-2.0/icons 2>/dev/null || /usr/bin/true
+@unexec /bin/rmdir %D/share/gnome/control-center-2.0 2>/dev/null || /usr/bin/true
@dirrm lib/gnome-spell
diff --git a/textproc/gnomespell/pkg-plist b/textproc/gnomespell/pkg-plist
index 8eadb0ea194d..7d770b26ae5c 100644
--- a/textproc/gnomespell/pkg-plist
+++ b/textproc/gnomespell/pkg-plist
@@ -40,4 +40,6 @@ share/locale/vi/LC_MESSAGES/gnome-spell-%%VERSION%%.mo
share/locale/wa/LC_MESSAGES/gnome-spell-%%VERSION%%.mo
share/locale/zh_CN/LC_MESSAGES/gnome-spell-%%VERSION%%.mo
@dirrm share/gnome/gnome-spell-%%VERSION%%
+@unexec /bin/rmdir %D/share/gnome/control-center-2.0/icons 2>/dev/null || /usr/bin/true
+@unexec /bin/rmdir %D/share/gnome/control-center-2.0 2>/dev/null || /usr/bin/true
@dirrm lib/gnome-spell