aboutsummaryrefslogtreecommitdiff
path: root/x11-fonts/noto-hk/Makefile
blob: 9abbc90eeb7d78dce769c62b9501acb56d46b489 (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
PORTNAME=	noto
PORTVERSION=	2.002
CATEGORIES=	x11-fonts
MASTER_SITES=	https://github.com/googlefonts/noto-cjk/raw/v20201206-cjk/
PKGNAMESUFFIX=	-hk
DISTFILES=	LICENSE \
		${NOTO_HK_FONTS}
DIST_SUBDIR=	Noto/CJK/${PORTVERSION}
EXTRACT_ONLY=	# empty

MAINTAINER=	sunpoet@FreeBSD.org
COMMENT=	Google Noto Fonts family (Traditional Chinese Hong Kong)
WWW=		https://www.google.com/get/noto/

LICENSE=	OFL11
LICENSE_FILE=	${DISTDIR}/${DIST_SUBDIR}/LICENSE

USES=		fonts

NO_ARCH=	yes
NO_BUILD=	yes

NOTO_HK_FONTS=	NotoSansCJKhk-Black.otf \
		NotoSansCJKhk-Bold.otf \
		NotoSansCJKhk-DemiLight.otf \
		NotoSansCJKhk-Light.otf \
		NotoSansCJKhk-Medium.otf \
		NotoSansCJKhk-Regular.otf \
		NotoSansCJKhk-Thin.otf \
		NotoSansHK-Black.otf \
		NotoSansHK-Bold.otf \
		NotoSansHK-DemiLight.otf \
		NotoSansHK-Light.otf \
		NotoSansHK-Medium.otf \
		NotoSansHK-Regular.otf \
		NotoSansHK-Thin.otf \
		NotoSansMonoCJKhk-Bold.otf \
		NotoSansMonoCJKhk-Regular.otf

do-install:
	${MKDIR} ${STAGEDIR}${FONTSDIR}
	cd ${DISTDIR}/${DIST_SUBDIR} && ${INSTALL_DATA} ${NOTO_HK_FONTS} ${STAGEDIR}${FONTSDIR}

.include <bsd.port.mk>