f053d39def
reorganize the package names: (new) -> font-ayu18 (new) -> font-ayu20 k10 -> font-naga10 (also builds "marunaga" variant now) k12 -> font-kaname12 (new) -> font-elisa10 (resurrected) elisa8x8 -> font-elisa8 kanji18 -> font-kanji18 (also builds 16-dot variant now) kanji26 -> font-kanji26 (also builds 24-dot variant now) kappa20 -> font-kappa20 (Ayu fonts is separated into font-ayu20) mikachan-ttfonts -> font-mikachan monafonts-ttf -> font-mona-ttf monafonts -> font-mona All of bitmap fonts are now installed into misc/, and the TrueType fonts go into TTF/. No objection from: maintainers
22 lines
451 B
Bash
22 lines
451 B
Bash
#!/bin/sh
|
|
# $FreeBSD$
|
|
|
|
case "$2" in
|
|
POST-INSTALL)
|
|
cd %%FONTSDIR%%
|
|
touch fonts.alias
|
|
grep -v -- "^k10\|^a10\|^r10" fonts.alias > fonts.alias.tmp
|
|
cat fonts.alias.tmp %%FONTSALIAS%% > fonts.alias
|
|
rm -f fonts.alias.tmp
|
|
;;
|
|
DEINSTALL)
|
|
cd %%FONTSDIR%%
|
|
touch fonts.alias
|
|
grep -v -- "^k10\|^a10\|^r10" fonts.alias > fonts.alias.tmp
|
|
if [ -s fonts.alias.tmp ]; then
|
|
mv fonts.alias.tmp fonts.alias
|
|
else
|
|
rm -f fonts.alias.tmp fonts.alias
|
|
fi
|
|
;;
|
|
esac
|