aboutsummaryrefslogtreecommitdiffstats
path: root/editors
diff options
context:
space:
mode:
authorgj <gj@FreeBSD.org>1997-11-09 06:19:00 +0800
committergj <gj@FreeBSD.org>1997-11-09 06:19:00 +0800
commitde034d2acb536cc0f4b4e1ab298627e1ec88cc7b (patch)
treef459c8581a89c7cde15b228896b44a845982888d /editors
parent776d82a92e88179d844afd5c6d2357e7aad813e4 (diff)
downloadfreebsd-ports-gnome-de034d2acb536cc0f4b4e1ab298627e1ec88cc7b.tar.gz
freebsd-ports-gnome-de034d2acb536cc0f4b4e1ab298627e1ec88cc7b.tar.zst
freebsd-ports-gnome-de034d2acb536cc0f4b4e1ab298627e1ec88cc7b.zip
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
Diffstat (limited to 'editors')
-rw-r--r--editors/xemacs-devel/pkg-plist13
-rw-r--r--editors/xemacs/pkg-plist13
-rw-r--r--editors/xemacs20/pkg-plist13
-rw-r--r--editors/xemacs21/pkg-plist13
4 files changed, 16 insertions, 36 deletions
diff --git a/editors/xemacs-devel/pkg-plist b/editors/xemacs-devel/pkg-plist
index 28acf2579a0f..7663c6ca6259 100644
--- a/editors/xemacs-devel/pkg-plist
+++ b/editors/xemacs-devel/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
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
diff --git a/editors/xemacs20/pkg-plist b/editors/xemacs20/pkg-plist
index 28acf2579a0f..7663c6ca6259 100644
--- a/editors/xemacs20/pkg-plist
+++ b/editors/xemacs20/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
diff --git a/editors/xemacs21/pkg-plist b/editors/xemacs21/pkg-plist
index 28acf2579a0f..7663c6ca6259 100644
--- a/editors/xemacs21/pkg-plist
+++ b/editors/xemacs21/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