Home | History | Annotate | Download | only in gnu-gs-fonts-other
      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 # Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
     24 # Use is subject to license terms.
     25 #
     26 #ident	"@(#)install-sfw	1.6	07/10/27 SMI"
     27 #
     28 # Install gnu ghostscript's other fonts in the proto area.
     29 #
     30 
     31 PROD=gnu-gs-fonts-other
     32 VERS=6.0
     33 PRODDIR=${PROD}-${VERS}
     34 
     35 PROTOPREFIX=${ROOT}/usr
     36 PROTOSHAREDIR=${PROTOPREFIX}/share
     37 PROTOGSSHAREDIR=${PROTOSHAREDIR}/ghostscript
     38 PROTOGSFONTSHAREDIR=${PROTOGSSHAREDIR}/fonts
     39 
     40 GSOTHERFONTS="bchb.afm bchb.pfa bchbi.afm bchbi.pfa bchr.afm bchr.pfa bchri.afm
     41 	bchri.pfa fcyr.afm fcyr.gsf fcyri.afm fcyri.gsf fhirw.gsf fhirw.pfm
     42 	fkarw.gsf fkarw.pfm hrger.pfa hrgerb.gsf hrgerd.gsf hrgero.gsf hrgkc.gsf
     43 	hrgks.gsf hrgrr.pfa hrgrrb.gsf hrgrro.gsf hritr.pfa hritrb.gsf
     44 	hritro.gsf hrpld.pfa hrpldb.gsf hrpldbi.gsf hrpldi.pfa hrplr.gsf
     45 	hrplrb.gsf hrplrbo.gsf hrplro.gsf hrpls.gsf hrplsb.gsf hrplsbo.gsf
     46 	hrplso.gsf hrplt.pfa hrpltb.gsf hrpltbi.gsf hrplti.pfa hrscc.pfa
     47 	hrsccb.gsf hrscco.gsf hrscs.pfa hrscsb.gsf hrscso.gsf hrsyr.gsf
     48 	putb.pfa putbi.pfa putr.pfa putri.pfa u003043t.afm u003043t.gsf
     49 	u003043t.pfm u004006t.afm u004006t.gsf u004006t.pfm"
     50 
     51 . ${SRC}/tools/install.subr
     52 
     53 cd ${PRODDIR}/fonts
     54 
     55 for i in ${PROTOGSSHAREDIR} ${PROTOGSFONTSHAREDIR}
     56 do
     57 	mkdir -p $i
     58 	chmod 755 $i
     59 done
     60 
     61 for i in ${GSOTHERFONTS}
     62 do
     63 	_install N ${i} ${PROTOGSFONTSHAREDIR}/${i} 644
     64 done
     65 
     66 exit 0
     67