New install-sfw
  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 #
 24 # Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
 25 # Use is subject to license terms.
 26 #
 27 # install objects in the proto area, since it would
 28 # really like to install locally, but that doesn't scale.
 29 #
 30 
 31 VERS=5.43
 32 PKGVERS=expect-${VERS}
 33 PREFIX=${ROOT}/opt/sfw
 34 BINDIR=${PREFIX}/bin
 35 INFODIR=${PREFIX}/info
 36 
 37 . ${SRC}/tools/install.subr
 38 
 39 cd ${PKGVERS}
 40 
 41 
 42 _install N libexpect5.43.a ${PREFIX}/lib/expect5.43/libexpect5.43.a 444
 43 _install N pkgIndex ${PREFIX}/lib/expect5.43/pkgIndex.tcl 555
 44 
 45 _install N libexpect5.43.a ${PREFIX}/lib/libexpect5.43.a 444
 46 
 47 _install N expectk.man ${PREFIX}/man/man1/expectk.1 444
 48 _install N expect.man ${PREFIX}/man/man1/expect.1 444
 49 _install N example/kibitz.man ${PREFIX}/man/man1/kibitz.1 444
 50 _install N example/dislocate.man ${PREFIX}/man/man1/dislocate.1 444
 51 _install N example/xkibitz.man ${PREFIX}/man/man1/xkibitz.1 444
 52 _install N example/tknewsbiff.man ${PREFIX}/man/man1/tknewsbiff.1 444
 53 _install N example/unbuffer.man ${PREFIX}/man/man1/unbuffer.1 444
 54 _install N example/mkpasswd.man ${PREFIX}/man/man1/mkpasswd.1 444
 55 _install N example/passmass.man ${PREFIX}/man/man1/passmass.1 444
 56 _install N example/cryptdir.man ${PREFIX}/man/man1/cryptdir.1 444
 57 _install N example/decryptdir.man ${PREFIX}/man/man1/decryptdir.1 444
 58 _install N example/autoexpect.man ${PREFIX}/man/man1/autoexpect.1 444
 59 _install N example/multixterm.man ${PREFIX}/man/man1/multixterm.1 444
 60 _install N libexpect.man ${PREFIX}/man/man3/libexpect.3 444
 61 
 62 _install E expect ${PREFIX}/bin/expect 555
 63 _install E expectk ${PREFIX}/bin/expectk 555
 64 _install S timed-run ${PREFIX}/bin/timed-run 555
 65 _install S timed-read ${PREFIX}/bin/timed-read 555
 66 _install S ftp-rfc ${PREFIX}/bin/ftp-rfc 555
 67 _install S autopasswd ${PREFIX}/bin/autopasswd 555
 68 _install S lpunlock ${PREFIX}/bin/lpunlock 555
 69 _install S weather ${PREFIX}/bin/weather 555
 70 _install S passmass ${PREFIX}/bin/passmass 555
 71 _install S rftp ${PREFIX}/bin/rftp 555
 72 _install S kibitz ${PREFIX}/bin/kibitz 555
 73 _install S rlogin-cwd ${PREFIX}/bin/rlogin-cwd 555
 74 _install S xpstat ${PREFIX}/bin/xpstat 555
 75 _install S tkpasswd ${PREFIX}/bin/tkpasswd 555
 76 _install S dislocate ${PREFIX}/bin/dislocate 555
 77 _install S xkibitz ${PREFIX}/bin/xkibitz 555
 78 _install S tknewsbiff ${PREFIX}/bin/tknewsbiff 555
 79 _install S unbuffer ${PREFIX}/bin/unbuffer 555
 80 _install S mkpasswd ${PREFIX}/bin/mkpasswd 555
 81 _install S cryptdir ${PREFIX}/bin/cryptdir 555
 82 _install S decryptdir ${PREFIX}/bin/decryptdir 555
 83 _install S autoexpect ${PREFIX}/bin/autoexpect 555
 84 _install S multixterm ${PREFIX}/bin/multixterm 555
 85 _install N expect.h ${PREFIX}/include/expect.h 444
 86 _install N expect_tcl.h ${PREFIX}/include/expect_tcl.h 444
 87 _install N expect_comm.h ${PREFIX}/include/expect_comm.h 444
 88 _install N tcldbg.h ${PREFIX}/include/tcldbg.h 444
 89 
 90 exit 0