aboutsummaryrefslogtreecommitdiffstats
path: root/editors/xemacs
diff options
context:
space:
mode:
authorgj <gj@FreeBSD.org>1998-06-04 03:30:13 +0800
committergj <gj@FreeBSD.org>1998-06-04 03:30:13 +0800
commit00158ddf6daf297337483cccec5298c143089912 (patch)
tree72da31b8db6609cc42020eb359648ff625be79a4 /editors/xemacs
parent6e71bc978bf9f5f94ec341d64389f83cc9ecbf44 (diff)
downloadfreebsd-ports-gnome-00158ddf6daf297337483cccec5298c143089912.tar.gz
freebsd-ports-gnome-00158ddf6daf297337483cccec5298c143089912.tar.zst
freebsd-ports-gnome-00158ddf6daf297337483cccec5298c143089912.zip
Install xemacs.sh into ${PREFIX}/etc/rc.d to create /var/run/xemacs
dynamically. This is needed now that /etc/rc removes everything in /var/run.
Diffstat (limited to 'editors/xemacs')
-rw-r--r--editors/xemacs/Makefile5
-rw-r--r--editors/xemacs/pkg-plist1
2 files changed, 5 insertions, 1 deletions
diff --git a/editors/xemacs/Makefile b/editors/xemacs/Makefile
index 9dda91c1bd60..f42467e6f5ac 100644
--- a/editors/xemacs/Makefile
+++ b/editors/xemacs/Makefile
@@ -3,7 +3,7 @@
# Date created: 26 August 1997
# Whom: Michael Elbel (me)
#
-# $Id: Makefile,v 1.13 1998/04/20 05:15:38 gj Exp $
+# $Id: Makefile,v 1.14 1998/05/04 20:23:24 jseger Exp $
#
DISTNAME= xemacs-20.4
@@ -72,5 +72,8 @@ post-install:
chmod 755 ${PREFIX}/lib/xemacs/site-lisp
chmod 755 ${PREFIX}/share/emacs/site-lisp
${RM} -f ${PREFIX}/bin/send-pr
+# install xemacs.sh into ${PREFIX}/etc/rc.d
+ @if [ ! -d ${PREFIX}/etc/rc.d ] then; mkdir -p ${PREFIX}/etc/rc.d; fi
+ ${INSTALL_SCRIPT} ${FILESDIR}/xemacs.sh ${PREFIX}/etc/rc.d
.include <bsd.port.mk>
diff --git a/editors/xemacs/pkg-plist b/editors/xemacs/pkg-plist
index ac6aed46921f..cdade32e17e1 100644
--- a/editors/xemacs/pkg-plist
+++ b/editors/xemacs/pkg-plist
@@ -10,6 +10,7 @@ bin/rcs-checkin
bin/xemacs-20.4
@exec ln -s %D/%F %B/xemacs
@unexec rm %B/xemacs
+etc/rc.d/xemacs.sh
man/man1/ctags.1.gz
man/man1/etags.1.gz
man/man1/gnuattach.1.gz