summaryrefslogtreecommitdiff
path: root/korean
diff options
context:
space:
mode:
Diffstat (limited to 'korean')
-rw-r--r--korean/munhwafonts-cid/Makefile43
-rw-r--r--korean/munhwafonts-cid/distinfo3
-rw-r--r--korean/munhwafonts-cid/files/Munhwa-Regular-KSC-EUC-H.gsf22
-rw-r--r--korean/munhwafonts-cid/files/MunhwaGothic-Regular-KSC-EUC-H.gsf22
-rw-r--r--korean/munhwafonts-cid/pkg-comment1
-rw-r--r--korean/munhwafonts-cid/pkg-descr12
-rw-r--r--korean/munhwafonts-cid/pkg-plist23
7 files changed, 126 insertions, 0 deletions
diff --git a/korean/munhwafonts-cid/Makefile b/korean/munhwafonts-cid/Makefile
new file mode 100644
index 000000000000..6c55f5b4d32c
--- /dev/null
+++ b/korean/munhwafonts-cid/Makefile
@@ -0,0 +1,43 @@
+# New ports collection makefile for: Munhwa fonts collection(cid)
+# Version required: none
+# Date created: 30 Jun 1999
+# Whom: CHOI Junho <cjh@kr.freebsd.org>
+#
+# $FreeBSD$
+#
+
+DISTNAME= munhwafonts-cid
+PKGNAME= ko-munhwafonts-cid-1.0
+CATEGORIES= korean print
+MASTER_SITES= ftp://ftp.ora.com/pub/examples/nutshell/cjkv/adobe/ \
+ ftp://ftp.ora.com/pub/examples/nutshell/cjkv/adobe/samples/
+DISTFILES= ${CID_FONTS_KO} ${CID_CMAP_KO}
+
+MAINTAINER= cjh@kr.freebsd.org
+
+BUILD_DEPENDS= ${PREFIX}/share/ghostscript/fonts/Fontmap:${PORTSDIR}/print/gsfonts
+
+# sample fonts(cid, free Korean fonts is just only one.. :< )
+CID_FONTS_KO= Munhwa-Regular MunhwaGothic-Regular
+# CID CMAP
+CID_CMAP_KO= ak11.tar.Z
+
+NO_BUILD= YES
+
+do-extract:
+ ${MKDIR} ${WRKDIR}
+ cd ${WRKDIR} && tar -xzf ${DISTDIR}/${CID_CMAP_KO}
+
+do-install:
+ ${INSTALL_DATA} ${FILESDIR}/Munhwa-Regular-KSC-EUC-H.gsf \
+ ${FILESDIR}/MunhwaGothic-Regular-KSC-EUC-H.gsf \
+ ${PREFIX}/share/ghostscript/fonts
+ for file in ${CID_FONTS_KO}; do \
+ ${INSTALL_DATA} ${DISTDIR}/$$file \
+ ${PREFIX}/share/ghostscript/fonts; \
+ done
+ ${MKDIR} ${PREFIX}/share/ghostscript/fonts/CMap; &&\
+ ${INSTALL_DATA} ${WRKDIR}/ak11/CMap/* \
+ ${PREFIX}/share/ghostscript/fonts/CMap
+
+.include <bsd.port.mk>
diff --git a/korean/munhwafonts-cid/distinfo b/korean/munhwafonts-cid/distinfo
new file mode 100644
index 000000000000..823a13a1175f
--- /dev/null
+++ b/korean/munhwafonts-cid/distinfo
@@ -0,0 +1,3 @@
+MD5 (Munhwa-Regular) = 7ebe34b42aa9d6fa52391418d78df0e7
+MD5 (MunhwaGothic-Regular) = a49ab92ac1a5da007596d5958ac7f30e
+MD5 (ak11.tar.Z) = 056ef761a22d267ad71f5970938bfbe9
diff --git a/korean/munhwafonts-cid/files/Munhwa-Regular-KSC-EUC-H.gsf b/korean/munhwafonts-cid/files/Munhwa-Regular-KSC-EUC-H.gsf
new file mode 100644
index 000000000000..588d16ef6727
--- /dev/null
+++ b/korean/munhwafonts-cid/files/Munhwa-Regular-KSC-EUC-H.gsf
@@ -0,0 +1,22 @@
+% Munhwa-Regular font definition
+%
+% idea from README.CID in
+% http://www.ldl.jaist.ac.jp/~akr/nonresearch/free-software/ghostscript/\
+% gs5.10-vflib-1.1.tar.gz
+
+/Munhwa-Regular-KSC-EUC-H
+/Munhwa-Regular (Munhwa-Regular)
+/KSC-EUC-H (CMap/KSC-EUC-H)
+
+1 index /CMap resourcestatus
+{pop pop pop}
+{runlibfile} ifelse
+/CMap findresource
+
+3 1 roll
+1 index /CIDFont resourcestatus
+{pop pop pop}
+{runlibfile} ifelse
+/CIDFont findresource
+
+[ exch ] composefont pop
diff --git a/korean/munhwafonts-cid/files/MunhwaGothic-Regular-KSC-EUC-H.gsf b/korean/munhwafonts-cid/files/MunhwaGothic-Regular-KSC-EUC-H.gsf
new file mode 100644
index 000000000000..94bf787994ac
--- /dev/null
+++ b/korean/munhwafonts-cid/files/MunhwaGothic-Regular-KSC-EUC-H.gsf
@@ -0,0 +1,22 @@
+% MunhwaGothic-Regular font definition
+%
+% idea from README.CID in
+% http://www.ldl.jaist.ac.jp/~akr/nonresearch/free-software/ghostscript/\
+% gs5.10-vflib-1.1.tar.gz
+
+/MunhwaGothic-Regular-KSC-EUC-H
+/MunhwaGothic-Regular (MunhwaGothic-Regular)
+/KSC-EUC-H (CMap/KSC-EUC-H)
+
+1 index /CMap resourcestatus
+{pop pop pop}
+{runlibfile} ifelse
+/CMap findresource
+
+3 1 roll
+1 index /CIDFont resourcestatus
+{pop pop pop}
+{runlibfile} ifelse
+/CIDFont findresource
+
+[ exch ] composefont pop
diff --git a/korean/munhwafonts-cid/pkg-comment b/korean/munhwafonts-cid/pkg-comment
new file mode 100644
index 000000000000..62005b116422
--- /dev/null
+++ b/korean/munhwafonts-cid/pkg-comment
@@ -0,0 +1 @@
+Munhwa CID fonts collection(Basic set)
diff --git a/korean/munhwafonts-cid/pkg-descr b/korean/munhwafonts-cid/pkg-descr
new file mode 100644
index 000000000000..83dda8718749
--- /dev/null
+++ b/korean/munhwafonts-cid/pkg-descr
@@ -0,0 +1,12 @@
+Munhwa CID fonts collection
+===========================
+
+This font collection is used by ghostscript, for printing
+Korean documents.
+
+Korean CID-Keyed fonts(Munhwa and MunhwaGothic) is provided by
+Adobe, and original Type 1 fonts is from Ministry of Culture and Sports
+of Korea Government. These fonts are free to use.
+
+--
+CHOI Junho <cjh@kr.freebsd.org>
diff --git a/korean/munhwafonts-cid/pkg-plist b/korean/munhwafonts-cid/pkg-plist
new file mode 100644
index 000000000000..25803d362cd5
--- /dev/null
+++ b/korean/munhwafonts-cid/pkg-plist
@@ -0,0 +1,23 @@
+share/ghostscript/fonts/CMap/Adobe-Korea1-0
+share/ghostscript/fonts/CMap/Adobe-Korea1-1
+share/ghostscript/fonts/CMap/KSC-EUC-H
+share/ghostscript/fonts/CMap/KSC-EUC-V
+share/ghostscript/fonts/CMap/KSC-H
+share/ghostscript/fonts/CMap/KSC-Johab-H
+share/ghostscript/fonts/CMap/KSC-Johab-V
+share/ghostscript/fonts/CMap/KSC-V
+share/ghostscript/fonts/CMap/KSCms-UHC-H
+share/ghostscript/fonts/CMap/KSCms-UHC-HW-H
+share/ghostscript/fonts/CMap/KSCms-UHC-HW-V
+share/ghostscript/fonts/CMap/KSCms-UHC-V
+share/ghostscript/fonts/CMap/KSCpc-EUC-H
+share/ghostscript/fonts/CMap/KSCpc-EUC-V
+share/ghostscript/fonts/CMap/UniKS-UCS2-H
+share/ghostscript/fonts/CMap/UniKS-UCS2-V
+share/ghostscript/fonts/CMap/UniKS-UTF8-H
+share/ghostscript/fonts/CMap/UniKS-UTF8-V
+share/ghostscript/fonts/Munhwa-Regular
+share/ghostscript/fonts/Munhwa-Regular-KSC-EUC-H.gsf
+share/ghostscript/fonts/MunhwaGothic-Regular
+share/ghostscript/fonts/MunhwaGothic-Regular-KSC-EUC-H.gsf
+@dirrm share/ghostscript/fonts/CMap