summaryrefslogtreecommitdiff
path: root/fonts/kcfonts/patches/patch-aa
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2002-07-18 16:19:02 +0000
committerwiz <wiz@pkgsrc.org>2002-07-18 16:19:02 +0000
commit34366e40d141c4f60638402a6f120ca4284c9314 (patch)
tree7a32568cd248475f2f7edbcef3d86030b3daea98 /fonts/kcfonts/patches/patch-aa
parent3fa5e9ae064e35404d6f7fb4c5e6ce5375ffe55a (diff)
downloadpkgsrc-34366e40d141c4f60638402a6f120ca4284c9314.tar.gz
Initial import of kcfonts, a Chinese font collection.
Based on PR 13913 by Kevin Lo, with some cleanup by me. Kcfonts is a suit of chinese Ming Fanti fonts for X-window. Kcfonts' fonts are contributed by Kau Chauo Information CO. to all TANet users running on PC. Thanks Chin-Hao Tsai <c-tsai@uiuc.edu>, who converted it to the style of ETen's fonts. Now you can use kcfonts & crxvt to view Chinese by BIG5 encoding.
Diffstat (limited to 'fonts/kcfonts/patches/patch-aa')
-rw-r--r--fonts/kcfonts/patches/patch-aa47
1 files changed, 47 insertions, 0 deletions
diff --git a/fonts/kcfonts/patches/patch-aa b/fonts/kcfonts/patches/patch-aa
new file mode 100644
index 00000000000..b825d559a7e
--- /dev/null
+++ b/fonts/kcfonts/patches/patch-aa
@@ -0,0 +1,47 @@
+$NetBSD: patch-aa,v 1.1.1.1 2002/07/18 16:19:04 wiz Exp $
+
+--- Makefile.orig Sat Dec 16 21:00:46 1995
++++ Makefile
+@@ -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
+@@ -22,10 +22,14 @@
+ ./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,6 +46,7 @@
+ if [ ! -d $(CFONTDIR) ]; then mkdir $(CFONTDIR); fi
+ cp kc*f.pcf.gz $(CFONTDIR)
+ cp kc*x*.pcf.gz $(EFONTDIR)
++ cp fonts.alias $(CFONTDIR)
+ mkfontdir $(CFONTDIR)
+ mkfontdir $(EFONTDIR)
+