aboutsummaryrefslogtreecommitdiffstats
path: root/shells/tcsh/Makefile
diff options
context:
space:
mode:
authormax <max@FreeBSD.org>1998-08-27 10:34:07 +0800
committermax <max@FreeBSD.org>1998-08-27 10:34:07 +0800
commitac4fd17ef514523df8a7fd15a390e09e0e9c72fd (patch)
treeeeec3b18581b0fed09b267343556433c971bdf66 /shells/tcsh/Makefile
parentd00ff7b688dfd109953b8b4fcfbf60a61498374d (diff)
downloadfreebsd-ports-gnome-ac4fd17ef514523df8a7fd15a390e09e0e9c72fd.tar.gz
freebsd-ports-gnome-ac4fd17ef514523df8a7fd15a390e09e0e9c72fd.tar.zst
freebsd-ports-gnome-ac4fd17ef514523df8a7fd15a390e09e0e9c72fd.zip
Update /etc/shells upon make install.
ln -> ${LN}
Diffstat (limited to 'shells/tcsh/Makefile')
-rw-r--r--shells/tcsh/Makefile17
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>