1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-13 07:34:50 +00:00
freebsd-ports/chinese/sourcehanserif-tc-otf/Makefile
Kai Knoblich 6eb9a595b6 New port: chinese/sourcehanserif-tc-otf: Traditional chinese font by Adobe designed for user interfaces
Source Han Serif: The second Pan-CJK typeface family from Adobe

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

43 lines
1.1 KiB
Makefile

# $FreeBSD$
PORTNAME= sourcehanserif
PORTVERSION= 1.001
DISTVERSIONSUFFIX= R
CATEGORIES= chinese x11-fonts
PKGNAMESUFFIX= -tc-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= Traditional 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 TC only)
FULL_VARS= FONTNAME=SourceHanSerifTC SRCFONTSDIR=OTF/TraditionalChinese
SUBSET_VARS= FONTNAME=SourceHanSerifTW SRCFONTSDIR=SubsetOTF/TW
do-install:
@${MKDIR} ${STAGEDIR}${FONTSDIR}
${INSTALL_DATA} ${WRKSRC}/${SRCFONTSDIR}/*.otf ${STAGEDIR}${FONTSDIR}
.include <bsd.port.mk>