git: 69731562121a - main - korean/nanumfonts: Split korean/nanumfonts-{otf,ttf} into multiple ports

From: Jung-uk Kim <jkim_at_FreeBSD.org>
Date: Fri, 11 Feb 2022 04:51:45 UTC
The branch main has been updated by jkim:

URL: https://cgit.FreeBSD.org/ports/commit/?id=69731562121a8f4fd6b64649f8c661e5016dffb2

commit 69731562121a8f4fd6b64649f8c661e5016dffb2
Author:     Jung-uk Kim <jkim@FreeBSD.org>
AuthorDate: 2022-02-11 04:48:33 +0000
Commit:     Jung-uk Kim <jkim@FreeBSD.org>
CommitDate: 2022-02-11 04:48:33 +0000

    korean/nanumfonts: Split korean/nanumfonts-{otf,ttf} into multiple ports
---
 MOVED                              |  2 +
 korean/Makefile                    | 13 ++++-
 korean/nanum-barun-gothic/Makefile |  4 ++
 korean/nanum-barun-gothic/distinfo |  3 ++
 korean/nanum-barun-pen/Makefile    |  4 ++
 korean/nanum-barun-pen/distinfo    |  3 ++
 korean/nanum-brush/Makefile        |  4 ++
 korean/nanum-brush/distinfo        |  3 ++
 korean/nanum-gothic-eco/Makefile   |  4 ++
 korean/nanum-gothic-eco/distinfo   |  3 ++
 korean/nanum-gothic/Makefile       |  4 ++
 korean/nanum-gothic/distinfo       |  3 ++
 korean/nanum-myeongjo-eco/Makefile |  4 ++
 korean/nanum-myeongjo-eco/distinfo |  3 ++
 korean/nanum-myeongjo/Makefile     |  4 ++
 korean/nanum-myeongjo/distinfo     |  3 ++
 korean/nanum-pen/Makefile          |  4 ++
 korean/nanum-pen/distinfo          |  3 ++
 korean/nanum-square-round/Makefile |  4 ++
 korean/nanum-square-round/distinfo |  3 ++
 korean/nanum-square/Makefile       |  4 ++
 korean/nanum-square/distinfo       |  3 ++
 korean/nanumfonts-otf/Makefile     | 81 -------------------------------
 korean/nanumfonts-otf/distinfo.otf |  7 ---
 korean/nanumfonts-otf/distinfo.ttf |  7 ---
 korean/nanumfonts-otf/pkg-descr    |  4 --
 korean/nanumfonts-ttf/Makefile     |  6 ---
 korean/nanumfonts/Makefile         | 25 ++++++++++
 korean/nanumfonts/Makefile.common  | 30 ++++++++++++
 korean/nanumfonts/files/LICENSE    | 98 ++++++++++++++++++++++++++++++++++++++
 korean/nanumfonts/pkg-descr        |  4 ++
 31 files changed, 240 insertions(+), 107 deletions(-)

diff --git a/MOVED b/MOVED
index 38de7581954e..b610dc41030c 100644
--- a/MOVED
+++ b/MOVED
@@ -16888,3 +16888,5 @@ www/annie|www/lux|2022-02-03|Project renamed
 devel/rubygem-gettext_i18n_rails_js-rails60|devel/rubygem-gettext_i18n_rails_js-rails61|2022-02-07|Obsolete use devel/rubygem-gettext_i18n_rails_js-rails61 instead
 security/rubygem-devise-two-factor-rails60|security/rubygem-devise-two-factor-rails61|2022-02-07|Obsolete use security/rubygem-devise-two-factor-rails61 instead
 korean/nanumcoding-ttf|korean/nanum-gothic-coding|2022-02-10|Renamed to match upstream naming
+korean/nanumfonts-otf|korean/nanumfonts|2022-02-10|Split into multiple ports, use korean/nanumfonts meta-port instead
+korean/nanumfonts-ttf|korean/nanumfonts|2022-02-10|Split into multiple ports, use korean/nanumfonts meta-port instead
diff --git a/korean/Makefile b/korean/Makefile
index 512c32fe5a9a..e789cf191ffe 100644
--- a/korean/Makefile
+++ b/korean/Makefile
@@ -26,9 +26,18 @@
     SUBDIR += libreoffice
     SUBDIR += munhwafonts-cid
     SUBDIR += nabi
