blob: d3b738490c69eecfcdf8fada7698065bc0f4b80d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
PORTNAME= noto
PORTVERSION= 2.004
CATEGORIES= x11-fonts
MASTER_SITES= https://github.com/notofonts/noto-cjk/raw/Sans${PORTVERSION}/ \
https://github.com/notofonts/noto-cjk/raw/Sans${PORTVERSION}/Sans/OTF/TraditionalChinese/:cjk \
https://github.com/notofonts/noto-cjk/raw/Sans${PORTVERSION}/Sans/Mono/:mono \
https://github.com/notofonts/noto-cjk/raw/Sans${PORTVERSION}/Sans/SubsetOTF/TC/:subset
PKGNAMESUFFIX= -sans-tc
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 (Traditional Chinese)
WWW= https://fonts.google.com/noto \
https://github.com/notofonts/noto-cjk
LICENSE= OFL11
LICENSE_FILE= ${DISTDIR}/${DIST_SUBDIR}/LICENSE
USES= fonts
NO_ARCH= yes
NO_BUILD= yes
CJK_FONTS= NotoSansCJKtc-Black.otf \
NotoSansCJKtc-Bold.otf \
NotoSansCJKtc-DemiLight.otf \
NotoSansCJKtc-Light.otf \
NotoSansCJKtc-Medium.otf \
NotoSansCJKtc-Regular.otf \
NotoSansCJKtc-Thin.otf
MONO_FONTS= NotoSansMonoCJKtc-Bold.otf \
NotoSansMonoCJKtc-Regular.otf
SUBSET_FONTS= NotoSansTC-Black.otf \
NotoSansTC-Bold.otf \
NotoSansTC-DemiLight.otf \
NotoSansTC-Light.otf \
NotoSansTC-Medium.otf \
NotoSansTC-Regular.otf \
NotoSansTC-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>
|