0
|
1 |
#!/bin/sh
|
|
2 |
#
|
|
3 |
# CDDL HEADER START
|
|
4 |
#
|
|
5 |
# The contents of this file are subject to the terms of the
|
|
6 |
# Common Development and Distribution License (the "License").
|
|
7 |
# You may not use this file except in compliance with the License.
|
|
8 |
#
|
|
9 |
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
|
|
10 |
# or http://www.opensolaris.org/os/licensing.
|
|
11 |
# See the License for the specific language governing permissions
|
|
12 |
# and limitations under the License.
|
|
13 |
#
|
|
14 |
# When distributing Covered Code, include this CDDL HEADER in each
|
|
15 |
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
|
|
16 |
# If applicable, add the following below this CDDL HEADER, with the
|
|
17 |
# fields enclosed by brackets "[]" replaced with your own identifying
|
|
18 |
# information: Portions Copyright [yyyy] [name of copyright owner]
|
|
19 |
#
|
|
20 |
# CDDL HEADER END
|
|
21 |
#
|
|
22 |
#
|
|
23 |
# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
|
|
24 |
# Use is subject to license terms.
|
|
25 |
#
|
|
26 |
#ident "@(#)install-tcsh 1.14 09/10/07 SMI"
|
|
27 |
|
|
28 |
VERS=$1-$2
|
|
29 |
|
|
30 |
PREFIX=${ROOT}/usr
|
|
31 |
BINDIR=${PREFIX}/bin
|
|
32 |
SHAREDIR=${PREFIX}/share
|
|
33 |
MAN1DIR=${SHAREDIR}/man/man1
|
|
34 |
LOCALEDIR=${SHAREDIR}/locale
|
|
35 |
|
|
36 |
. ${SRC}/tools/install.subr
|
|
37 |
|
|
38 |
# manpages are special "sun" versions with corrected section
|
|
39 |
# references, etc. These are the ones we actually install.
|
|
40 |
# Note to maintainers - if the package revs, you need to re-create
|
|
41 |
# new sun versions of the manpages.
|
|
42 |
|
|
43 |
for i in *.sunman
|
|
44 |
do
|
|
45 |
manpage=`basename $i .sunman`
|
|
46 |
_install N $i ${MAN1DIR}/${manpage} 444
|
|
47 |
done
|
|
48 |
|
|
49 |
cd ${VERS}
|
|
50 |
|
|
51 |
_install E tcsh ${BINDIR}/tcsh 555
|
|
52 |
|
|
53 |
# install the catalogs
|
|
54 |
#_install N nls/C.cat ${LOCALEDIR}/C/LC_MESSAGES/tcsh.cat 0444
|
|
55 |
_install N nls/et.cat ${LOCALEDIR}/et/LC_MESSAGES/tcsh.cat 0444
|
|
56 |
_install N nls/finnish.cat ${LOCALEDIR}/fi/LC_MESSAGES/tcsh.cat 0444
|
|
57 |
_install N nls/french.cat ${LOCALEDIR}/fr/LC_MESSAGES/tcsh.cat 0444
|
|
58 |
_install N nls/german.cat ${LOCALEDIR}/de/LC_MESSAGES/tcsh.cat 0444
|
|
59 |
_install N nls/greek.cat ${LOCALEDIR}/el/LC_MESSAGES/tcsh.cat 0444
|
|
60 |
_install N nls/italian.cat ${LOCALEDIR}/it/LC_MESSAGES/tcsh.cat 0444
|
|
61 |
_install N nls/ja.cat ${LOCALEDIR}/ja/LC_MESSAGES/tcsh.cat 0444
|
|
62 |
_install N nls/pl.cat ${LOCALEDIR}/pl/LC_MESSAGES/tcsh.cat 0444
|
|
63 |
_install N nls/russian.cat ${LOCALEDIR}/ru/LC_MESSAGES/tcsh.cat 0444
|
|
64 |
_install N nls/spanish.cat ${LOCALEDIR}/es/LC_MESSAGES/tcsh.cat 0444
|
|
65 |
_install N nls/ukrainian.cat ${LOCALEDIR}/uk/LC_MESSAGES/tcsh.cat 0444
|
|
66 |
|
|
67 |
|
|
68 |
exit 0
|