diff options
author | Kai Knoblich <kai@FreeBSD.org> | 2019-02-28 17:30:37 +0000 |
---|---|---|
committer | Kai Knoblich <kai@FreeBSD.org> | 2019-02-28 17:30:37 +0000 |
commit | af8ca3605a2fb875488c4e6f3002685cfa531069 (patch) | |
tree | 383524aa7c2b32661666f57ad1c2f51af84f47c1 /japanese | |
parent | 3ee3aef4b13fb5d7174bad5481cd38ca13f74afa (diff) | |
download | ports-af8ca3605a2fb875488c4e6f3002685cfa531069.tar.gz ports-af8ca3605a2fb875488c4e6f3002685cfa531069.zip |
Notes
Diffstat (limited to 'japanese')
-rw-r--r-- | japanese/Makefile | 1 | ||||
-rw-r--r-- | japanese/sourcehanserif-otf/Makefile | 42 | ||||
-rw-r--r-- | japanese/sourcehanserif-otf/distinfo | 3 | ||||
-rw-r--r-- | japanese/sourcehanserif-otf/files/pkg-message.in | 7 | ||||
-rw-r--r-- | japanese/sourcehanserif-otf/pkg-descr | 14 | ||||
-rw-r--r-- | japanese/sourcehanserif-otf/pkg-plist | 14 |
6 files changed, 81 insertions, 0 deletions
diff --git a/japanese/Makefile b/japanese/Makefile index b797869c5a6f..247b3a7a7cee 100644 --- a/japanese/Makefile +++ b/japanese/Makefile @@ -257,6 +257,7 @@ SUBDIR += skkserv SUBDIR += slimeforest SUBDIR += slrn + SUBDIR += sourcehanserif-otf SUBDIR += srd-fpw-package SUBDIR += suicavalue SUBDIR += t2ps diff --git a/japanese/sourcehanserif-otf/Makefile b/japanese/sourcehanserif-otf/Makefile new file mode 100644 index 000000000000..b0fb26c5cb02 --- /dev/null +++ b/japanese/sourcehanserif-otf/Makefile @@ -0,0 +1,42 @@ +# $FreeBSD$ + +PORTNAME= sourcehanserif +PORTVERSION= 1.001 +DISTVERSIONSUFFIX= R +CATEGORIES= japanese x11-fonts +PKGNAMESUFFIX= -otf +# Note: the following PKGNAMEPREFIX is here only for self-documenting purpose; +# actual prefixing is done by the `japanese' category itself. +#PKGNAMEPREFIX= ja- + +MAINTAINER= hyun@caffeinated.codes +COMMENT= Japanese 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 Japanese only) + +FULL_VARS= FONTNAME=SourceHanSerif SRCFONTSDIR=OTF/Japanese +SUBSET_VARS= FONTNAME=SourceHanSerifJP SRCFONTSDIR=SubsetOTF/JP + +do-install: + @${MKDIR} ${STAGEDIR}${FONTSDIR} + ${INSTALL_DATA} ${WRKSRC}/${SRCFONTSDIR}/*.otf ${STAGEDIR}${FONTSDIR} + +.include <bsd.port.mk> diff --git a/japanese/sourcehanserif-otf/distinfo b/japanese/sourcehanserif-otf/distinfo new file mode 100644 index 000000000000..7aacac6c7c6c --- /dev/null +++ b/japanese/sourcehanserif-otf/distinfo @@ -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 diff --git a/japanese/sourcehanserif-otf/files/pkg-message.in b/japanese/sourcehanserif-otf/files/pkg-message.in new file mode 100644 index 000000000000..2e8f2addd159 --- /dev/null +++ b/japanese/sourcehanserif-otf/files/pkg-message.in @@ -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%%/" + diff --git a/japanese/sourcehanserif-otf/pkg-descr b/japanese/sourcehanserif-otf/pkg-descr new file mode 100644 index 000000000000..637401940480 --- /dev/null +++ b/japanese/sourcehanserif-otf/pkg-descr @@ -0,0 +1,14 @@ +Source Han Serif: The second Pan-CJK typeface family from Adobe + +This is Source Han Serif (JP), which supports all four variants in this family +but prioritizes Japanese Kanji 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 diff --git a/japanese/sourcehanserif-otf/pkg-plist b/japanese/sourcehanserif-otf/pkg-plist new file mode 100644 index 000000000000..586ab07e5db0 --- /dev/null +++ b/japanese/sourcehanserif-otf/pkg-plist @@ -0,0 +1,14 @@ +%%FULL%%%%FONTSDIR%%/SourceHanSerif-Bold.otf +%%FULL%%%%FONTSDIR%%/SourceHanSerif-ExtraLight.otf +%%FULL%%%%FONTSDIR%%/SourceHanSerif-Heavy.otf +%%FULL%%%%FONTSDIR%%/SourceHanSerif-Light.otf +%%FULL%%%%FONTSDIR%%/SourceHanSerif-Medium.otf +%%FULL%%%%FONTSDIR%%/SourceHanSerif-Regular.otf +%%FULL%%%%FONTSDIR%%/SourceHanSerif-SemiBold.otf +%%SUBSET%%%%FONTSDIR%%/SourceHanSerifJP-Bold.otf +%%SUBSET%%%%FONTSDIR%%/SourceHanSerifJP-ExtraLight.otf +%%SUBSET%%%%FONTSDIR%%/SourceHanSerifJP-Heavy.otf +%%SUBSET%%%%FONTSDIR%%/SourceHanSerifJP-Light.otf +%%SUBSET%%%%FONTSDIR%%/SourceHanSerifJP-Medium.otf +%%SUBSET%%%%FONTSDIR%%/SourceHanSerifJP-Regular.otf +%%SUBSET%%%%FONTSDIR%%/SourceHanSerifJP-SemiBold.otf |