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
25 #
26 # Copyright 2008 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
33 VERS=3.7
34 PKGVERS=joe-${VERS}
35 PREFIX=${ROOT}/opt/sfw
36 BINDIR=${PREFIX}/bin
37 INFODIR=${PREFIX}/info
38
39 . ${SRC}/tools/install.subr
40
41
42 cd ${PKGVERS}
43
44 _install E joe ${PREFIX}/bin/joe 555
45 _install E termidx ${PREFIX}/bin/termidx 555
46 _install L joe ${PREFIX}/bin/jmacs
47 _install L joe ${PREFIX}/bin/jstar
48 _install L joe ${PREFIX}/bin/rjoe
49 _install L joe ${PREFIX}/bin/jpico
50
51 _install N man/joe.1 ${PREFIX}/man/man1/joe.1 444
52
53 _install N charmaps/klingon ${PREFIX}/etc/joe/charmaps/klingon 444
54 _install N rc/joerc ${PREFIX}/etc/joe/joerc 444
55 _install N rc/jmacsrc ${PREFIX}/etc/joe/jmacsrc 444
56 _install N rc/jstarrc ${PREFIX}/etc/joe/jstarrc 444
57 _install N rc/rjoerc ${PREFIX}/etc/joe/rjoerc 444
58 _install N rc/jpicorc ${PREFIX}/etc/joe/jpicorc 444
59 _install N rc/ftyperc ${PREFIX}/etc/joe/ftyperc 444
60
61 _install N syntax/c.jsf ${PREFIX}/etc/joe/syntax/c.jsf 444
62 _install N syntax/perl.jsf ${PREFIX}/etc/joe/syntax/perl.jsf 444
63 _install N syntax/verilog.jsf ${PREFIX}/etc/joe/syntax/verilog.jsf 444
64 _install N syntax/conf.jsf ${PREFIX}/etc/joe/syntax/conf.jsf 444
65 _install N syntax/python.jsf ${PREFIX}/etc/joe/syntax/python.jsf 444
66 _install N syntax/php.jsf ${PREFIX}/etc/joe/syntax/php.jsf 444
67 _install N syntax/sh.jsf ${PREFIX}/etc/joe/syntax/sh.jsf 444
68 _install N syntax/mail.jsf ${PREFIX}/etc/joe/syntax/mail.jsf 444
69 _install N syntax/pascal.jsf ${PREFIX}/etc/joe/syntax/pascal.jsf 444
70 _install N syntax/html.jsf ${PREFIX}/etc/joe/syntax/html.jsf 444
71 _install N syntax/vhdl.jsf ${PREFIX}/etc/joe/syntax/vhdl.jsf 444
72 _install N syntax/fortran.jsf ${PREFIX}/etc/joe/syntax/fortran.jsf 444
73 _install N syntax/java.jsf ${PREFIX}/etc/joe/syntax/java.jsf 444
74 _install N syntax/xml.jsf ${PREFIX}/etc/joe/syntax/xml.jsf 444
75 _install N syntax/tcl.jsf ${PREFIX}/etc/joe/syntax/tcl.jsf 444
76 _install N syntax/lisp.jsf ${PREFIX}/etc/joe/syntax/lisp.jsf 444
77 _install N syntax/csh.jsf ${PREFIX}/etc/joe/syntax/csh.jsf 444
78 _install N syntax/mason.jsf ${PREFIX}/etc/joe/syntax/mason.jsf 444
79 _install N syntax/diff.jsf ${PREFIX}/etc/joe/syntax/diff.jsf 444
80 _install N syntax/asm.jsf ${PREFIX}/etc/joe/syntax/asm.jsf 444
81
82 exit 0