diff options
author | Masafumi Max NAKANE <max@FreeBSD.org> | 1998-08-27 02:34:07 +0000 |
---|---|---|
committer | Masafumi Max NAKANE <max@FreeBSD.org> | 1998-08-27 02:34:07 +0000 |
commit | 0bdc221d7d4e33aff8e7e8447a429e8d404a52aa (patch) | |
tree | 88fea7570479afb2273f6e255b77942a20e543ae /shells | |
parent | 7d889fa355a6f606366274e24f93894f2c4f3ac9 (diff) | |
download | ports-0bdc221d7d4e33aff8e7e8447a429e8d404a52aa.tar.gz ports-0bdc221d7d4e33aff8e7e8447a429e8d404a52aa.zip |
Update /etc/shells upon make install.
ln -> ${LN}
Notes
Notes:
svn path=/head/; revision=12877
Diffstat (limited to 'shells')
-rw-r--r-- | shells/tcsh/Makefile | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/shells/tcsh/Makefile b/shells/tcsh/Makefile index 40e836f1e2e0..265bc425eca0 100644 --- a/shells/tcsh/Makefile +++ b/shells/tcsh/Makefile @@ -3,7 +3,7 @@ # Date created: 22 August 1994 # Whom: jkh # -# $Id: Makefile,v 1.18 1997/11/28 03:35:05 jseger Exp $ +# $Id: Makefile,v 1.20 1998/07/04 03:09:24 steve Exp $ # DISTNAME= tcsh-6.07 @@ -24,13 +24,18 @@ post-install: chown bin.bin ${PREFIX}/man/man1/tcsh.1 cd ${WRKSRC}; ${INSTALL_DATA} tcsh.C.cat ${PREFIX}/share/nls/C/tcsh.cat cd ${WRKSRC}; ${INSTALL_DATA} tcsh.french.cat ${PREFIX}/share/nls/fr_FR.ISO_8859-1/tcsh.cat - ln -sf ${PREFIX}/share/nls/fr_FR.ISO_8859-1/tcsh.cat ${PREFIX}/share/nls/fr_BE.ISO_8859-1/tcsh.cat - ln -sf ${PREFIX}/share/nls/fr_FR.ISO_8859-1/tcsh.cat ${PREFIX}/share/nls/fr_CA.ISO_8859-1/tcsh.cat - ln -sf ${PREFIX}/share/nls/fr_FR.ISO_8859-1/tcsh.cat ${PREFIX}/share/nls/fr_CH.ISO_8859-1/tcsh.cat + ${LN} -sf ${PREFIX}/share/nls/fr_FR.ISO_8859-1/tcsh.cat ${PREFIX}/share/nls/fr_BE.ISO_8859-1/tcsh.cat + ${LN} -sf ${PREFIX}/share/nls/fr_FR.ISO_8859-1/tcsh.cat ${PREFIX}/share/nls/fr_CA.ISO_8859-1/tcsh.cat + ${LN} -sf ${PREFIX}/share/nls/fr_FR.ISO_8859-1/tcsh.cat ${PREFIX}/share/nls/fr_CH.ISO_8859-1/tcsh.cat cd ${WRKSRC}; ${INSTALL_DATA} tcsh.german.cat ${PREFIX}/share/nls/de_DE.ISO_8859-1/tcsh.cat - ln -sf ${PREFIX}/share/nls/de_DE.ISO_8859-1/tcsh.cat ${PREFIX}/share/nls/de_AT.ISO_8859-1/tcsh.cat - ln -sf ${PREFIX}/share/nls/de_DE.ISO_8859-1/tcsh.cat ${PREFIX}/share/nls/de_CH.ISO_8859-1/tcsh.cat + ${LN} -sf ${PREFIX}/share/nls/de_DE.ISO_8859-1/tcsh.cat ${PREFIX}/share/nls/de_AT.ISO_8859-1/tcsh.cat + ${LN} -sf ${PREFIX}/share/nls/de_DE.ISO_8859-1/tcsh.cat ${PREFIX}/share/nls/de_CH.ISO_8859-1/tcsh.cat install -d -o ${BINOWN} -g ${BINGRP} -m 755 ${PREFIX}/share/nls/el_GR.ISO_8859-7 cd ${WRKSRC}; ${INSTALL_DATA} tcsh.greek.cat ${PREFIX}/share/nls/el_GR.ISO_8859-7/tcsh.cat + @${ECHO} "Updating /etc/shells" + @${CP} /etc/shells /etc/shells.bak + @(${GREP} -v ${PREFIX}/bin/tcsh /etc/shells.bak; \ + ${ECHO} ${PREFIX}/bin/tcsh) > /etc/shells + @${RM} /etc/shells.bak .include <bsd.port.mk> |