diff options
author | steve <steve@FreeBSD.org> | 1999-12-29 16:42:34 +0800 |
---|---|---|
committer | steve <steve@FreeBSD.org> | 1999-12-29 16:42:34 +0800 |
commit | 0622d05feb3140df7e6e4a73365102f662cced21 (patch) | |
tree | 19d79ab8ffc89f3919702e02ddb9735af7c29c02 | |
parent | 7e3fcc9c9fbf02e21943e06ee09c3e1f3fe2937c (diff) | |
download | freebsd-ports-gnome-0622d05feb3140df7e6e4a73365102f662cced21.tar.gz freebsd-ports-gnome-0622d05feb3140df7e6e4a73365102f662cced21.tar.zst freebsd-ports-gnome-0622d05feb3140df7e6e4a73365102f662cced21.zip |
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>
-rw-r--r-- | chinese/kcfonts/files/patch-aa | 13 | ||||
-rw-r--r-- | chinese/kcfonts/files/patch-ab | 7 | ||||
-rw-r--r-- | chinese/kcfonts/pkg-plist | 6 |
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 |