aboutsummaryrefslogtreecommitdiff
path: root/korean
diff options
context:
space:
mode:
authorJung-uk Kim <jkim@FreeBSD.org>2018-01-25 00:39:44 +0000
committerJung-uk Kim <jkim@FreeBSD.org>2018-01-25 00:39:44 +0000
commitcbecac9dda93f31454628f0694c82065a19ce518 (patch)
tree78defb903dc01840878a6582c34de3c3af62f38b /korean
parentd98eb75012562b87087d75ff480dc76bcfabdba9 (diff)
downloadports-cbecac9dda93f31454628f0694c82065a19ce518.tar.gz
ports-cbecac9dda93f31454628f0694c82065a19ce518.zip
D2Coding is a free fixed-width Hangul font, based on Nanum BarunGothic.
This font was specifically designed for Hangul terminals. WWW: https://github.com/naver/d2codingfont
Notes
Notes: svn path=/head/; revision=459893
Diffstat (limited to 'korean')
-rw-r--r--korean/Makefile1
-rw-r--r--korean/d2coding-ttf/Makefile36
-rw-r--r--korean/d2coding-ttf/distinfo3
-rw-r--r--korean/d2coding-ttf/pkg-descr4
4 files changed, 44 insertions, 0 deletions
diff --git a/korean/Makefile b/korean/Makefile
index cb3323c9fa92..07e2cf334df3 100644
--- a/korean/Makefile
+++ b/korean/Makefile
@@ -8,6 +8,7 @@
SUBDIR += aleefonts-ttf
SUBDIR += baekmukfonts-bdf
SUBDIR += baekmukfonts-ttf
+ SUBDIR += d2coding-ttf
SUBDIR += engdic
SUBDIR += fcitx-hangul
SUBDIR += gimp-help
diff --git a/korean/d2coding-ttf/Makefile b/korean/d2coding-ttf/Makefile
new file mode 100644
index 000000000000..f58000bf3304
--- /dev/null
+++ b/korean/d2coding-ttf/Makefile
@@ -0,0 +1,36 @@
+# $FreeBSD$
+
+PORTNAME= d2coding
+PORTVERSION= 1.3.1
+CATEGORIES= korean x11-fonts
+MASTER_SITES= https://github.com/naver/d2codingfont/releases/download/VER${PORTVERSION}/
+PKGNAMESUFFIX= -ttf
+DISTNAME= D2Coding-Ver${PORTVERSION}-${PORTRELEASE}
+
+MAINTAINER= jkim@FreeBSD.org
+COMMENT= D2Coding Hangul font
+
+LICENSE= OFL11
+
+NO_ARCH= yes
+NO_BUILD= yes
+USES= fonts zip
+
+FONTLIST= D2Coding D2CodingLigature
+FONTFILES= ${FONTLIST:S|$|.ttf|} ${FONTLIST:S|$|Bold.ttf|}
+PLIST_FILES= ${FONTFILES:S|^|${FONTSDIR}/|}
+
+PORTRELEASE= 20180115
+
+do-install:
+ ${MKDIR} ${STAGEDIR}${FONTSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/D2Coding/${DISTNAME}.ttf \
+ ${STAGEDIR}${FONTSDIR}/D2Coding.ttf
+ ${INSTALL_DATA} ${WRKSRC}/D2Coding/${DISTNAME:S|^D2Coding|D2CodingBold|}.ttf \
+ ${STAGEDIR}${FONTSDIR}/D2CodingBold.ttf
+ ${INSTALL_DATA} ${WRKSRC}/D2CodingLigature/${DISTNAME}-ligature.ttf \
+ ${STAGEDIR}${FONTSDIR}/D2CodingLigature.ttf
+ ${INSTALL_DATA} ${WRKSRC}/D2CodingLigature/${DISTNAME:S|^D2Coding|D2CodingBold|}-ligature.ttf \
+ ${STAGEDIR}${FONTSDIR}/D2CodingLigatureBold.ttf
+
+.include <bsd.port.mk>
diff --git a/korean/d2coding-ttf/distinfo b/korean/d2coding-ttf/distinfo
new file mode 100644
index 000000000000..f4a725ceac90
--- /dev/null
+++ b/korean/d2coding-ttf/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1516826527
+SHA256 (D2Coding-Ver1.3.1-20180115.zip) = 06f3fdb7a5a02e695af47ae95bd246713745e191628fd9a1bea670a67528b82c
+SIZE (D2Coding-Ver1.3.1-20180115.zip) = 17019287
diff --git a/korean/d2coding-ttf/pkg-descr b/korean/d2coding-ttf/pkg-descr
new file mode 100644
index 000000000000..3c4893de3735
--- /dev/null
+++ b/korean/d2coding-ttf/pkg-descr
@@ -0,0 +1,4 @@
+D2Coding is a free fixed-width Hangul font, based on Nanum BarunGothic.
+This font was specifically designed for Hangul terminals.
+
+WWW: https://github.com/naver/d2codingfont