diff options
author | uebayasi <uebayasi> | 2007-10-29 12:37:13 +0000 |
---|---|---|
committer | uebayasi <uebayasi> | 2007-10-29 12:37:13 +0000 |
commit | 5348c6110299b2c9b9685d7bc304dab7bdc3291e (patch) | |
tree | 10af1f9e16c80d1105aa16d6fb9a6819b98c6e37 | |
parent | 03ac6243eab59db2d94ed43ded326c9ebc1eb5c2 (diff) | |
download | pkgsrc-5348c6110299b2c9b9685d7bc304dab7bdc3291e.tar.gz |
At deinstallation, remove ${PREFIX}/share/emacs/site-lisp if empty.
-rw-r--r-- | editors/emacs21/PLIST | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/editors/emacs21/PLIST b/editors/emacs21/PLIST index ab6f221e22c..91caf1d9c8b 100644 --- a/editors/emacs21/PLIST +++ b/editors/emacs21/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.4 2007/06/11 13:38:30 markd Exp $ +@comment $NetBSD: PLIST,v 1.5 2007/10/29 12:37:13 uebayasi Exp $ bin/emacs bin/emacs-${EMACSVERSION} bin/emacs-b2m @@ -1789,6 +1789,7 @@ share/emacs/site-lisp/subdirs.el @dirrm share/emacs/${EMACSVERSION}/etc/e @dirrm share/emacs/${EMACSVERSION}/etc @dirrm share/emacs/${EMACSVERSION} +@unexec ${RMDIR} %D/share/emacs/site-lisp 2>/dev/null || ${TRUE} @unexec ${RMDIR} %D/share/emacs 2>/dev/null || ${TRUE} @dirrm libexec/emacs/${EMACSVERSION}/${MACHINE_GNU_PLATFORM} @dirrm libexec/emacs/${EMACSVERSION} |