Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Feb 2019 17:12:48 +0000 (UTC)
From:      Kai Knoblich <kai@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r494165 - in head/korean: . sourcehanserif-otf sourcehanserif-otf/files
Message-ID:  <201902281712.x1SHCmSf067815@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kai
Date: Thu Feb 28 17:12:47 2019
New Revision: 494165
URL: https://svnweb.freebsd.org/changeset/ports/494165

Log:
  New port: korean/sourcehanserif-otf: Korean font by Adobe designed for user interfaces
  
  Source Han Serif: The second Pan-CJK typeface family from Adobe
  
  This is Source Han Serif K/KR, which supports all four variants in this family
  but prioritizes Korean Hanja over other three.
  
  "Source Han Serif supports four different East Asian languages---Simplified
  Chinese, Traditional Chinese, Japanese, and Korean---and the 65,535 glyphs in
  each of its seven weights are designed to work together with a consistent design
  that emphasizes shared elements between the languages while honoring the
  diversity of each. Also included is a rich set of Western glyphs supporting the
  Latin, Greek, and Cyrillic scripts, which were derived from Source Serif."
  --- The Typekit, Adobe
  
  WWW: https://github.com/adobe-fonts/source-han-serif
  
  PR:		232188
  Submitted by:	Hyun Hwang <hyun@caffeinated.codes>
  Approved by:	miwi (mentor)
  Differential Revision:	https://reviews.freebsd.org/D19381

Added:
  head/korean/sourcehanserif-otf/
  head/korean/sourcehanserif-otf/Makefile   (contents, props changed)
  head/korean/sourcehanserif-otf/distinfo   (contents, props changed)
  head/korean/sourcehanserif-otf/files/
  head/korean/sourcehanserif-otf/files/pkg-message.in   (contents, props changed)
  head/korean/sourcehanserif-otf/pkg-descr   (contents, props changed)
  head/korean/sourcehanserif-otf/pkg-plist   (contents, props changed)
Modified:
  head/korean/Makefile

Modified: head/korean/Makefile
==============================================================================
--- head/korean/Makefile	Thu Feb 28 17:09:45 2019	(r494164)
+++ head/korean/Makefile	Thu Feb 28 17:12:47 2019	(r494165)
@@ -38,6 +38,7 @@
     SUBDIR += qt4-codecs-kr
     SUBDIR += scim-hangul
     SUBDIR += scim-tables
+    SUBDIR += sourcehanserif-otf
     SUBDIR += unfonts-core
     SUBDIR += unfonts-extra
     SUBDIR += uniksc

