aboutsummaryrefslogtreecommitdiffstats
path: root/print
diff options
context:
space:
mode:
authorasami <asami@FreeBSD.org>2000-05-31 03:25:41 +0800
committerasami <asami@FreeBSD.org>2000-05-31 03:25:41 +0800
commit7229b9b9153444a413cd00263c272f82a22cc95f (patch)
tree63610f98a4f3b607cc486dbf4d7d754ecbf11f3a /print
parent699040b361554bb8206908cabfd62517b82bb158 (diff)
downloadfreebsd-ports-gnome-7229b9b9153444a413cd00263c272f82a22cc95f.tar.gz
freebsd-ports-gnome-7229b9b9153444a413cd00263c272f82a22cc95f.tar.zst
freebsd-ports-gnome-7229b9b9153444a413cd00263c272f82a22cc95f.zip
Remove empty directories upon deinstallation.
Submitted by: obento
Diffstat (limited to 'print')
-rw-r--r--print/yatex/pkg-plist.emacs2
-rw-r--r--print/yatex/pkg-plist.mule2
-rw-r--r--print/yatex/pkg-plist.xemacs4
-rw-r--r--print/yatex/pkg-plist.xemacs-mule4
4 files changed, 12 insertions, 0 deletions
diff --git a/print/yatex/pkg-plist.emacs b/print/yatex/pkg-plist.emacs
index af417290230a..8591c9b80a1d 100644
--- a/print/yatex/pkg-plist.emacs
+++ b/print/yatex/pkg-plist.emacs
@@ -31,4 +31,6 @@ share/doc/yatex/yatexgen.doc
share/doc/yatex/yatexj.tex
share/doc/yatex/yatexref.eng
@dirrm share/emacs/site-lisp/yatex
+@unexec rmdir %D/share/emacs/site-lisp 2>/dev/null || true
+@unexec rmdir %D/share/emacs 2>/dev/null || true
@dirrm share/doc/yatex
diff --git a/print/yatex/pkg-plist.mule b/print/yatex/pkg-plist.mule
index 0965454d28c4..d848574b9136 100644
--- a/print/yatex/pkg-plist.mule
+++ b/print/yatex/pkg-plist.mule
@@ -31,4 +31,6 @@ share/doc/yatex/yatexgen.doc
share/doc/yatex/yatexj.tex
share/doc/yatex/yatexref.eng
@dirrm share/mule/site-lisp/yatex
+@unexec rmdir %D/share/mule/site-lisp 2>/dev/null || true
+@unexec rmdir %D/share/mule 2>/dev/null || true
@dirrm share/doc/yatex
diff --git a/print/yatex/pkg-plist.xemacs b/print/yatex/pkg-plist.xemacs
index ebf20d6804a7..d98d69e7c4ea 100644
--- a/print/yatex/pkg-plist.xemacs
+++ b/print/yatex/pkg-plist.xemacs
@@ -21,4 +21,8 @@ share/doc/yatex/qanda.eng
share/doc/yatex/yatexe.tex
share/doc/yatex/yatexref.eng
@dirrm lib/xemacs/site-packages/lisp/yatex
+@unexec rmdir %D/lib/xemacs/site-packages/* 2>/dev/null || true
+@unexec rmdir %D/lib/xemacs/site-lisp 2>/dev/null || true
+@unexec rmdir %D/lib/xemacs/site-packages 2>/dev/null || true
+@unexec rmdir %D/lib/xemacs 2>/dev/null || true
@dirrm share/doc/yatex
diff --git a/print/yatex/pkg-plist.xemacs-mule b/print/yatex/pkg-plist.xemacs-mule
index 9cc91d46c362..971fc800d4a3 100644
--- a/print/yatex/pkg-plist.xemacs-mule
+++ b/print/yatex/pkg-plist.xemacs-mule
@@ -32,4 +32,8 @@ share/doc/yatex/yatexgen.doc
share/doc/yatex/yatexj.tex
share/doc/yatex/yatexref.eng
@dirrm lib/xemacs/site-packages/lisp/yatex
+@unexec rmdir %D/lib/xemacs/site-packages/* 2>/dev/null || true
+@unexec rmdir %D/lib/xemacs/site-lisp 2>/dev/null || true
+@unexec rmdir %D/lib/xemacs/site-packages 2>/dev/null || true
+@unexec rmdir %D/lib/xemacs 2>/dev/null || true
@dirrm share/doc/yatex