#!/bin/sh # # $NetBSD: INSTALL,v 1.1.1.1 2002/09/13 22:35:01 jlam Exp $ ADOBE_RESOURCEDIR="@ADOBE_RESOURCEDIR@" GS_RESOURCEDIR="@GS_RESOURCEDIR@" PKG_INFO="@PKG_INFO@" FONTFILES=` \ ${PKG_INFO} -f adobe-cidfonts | \ ${AWK} '/File:.*\/Resource\/CIDFont\// { print $2 }' \ ` case ${STAGE} in POST-INSTALL) for file in ${FONTFILES}; do base=`${BASENAME} $file` dest="${GS_RESOURCEDIR}/CIDFont/$base" src="../../../../$file" ${RM} -f $dest ${LN} -sf $src $dest done ;; DEINSTALL) for file in ${FONTFILES}; do base=`${BASENAME} $file` dest="${GS_RESOURCEDIR}/CIDFont/$base" ${RM} -f $dest done ;; esac