summaryrefslogtreecommitdiff
path: root/chinese/kcfonts
diff options
context:
space:
mode:
authorSteve Price <steve@FreeBSD.org>1999-12-29 08:42:34 +0000
committerSteve Price <steve@FreeBSD.org>1999-12-29 08:42:34 +0000
commit066cac2a527cfdbeede3bac1e1b3423bf5f33a38 (patch)
tree94a1013a38c4f3672ff998f12fd2b8e5188a75f8 /chinese/kcfonts
parentAdd a WANT_GS_SUPPORT flag so that users can build this port with (diff)
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>
Notes
Notes: svn path=/head/; revision=24247
Diffstat (limited to 'chinese/kcfonts')
-rw-r--r--chinese/kcfonts/files/patch-aa13
-rw-r--r--chinese/kcfonts/files/patch-ab7
-rw-r--r--chinese/kcfonts/pkg-plist6
3 files changed, 18 insertions, 8 deletions
diff --git a/chinese/kcfonts/files/patch-aa b/chinese/kcfonts/files/patch-aa
index 6f5d55dda97d..b8babf4928e8 100644
--- a/chinese/kcfonts/files/patch-aa
+++ b/chinese/kcfonts/files/patch-aa
@@ -1,5 +1,5 @@
---- Makefile.orig Wed Nov 11 13:19:28 1998
-+++ Makefile Wed Nov 11 13:22:05 1998
+--- 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
#
@@ -18,12 +18,13 @@
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
-@@ -43,7 +43,7 @@
+@@ -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)
-- mkfontdir $(EFONTDIR)
-+# mkfontdir $(EFONTDIR)
++ 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:
- rm -f kc*.pcf.gz ascfont.* *.o *~ $(PROGS)
diff --git a/chinese/kcfonts/files/patch-ab b/chinese/kcfonts/files/patch-ab
new file mode 100644
index 000000000000..e456109e4f0c
--- /dev/null
+++ b/chinese/kcfonts/files/patch-ab
@@ -0,0 +1,7 @@
+--- kc_fonts.alias Sat May 1 22:48:12 1999
++++ kc_fonts.alias.orig Sat May 1 22:48:10 1999
+@@ -0,0 +1,4 @@
++-kc-fixed-medium-r-normal--16-160-72-72-c-160-big5-0 kc15f
++-kc-fixed-medium-r-normal--24-240-72-72-c-240-big5-0 kc24f
++taipei16 kc15f
++taipei24 kc24f
diff --git a/chinese/kcfonts/pkg-plist b/chinese/kcfonts/pkg-plist
index dace055d6d36..43edd48b3442 100644
--- a/chinese/kcfonts/pkg-plist
+++ b/chinese/kcfonts/pkg-plist
@@ -2,5 +2,7 @@ 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
-@exec cd %D/lib/X11/fonts/local ; mkfontdir
-@unexec cd %D/lib/X11/fonts/local ; mkfontdir
+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