From b24a4f4aad57e2a95750fefdf3082e0bb3e06ca7 Mon Sep 17 00:00:00 2001
From: Steve Price <steve@FreeBSD.org>
Date: Sun, 19 Apr 1998 17:51:38 +0000
Subject: Move fonts to lib/X11/fonts/misc.

PR:		6175
Submitted by:	maintainer
---
 korean/hanyangfonts/Makefile  | 30 +++++++++++-------------------
 korean/hanyangfonts/pkg-descr |  8 ++++----
 korean/hanyangfonts/pkg-plist | 28 ++++++++++++++--------------
 3 files changed, 29 insertions(+), 37 deletions(-)

(limited to 'korean')

diff --git a/korean/hanyangfonts/Makefile b/korean/hanyangfonts/Makefile
index eb109b403649..9cb7a9fa422e 100644
--- a/korean/hanyangfonts/Makefile
+++ b/korean/hanyangfonts/Makefile
@@ -3,43 +3,35 @@
 # Date created:         22 Mar 1997
 # Whom:                 Choi Jun Ho <junker@jazz.snu.ac.kr>
 #
-# $Id: Makefile,v 1.2 1997/07/13 18:49:20 max Exp $
+# $Id: Makefile,v 1.3 1997/09/22 16:21:52 max Exp $
 #
 
 DISTNAME=       hanyang-font-pcf
 PKGNAME=        ko-hanyangfonts-1.0
 CATEGORIES=     korean x11
 MASTER_SITES=   ftp://ftp.kaist.ac.kr/pub/hangul/fonts/ \
-                ftp://sunsite.kren.nm.kr/pub/packages/hangul/fonts/
+		ftp://ftp.kreonet.re.kr/pub/hangul/cair-archive/fonts/
 
 MAINTAINER=     junker@jazz.snu.ac.kr
 
 USE_X11=        yes
 NO_WRKSUBDIR=   yes
 
+FONTS=		hgm10 hgm12 hgm14 hgm16 hgm18 hgm20 \
+		hmm10 hmm12 hmm14 hmm16 hmm18 hmm20
+
 do-build:
 	@cd ${WRKSRC}; \
-	for fn in \
-	  hgm10 hgm12 hgm14 hgm16 hgm18 hgm20  \
-	  hmm10 hmm12 hmm14 hmm16 hmm18 hmm20; \
-	do \
-	  compress $$fn.pcf; \
-	  echo $$fn "compressed"; \
+	for fn in ${FONTS}; do \
+		${GZIP_CMD} $$fn.pcf; \
+		${ECHO} $$fn "compressed"; \
 	done; \
-	mkfontdir .
 
 do-install:
 	@cd ${WRKSRC}; \
-	${MKDIR} ${PREFIX}/lib/X11/fonts/korean/hanyang; \
-	for fn in \
-	  hgm10 hgm12 hgm14 hgm16 hgm18 hgm20  \
-	  hmm10 hmm12 hmm14 hmm16 hmm18 hmm20; \
-	do \
-	  ${INSTALL_DATA} $$fn.pcf.Z ${PREFIX}/lib/X11/fonts/korean/hanyang; \
+	for file in ${FONTS}; do \
+		${INSTALL_DATA} "$$file".pcf.gz ${PREFIX}/lib/X11/fonts/misc; \
 	done; \
-	${INSTALL_DATA} fonts.dir ${PREFIX}/lib/X11/fonts/korean/hanyang
+	mkfontdir ${PREFIX}/lib/X11/fonts/misc
 
-post-install:
-	@${SH} ${PKGDIR}/REQ ${PKGNAME} INSTALL
-	
 .include <bsd.port.mk>
diff --git a/korean/hanyangfonts/pkg-descr b/korean/hanyangfonts/pkg-descr
index fbe3227df065..328b64570acd 100644
--- a/korean/hanyangfonts/pkg-descr
+++ b/korean/hanyangfonts/pkg-descr
@@ -1,9 +1,9 @@
 Hangul X11 fonts(Hanyang)
 -------------------------
 
-It is Korean fonts for X11. These fonts are copyrighted by 
-(C) Hanyang Systems, but it is in the public domain. It is good for
-using many i18ned X11 program.
+It is Korean fonts for X11(ksc5601.1987-0). These fonts are 
+copyrighted by (C) Hanyang Systems, but it is in the public domain.
+It is good for using many i18n-ed X11 program.
 
 --
-Ports by Choi Jun Ho <junker@jazz.snu.ac.kr>
+Ports by CHOI Junho <junker@jazz.snu.ac.kr>
diff --git a/korean/hanyangfonts/pkg-plist b/korean/hanyangfonts/pkg-plist
index 748ce7d709c6..75c4a6ced671 100644
--- a/korean/hanyangfonts/pkg-plist
+++ b/korean/hanyangfonts/pkg-plist
@@ -1,14 +1,14 @@
-lib/X11/fonts/korean/hanyang/hmm10.pcf.Z
-lib/X11/fonts/korean/hanyang/hmm12.pcf.Z
-lib/X11/fonts/korean/hanyang/hmm14.pcf.Z
-lib/X11/fonts/korean/hanyang/hmm16.pcf.Z
-lib/X11/fonts/korean/hanyang/hmm18.pcf.Z
-lib/X11/fonts/korean/hanyang/hmm20.pcf.Z
-lib/X11/fonts/korean/hanyang/hgm10.pcf.Z
-lib/X11/fonts/korean/hanyang/hgm12.pcf.Z
-lib/X11/fonts/korean/hanyang/hgm14.pcf.Z
-lib/X11/fonts/korean/hanyang/hgm16.pcf.Z
-lib/X11/fonts/korean/hanyang/hgm18.pcf.Z
-lib/X11/fonts/korean/hanyang/hgm20.pcf.Z
-lib/X11/fonts/korean/hanyang/fonts.dir
-@dirrm lib/X11/fonts/korean/hanyang
+lib/X11/fonts/misc/hmm10.pcf.gz
+lib/X11/fonts/misc/hmm12.pcf.gz
+lib/X11/fonts/misc/hmm14.pcf.gz
+lib/X11/fonts/misc/hmm16.pcf.gz
+lib/X11/fonts/misc/hmm18.pcf.gz
+lib/X11/fonts/misc/hmm20.pcf.gz
+lib/X11/fonts/misc/hgm10.pcf.gz
+lib/X11/fonts/misc/hgm12.pcf.gz
+lib/X11/fonts/misc/hgm14.pcf.gz
+lib/X11/fonts/misc/hgm16.pcf.gz
+lib/X11/fonts/misc/hgm18.pcf.gz
+lib/X11/fonts/misc/hgm20.pcf.gz
+@exec cd %D/lib/X11/fonts/misc ; mkfontdir
+@unexec cd %D/lib/X11/fonts/misc ; mkfontdir
-- 
cgit debian/1.2.3+git2.25.1-1-2-gaceb0