1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00

Lock file correction and reflect change in /etc/mtree/BSD.local.dist.

PR:		ports/8289 (part of)
Submitted by:	Satoshi Taoka <taoka@infonets.hiroshima-u.ac.jp>
This commit is contained in:
Jun Kuriyama 1999-01-02 12:26:11 +00:00
parent 50dddc1f29
commit 66f2af6f3b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=15768
12 changed files with 84 additions and 16 deletions

View File

@ -3,7 +3,7 @@
# Date created: 29 October 1994
# Whom: jkh
#
# $Id: Makefile,v 1.31 1998/04/04 07:36:40 asami Exp $
# $Id: Makefile,v 1.32 1998/09/14 07:26:02 asami Exp $
#
DISTNAME= emacs-19.34b
@ -18,7 +18,8 @@ NO_LATEST_LINK= yes
WRKSRC= ${WRKDIR}/emacs-19.34
GNU_CONFIGURE= yes
USE_GMAKE= yes
CONFIGURE_ARGS= i386--freebsd --with-x-toolkit
CONFIGURE_ARGS= i386--freebsd --with-x-toolkit \
--sharedstatedir=/var/run
STRIP=
MAN1= emacs.1 etags.1 ctags.1
@ -32,5 +33,9 @@ post-install:
.for info in emacs vip viper forms gnus mh-e cl sc dired-x ediff ccmode message
install-info ${PREFIX}/info/${info} ${PREFIX}/info/dir
.endfor
# install emacs.sh into ${PREFIX}/etc/rc.d
chmod 1777 /var/run/emacs/lock
@${MKDIR} ${PREFIX}/etc/rc.d
@${INSTALL_SCRIPT} ${FILESDIR}/emacs.sh ${PREFIX}/etc/rc.d
.include <bsd.port.mk>

View File

