freebsd-ports/x11-fonts/noto-sans-sc/Makefile
Po-Chuan Hsieh aaaf0b62f8
x11-fonts/noto-sans-sc: Add noto-sans-sc 2.004
Noto Sans CJK and Noto Serif CJK comprehensively cover Simplified Chinese,
Traditional Chinese, Japanese, and Korean in a unified font family. This
includes the full coverage of CJK Ideographs with variation support for 4
regions, Kangxi radicals, Japanese Kana, Korean Hangul, and other CJK symbols
and letters in the Basic Multilingual Plane of Unicode. It also provides limited
coverage of CJK Ideographs in Plane 2 of Unicode as necessary to support
standards from China and Japan.

This port is the Sans set of Simplified Chinese fonts which supports GB 18030
and China's latest standard Table of General Chinese Characters published in
2013.
2022-12-30 17:03:58 +08:00

51 lines
1.5 KiB
Makefile

PORTNAME= noto
PORTVERSION= 2.004
CATEGORIES= x11-fonts
MASTER_SITES= https://github.com/googlefonts/noto-cjk/raw/Sans${PORTVERSION}/ \
https://github.com/googlefonts/noto-cjk/raw/Sans${PORTVERSION}/Sans/OTF/SimplifiedChinese/:cjk \
https://github.com/googlefonts/noto-cjk/raw/Sans${PORTVERSION}/Sans/Mono/:mono \
https://github.com/googlefonts/noto-cjk/raw/Sans${PORTVERSION}/Sans/SubsetOTF/SC/:subset
PKGNAMESUFFIX= -sans-sc
DISTFILES= LICENSE \
${CJK_FONTS:S|$|:cjk|} \
${MONO_FONTS:S|$|:mono|} \
${SUBSET_FONTS:S|$|:subset|}
DIST_SUBDIR= Noto/CJK/${PORTVERSION}
EXTRACT_ONLY= # empty
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Google Noto Sans (Simplified Chinese)
WWW= https://www.google.com/get/noto/ \
https://github.com/googlefonts/noto-cjk
LICENSE= OFL11
LICENSE_FILE= ${DISTDIR}/${DIST_SUBDIR}/LICENSE
USES= fonts
NO_ARCH= yes
NO_BUILD= yes
CJK_FONTS= NotoSansCJKsc-Black.otf \
NotoSansCJKsc-Bold.otf \
NotoSansCJKsc-DemiLight.otf \
NotoSansCJKsc-Light.otf \
NotoSansCJKsc-Medium.otf \
NotoSansCJKsc-Regular.otf \
NotoSansCJKsc-Thin.otf
MONO_FONTS= NotoSansMonoCJKsc-Bold.otf \
NotoSansMonoCJKsc-Regular.otf
SUBSET_FONTS= NotoSansSC-Black.otf \
NotoSansSC-Bold.otf \
NotoSansSC-DemiLight.otf \
NotoSansSC-Light.otf \
NotoSansSC-Medium.otf \
NotoSansSC-Regular.otf \
NotoSansSC-Thin.otf
do-install:
${MKDIR} ${STAGEDIR}${FONTSDIR}
cd ${DISTDIR}/${DIST_SUBDIR} && ${INSTALL_DATA} ${CJK_FONTS} ${MONO_FONTS} ${SUBSET_FONTS} ${STAGEDIR}${FONTSDIR}
.include <bsd.port.mk>