aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjkim <jkim@FreeBSD.org>2018-01-25 08:39:44 +0800
committerjkim <jkim@FreeBSD.org>2018-01-25 08:39:44 +0800
commit895606169237e760578bb810f76df78988a9a596 (patch)
tree78defb903dc01840878a6582c34de3c3af62f38b
parenta94845b3b1cfadf08d53549b2fd65ccc1074f09b (diff)
downloadfreebsd-ports-gnome-895606169237e760578bb810f76df78988a9a596.tar.gz
freebsd-ports-gnome-895606169237e760578bb810f76df78988a9a596.tar.zst
freebsd-ports-gnome-895606169237e760578bb810f76df78988a9a596.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
-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