Added: head/korean/sourcehanserif-otf/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/korean/sourcehanserif-otf/Makefile	Thu Feb 28 17:12:47 2019	(r494165)
@@ -0,0 +1,42 @@
+# $FreeBSD$
+
+PORTNAME=		sourcehanserif
+PORTVERSION=		1.001
+DISTVERSIONSUFFIX=	R
+CATEGORIES=		korean x11-fonts
+PKGNAMESUFFIX=		-otf
+# Note: the following PKGNAMEPREFIX is here only for self-documenting purpose;
+#       actual prefixing is done by the `korean' category itself.
+#PKGNAMEPREFIX=		ko-
+
+MAINTAINER=		hyun@caffeinated.codes
+COMMENT=		Korean font by Adobe designed for user interfaces
+
+LICENSE=		OFL11
+LICENSE_FILE=		${WRKSRC}/LICENSE.txt
+
+USES=			fonts
+USE_GITHUB=		yes
+GH_ACCOUNT=		adobe-fonts
+GH_PROJECT=		source-han-serif
+
+NO_ARCH=		yes
+NO_BUILD=		yes
+SUB_FILES=		pkg-message
+
+OPTIONS_SINGLE=		TYPE
+OPTIONS_SINGLE_TYPE=	FULL SUBSET
+OPTIONS_DEFAULT=	FULL
+OPTIONS_SUB=		yes
+
+FULL_DESC=		Install the full font (can display all CJK)
+SUBSET_DESC=		Install the subset font (can display Korean only)
+
+FULL_VARS=		FONTNAME=SourceHanSerifK SRCFONTSDIR=OTF/Korean
+SUBSET_VARS=		FONTNAME=SourceHanSerifKR SRCFONTSDIR=SubsetOTF/KR
+
+do-install:
+	@${MKDIR} ${STAGEDIR}${FONTSDIR}
+	${INSTALL_DATA} ${WRKSRC}/${SRCFONTSDIR}/*.otf ${STAGEDIR}${FONTSDIR}
+
+.include <bsd.port.mk>

Added: head/korean/sourcehanserif-otf/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/korean/sourcehanserif-otf/distinfo	Thu Feb 28 17:12:47 2019	(r494165)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1539298488
+SHA256 (adobe-fonts-source-han-serif-1.001R_GH0.tar.gz) = 629fda62a70d78920320b92691a8a2d80966cc70c62d6525e6ec293c14a19c95
+SIZE (adobe-fonts-source-han-serif-1.001R_GH0.tar.gz) = 1972977717

Added: head/korean/sourcehanserif-otf/files/pkg-message.in
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/korean/sourcehanserif-otf/files/pkg-message.in	Thu Feb 28 17:12:47 2019	(r494165)
@@ -0,0 +1,7 @@
+
+You can start using the font by following this instruction:
+
+Add the following line to the "Files" section of your X.org configuration file:
+
+	FontPath	"%%FONTSDIR%%/"
+

Added: head/korean/sourcehanserif-otf/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/korean/sourcehanserif-otf/pkg-descr	Thu Feb 28 17:12:47 2019	(r494165)
@@ -0,0 +1,14 @@
+Source Han Serif: The second Pan-CJK typeface family from Adobe
+
+This is Source Han Serif K/KR, which supports all four variants in this family
+but prioritizes Korean Hanja over other three.
+
+"Source Han Serif supports four different East Asian languages---Simplified
+Chinese, Traditional Chinese, Japanese, and Korean---and the 65,535 glyphs in
+each of its seven weights are designed to work together with a consistent design
+that emphasizes shared elements between the languages while honoring the
+diversity of each. Also included is a rich set of Western glyphs supporting the
+Latin, Greek, and Cyrillic scripts, which were derived from Source Serif."
+--- The Typekit, Adobe
+
+WWW: https://github.com/adobe-fonts/source-han-serif

Added: head/korean/sourcehanserif-otf/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/korean/sourcehanserif-otf/pkg-plist	Thu Feb 28 17:12:47 2019	(r494165)
@@ -0,0 +1,14 @@
+%%FULL%%%%FONTSDIR%%/SourceHanSerifK-Bold.otf
+%%FULL%%%%FONTSDIR%%/SourceHanSerifK-ExtraLight.otf
+%%FULL%%%%FONTSDIR%%/SourceHanSerifK-Heavy.otf
+%%FULL%%%%FONTSDIR%%/SourceHanSerifK-Light.otf
+%%FULL%%%%FONTSDIR%%/SourceHanSerifK-Medium.otf
+%%FULL%%%%FONTSDIR%%/SourceHanSerifK-Regular.otf
+%%FULL%%%%FONTSDIR%%/SourceHanSerifK-SemiBold.otf
+%%SUBSET%%%%FONTSDIR%%/SourceHanSerifKR-Bold.otf
+%%SUBSET%%%%FONTSDIR%%/SourceHanSerifKR-ExtraLight.otf
+%%SUBSET%%%%FONTSDIR%%/SourceHanSerifKR-Heavy.otf
+%%SUBSET%%%%FONTSDIR%%/SourceHanSerifKR-Light.otf
+%%SUBSET%%%%FONTSDIR%%/SourceHanSerifKR-Medium.otf
+%%SUBSET%%%%FONTSDIR%%/SourceHanSerifKR-Regular.otf
+%%SUBSET%%%%FONTSDIR%%/SourceHanSerifKR-SemiBold.otf



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201902281712.x1SHCmSf067815>