Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 6 Apr 2019 13:46: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: r498097 - in head/japanese: . spoqahansans-ttf spoqahansans-ttf/files
Message-ID:  <201904061346.x36Dkmdq074918@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kai
Date: Sat Apr  6 13:46:48 2019
New Revision: 498097
URL: https://svnweb.freebsd.org/changeset/ports/498097

Log:
  New port: japanese/spoqahansans-ttf
  
  Spoqa Han Sans: A custom font based on Noto Sans and Lato
  
  This is Spoqa Han Sans JP, which supports both Korean and Japanese but
  prioritizes Japanese Kanji above the other.
  
  "Spoqa Han Sans is a custom font based on Noto Sans and Lato to fit
  multilingual UI of Spoqa's products. We now unveil the new version which has
  evolved in many ways."
  --- Spoqa
  
  WWW: https://github.com/spoqa/spoqa-han-sans
  
  PR:		232198
  Submitted by:	Hyun Hwang <hyun@caffeinated.codes>
  Approved by:	tcberner (mentor)
  Differential Revision:	https://reviews.freebsd.org/D19810

Added:
  head/japanese/spoqahansans-ttf/
  head/japanese/spoqahansans-ttf/Makefile   (contents, props changed)
  head/japanese/spoqahansans-ttf/distinfo   (contents, props changed)
  head/japanese/spoqahansans-ttf/files/
  head/japanese/spoqahansans-ttf/files/pkg-message.in   (contents, props changed)
  head/japanese/spoqahansans-ttf/pkg-descr   (contents, props changed)
  head/japanese/spoqahansans-ttf/pkg-plist   (contents, props changed)
Modified:
  head/japanese/Makefile

Modified: head/japanese/Makefile
==============================================================================
--- head/japanese/Makefile	Sat Apr  6 13:36:10 2019	(r498096)
+++ head/japanese/Makefile	Sat Apr  6 13:46:48 2019	(r498097)
@@ -259,6 +259,7 @@
     SUBDIR += slrn
     SUBDIR += sourcehansans-otf
     SUBDIR += sourcehanserif-otf
+    SUBDIR += spoqahansans-ttf
     SUBDIR += srd-fpw-package
     SUBDIR += suicavalue
     SUBDIR += t2ps

Added: head/japanese/spoqahansans-ttf/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/japanese/spoqahansans-ttf/Makefile	Sat Apr  6 13:46:48 2019	(r498097)
@@ -0,0 +1,41 @@
+# $FreeBSD$
+
+PORTNAME=		spoqahansans
+DISTVERSIONPREFIX=	v
+DISTVERSION=		2.1.2
+CATEGORIES=		japanese x11-fonts
+MASTER_SITES=		https://github.com/spoqa/spoqa-han-sans/releases/download/${DISTVERSIONPREFIX}${DISTVERSION}/
+# Note: the following PKGNAMEPREFIX is here only for self-documenting purpose;
+#       actual prefixing is done by the `japanese' category itself.
+#PKGNAMEPREFIX=		ja-
+PKGNAMESUFFIX=		-ttf
+DISTNAME=		SpoqaHanSans_all
+
+MAINTAINER=		hyun@caffeinated.codes
+COMMENT=		Japanese custom font based on Noto Sans and Lato
+
+LICENSE=		OFL11
+LICENSE_FILE=		${WRKSRC}/LICENSE
+
+USES=			fonts zip
+
+FONTNAME=		SpoqaHanSans
+NO_ARCH=		yes
+NO_BUILD=		yes
+SUB_FILES=		pkg-message
+
+OPTIONS_SINGLE=		TYPE
+OPTIONS_SINGLE_TYPE=	ORIGINAL SUBSET
+OPTIONS_DEFAULT=	ORIGINAL
+
+ORIGINAL_DESC=		Install original font (supports Korean and Japanese)
+SUBSET_DESC=		Install subset font (supports 6,355 Japanese glyphs)
+
+ORIGINAL_VARS=		SRCFONTSDIR=SpoqaHanSans_jp_original
+SUBSET_VARS=		SRCFONTSDIR=SpoqaHanSans_jp_subset
+
+do-install:
+	@${MKDIR} ${STAGEDIR}${FONTSDIR}
+	${INSTALL_DATA} ${WRKSRC}/${SRCFONTSDIR}/*.ttf ${STAGEDIR}${FONTSDIR}
+
+.include <bsd.port.mk>

Added: head/japanese/spoqahansans-ttf/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/japanese/spoqahansans-ttf/distinfo	Sat Apr  6 13:46:48 2019	(r498097)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1539309131
+SHA256 (SpoqaHanSans_all.zip) = d63ec238655abcb8f39c19cfbf00c217ddcd8064f0a28670bc9e8c7ec3ef77b4
+SIZE (SpoqaHanSans_all.zip) = 144660696

Added: head/japanese/spoqahansans-ttf/files/pkg-message.in
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/japanese/spoqahansans-ttf/files/pkg-message.in	Sat Apr  6 13:46:48 2019	(r498097)
@@ -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/japanese/spoqahansans-ttf/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/japanese/spoqahansans-ttf/pkg-descr	Sat Apr  6 13:46:48 2019	(r498097)
@@ -0,0 +1,11 @@
+Spoqa Han Sans: A custom font based on Noto Sans and Lato
+
+This is Spoqa Han Sans JP, which supports both Korean and Japanese but
+prioritizes Japanese Kanji above the other.
+
+"Spoqa Han Sans is a custom font based on Noto Sans and Lato to fit
+multilingual UI of Spoqa's products. We now unveil the new version which has
+evolved in many ways."
+--- Spoqa
+
+WWW: https://github.com/spoqa/spoqa-han-sans

Added: head/japanese/spoqahansans-ttf/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/japanese/spoqahansans-ttf/pkg-plist	Sat Apr  6 13:46:48 2019	(r498097)
@@ -0,0 +1,4 @@
+%%FONTSDIR%%/SpoqaHanSansJPBold.ttf
+%%FONTSDIR%%/SpoqaHanSansJPLight.ttf
+%%FONTSDIR%%/SpoqaHanSansJPRegular.ttf
+%%FONTSDIR%%/SpoqaHanSansJPThin.ttf



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