+    SUBDIR += nanum-barun-gothic
+    SUBDIR += nanum-barun-pen
+    SUBDIR += nanum-brush
+    SUBDIR += nanum-gothic
     SUBDIR += nanum-gothic-coding
-    SUBDIR += nanumfonts-otf
-    SUBDIR += nanumfonts-ttf
+    SUBDIR += nanum-gothic-eco
+    SUBDIR += nanum-myeongjo
+    SUBDIR += nanum-myeongjo-eco
+    SUBDIR += nanum-pen
+    SUBDIR += nanum-square
+    SUBDIR += nanum-square-round
+    SUBDIR += nanumfonts
     SUBDIR += nhpf
     SUBDIR += p5-Lingua-KO-Hangul-Util
     SUBDIR += p5-Lingua-KO-Romanize-Hangul
diff --git a/korean/nanum-barun-gothic/Makefile b/korean/nanum-barun-gothic/Makefile
new file mode 100644
index 000000000000..86e2da4ceb23
--- /dev/null
+++ b/korean/nanum-barun-gothic/Makefile
@@ -0,0 +1,4 @@
+PKGNAMESUFFIX=	-barun-gothic
+FONTDESC=	NanumBarunGothic
+
+.include "${.CURDIR}/../../korean/nanumfonts/Makefile.common"
diff --git a/korean/nanum-barun-gothic/distinfo b/korean/nanum-barun-gothic/distinfo
new file mode 100644
index 000000000000..3d627eb9d4e3
--- /dev/null
+++ b/korean/nanum-barun-gothic/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1644538184
+SHA256 (nanum/20220210/nanum-barun-gothic.zip) = 950975a416c20ff7aabfeaf549d741a95f69eaf4a86dce2d7845fab909df6b68
+SIZE (nanum/20220210/nanum-barun-gothic.zip) = 15416063
diff --git a/korean/nanum-barun-pen/Makefile b/korean/nanum-barun-pen/Makefile
new file mode 100644
index 000000000000..78156f165630
--- /dev/null
+++ b/korean/nanum-barun-pen/Makefile
@@ -0,0 +1,4 @@
+PKGNAMESUFFIX=	-barun-pen
+FONTDESC=	NanumBarunpen
+
+.include "${.CURDIR}/../../korean/nanumfonts/Makefile.common"
diff --git a/korean/nanum-barun-pen/distinfo b/korean/nanum-barun-pen/distinfo
new file mode 100644
index 000000000000..3fce6b2e5f71
--- /dev/null
+++ b/korean/nanum-barun-pen/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1644545200
+SHA256 (nanum/20220210/nanum-barun-pen.zip) = 855e390ea58c1d9bae57f73a2c76527a4307e355c84c2b245575589bad7f96a0
+SIZE (nanum/20220210/nanum-barun-pen.zip) = 8653739
diff --git a/korean/nanum-brush/Makefile b/korean/nanum-brush/Makefile
new file mode 100644
index 000000000000..ade4e7ea6dfa
--- /dev/null
+++ b/korean/nanum-brush/Makefile
@@ -0,0 +1,4 @@
+PKGNAMESUFFIX=	-brush
+FONTDESC=	NanumBrush
+
+.include "${.CURDIR}/../../korean/nanumfonts/Makefile.common"
diff --git a/korean/nanum-brush/distinfo b/korean/nanum-brush/distinfo
new file mode 100644
index 000000000000..58724d244c4e
--- /dev/null
+++ b/korean/nanum-brush/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1644548187
+SHA256 (nanum/20220210/nanum-brush.zip) = 889a836662d40683d99ba525a331adfc781dd7733fba7bfa84646eff01401026
+SIZE (nanum/20220210/nanum-brush.zip) = 2499689
diff --git a/korean/nanum-gothic-eco/Makefile b/korean/nanum-gothic-eco/Makefile
new file mode 100644
index 000000000000..2359bee264a9
--- /dev/null
+++ b/korean/nanum-gothic-eco/Makefile
@@ -0,0 +1,4 @@
+PKGNAMESUFFIX=	-gothic-eco
+FONTDESC=	NanumGothicEco
+
+.include "${.CURDIR}/../../korean/nanumfonts/Makefile.common"
diff --git a/korean/nanum-gothic-eco/distinfo b/korean/nanum-gothic-eco/distinfo
new file mode 100644
index 000000000000..56694a7ae881
--- /dev/null
+++ b/korean/nanum-gothic-eco/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1644545469
+SHA256 (nanum/20220210/nanum-gothic-eco.zip) = f5dcfb31d4f69f0daef091126dcdce5e394f23a2b0d1038c8248ef88464c7171
+SIZE (nanum/20220210/nanum-gothic-eco.zip) = 19900637
diff --git a/korean/nanum-gothic/Makefile b/korean/nanum-gothic/Makefile
new file mode 100644
index 000000000000..1db5d51b77f2
--- /dev/null
+++ b/korean/nanum-gothic/Makefile
@@ -0,0 +1,4 @@
+PKGNAMESUFFIX=	-gothic
+FONTDESC=	NanumGothic
+
+.include "${.CURDIR}/../../korean/nanumfonts/Makefile.common"
diff --git a/korean/nanum-gothic/distinfo b/korean/nanum-gothic/distinfo
new file mode 100644
index 000000000000..723656b0a858
--- /dev/null
+++ b/korean/nanum-gothic/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1644545617
+SHA256 (nanum/20220210/nanum-gothic.zip) = 9cea4aa259826001727cdcbed34387acd7924079246f9fbb2bd0d0c650bbd312
+SIZE (nanum/20220210/nanum-gothic.zip) = 12905726
diff --git a/korean/nanum-myeongjo-eco/Makefile b/korean/nanum-myeongjo-eco/Makefile
new file mode 100644
index 000000000000..72e2926980ca
--- /dev/null
+++ b/korean/nanum-myeongjo-eco/Makefile
@@ -0,0 +1,4 @@
+PKGNAMESUFFIX=	-myeongjo-eco
+FONTDESC=	NanumMyeongjoEco
+
+.include "${.CURDIR}/../../korean/nanumfonts/Makefile.common"
diff --git a/korean/nanum-myeongjo-eco/distinfo b/korean/nanum-myeongjo-eco/distinfo
new file mode 100644
index 000000000000..0405e8632a9c
--- /dev/null
+++ b/korean/nanum-myeongjo-eco/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1644545944
+SHA256 (nanum/20220210/nanum-myeongjo-eco.zip) = dc600a445171114fedb70a219687e9d6d992b5062b2b5d94691fc9c1fac507d8
+SIZE (nanum/20220210/nanum-myeongjo-eco.zip) = 15522508
diff --git a/korean/nanum-myeongjo/Makefile b/korean/nanum-myeongjo/Makefile
new file mode 100644
index 000000000000..219d899395ab
--- /dev/null
+++ b/korean/nanum-myeongjo/Makefile
@@ -0,0 +1,4 @@
+PKGNAMESUFFIX=	-myeongjo
+FONTDESC=	NanumMyeongjo
+
+.include "${.CURDIR}/../../korean/nanumfonts/Makefile.common"
diff --git a/korean/nanum-myeongjo/distinfo b/korean/nanum-myeongjo/distinfo
new file mode 100644
index 000000000000..b68ebf8c8647
--- /dev/null
+++ b/korean/nanum-myeongjo/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1644545768
+SHA256 (nanum/20220210/nanum-myeongjo.zip) = eb0270b3f76ca4560c1ea36758d4a31d9202c7b482b5be580341599c4c61f80c
+SIZE (nanum/20220210/nanum-myeongjo.zip) = 7353677
diff --git a/korean/nanum-pen/Makefile b/korean/nanum-pen/Makefile
new file mode 100644
index 000000000000..ba283a110043
--- /dev/null
+++ b/korean/nanum-pen/Makefile
@@ -0,0 +1,4 @@
+PKGNAMESUFFIX=	-pen
+FONTDESC=	NanumPen
+
+.include "${.CURDIR}/../../korean/nanumfonts/Makefile.common"
diff --git a/korean/nanum-pen/distinfo b/korean/nanum-pen/distinfo
new file mode 100644
index 000000000000..801c210e79a6
--- /dev/null
+++ b/korean/nanum-pen/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1644546286
+SHA256 (nanum/20220210/nanum-pen.zip) = 4c9da2078a195abde7c26c852cc3e26059264fa007aea5ac0f00118428976105
+SIZE (nanum/20220210/nanum-pen.zip) = 2537830
diff --git a/korean/nanum-square-round/Makefile b/korean/nanum-square-round/Makefile
new file mode 100644
index 000000000000..5a959bd13f52
--- /dev/null
+++ b/korean/nanum-square-round/Makefile
@@ -0,0 +1,4 @@
+PKGNAMESUFFIX=	-square-round
+FONTDESC=	NanumSquareRound
+
+.include "${.CURDIR}/../../korean/nanumfonts/Makefile.common"
diff --git a/korean/nanum-square-round/distinfo b/korean/nanum-square-round/distinfo
new file mode 100644
index 000000000000..774876c015bf
--- /dev/null
+++ b/korean/nanum-square-round/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1644547615
+SHA256 (nanum/20220210/nanum-square-round.zip) = 7ebb5ef72983dceb6856fd21c977877aa2a031a26d17de639c98e8818ef4d6aa
+SIZE (nanum/20220210/nanum-square-round.zip) = 2535434
diff --git a/korean/nanum-square/Makefile b/korean/nanum-square/Makefile
new file mode 100644
index 000000000000..b791e4bf7280
--- /dev/null
+++ b/korean/nanum-square/Makefile
@@ -0,0 +1,4 @@
+PKGNAMESUFFIX=	-square
+FONTDESC=	NanumSquare
+
+.include "${.CURDIR}/../../korean/nanumfonts/Makefile.common"
diff --git a/korean/nanum-square/distinfo b/korean/nanum-square/distinfo
new file mode 100644
index 000000000000..570b831ed2b8
--- /dev/null
+++ b/korean/nanum-square/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1644547985
+SHA256 (nanum/20220210/nanum-square.zip) = 8a9f4ce7638feb73cde7adfebc2ec4f2dcee4bcebbb07e0fa1aae02f7340f3e8
+SIZE (nanum/20220210/nanum-square.zip) = 4203717
diff --git a/korean/nanumfonts-otf/Makefile b/korean/nanumfonts-otf/Makefile
deleted file mode 100644
index 765ff79cedc5..000000000000
--- a/korean/nanumfonts-otf/Makefile
+++ /dev/null
@@ -1,81 +0,0 @@
-PORTNAME=	nanumfonts
-PORTVERSION=	20170921
-CATEGORIES=	korean
-MASTER_SITES=	http://appdown.naver.com/naver/font/NanumFont/setup/ \
-		LOCAL/jkim
-PKGNAMESUFFIX=	-${FONTTYPE}
-DISTFILES=	${DISTFILE_LIST:S/^/${DISTFILE_PRFX}/:S/$/${DISTFILE_SUFX}/}
-DIST_SUBDIR=	${PORTNAME}/${PORTVERSION}
-
-MAINTAINER=	jkim@FreeBSD.org
-COMMENT=	Nanum family Hangul fonts (${FONTFORMAT})
-
-LICENSE=	OFL11
-
-DISTFILE_LIST=	ALL
-DISTFILE_PRFX=	NanumFontSetup_${FONTTYPE:tu}_
-DISTFILE_SUFX=	_hangeulcamp.exe
-DISTINFO_FILE=	${PKGDIR}/distinfo.${FONTTYPE}
-
-EXTRACT_AFTER_ARGS=	${EXTRACT_SUBDIR}
-EXTRACT_SUBDIR=	\$$WINDIR/Fonts
-
-NO_ARCH=	yes
-NO_BUILD=	yes
-USES=		7z:7-zip fonts
-
-FONTTYPE?=	otf
-FONTFORMAT?=	OpenType
-
-FONTNAME=	nanum-${FONTTYPE}
-FONTLIST=	BarunGothic \
-		BarunGothicBold \
-		BarunGothicLight \
-		BarunGothicUltraLight \
-		BarunpenB \
-		BarunpenR \
-		Brush \
-		Gothic \
-		GothicBold \
-		GothicExtraBold \
-		GothicLight \
-		Myeongjo \
-		MyeongjoBold \
-		MyeongjoExtraBold \
-		Pen \
-		SquareB \
-		SquareEB \
-		SquareL \
-		SquareR
-.if ${FONTTYPE} == otf
-FONTLIST+=	SquareRoundOTFB \
-		SquareRoundOTFEB \
-		SquareRoundOTFL \
-		SquareRoundOTFR
-.else
-FONTLIST+=	SquareRoundB \
-		SquareRoundEB \
-		SquareRoundL \
-		SquareRoundR
-.endif
-FONTFILES=	${FONTLIST:S|^|Nanum|:S|$|.${FONTTYPE}|}
-
-PLIST_FILES=	${FONTFILES:S|^|${FONTSDIR}/|}
-
-OPTIONS_DEFINE=	ECO
-
-ECO_DESC=	Include Eco family fonts
-ECO_VARS=	DISTFILE_LIST+="GOTHICECO MYUNGJOECO"
-.for f in GothicEco MyeongjoEco
-ECO_VARS+=	FONTLIST+="${f} ${f}Bold ${f}ExtraBold"
-.endfor
-
-.include <bsd.port.pre.mk>
-
-do-install:
-	${MKDIR} ${STAGEDIR}${FONTSDIR}
-.for f in ${FONTFILES}
-	${INSTALL_DATA} ${WRKDIR}/${EXTRACT_SUBDIR}/${f} ${STAGEDIR}${FONTSDIR}
-.endfor
-
-.include <bsd.port.post.mk>
diff --git a/korean/nanumfonts-otf/distinfo.otf b/korean/nanumfonts-otf/distinfo.otf
deleted file mode 100644
index 0914984a0fd8..000000000000
--- a/korean/nanumfonts-otf/distinfo.otf
+++ /dev/null
@@ -1,7 +0,0 @@
-TIMESTAMP = 1573063741
-SHA256 (nanumfonts/20170921/NanumFontSetup_OTF_ALL_hangeulcamp.exe) = 48c618e68cb0415e4a2eae145e30296fcb970f4e8ea9ddc9ce893f75466da8d3
-SIZE (nanumfonts/20170921/NanumFontSetup_OTF_ALL_hangeulcamp.exe) = 15953376
-SHA256 (nanumfonts/20170921/NanumFontSetup_OTF_GOTHICECO_hangeulcamp.exe) = ecfa78fd9d2c6284f5eea59ee3692c96c891985f8a5cb6b237e8f22fd9837a2b
-SIZE (nanumfonts/20170921/NanumFontSetup_OTF_GOTHICECO_hangeulcamp.exe) = 6160048
-SHA256 (nanumfonts/20170921/NanumFontSetup_OTF_MYUNGJOECO_hangeulcamp.exe) = 370f84ef8b5211e907880883e514165f2393a812d65d0069d215ee67163ec7c5
-SIZE (nanumfonts/20170921/NanumFontSetup_OTF_MYUNGJOECO_hangeulcamp.exe) = 3709536
diff --git a/korean/nanumfonts-otf/distinfo.ttf b/korean/nanumfonts-otf/distinfo.ttf
deleted file mode 100644
index a492ac53a87c..000000000000
--- a/korean/nanumfonts-otf/distinfo.ttf
+++ /dev/null
@@ -1,7 +0,0 @@
-TIMESTAMP = 1573063790
-SHA256 (nanumfonts/20170921/NanumFontSetup_TTF_ALL_hangeulcamp.exe) = 31422f7fe121279bf279d47f68eea4332fdc56c85b989830560d243d092c3987
-SIZE (nanumfonts/20170921/NanumFontSetup_TTF_ALL_hangeulcamp.exe) = 21172056
-SHA256 (nanumfonts/20170921/NanumFontSetup_TTF_GOTHICECO_hangeulcamp.exe) = 1da6284ef24bfdbbb8ddeb184716ba64be48f8d427860bcb3425ea34ee2c2efb
-SIZE (nanumfonts/20170921/NanumFontSetup_TTF_GOTHICECO_hangeulcamp.exe) = 8516120
-SHA256 (nanumfonts/20170921/NanumFontSetup_TTF_MYUNGJOECO_hangeulcamp.exe) = ddb8d1a2043bf4297964a1ec0456abb338f41b70a7185f5ce0540c0942ac6c07
-SIZE (nanumfonts/20170921/NanumFontSetup_TTF_MYUNGJOECO_hangeulcamp.exe) = 6323032
diff --git a/korean/nanumfonts-otf/pkg-descr b/korean/nanumfonts-otf/pkg-descr
deleted file mode 100644
index 6a3b81ef2855..000000000000
--- a/korean/nanumfonts-otf/pkg-descr
+++ /dev/null
@@ -1,4 +0,0 @@
-Nanum font family is free Hangul fonts developed by NHN Corporation
-and distributed under SIL Open Font License (OFL).
-
-WWW: http://hangeul.naver.com/
diff --git a/korean/nanumfonts-ttf/Makefile b/korean/nanumfonts-ttf/Makefile
deleted file mode 100644
index be498835f791..000000000000
--- a/korean/nanumfonts-ttf/Makefile
+++ /dev/null
@@ -1,6 +0,0 @@
-MASTERDIR=	${.CURDIR}/../nanumfonts-otf
-
-FONTTYPE=	ttf
-FONTFORMAT=	TrueType
-
-.include "${MASTERDIR}/Makefile"
diff --git a/korean/nanumfonts/Makefile b/korean/nanumfonts/Makefile
new file mode 100644
index 000000000000..3860a1cde099
--- /dev/null
+++ b/korean/nanumfonts/Makefile
@@ -0,0 +1,25 @@
+PORTNAME=	nanumfonts
+PORTVERSION=	20220210
+CATEGORIES=	korean x11-fonts
+
+MAINTAINER=	jkim@FreeBSD.org
+COMMENT=	Nanum family Hangul fonts (meta-port)
+
+RUN_DEPENDS=	ko-nanum-barun-gothic>0:korean/nanum-barun-gothic \
+		ko-nanum-barun-pen>0:korean/nanum-barun-pen \
+		ko-nanum-brush>0:korean/nanum-brush \
+		ko-nanum-gothic>0:korean/nanum-gothic \
+		ko-nanum-myeongjo>0:korean/nanum-myeongjo \
+		ko-nanum-pen>0:korean/nanum-pen \
+		ko-nanum-square>0:korean/nanum-square \
+		ko-nanum-square-round>0:korean/nanum-square-round
+
+USES=		metaport
+
+OPTIONS_DEFINE=	ECO
+
+ECO_DESC=	Install Eco variant fonts
+ECO_RUN_DEPENDS=ko-nanum-gothic-eco>0:korean/nanum-gothic-eco \
+		ko-nanum-myeongjo-eco>0:korean/nanum-myeongjo-eco
+
+.include <bsd.port.mk>
diff --git a/korean/nanumfonts/Makefile.common b/korean/nanumfonts/Makefile.common
new file mode 100644
index 000000000000..25506cc77cb2
--- /dev/null
+++ b/korean/nanumfonts/Makefile.common
@@ -0,0 +1,30 @@
+PORTNAME=	nanum
+DISTVERSION?=	20220210
+CATEGORIES=	korean x11-fonts
+MASTER_SITES=	https://hangeul.naver.com/hangeul_static/webfont/zips/ \
+		LOCAL/jkim
+DISTNAME?=	${PORTNAME}${PKGNAMESUFFIX}
+DIST_SUBDIR=	${PORTNAME}/${DISTVERSION}
+
+COMMENT=	${FONTDESC} Hangul fonts (${FLAVOR:tu})
+MAINTAINER=	jkim@FreeBSD.org
+
+LICENSE=	OFL11
+LICENSE_FILE=	${FILESDIR}/LICENSE
+
+FLAVORS=	otf ttf
+FLAVOR?=	${FLAVORS:[2]}
+
+DESCR=		${.CURDIR}/../../korean/nanumfonts/pkg-descr
+FILESDIR=	${.CURDIR}/../../korean/nanumfonts/files
+NO_WRKSUBDIR=	yes
+NO_BUILD=	yes
+USES=		fonts zip
+
+do-install:
+	${MKDIR} ${STAGEDIR}${FONTSDIR}
+	${INSTALL_DATA} ${WRKSRC}/*.${FLAVOR} ${STAGEDIR}${FONTSDIR}
+	@${FIND} ${STAGEDIR}${FONTSDIR} -not -type d | ${SORT} | \
+	    ${SED} -e 's|^${STAGEDIR}${PREFIX}/||' >> ${TMPPLIST}
+
+.include <bsd.port.mk>
diff --git a/korean/nanumfonts/files/LICENSE b/korean/nanumfonts/files/LICENSE
new file mode 100644
index 000000000000..e5ae9de3a0a4
--- /dev/null
+++ b/korean/nanumfonts/files/LICENSE
@@ -0,0 +1,98 @@
+Copyright (c) 2010, NAVER Corporation (https://www.navercorp.com/),
+with Reserved Font Name Nanum, Naver Nanum, NanumGothic, Naver NanumGothic,
+NanumMyeongjo, Naver NanumMyeongjo, NanumBrush, Naver NanumBrush, NanumPen,
+Naver NanumPen, Naver NanumGothicEco, NanumGothicEco, Naver NanumMyeongjoEco,
+NanumMyeongjoEco, Naver NanumGothicLight, NanumGothicLight, NanumBarunGothic,
+Naver NanumBarunGothic, NanumSquareRound, NanumBarunPen, MaruBuri
+
+This Font Software is licensed under the SIL Open Font License, Version 1.1.
+This license is copied below, and is also available with a FAQ at:
+http://scripts.sil.org/OFL
+
+
+-----------------------------------------------------------
+SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
+-----------------------------------------------------------
+
+PREAMBLE
+The goals of the Open Font License (OFL) are to stimulate worldwide
+development of collaborative font projects, to support the font creation
+efforts of academic and linguistic communities, and to provide a free and
+open framework in which fonts may be shared and improved in partnership
+with others.
+
+The OFL allows the licensed fonts to be used, studied, modified and
+redistributed freely as long as they are not sold by themselves. The
+fonts, including any derivative works, can be bundled, embedded, 
+redistributed and/or sold with any software provided that any reserved
+names are not used by derivative works. The fonts and derivatives,
+however, cannot be released under any other type of license. The
+requirement for fonts to remain under this license does not apply
+to any document created using the fonts or their derivatives.
+
+DEFINITIONS
+"Font Software" refers to the set of files released by the Copyright
+Holder(s) under this license and clearly marked as such. This may
+include source files, build scripts and documentation.
+
+"Reserved Font Name" refers to any names specified as such after the
+copyright statement(s).
+
+"Original Version" refers to the collection of Font Software components as
+distributed by the Copyright Holder(s).
+
+"Modified Version" refers to any derivative made by adding to, deleting,
+or substituting -- in part or in whole -- any of the components of the
+Original Version, by changing formats or by porting the Font Software to a
+new environment.
+
+"Author" refers to any designer, engineer, programmer, technical
+writer or other person who contributed to the Font Software.
+
+PERMISSION & CONDITIONS
+Permission is hereby granted, free of charge, to any person obtaining
+a copy of the Font Software, to use, study, copy, merge, embed, modify,
+redistribute, and sell modified and unmodified copies of the Font
+Software, subject to the following conditions:
+
+1) Neither the Font Software nor any of its individual components,
+in Original or Modified Versions, may be sold by itself.
+
+2) Original or Modified Versions of the Font Software may be bundled,
+redistributed and/or sold with any software, provided that each copy
+contains the above copyright notice and this license. These can be
+included either as stand-alone text files, human-readable headers or
+in the appropriate machine-readable metadata fields within text or
+binary files as long as those fields can be easily viewed by the user.
+
+3) No Modified Version of the Font Software may use the Reserved Font
+Name(s) unless explicit written permission is granted by the corresponding
+Copyright Holder. This restriction only applies to the primary font name as
+presented to the users.
+
+4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
+Software shall not be used to promote, endorse or advertise any
+Modified Version, except to acknowledge the contribution(s) of the
+Copyright Holder(s) and the Author(s) or with their explicit written
+permission.
+
+5) The Font Software, modified or unmodified, in part or in whole,
+must be distributed entirely under this license, and must not be
+distributed under any other license. The requirement for fonts to
+remain under this license does not apply to any document created
+using the Font Software.
+
+TERMINATION
+This license becomes null and void if any of the above conditions are
+not met.
+
+DISCLAIMER
+THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
+OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
+COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
+DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
+OTHER DEALINGS IN THE FONT SOFTWARE.
diff --git a/korean/nanumfonts/pkg-descr b/korean/nanumfonts/pkg-descr
new file mode 100644
index 000000000000..1d4ad52bec8e
--- /dev/null
+++ b/korean/nanumfonts/pkg-descr
@@ -0,0 +1,4 @@
+Nanum font family is free Hangul fonts developed by NAVER Corporation
+and distributed under SIL Open Font License (OFL).
+
+WWW: https://hangeul.naver.com/