summaryrefslogtreecommitdiff
path: root/editors/xemacs
diff options
context:
space:
mode:
authorGary Jennejohn <gj@FreeBSD.org>1997-11-08 22:15:37 +0000
committerGary Jennejohn <gj@FreeBSD.org>1997-11-08 22:15:37 +0000
commit10dace02ac95ac4a420d33479d5d549877e99fbd (patch)
tree667644b8562d78f4ba3818eca0545492f305c467 /editors/xemacs
parentEnable sim. (diff)
Put the lock file in /var/run/xemacs/lock rather than
${PREFIX}/lib/xemacs/lock. Also modify post-install to set the permissions on /var/run/xemacs/lock, ${PREFIX}/lib/xemacs/site-lisp and ${PREFIX}/share/xemacs/site-lisp, as done in PLIST, since ``make install'' doesn't do it. PR: ports/4976 Submitted by: Sheldon Hearn
Notes
Notes: svn path=/head/; revision=8525
Diffstat (limited to 'editors/xemacs')
-rw-r--r--editors/xemacs/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/editors/xemacs/Makefile b/editors/xemacs/Makefile
index b05ed9ad7317..0f3512456e18 100644
--- a/editors/xemacs/Makefile
+++ b/editors/xemacs/Makefile
@@ -3,7 +3,7 @@
# Date created: 26 August 1997
# Whom: Michael Elbel (me)
#
-# $Id$
+# $Id: Makefile,v 1.1.1.1 1997/09/03 19:27:57 gj Exp $
#
DISTNAME= xemacs-20.2
@@ -27,6 +27,7 @@ USE_GMAKE= yes
STRIP=
HAS_CONFIGURE= yes
CONFIGURE_ARGS= i386--freebsd --prefix=${PREFIX} \
+ --statedir=/var/run \
--with-sound=native \
--site-includes=/usr/local/include \
--site-libraries=/usr/local/lib \
@@ -52,5 +53,9 @@ post-install:
gnudoit xemacs-20.2
strip ${PREFIX}/bin/${file}
.endfor
+# ``make install'' does not set the permissions like pkg_add does.
+ chmod 1777 /var/run/xemacs/lock
+ chmod 755 ${PREFIX}/lib/xemacs/site-lisp
+ chmod 755 ${PREFIX}/share/xemacs/site-lisp
.include <bsd.port.mk>