freebsd-ports/x11-fonts/noto-serif-jp/Makefile
Po-Chuan Hsieh a0bacd17ff
x11-fonts/noto-serif-jp: Add noto-serif-jp 2.001
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 Serif set of Japanese fonts which supports all of the kanji in
JIS X 0208, JIS X 0213, and JIS X 0212 to include all kanji in Adobe-Japan1-6.
2022-12-30 17:03:58 +08:00

47 lines
1.3 KiB
Makefile

PORTNAME= noto
PORTVERSION= 2.001
CATEGORIES= x11-fonts
MASTER_SITES= https://github.com/googlefonts/noto-cjk/raw/Serif${PORTVERSION}/ \
https://github.com/googlefonts/noto-cjk/raw/Serif${PORTVERSION}/Serif/OTF/Japanese/:cjk \
https://github.com/googlefonts/noto-cjk/raw/Serif${PORTVERSION}/Serif/SubsetOTF/JP/:subset
PKGNAMESUFFIX= -serif-jp
DISTFILES= LICENSE \
${CJK_FONTS:S|$|:cjk|} \
${SUBSET_FONTS:S|$|:subset|}
DIST_SUBDIR= Noto/CJK/${PORTVERSION}
EXTRACT_ONLY= # empty
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Google Noto Serif (Japanese)
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= NotoSerifCJKjp-Black.otf \
NotoSerifCJKjp-Bold.otf \
NotoSerifCJKjp-ExtraLight.otf \
NotoSerifCJKjp-Light.otf \
NotoSerifCJKjp-Medium.otf \
NotoSerifCJKjp-Regular.otf \
NotoSerifCJKjp-SemiBold.otf
SUBSET_FONTS= NotoSerifJP-Black.otf \
NotoSerifJP-Bold.otf \
NotoSerifJP-ExtraLight.otf \
NotoSerifJP-Light.otf \
NotoSerifJP-Medium.otf \
NotoSerifJP-Regular.otf \
NotoSerifJP-SemiBold.otf
do-install:
${MKDIR} ${STAGEDIR}${FONTSDIR}
cd ${DISTDIR}/${DIST_SUBDIR} && ${INSTALL_DATA} ${CJK_FONTS} ${MONO_FONTS} ${SUBSET_FONTS} ${STAGEDIR}${FONTSDIR}
.include <bsd.port.mk>