Old install-sfw
1 #
2 # CDDL HEADER START
3 #
4 # The contents of this file are subject to the terms of the
5 # Common Development and Distribution License (the "License").
6 # You may not use this file except in compliance with the License.
7 #
8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 # or http://www.opensolaris.org/os/licensing.
10 # See the License for the specific language governing permissions
11 # and limitations under the License.
12 #
13 # When distributing Covered Code, include this CDDL HEADER in each
14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 # If applicable, add the following below this CDDL HEADER, with the
16 # fields enclosed by brackets "[]" replaced with your own identifying
17 # information: Portions Copyright [yyyy] [name of copyright owner]
18 #
19 # CDDL HEADER END
20 #
21 #
22
23
24 #!/bin/sh -e
25 #
26 # Copyright 2004 Sun Microsystems, Inc. All rights reserved.
27 # Use is subject to license terms.
28 #
29 # install objects in the proto area, since it would
30 # really like to install locally, but that doesn't scale.
31 #
32 #ident "@(#)install-sfw 1.4 04/10/01 SMI"
33
34 VERS=5.39
35 PKGVERS=expect-${VERS}
36 PREFIX=${ROOT}/opt/sfw
37 BINDIR=${PREFIX}/bin
38 INFODIR=${PREFIX}/info
39
40 . ${SRC}/tools/install.subr
41
42 cd ${PKGVERS}
43
44
45 _install N libexpect5.39.a ${PREFIX}/lib/expect5.39/libexpect5.39.a 444
46 _install N pkgIndex ${PREFIX}/lib/expect5.39/pkgIndex.tcl 555
47
48 _install N libexpect5.39.a ${PREFIX}/lib/libexpect5.39.a 444
49
50 _install N expectk.man ${PREFIX}/man/man1/expectk.1 444
51 _install N expect.man ${PREFIX}/man/man1/expect.1 444
52 _install N example/kibitz.man ${PREFIX}/man/man1/kibitz.1 444
53 _install N example/dislocate.man ${PREFIX}/man/man1/dislocate.1 444
54 _install N example/xkibitz.man ${PREFIX}/man/man1/xkibitz.1 444
55 _install N example/tknewsbiff.man ${PREFIX}/man/man1/tknewsbiff.1 444
56 _install N example/unbuffer.man ${PREFIX}/man/man1/unbuffer.1 444
57 _install N example/mkpasswd.man ${PREFIX}/man/man1/mkpasswd.1 444
58 _install N example/passmass.man ${PREFIX}/man/man1/passmass.1 444
59 _install N example/cryptdir.man ${PREFIX}/man/man1/cryptdir.1 444
60 _install N example/decryptdir.man ${PREFIX}/man/man1/decryptdir.1 444
61 _install N example/autoexpect.man ${PREFIX}/man/man1/autoexpect.1 444
62 _install N example/multixterm.man ${PREFIX}/man/man1/multixterm.1 444
63 _install N libexpect.man ${PREFIX}/man/man3/libexpect.3 444
64
65 _install E expect ${PREFIX}/bin/expect 555
66 _install E expectk ${PREFIX}/bin/expectk 555
67 _install S timed-run ${PREFIX}/bin/timed-run 555
68 _install S timed-read ${PREFIX}/bin/timed-read 555
69 _install S ftp-rfc ${PREFIX}/bin/ftp-rfc 555
70 _install S autopasswd ${PREFIX}/bin/autopasswd 555
71 _install S lpunlock ${PREFIX}/bin/lpunlock 555
72 _install S weather ${PREFIX}/bin/weather 555
73 _install S passmass ${PREFIX}/bin/passmass 555
74 _install S rftp ${PREFIX}/bin/rftp 555
75 _install S kibitz ${PREFIX}/bin/kibitz 555
76 _install S rlogin-cwd ${PREFIX}/bin/rlogin-cwd 555
77 _install S xpstat ${PREFIX}/bin/xpstat 555
78 _install S tkpasswd ${PREFIX}/bin/tkpasswd 555
79 _install S dislocate ${PREFIX}/bin/dislocate 555
80 _install S xkibitz ${PREFIX}/bin/xkibitz 555
81 _install S tknewsbiff ${PREFIX}/bin/tknewsbiff 555
82 _install S unbuffer ${PREFIX}/bin/unbuffer 555
83 _install S mkpasswd ${PREFIX}/bin/mkpasswd 555
84 _install S cryptdir ${PREFIX}/bin/cryptdir 555
85 _install S decryptdir ${PREFIX}/bin/decryptdir 555
86 _install S autoexpect ${PREFIX}/bin/autoexpect 555
87 _install S multixterm ${PREFIX}/bin/multixterm 555
88 _install N expect.h ${PREFIX}/include/expect.h 444
89 _install N expect_tcl.h ${PREFIX}/include/expect_tcl.h 444
90 _install N expect_comm.h ${PREFIX}/include/expect_comm.h 444
91 _install N tcldbg.h ${PREFIX}/include/tcldbg.h 444
92
93 exit 0