@ -0,0 +1,10 @@
#!/bin/sh
if [ -d /var/run/emacs/lock ]
then
rm -f /var/run/emacs/lock/*
else
mkdir -p /var/run/emacs/lock
fi
chmod 1777 /var/run/emacs/lock
exit 0

View File

@ -8,9 +8,10 @@ bin/etags
bin/emacsclient
@exec if [ ! -d %d/share/emacs/site-lisp ]; then mkdir -p %D/share/emacs/site-lisp; fi
@exec if [ ! -d %d/share/emacs/%%EMACS_VERSION%%/site-lisp ]; then mkdir -p %D/share/emacs/%%EMACS_VERSION%%/site-lisp; fi
@comment these two can fail if other ports are installed, no need to
@exec mkdir -p /var/run/emacs/lock ; chmod 1777 /var/run/emacs/lock
etc/rc.d/emacs.sh
@comment This can fail if other ports are installed, no need to
@comment scare user in that case
@unexec rmdir %D/share/emacs/site-lisp 2>/dev/null || true
@unexec rmdir %D/share/emacs/%%EMACS_VERSION%%/site-lisp 2>/dev/null || true
@unexec install-info --delete %D/info/emacs %D/info/dir
@unexec install-info --delete %D/info/vip %D/info/dir
@ -125,6 +126,7 @@ libexec/emacs/%%EMACS_VERSION%%/i386--freebsd/vcdiff
libexec/emacs/%%EMACS_VERSION%%/i386--freebsd/yow
@dirrm libexec/emacs/%%EMACS_VERSION%%/i386--freebsd
@dirrm libexec/emacs/%%EMACS_VERSION%%
@unexec rmdir %D/libexec/emacs 2>/dev/null || true
share/emacs/%%EMACS_VERSION%%/etc/3B-MAXMEM
share/emacs/%%EMACS_VERSION%%/etc/AIX.DUMP
share/emacs/%%EMACS_VERSION%%/etc/BABYL

View File

@ -3,7 +3,7 @@
# Date created: 29 October 1994
# Whom: jkh
#
# $Id: Makefile,v 1.31 1998/04/04 07:36:40 asami Exp $
# $Id: Makefile,v 1.32 1998/09/14 07:26:02 asami Exp $
#
DISTNAME= emacs-19.34b
@ -18,7 +18,8 @@ NO_LATEST_LINK= yes
WRKSRC= ${WRKDIR}/emacs-19.34
GNU_CONFIGURE= yes
USE_GMAKE= yes
CONFIGURE_ARGS= i386--freebsd --with-x-toolkit
CONFIGURE_ARGS= i386--freebsd --with-x-toolkit \
--sharedstatedir=/var/run
STRIP=
MAN1= emacs.1 etags.1 ctags.1
@ -32,5 +33,9 @@ post-install:
.for info in emacs vip viper forms gnus mh-e cl sc dired-x ediff ccmode message
install-info ${PREFIX}/info/${info} ${PREFIX}/info/dir
.endfor
# install emacs.sh into ${PREFIX}/etc/rc.d
chmod 1777 /var/run/emacs/lock
@${MKDIR} ${PREFIX}/etc/rc.d
@${INSTALL_SCRIPT} ${FILESDIR}/emacs.sh ${PREFIX}/etc/rc.d
.include <bsd.port.mk>

View File

@ -0,0 +1,10 @@
#!/bin/sh
if [ -d /var/run/emacs/lock ]
then
rm -f /var/run/emacs/lock/*
else
mkdir -p /var/run/emacs/lock
fi
chmod 1777 /var/run/emacs/lock
exit 0

View File

@ -8,9 +8,10 @@ bin/etags
bin/emacsclient
@exec if [ ! -d %d/share/emacs/site-lisp ]; then mkdir -p %D/share/emacs/site-lisp; fi
@exec if [ ! -d %d/share/emacs/%%EMACS_VERSION%%/site-lisp ]; then mkdir -p %D/share/emacs/%%EMACS_VERSION%%/site-lisp; fi
@comment these two can fail if other ports are installed, no need to
@exec mkdir -p /var/run/emacs/lock ; chmod 1777 /var/run/emacs/lock
etc/rc.d/emacs.sh
@comment This can fail if other ports are installed, no need to
@comment scare user in that case
@unexec rmdir %D/share/emacs/site-lisp 2>/dev/null || true
@unexec rmdir %D/share/emacs/%%EMACS_VERSION%%/site-lisp 2>/dev/null || true
@unexec install-info --delete %D/info/emacs %D/info/dir
@unexec install-info --delete %D/info/vip %D/info/dir
@ -125,6 +126,7 @@ libexec/emacs/%%EMACS_VERSION%%/i386--freebsd/vcdiff
libexec/emacs/%%EMACS_VERSION%%/i386--freebsd/yow
@dirrm libexec/emacs/%%EMACS_VERSION%%/i386--freebsd
@dirrm libexec/emacs/%%EMACS_VERSION%%
@unexec rmdir %D/libexec/emacs 2>/dev/null || true
share/emacs/%%EMACS_VERSION%%/etc/3B-MAXMEM
share/emacs/%%EMACS_VERSION%%/etc/AIX.DUMP
share/emacs/%%EMACS_VERSION%%/etc/BABYL

View File

@ -3,7 +3,7 @@
# Date created: 29 October 1994
# Whom: jkh
#
# $Id: Makefile,v 1.31 1998/04/04 07:36:40 asami Exp $
# $Id: Makefile,v 1.32 1998/09/14 07:26:02 asami Exp $
#
DISTNAME= emacs-19.34b
@ -18,7 +18,8 @@ NO_LATEST_LINK= yes
WRKSRC= ${WRKDIR}/emacs-19.34
GNU_CONFIGURE= yes
USE_GMAKE= yes
CONFIGURE_ARGS= i386--freebsd --with-x-toolkit
CONFIGURE_ARGS= i386--freebsd --with-x-toolkit \
--sharedstatedir=/var/run
STRIP=
MAN1= emacs.1 etags.1 ctags.1
@ -32,5 +33,9 @@ post-install:
.for info in emacs vip viper forms gnus mh-e cl sc dired-x ediff ccmode message
install-info ${PREFIX}/info/${info} ${PREFIX}/info/dir
.endfor
# install emacs.sh into ${PREFIX}/etc/rc.d
chmod 1777 /var/run/emacs/lock
@${MKDIR} ${PREFIX}/etc/rc.d
@${INSTALL_SCRIPT} ${FILESDIR}/emacs.sh ${PREFIX}/etc/rc.d
.include <bsd.port.mk>

View File

@ -0,0 +1,10 @@
#!/bin/sh
if [ -d /var/run/emacs/lock ]
then
rm -f /var/run/emacs/lock/*
else
mkdir -p /var/run/emacs/lock
fi
chmod 1777 /var/run/emacs/lock
exit 0

View File

@ -8,9 +8,10 @@ bin/etags
bin/emacsclient
@exec if [ ! -d %d/share/emacs/site-lisp ]; then mkdir -p %D/share/emacs/site-lisp; fi
@exec if [ ! -d %d/share/emacs/%%EMACS_VERSION%%/site-lisp ]; then mkdir -p %D/share/emacs/%%EMACS_VERSION%%/site-lisp; fi
@comment these two can fail if other ports are installed, no need to
@exec mkdir -p /var/run/emacs/lock ; chmod 1777 /var/run/emacs/lock
etc/rc.d/emacs.sh
@comment This can fail if other ports are installed, no need to
@comment scare user in that case
@unexec rmdir %D/share/emacs/site-lisp 2>/dev/null || true
@unexec rmdir %D/share/emacs/%%EMACS_VERSION%%/site-lisp 2>/dev/null || true
@unexec install-info --delete %D/info/emacs %D/info/dir
@unexec install-info --delete %D/info/vip %D/info/dir
@ -125,6 +126,7 @@ libexec/emacs/%%EMACS_VERSION%%/i386--freebsd/vcdiff
libexec/emacs/%%EMACS_VERSION%%/i386--freebsd/yow
@dirrm libexec/emacs/%%EMACS_VERSION%%/i386--freebsd
@dirrm libexec/emacs/%%EMACS_VERSION%%
@unexec rmdir %D/libexec/emacs 2>/dev/null || true
share/emacs/%%EMACS_VERSION%%/etc/3B-MAXMEM
share/emacs/%%EMACS_VERSION%%/etc/AIX.DUMP
share/emacs/%%EMACS_VERSION%%/etc/BABYL

View File

@ -3,7 +3,7 @@
# Date created: 29 October 1994
# Whom: jkh
#
# $Id: Makefile,v 1.31 1998/04/04 07:36:40 asami Exp $
# $Id: Makefile,v 1.32 1998/09/14 07:26:02 asami Exp $
#
DISTNAME= emacs-19.34b
@ -18,7 +18,8 @@ NO_LATEST_LINK= yes
WRKSRC= ${WRKDIR}/emacs-19.34
GNU_CONFIGURE= yes
USE_GMAKE= yes
CONFIGURE_ARGS= i386--freebsd --with-x-toolkit
CONFIGURE_ARGS= i386--freebsd --with-x-toolkit \
--sharedstatedir=/var/run
STRIP=
MAN1= emacs.1 etags.1 ctags.1
@ -32,5 +33,9 @@ post-install:
.for info in emacs vip viper forms gnus mh-e cl sc dired-x ediff ccmode message
install-info ${PREFIX}/info/${info} ${PREFIX}/info/dir
.endfor
# install emacs.sh into ${PREFIX}/etc/rc.d
chmod 1777 /var/run/emacs/lock
@${MKDIR} ${PREFIX}/etc/rc.d
@${INSTALL_SCRIPT} ${FILESDIR}/emacs.sh ${PREFIX}/etc/rc.d
.include <bsd.port.mk>

View File

@ -0,0 +1,10 @@
#!/bin/sh
if [ -d /var/run/emacs/lock ]
then
rm -f /var/run/emacs/lock/*
else
mkdir -p /var/run/emacs/lock
fi
chmod 1777 /var/run/emacs/lock
exit 0

View File

@ -8,9 +8,10 @@ bin/etags
bin/emacsclient
@exec if [ ! -d %d/share/emacs/site-lisp ]; then mkdir -p %D/share/emacs/site-lisp; fi
@exec if [ ! -d %d/share/emacs/%%EMACS_VERSION%%/site-lisp ]; then mkdir -p %D/share/emacs/%%EMACS_VERSION%%/site-lisp; fi
@comment these two can fail if other ports are installed, no need to
@exec mkdir -p /var/run/emacs/lock ; chmod 1777 /var/run/emacs/lock
etc/rc.d/emacs.sh
@comment This can fail if other ports are installed, no need to
@comment scare user in that case
@unexec rmdir %D/share/emacs/site-lisp 2>/dev/null || true
@unexec rmdir %D/share/emacs/%%EMACS_VERSION%%/site-lisp 2>/dev/null || true
@unexec install-info --delete %D/info/emacs %D/info/dir
@unexec install-info --delete %D/info/vip %D/info/dir
@ -125,6 +126,7 @@ libexec/emacs/%%EMACS_VERSION%%/i386--freebsd/vcdiff
libexec/emacs/%%EMACS_VERSION%%/i386--freebsd/yow
@dirrm libexec/emacs/%%EMACS_VERSION%%/i386--freebsd
@dirrm libexec/emacs/%%EMACS_VERSION%%
@unexec rmdir %D/libexec/emacs 2>/dev/null || true
share/emacs/%%EMACS_VERSION%%/etc/3B-MAXMEM
share/emacs/%%EMACS_VERSION%%/etc/AIX.DUMP
share/emacs/%%EMACS_VERSION%%/etc/BABYL