1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-30 21:49:25 +00:00
freebsd-ports/chinese/kcfonts/pkg-plist
Clive Lin 3109cc202d If there's no other fonts under ${X11BASE}/lib/X11/fonts/local
( [ `\head fonts.dir` = 0 ] ), just kill fonts.dir

Submitted by: bento (mtree error)
2001-01-31 00:28:56 +00:00

12 lines
893 B
Plaintext

lib/X11/fonts/local/kc8x15.pcf.gz
lib/X11/fonts/local/kc12x24.pcf.gz
lib/X11/fonts/local/kc15f.pcf.gz
lib/X11/fonts/local/kc24f.pcf.gz
lib/X11/fonts/local/kc_fonts.alias
@exec cd %D/lib/X11/fonts/local ; %D/bin/mkfontdir
@exec cd %D/lib/X11/fonts/local ; cat kc_fonts.alias >> fonts.alias ; cp fonts.alias ..fonts.alias.. ; sort ..fonts.alias.. | uniq > fonts.alias ; rm ..fonts.alias..
@unexec cd %D/lib/X11/fonts/local ; %D/bin/mkfontdir
@unexec if [ -s %D/lib/X11/fonts/local/fonts.alias ]; then perl -e 'while (<>) { if (!/kc-fixed/) { print <>} }' < %D/lib/X11/fonts/local/fonts.alias > /tmp/fonts.alias.$$; mv /tmp/fonts.alias.$$ %D/lib/X11/fonts/local/fonts.alias; fi
@unexec if [ `\head -1 %D/lib/X11/fonts/local/fonts.dir` = 0 ]; then rm -f %D/lib/X11/fonts/local/fonts.dir; fi
@unexec if [ ! -s %D/lib/X11/fonts/local/fonts.alias ]; then rm -f %D/lib/X11/fonts/local/fonts.alias; fi