aboutsummaryrefslogtreecommitdiff
path: root/korean
diff options
context:
space:
mode:
Diffstat (limited to 'korean')
-rw-r--r--korean/kaistfonts/Makefile7
-rw-r--r--korean/kaistfonts/files/patch-aa6
-rw-r--r--korean/kaistfonts/pkg-message23
-rw-r--r--korean/kaistfonts/pkg-plist12
4 files changed, 37 insertions, 11 deletions
diff --git a/korean/kaistfonts/Makefile b/korean/kaistfonts/Makefile
index 8694f7c5f38e..081c93ec5023 100644
--- a/korean/kaistfonts/Makefile
+++ b/korean/kaistfonts/Makefile
@@ -3,12 +3,12 @@
# Date created: Fri Mar 27 17:26:42 KST 1998
# Whom: CHOI Junho <junker@jazz.snu.ac.kr>
#
-# $Id: Makefile,v 1.2 1998/08/05 09:31:22 asami Exp $
+# $Id: Makefile,v 1.3 1998/08/07 22:43:11 asami Exp $
#
DISTNAME= ko-kaistfonts-ksc-1.0
CATEGORIES= korean x11-fonts
-MASTER_SITES= ftp://sensor.kaist.ac.kr/pub/fonts/newones/
+MASTER_SITES= ftp://ftp.kr.freebsd.org/pub/FreeBSD-kr/distfiles/
DISTFILES= kaist-newmj18.bdf.gz ks_philgi16.bdf.gz \
kaist-newmj16.bdf.gz ks_iyagi16.bdf.gz
@@ -27,4 +27,7 @@ do-extract:
${GUNZIP_CMD} -c < ${_DISTDIR}/$$file > `echo $$file | ${SED} -e 's/\.Z//' -e 's/\.gz//'`; \
done
+post-install:
+ ${CAT} ${PKGDIR}/MESSAGE
+
.include <bsd.port.mk>
diff --git a/korean/kaistfonts/files/patch-aa b/korean/kaistfonts/files/patch-aa
index 402466008a95..737b1fec5584 100644
--- a/korean/kaistfonts/files/patch-aa
+++ b/korean/kaistfonts/files/patch-aa
@@ -10,11 +10,11 @@
+all: ${PCF}
+
+install:
-+ mkdir -p ${PREFIX}/lib/X11/fonts/misc
++ -mkdir -p ${PREFIX}/lib/X11/fonts/local
+ for i in ${PCF}; do \
-+ gzip -c < $$i > ${PREFIX}/lib/X11/fonts/misc/$$i.gz; \
++ gzip -c < $$i > ${PREFIX}/lib/X11/fonts/local/$$i.gz; \
+ done
-+ cd ${PREFIX}/lib/X11/fonts/misc/ ; mkfontdir
++ cd ${PREFIX}/lib/X11/fonts/local/ ; mkfontdir
+
+.bdf.pcf:
+ bdftopcf $*.bdf > $*.pcf
diff --git a/korean/kaistfonts/pkg-message b/korean/kaistfonts/pkg-message
new file mode 100644
index 000000000000..ac974f8ae958
--- /dev/null
+++ b/korean/kaistfonts/pkg-message
@@ -0,0 +1,23 @@
+KAIST Font(KSC5601)
+===================
+
+Please note:
+
+ This package installed fonts in /usr/X11R6/lib/X11/fonts/local directory.
+ If you are using XFree86 3.3.2 or older, please upgrade to a new version
+ or add this directory to your /etc/XF86config:
+
+ Section "Files"
+ ...
+ FontPath "/usr/X11R6/lib/X11/fonts/local/"
+ ...
+
+ Or, run this command at your X desktop:
+
+ # xset +fp /usr/X11R6/lib/X11/fonts/local/ && xset fp rehash
+
+ Don't forget to add the directory to your /etc/XF86config, for
+ add the correct font path after you reboots X.
+
+--
+CHOI Junho <junker@jazz.snu.ac.kr>
diff --git a/korean/kaistfonts/pkg-plist b/korean/kaistfonts/pkg-plist
index 6abb73356a9b..b071f9ac12c7 100644
--- a/korean/kaistfonts/pkg-plist
+++ b/korean/kaistfonts/pkg-plist
@@ -1,6 +1,6 @@
-lib/X11/fonts/misc/kaist-newmj16.pcf.gz
-lib/X11/fonts/misc/kaist-newmj18.pcf.gz
-lib/X11/fonts/misc/ks_iyagi16.pcf.gz
-lib/X11/fonts/misc/ks_philgi16.pcf.gz
-@exec cd %D/lib/X11/fonts/misc ; mkfontdir
-@unexec cd %D/lib/X11/fonts/misc ; mkfontdir
+lib/X11/fonts/local/kaist-newmj16.pcf.gz
+lib/X11/fonts/local/kaist-newmj18.pcf.gz
+lib/X11/fonts/local/ks_iyagi16.pcf.gz
+lib/X11/fonts/local/ks_philgi16.pcf.gz
+@exec cd %D/lib/X11/fonts/local ; %D/bin/mkfontdir
+@unexec cd %D/lib/X11/fonts/local ; %D/bin/mkfontdir