1 #!/bin/sh -e 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 # /* Portions Copyright 2007 ShivaKumar GN */ 24 25 # 26 # Copyright 2007 Sun Microsystems, Inc. All rights reserved. 27 # Use is subject to license terms. 28 # 29 #ident "@(#)install-sfw 1.1 07/12/04 SMI" 30 31 VERS=5.43 32 PKGVERS=expect-${VERS} 33 PREFIX=${ROOT}/usr 34 INFODIR=${PREFIX}/info 35 MANDIR=${PREFIX}/share/man 36 DEMODIR=${PREFIX}/demo/expect 37 38 MANSCRIPT=../sunman-stability 39 . ${SRC}/tools/install.subr 40 41 cd ${PKGVERS} 42 43 44 _install N pkgIndex ${PREFIX}/lib/tcl8.4/expect${VERS}/pkgIndex.tcl 555 45 46 _install E libexpect${VERS}.so ${PREFIX}/lib/libexpect${VERS}.so 555 47 48 _install M expect.man ${MANDIR}/man1/expect.1 444 49 _install M expectk.man ${MANDIR}/man1/expectk.1 444 50 51 _install M example/autoexpect.man ${DEMODIR}/man/man1/autoexpect.1 444 52 _install M example/cryptdir.man ${DEMODIR}/man/man1/cryptdir.1 444 53 _install M example/decryptdir.man ${DEMODIR}/man/man1/decryptdir.1 444 54 _install M example/dislocate.man ${DEMODIR}/man/man1/dislocate.1 444 55 _install M example/kibitz.man ${DEMODIR}/man/man1/kibitz.1 444 56 _install M example/mkpasswd.man ${DEMODIR}/man/man1/mkpasswd.1 444 57 _install M example/multixterm.man ${DEMODIR}/man/man1/multixterm.1 444 58 _install M example/passmass.man ${DEMODIR}/man/man1/passmass.1 444 59 _install M example/tknewsbiff.man ${DEMODIR}/man/man1/tknewsbiff.1 444 60 _install M example/unbuffer.man ${DEMODIR}/man/man1/unbuffer.1 444 61 _install M example/xkibitz.man ${DEMODIR}/man/man1/xkibitz.1 444 62 63 _install M libexpect.man ${MANDIR}/man3/libexpect.3 444 64 65 _install E expect ${PREFIX}/bin/expect 555 66 _install E expectk ${PREFIX}/bin/expectk 555 67 68 _install S autoexpect ${DEMODIR}/autoexpect 555 69 _install S autopasswd ${DEMODIR}/autopasswd 555 70 _install S cryptdir ${DEMODIR}/cryptdir 555 71 _install S decryptdir ${DEMODIR}/decryptdir 555 72 _install S dislocate ${DEMODIR}/dislocate 555 73 _install S ftp-rfc ${DEMODIR}/ftp-rfc 555 74 _install S kibitz ${DEMODIR}/kibitz 555 75 _install S lpunlock ${DEMODIR}/lpunlock 555 76 _install S mkpasswd ${DEMODIR}/mkpasswd 555 77 _install S multixterm ${DEMODIR}/multixterm 555 78 _install S passmass ${DEMODIR}/passmass 555 79 _install S rftp ${DEMODIR}/rftp 555 80 _install S rlogin-cwd ${DEMODIR}/rlogin-cwd 555 81 _install S timed-read ${DEMODIR}/timed-read 555 82 _install S timed-run ${DEMODIR}/timed-run 555 83 _install S tknewsbiff ${DEMODIR}/tknewsbiff 555 84 _install S tkpasswd ${DEMODIR}/tkpasswd 555 85 _install S unbuffer ${DEMODIR}/unbuffer 555 86 _install S weather ${DEMODIR}/weather 555 87 _install S xkibitz ${DEMODIR}/xkibitz 555 88 _install S xpstat ${DEMODIR}/xpstat 555 89 90 _install N expect.h ${PREFIX}/include/expect.h 444 91 _install N expect_tcl.h ${PREFIX}/include/expect_tcl.h 444 92 _install N expect_comm.h ${PREFIX}/include/expect_comm.h 444 93 _install N tcldbg.h ${PREFIX}/include/tcldbg.h 444 94 95 exit 0 96