Home | History | Annotate | Download | only in hexedit
      1 #! /usr/bin/ksh93
      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 # Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
     24 # Use is subject to license terms.
     25 #
     26 #pragma ident	"@(#)install-sfw	1.1	08/11/03 SMI"
     27 #
     28 # makefile.master {usr/src} sets the following:
     29 #
     30 # CFGPREFIX=      /usr
     31 # CFGBIN=         ${CFGPREFIX}/bin
     32 # CFGMAN=         ${CFGPREFIX}/share/man
     33 # CFGMAN1=        ${CFGMAN}/man1
     34 # CONFIGURE_OPTIONS =     --prefix=${CFGPREFIX}
     35 # CONFIGURE_OPTIONS +=    --mandir=${CFGMAN}
     36 #
     37 # ROOTxxx refers to the build root {proto/MACHTYPE/...}
     38 #
     39 # ROOTBIN=        ${ROOT}${CFGBIN}
     40 # ROOTMAN1=       ${ROOT}${CFGMAN1}
     41 #
     42 
     43 # Stop at first error
     44 set -o errexit 
     45 
     46 #
     47 # set base information
     48 #
     49 CFGPREFIX=/usr
     50 CFGBIN=${CFGPREFIX}/bin
     51 CFGMAN=${CFGPREFIX}/share/man
     52 CFGMAN1=${CFGMAN}/man1
     53 
     54 ROOTBIN=${ROOT}${CFGBIN}
     55 ROOTMAN1=${ROOT}${CFGMAN1}
     56 
     57 PKGVERS=hexedit
     58 TOPDIR=$PWD/${PKGVERS}
     59 
     60 source ${SRC}/tools/install.subr
     61 
     62 #
     63 # populate man page
     64 #
     65 cd ${TOPDIR}
     66 
     67 MANSCRIPT=../sunman-stability
     68 _install M hexedit.1 ${ROOTMAN1}/hexedit.1 444
     69 
     70 #
     71 # populate bins
     72 #
     73 _install E hexedit ${ROOTBIN}/hexedit 555
     74 
     75 exit 0
     76