aboutsummaryrefslogtreecommitdiffstats
path: root/editors/xemacs20
diff options
context:
space:
mode:
authorgj <gj@FreeBSD.org>1997-11-09 06:15:37 +0800
committergj <gj@FreeBSD.org>1997-11-09 06:15:37 +0800
commit776d82a92e88179d844afd5c6d2357e7aad813e4 (patch)
tree18bf388d43598b9389c9b044a38deff5c12b8643 /editors/xemacs20
parent8bd31ab181e99dc391760a9aadc708bf145514b5 (diff)
downloadfreebsd-ports-gnome-776d82a92e88179d844afd5c6d2357e7aad813e4.tar.gz
freebsd-ports-gnome-776d82a92e88179d844afd5c6d2357e7aad813e4.tar.zst
freebsd-ports-gnome-776d82a92e88179d844afd5c6d2357e7aad813e4.zip
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
Diffstat (limited to 'editors/xemacs20')
-rw-r--r--editors/xemacs20/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/editors/xemacs20/Makefile b/editors/xemacs20/Makefile
index b05ed9ad7317..0f3512456e18 100644
--- a/editors/xemacs20/Makefile
+++ b/editors/xemacs20/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>