Sdiff 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 
 25 #
 26 # Copyright 2004 Sun Microsystems, Inc.  All rights reserved. 
 27 # Use is subject to license terms.
 28 #
 29 #ident  "@(#)install-sfw        1.5     04/10/01 SMI" 
 30 
 31 VERS=AfterStep-1.8.8 
 32 PREFIX=${ROOT}/opt/sfw
 33 BINDIR=${PREFIX}/bin
 34 SBINDIR=${PREFIX}/sbin
 35 ETCDIR=${PREFIX}/etc
 36 LIBDIR=${PREFIX}/lib
 37 INCDIR=${PREFIX}/include
 38 INFODIR=${PREFIX}/info
 39 MAN1DIR=${PREFIX}/man/man1
 40 MAN4DIR=${PREFIX}/man/man4
 41 SHAREDIR=${PREFIX}/share
 42 AFTERSTEPDIR=${SHAREDIR}/afterstep
 43 
 44 # Include for _fixup_perl
 45 . ${SRC}/tools/install.subr
 46 
 47 cd ${VERS}
 48 
 49 for i in ${AFTERSTEPDIR} ${AFTERSTEPDIR}/doc
 50 do
 51         rm -rf ${i}


  1 #!/bin/sh
  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 2009 Sun Microsystems, Inc.  All rights reserved. 
 27 # Use is subject to license terms.
 28 #

 29 
 30 VERS=AfterStep-1.8.11 
 31 PREFIX=${ROOT}/opt/sfw
 32 BINDIR=${PREFIX}/bin
 33 SBINDIR=${PREFIX}/sbin
 34 ETCDIR=${PREFIX}/etc
 35 LIBDIR=${PREFIX}/lib
 36 INCDIR=${PREFIX}/include
 37 INFODIR=${PREFIX}/info
 38 MAN1DIR=${PREFIX}/man/man1
 39 MAN4DIR=${PREFIX}/man/man4
 40 SHAREDIR=${PREFIX}/share
 41 AFTERSTEPDIR=${SHAREDIR}/afterstep
 42 
 43 # Include for _fixup_perl
 44 . ${SRC}/tools/install.subr
 45 
 46 cd ${VERS}
 47 
 48 for i in ${AFTERSTEPDIR} ${AFTERSTEPDIR}/doc
 49 do
 50         rm -rf ${i}