summaryrefslogtreecommitdiffstats
path: root/chinese/kcfonts/files/patch-aa
blob: b8babf4928e818e2782e5fdb7912c0b0cb4e1165 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
--- Makefile.orig	Sun Dec 17 04:00:46 1995
+++ Makefile	Fri Jun 18 15:52:57 1999
@@ -2,13 +2,13 @@
 #	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
@@ -42,7 +42,9 @@
 	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:
OpenPOWER on IntegriCloud