summaryrefslogtreecommitdiff
path: root/fonts
diff options
context:
space:
mode:
authoritojun <itojun@pkgsrc.org>2001-07-22 01:09:37 +0000
committeritojun <itojun@pkgsrc.org>2001-07-22 01:09:37 +0000
commit01c0737a43fbad9840cc96dbade48d10bbba743b (patch)
tree6beba6586d53455571f5e73bbc6e848d7b168349 /fonts
parent893e066888ef3a5340bc7efdc39a12a645eef4fb (diff)
downloadpkgsrc-01c0737a43fbad9840cc96dbade48d10bbba743b.tar.gz
Korean hanyang X11 fonts
Diffstat (limited to 'fonts')
-rw-r--r--fonts/ko-hanyang/Makefile43
-rw-r--r--fonts/ko-hanyang/distinfo4
-rw-r--r--fonts/ko-hanyang/pkg/DESCR4
-rw-r--r--fonts/ko-hanyang/pkg/PLIST15
4 files changed, 66 insertions, 0 deletions
diff --git a/fonts/ko-hanyang/Makefile b/fonts/ko-hanyang/Makefile
new file mode 100644
index 00000000000..a51dbe58655
--- /dev/null
+++ b/fonts/ko-hanyang/Makefile
@@ -0,0 +1,43 @@
+# $NetBSD: Makefile,v 1.1.1.1 2001/07/22 01:09:37 itojun Exp $
+#
+
+DISTNAME= hanyang-font-pcf
+PKGNAME= ko-hanyang-20010718
+CATEGORIES= fonts x11 korean
+MASTER_SITES+= ftp://ftp.kaist.ac.kr/pub/hangul/fonts/ \
+ ftp://ftp.kreonet.re.kr/pub/hangul/cair-archive/fonts/
+
+MAINTAINER= packages@netbsd.org
+COMMENT= X11 fonts for KSC 5601 standard
+
+CONFLICTS+= ksc5601fonts-[0-9]*
+
+USE_X11BASE= yes
+EXTRACT_ONLY= # empty
+
+MAKE_ENV+= FONTDIR=${FONTDIR} GZIP_CMD="${GZIP_CMD}"
+
+# fonts
+EXTRACT_ONLY+= hanyang-font-pcf.tar.gz
+HANYANG_PCF= hgm10.pcf hgm12.pcf hgm14.pcf hgm16.pcf hgm18.pcf hgm20.pcf \
+ hmm10.pcf hmm12.pcf hmm14.pcf hmm16.pcf hmm18.pcf hmm20.pcf
+
+FONTDIR=${PREFIX}/lib/X11/fonts/local
+
+post-extract:
+ ${MKDIR} ${WRKSRC}
+ ${CP} ${.CURDIR}/../../fonts/ko-x11fonts/files/Makefile ${WRKSRC}
+ (cd ${WRKSRC}; ${MAKE} prepare)
+
+post-build:
+ for i in ${HANYANG_PCF}; do \
+ ${MV} ${WRKDIR}/$$i ${WRKSRC}; \
+ done
+
+pre-install:
+ [ -d ${FONTDIR} ] || ${INSTALL_DATA_DIR} ${FONTDIR}
+
+post-install:
+ (cd ${FONTDIR}; mkfontdir)
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/fonts/ko-hanyang/distinfo b/fonts/ko-hanyang/distinfo
new file mode 100644
index 00000000000..dba22c2abc2
--- /dev/null
+++ b/fonts/ko-hanyang/distinfo
@@ -0,0 +1,4 @@
+$NetBSD: distinfo,v 1.1.1.1 2001/07/22 01:09:37 itojun Exp $
+
+SHA1 (hanyang-font-pcf.tar.gz) = 87cc3a2d7d2229b4c426a6457c5242bd180b6659
+Size (hanyang-font-pcf.tar.gz) = 2876501 bytes
diff --git a/fonts/ko-hanyang/pkg/DESCR b/fonts/ko-hanyang/pkg/DESCR
new file mode 100644
index 00000000000..b32af80c52d
--- /dev/null
+++ b/fonts/ko-hanyang/pkg/DESCR
@@ -0,0 +1,4 @@
+The pkgsrc installs X11 fonts for KSC 5601 Korean character set standard.
+
+Caveat: some of the font files seem to have incorrect font metric
+(font metric does not meet the actual font glyph).
diff --git a/fonts/ko-hanyang/pkg/PLIST b/fonts/ko-hanyang/pkg/PLIST
new file mode 100644
index 00000000000..0c336a5cba0
--- /dev/null
+++ b/fonts/ko-hanyang/pkg/PLIST
@@ -0,0 +1,15 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2001/07/22 01:09:37 itojun Exp $
+lib/X11/fonts/local/hgm10.pcf.gz
+lib/X11/fonts/local/hgm12.pcf.gz
+lib/X11/fonts/local/hgm14.pcf.gz
+lib/X11/fonts/local/hgm16.pcf.gz
+lib/X11/fonts/local/hgm18.pcf.gz
+lib/X11/fonts/local/hgm20.pcf.gz
+lib/X11/fonts/local/hmm10.pcf.gz
+lib/X11/fonts/local/hmm12.pcf.gz
+lib/X11/fonts/local/hmm14.pcf.gz
+lib/X11/fonts/local/hmm16.pcf.gz
+lib/X11/fonts/local/hmm18.pcf.gz
+lib/X11/fonts/local/hmm20.pcf.gz
+@exec /usr/X11R6/bin/mkfontdir %D/lib/X11/fonts/local
+@unexec /usr/X11R6/bin/mkfontdir %D/lib/X11/fonts/local