Install /etc/shells entry and info dir entry

PR: 3971
This commit is contained in:
Andrey A. Chernov 1997-06-27 23:03:34 +00:00
parent 595e93d96a
commit afec97d4f4
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=7105
6 changed files with 90 additions and 3 deletions

View file

@ -3,7 +3,7 @@
# Date created: 21 August 1994 # Date created: 21 August 1994
# Whom: jkh # Whom: jkh
# #
# $Id: Makefile,v 1.24 1997/05/26 22:21:51 ache Exp $ # $Id: Makefile,v 1.25 1997/06/06 23:13:49 ache Exp $
# #
DISTNAME= bash-2.01 DISTNAME= bash-2.01
@ -22,7 +22,15 @@ MAN1= bash.1 bashbug.1
post-patch: post-patch:
cp /usr/include/fnmatch.h ${WRKSRC}/lib/glob/fnmatch.h cp /usr/include/fnmatch.h ${WRKSRC}/lib/glob/fnmatch.h
pre-install:
if [ ! -s ${PREFIX}/info/dir ]; then \
${SED} -ne '1,/Menu:/p' /usr/share/info/dir > ${PREFIX}/info/dir; \
fi
post-install: post-install:
${CP} /etc/shells /etc/shells.bak
(${GREP} -v ${PREFIX}/bin/bash /etc/shells.bak; echo ${PREFIX}/bin/bash) >/etc/shells
${RM} /etc/shells.bak
.if !defined(NOPORTDOCS) .if !defined(NOPORTDOCS)
${MKDIR} ${PREFIX}/share/doc/bash ${MKDIR} ${PREFIX}/share/doc/bash
${INSTALL_MAN} \ ${INSTALL_MAN} \

View file

@ -0,0 +1,21 @@
*** doc/Makefile.in.bak Fri Jan 31 00:12:33 1997
--- doc/Makefile.in Sat Jun 28 02:23:01 1997
***************
*** 155,161 ****
-$(INSTALL_DATA) $(srcdir)/bashref.info $(infodir)/bash.info
# run install-info if it is present to update the info directory
if $(SHELL) -c 'install-info --version' >/dev/null 2>&1; then \
! install-info --dir-file=$(infodir)/dir $(infodir)/bash.info; \
else true; fi
uninstall:
--- 155,163 ----
-$(INSTALL_DATA) $(srcdir)/bashref.info $(infodir)/bash.info
# run install-info if it is present to update the info directory
if $(SHELL) -c 'install-info --version' >/dev/null 2>&1; then \
! install-info \
! --defentry="* BASH: (bash). Bash Reference Manual." \
! --dir-file=$(infodir)/dir $(infodir)/bash.info; \
else true; fi
uninstall:

View file

@ -3,7 +3,7 @@
# Date created: 21 August 1994 # Date created: 21 August 1994
# Whom: jkh # Whom: jkh
# #
# $Id: Makefile,v 1.24 1997/05/26 22:21:51 ache Exp $ # $Id: Makefile,v 1.25 1997/06/06 23:13:49 ache Exp $
# #
DISTNAME= bash-2.01 DISTNAME= bash-2.01
@ -22,7 +22,15 @@ MAN1= bash.1 bashbug.1
post-patch: post-patch:
cp /usr/include/fnmatch.h ${WRKSRC}/lib/glob/fnmatch.h cp /usr/include/fnmatch.h ${WRKSRC}/lib/glob/fnmatch.h
pre-install:
if [ ! -s ${PREFIX}/info/dir ]; then \
${SED} -ne '1,/Menu:/p' /usr/share/info/dir > ${PREFIX}/info/dir; \
fi
post-install: post-install:
${CP} /etc/shells /etc/shells.bak
(${GREP} -v ${PREFIX}/bin/bash /etc/shells.bak; echo ${PREFIX}/bin/bash) >/etc/shells
${RM} /etc/shells.bak
.if !defined(NOPORTDOCS) .if !defined(NOPORTDOCS)
${MKDIR} ${PREFIX}/share/doc/bash ${MKDIR} ${PREFIX}/share/doc/bash
${INSTALL_MAN} \ ${INSTALL_MAN} \

View file

@ -0,0 +1,21 @@
*** doc/Makefile.in.bak Fri Jan 31 00:12:33 1997
--- doc/Makefile.in Sat Jun 28 02:23:01 1997
***************
*** 155,161 ****
-$(INSTALL_DATA) $(srcdir)/bashref.info $(infodir)/bash.info
# run install-info if it is present to update the info directory
if $(SHELL) -c 'install-info --version' >/dev/null 2>&1; then \
! install-info --dir-file=$(infodir)/dir $(infodir)/bash.info; \
else true; fi
uninstall:
--- 155,163 ----
-$(INSTALL_DATA) $(srcdir)/bashref.info $(infodir)/bash.info
# run install-info if it is present to update the info directory
if $(SHELL) -c 'install-info --version' >/dev/null 2>&1; then \
! install-info \
! --defentry="* BASH: (bash). Bash Reference Manual." \
! --dir-file=$(infodir)/dir $(infodir)/bash.info; \
else true; fi
uninstall:

View file

@ -3,7 +3,7 @@
# Date created: 21 August 1994 # Date created: 21 August 1994
# Whom: jkh # Whom: jkh
# #
# $Id: Makefile,v 1.24 1997/05/26 22:21:51 ache Exp $ # $Id: Makefile,v 1.25 1997/06/06 23:13:49 ache Exp $
# #
DISTNAME= bash-2.01 DISTNAME= bash-2.01
@ -22,7 +22,15 @@ MAN1= bash.1 bashbug.1
post-patch: post-patch:
cp /usr/include/fnmatch.h ${WRKSRC}/lib/glob/fnmatch.h cp /usr/include/fnmatch.h ${WRKSRC}/lib/glob/fnmatch.h
pre-install:
if [ ! -s ${PREFIX}/info/dir ]; then \
${SED} -ne '1,/Menu:/p' /usr/share/info/dir > ${PREFIX}/info/dir; \
fi
post-install: post-install:
${CP} /etc/shells /etc/shells.bak
(${GREP} -v ${PREFIX}/bin/bash /etc/shells.bak; echo ${PREFIX}/bin/bash) >/etc/shells
${RM} /etc/shells.bak
.if !defined(NOPORTDOCS) .if !defined(NOPORTDOCS)
${MKDIR} ${PREFIX}/share/doc/bash ${MKDIR} ${PREFIX}/share/doc/bash
${INSTALL_MAN} \ ${INSTALL_MAN} \

View file

@ -0,0 +1,21 @@
*** doc/Makefile.in.bak Fri Jan 31 00:12:33 1997
--- doc/Makefile.in Sat Jun 28 02:23:01 1997
***************
*** 155,161 ****
-$(INSTALL_DATA) $(srcdir)/bashref.info $(infodir)/bash.info
# run install-info if it is present to update the info directory
if $(SHELL) -c 'install-info --version' >/dev/null 2>&1; then \
! install-info --dir-file=$(infodir)/dir $(infodir)/bash.info; \
else true; fi
uninstall:
--- 155,163 ----
-$(INSTALL_DATA) $(srcdir)/bashref.info $(infodir)/bash.info
# run install-info if it is present to update the info directory
if $(SHELL) -c 'install-info --version' >/dev/null 2>&1; then \
! install-info \
! --defentry="* BASH: (bash). Bash Reference Manual." \
! --dir-file=$(infodir)/dir $(infodir)/bash.info; \
else true; fi
uninstall: