pkgsrc/fonts/ja-kappa20/INSTALL
jlam 2920a32c71 Prepare for pkgviews by making sure that passing VIEW-INSTALL or
VIEW-DEINSTALL to the INSTALL/DEINSTALL scripts don't cause errors.
2003-08-30 20:22:49 +00:00

21 lines
554 B
Text

# $NetBSD: INSTALL,v 1.2 2003/08/30 20:22:52 jlam Exp $
ALIAS=@FONTDIR@/fonts.alias
case ${STAGE} in
POST-INSTALL)
${ECHO} '-- BEGIN Kappa20 --' >> ${ALIAS}
${CAT} @ALIAS_KAPPA@ >> ${ALIAS}
${ECHO} >> ${ALIAS}
${ECHO} '!! kappa20 generic aliases' >> ${ALIAS}
${CAT} @ALIAS_KAPPA@ | \
${GREP} 'kappa-.*-kappa-' | \
${SED} -e 's,kappa-,misc-,' >> ${ALIAS}
${CAT} @ALIAS_KAPPA@ | \
${GREP} 10x20 | \
${AWK} '{print $2, $2}' | \
${SED} -e 's,kappa-,misc-,' >> ${ALIAS}
${ECHO} '-- END Kappa20 --' >> ${ALIAS}
mkfontdir @FONTDIR@
;;
esac