head	1.8;
access;
symbols
	RELEASE_8_3_0:1.8
	RELEASE_9_0_0:1.8
	RELEASE_7_4_0:1.8
	RELEASE_8_2_0:1.8
	RELEASE_6_EOL:1.8
	RELEASE_8_1_0:1.8
	RELEASE_7_3_0:1.8
	RELEASE_8_0_0:1.8
	RELEASE_7_2_0:1.8
	RELEASE_7_1_0:1.8
	RELEASE_6_4_0:1.8
	RELEASE_5_EOL:1.8
	RELEASE_7_0_0:1.8
	RELEASE_6_3_0:1.8
	PRE_XORG_7:1.8
	RELEASE_4_EOL:1.8
	RELEASE_6_2_0:1.8
	RELEASE_6_1_0:1.8
	RELEASE_5_5_0:1.8
	RELEASE_6_0_0:1.8
	RELEASE_5_4_0:1.8
	RELEASE_4_11_0:1.8
	RELEASE_5_3_0:1.8
	RELEASE_4_10_0:1.8
	RELEASE_5_2_1:1.8
	RELEASE_5_2_0:1.8
	RELEASE_4_9_0:1.8
	RELEASE_5_1_0:1.8
	RELEASE_4_8_0:1.8
	RELEASE_5_0_0:1.8
	RELEASE_4_7_0:1.8
	RELEASE_4_6_2:1.8
	RELEASE_4_6_1:1.8
	RELEASE_4_6_0:1.8
	RELEASE_5_0_DP1:1.8
	RELEASE_4_5_0:1.8
	RELEASE_4_4_0:1.8
	RELEASE_4_3_0:1.8
	RELEASE_4_2_0:1.5
	RELEASE_4_1_1:1.5
	RELEASE_4_1_0:1.5
	RELEASE_3_5_0:1.5
	RELEASE_4_0_0:1.4
	RELEASE_3_4_0:1.3
	RELEASE_3_3_0:1.3
	RELEASE_3_2_0:1.3
	RELEASE_3_1_0:1.3
	RELEASE_2_2_8:1.3
	RELEASE_3_0_0:1.2
	RELEASE_2_2_7:1.2
	RELEASE_2_2_6:1.2
	zh_kcfonts_1_0:1.1.1.1
	PA:1.1.1;
locks; strict;
comment	@# @;


1.8
date	2001.01.31.00.28.56;	author clive;	state Exp;
branches;
next	1.7;

1.7
date	2001.01.05.05.02.18;	author clive;	state Exp;
branches;
next	1.6;

1.6
date	2001.01.05.04.42.38;	author clive;	state Exp;
branches;
next	1.5;

1.5
date	2000.06.01.06.46.32;	author asami;	state Exp;
branches;
next	1.4;

1.4
date	99.12.29.08.42.34;	author steve;	state Exp;
branches;
next	1.3;

1.3
date	98.11.17.02.36.30;	author asami;	state Exp;
branches;
next	1.2;

1.2
date	97.12.17.17.17.38;	author vanilla;	state Exp;
branches;
next	1.1;

1.1
date	97.12.07.02.43.57;	author vanilla;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	97.12.07.02.43.57;	author vanilla;	state Exp;
branches;
next	;


desc
@@


1.8
log
@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)
@
text
@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
@


1.7
log
@Strip out kc fonts alias in fonts.alias when under uninstall condition.
I know that one line perl -e script is ugly, but it works. Patches welcome.
@
text
@d10 1
@


1.6
log
@Don't rm -f lib/X11/fonts/local/fonts.dir eventhough there's really no
other fonts left. fonts.dir are in XFree86's pkg-plist both in version 3
and version 4.
@
text
@d9 1
@


1.5
log
@Remove empty fonts.dir and fonts.alias files.  (Note chinese/kcfonts still
leaves fonts.alias behind -- it is not removing any entries from that file.)
@
text
@a8 1
@@unexec if [ `wc -c %D/lib/X11/fonts/local/fonts.dir | awk '{print $1}'` = 2 ]; then rm -f %D/lib/X11/fonts/local/fonts.dir; fi
@


1.4
log
@Fix error message on pkg_add(1) and add fonts.alias to make X-locale
program use these fonts automatically.

PR:		12271
Submitted by:	Yuan-Chen Cheng <ycheng@@ml.tw.freebsd.org>
@
text
@d9 2
@


1.3
log
@Move fonts to ${X11BASE}/lib/X11/fonts/local.

Submitted by:	maintainer
@
text
@d5 4
a8 2
@@exec cd %D/lib/X11/fonts/local ; mkfontdir
@@unexec cd %D/lib/X11/fonts/local ; mkfontdir
@


1.2
log
@Upgrade to 1.05
@
text
@d1 6
a6 8
lib/X11/fonts/misc/kc8x15.pcf.gz
lib/X11/fonts/misc/kc12x24.pcf.gz
lib/X11/fonts/chinese/kc15f.pcf.gz
lib/X11/fonts/chinese/kc24f.pcf.gz
@@exec cd %D/lib/X11/fonts/misc ; mkfontdir
@@exec cd %D/lib/X11/fonts/chinese ; mkfontdir
@@unexec cd %D/lib/X11/fonts/misc ; mkfontdir
@@unexec cd %D/lib/X11/fonts/chinese ; mkfontdir
@


1.1
log
@Initial revision
@
text
@d1 4
a4 3
lib/X11/fonts/misc/8x15.pcf.gz
lib/X11/fonts/chinese/kc15.pcf.gz
lib/X11/fonts/chinese/kc24.pcf.gz
@


1.1.1.1
log
@kcfonts is a free chinese fonts.
Submitted by:	Ming-I Hseh <PA@@FreeBSD.ee.Ntu.edu.TW>
@
text
@@
