From de034d2acb536cc0f4b4e1ab298627e1ec88cc7b Mon Sep 17 00:00:00 2001 From: gj Date: Sat, 8 Nov 1997 22:19:00 +0000 Subject: Put the lock file in /var/run/xemacs/lock rather than ${PREFIX}/lib/xemacs/lock. Also simplfy removal of some directories with pkg_delete. Previously, the contents of ${PREFIX}/{lib,share}/xemacs/site-lisp was deleted and then the directories themselves using @dirrm. This didn't work in my tests, so I changed it to just ``@exec rm -rf'' the directories. PR: ports/4976 Submitted by: Sheldon Hearn --- editors/xemacs/pkg-plist | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) (limited to 'editors/xemacs') diff --git a/editors/xemacs/pkg-plist b/editors/xemacs/pkg-plist index 28acf2579a0f..7663c6ca6259 100644 --- a/editors/xemacs/pkg-plist +++ b/editors/xemacs/pkg-plist @@ -18,7 +18,7 @@ man/man1/gnuclient.1.gz man/man1/gnudoit.1.gz man/man1/gnuserv.1.gz man/man1/xemacs.1.gz -@exec mkdir -p lib/xemacs/lock ; chmod 1777 lib/xemacs/lock +@exec mkdir -p /var/run/xemacs/lock ; chmod 1777 /var/run/xemacs/lock @exec mkdir -p lib/xemacs/site-lisp ; chmod 755 lib/xemacs/site-lisp @exec mkdir -p share/xemacs/site-lisp ; chmod 755 share/xemacs/site-lisp lib/xemacs-20.2/etc/BABYL @@ -3512,11 +3512,6 @@ lib/xemacs-20.2/i386--freebsd/tm-plain lib/xemacs-20.2/i386--freebsd/tm-ps lib/xemacs-20.2/i386--freebsd/tmdecode lib/xemacs-20.2/i386--freebsd/DOC -@unexec rm -rf lib/xemacs/lock/* -@unexec rm -rf lib/xemacs/site-lisp/* -@unexec rm -rf share/xemacs/site-lisp/* -@dirrm lib/xemacs/lock -@dirrm lib/xemacs/site-lisp -@dirrm lib/xemacs -@dirrm share/xemacs/site-lisp -@dirrm share/xemacs +@unexec rm -rf lib/xemacs +@unexec rm -rf share/xemacs +@unexec rm -rf /var/run/xemacs -- cgit