freebsd-ports/chinese/sourcehanserif-sc-otf/Makefile
Kai Knoblich 10464a2cbf New port: chinese/sourcehanserif-sc-otf Simplified Chinese font by Adobe designed for user interfaces
Source Han Serif: The second Pan-CJK typeface family from Adobe

This is Source Han Serif SC/CN, which supports all four variants in this family
but prioritizes Simplified Chinese Hanzi 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:		232462
Submitted by:	Hyun Hwang <hyun@caffeinated.codes>
Approved by:	miwi (mentor)
Differential Revision:	https://reviews.freebsd.org/D19383
2019-02-28 18:22:18 +00:00

42 lines
1.1 KiB
Makefile

# $FreeBSD$
PORTNAME= sourcehanserif
PORTVERSION= 1.001
DISTVERSIONSUFFIX= R
CATEGORIES= chinese x11-fonts
PKGNAMESUFFIX= -sc-otf
# Note: the following PKGNAMEPREFIX is here only for self-documenting purpose;
# actual prefixing is done by the `chinese' category itself.
#PKGNAMEPREFIX= zh-
MAINTAINER= hyun@caffeinated.codes
COMMENT= Simplified Chinese 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 SC only)
FULL_VARS= FONTNAME=SourceHanSerifSC SRCFONTSDIR=OTF/SimplifiedChinese
SUBSET_VARS= FONTNAME=SourceHanSerifCN SRCFONTSDIR=SubsetOTF/CN
do-install:
@${MKDIR} ${STAGEDIR}${FONTSDIR}
${INSTALL_DATA} ${WRKSRC}/${SRCFONTSDIR}/*.otf ${STAGEDIR}${FONTSDIR}
.include <bsd.port.mk>