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


1.4
date	2011.09.05.03.43.01;	author vanilla;	state Exp;
branches;
next	1.3;

1.3
date	2000.04.30.04.15.35;	author vanilla;	state Exp;
branches;
next	1.2;

1.2
date	99.12.29.08.42.31;	author steve;	state Exp;
branches;
next	1.1;

1.1
date	98.11.17.02.36.28;	author asami;	state Exp;
branches;
next	;


desc
@@


1.4
log
@Fix build error with clang.
@
text
@--- Makefile.orig	1995-12-17 04:00:46.000000000 +0800
+++ Makefile	2011-09-05 11:35:47.000000000 +0800
@@@@ -2,17 +2,17 @@@@
 #	Kau Chauo Chinese Fanti Ming Fonts Version 1.05 For FreeBSD
 #
 #	All fonts source is contributed by Kau Chauo Business CO.
-#	Converted by Chih-Hao Tsai & Pa on Taiwan
+#	Converted by Chih-Hao Tsai & PA on Taiwan
 #
-#	maintainer: Pa ( Pa@@FreeBSD.ee.ntu.edu.tw )
+#	maintainer: PA ( PA@@FreeBSD.ee.ntu.edu.tw )
 #
 
-CFONTDIR=/usr/X11R6/lib/X11/fonts/chinese
-EFONTDIR=/usr/X11R6/lib/X11/fonts/misc
+CFONTDIR=${PREFIX}/lib/X11/fonts/local
+EFONTDIR=${PREFIX}/lib/X11/fonts/local
 FONTS	=kc24f.pcf.gz kc15f.pcf.gz kc8x15.pcf.gz kc12x24.pcf.gz
 PROGS	=kc24f kc15f kc8x15 kc12x24 kca2et
 OBJS	=tran.o kc24f.o kc15f.o kc8x15.o kc12x24.o kca2et.o
-CC	=gcc
+#CC	=gcc
 
 all:	$(FONTS)
 
@@@@ -22,10 +22,14 @@@@ kc15f.pcf.gz:	kc15f
 	./kc15f | bdftopcf | gzip - > kc15f.pcf.gz 
 kc8x15.pcf.gz:	kca2et kc8x15
 	./kca2et kctext16.f00 ascfont.15 256 16 15
-	./kc8x15 | bdftopcf | gzip - > kc8x15.pcf.gz
+	./kc8x15 > kc8x15.bdf
+	patch < kc8x15.diff
+	bdftopcf kc8x15.bdf | gzip - > kc8x15.pcf.gz
 kc12x24.pcf.gz:	kca2et kc12x24
 	./kca2et kctext24.f00 ascfont.24 256 48 48
-	./kc12x24 | bdftopcf | gzip - > kc12x24.pcf.gz
+	./kc12x24 > kc12x24.bdf
+	patch < kc12x24.diff
+	bdftopcf kc12x24.bdf | gzip - > kc12x24.pcf.gz
 
 kc24f:		tran.o kc24f.o
 	$(CC) $(CFLAGS) tran.o kc24f.o -o $@@
@@@@ -42,7 +46,9 @@@@ install:
 	if [ ! -d $(CFONTDIR) ]; then mkdir $(CFONTDIR); fi
 	cp kc*f.pcf.gz $(CFONTDIR)
 	cp kc*x*.pcf.gz $(EFONTDIR)
+	cp kc_fonts.alias $(CFONTDIR)
 	mkfontdir $(CFONTDIR)
+	cd ${PREFIX}/lib/X11/fonts/local ; cat kc_fonts.alias >> fonts.alias ; cp fonts.alias ..fonts.alias.. ; sort ..fonts.alias.. | uniq > fonts.alias ; rm ..fonts.alias..
 	mkfontdir $(EFONTDIR)
 
 clean:
@


1.3
log
@Remove obsolete site,
and add a patch for damn kcfont bug.

Submitted by:	clive@@cirx.org
@
text
@d1 3
a3 3
--- Makefile.orig	Sun Dec 17 04:00:46 1995
+++ Makefile	Sun Apr 30 10:58:22 2000
@@@@ -2,13 +2,13 @@@@
d21 6
a26 1
@@@@ -22,10 +22,14 @@@@
d43 1
a43 1
@@@@ -42,7 +46,9 @@@@
@


1.2
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
@d2 1
a2 1
+++ Makefile	Fri Jun 18 15:52:57 1999
d21 18
a38 1
@@@@ -42,7 +42,9 @@@@
@


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

Submitted by:	maintainer
@
text
@d1 2
a2 2
--- Makefile.orig	Wed Nov 11 13:19:28 1998
+++ Makefile	Wed Nov 11 13:22:05 1998
d21 2
a22 1
@@@@ -43,7 +43,7 @@@@
d25 1
d27 2
a28 2
-	mkfontdir $(EFONTDIR)
+#	mkfontdir $(EFONTDIR)
a30 1
 	rm -f kc*.pcf.gz ascfont.* *.o *~ $(PROGS)
@

