aboutsummaryrefslogtreecommitdiff
path: root/x11-fonts/noto-sans-cham/Makefile
blob: 9f1305620de8e6031d8d3d0e41f484717ffb5211 (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
PORTNAME=	noto
PORTVERSION=	2.004
CATEGORIES=	x11-fonts
MASTER_SITES=	https://github.com/notofonts/notofonts.github.io/raw/NotoSansCham-v${PORTVERSION}/fonts/ \
		https://github.com/notofonts/notofonts.github.io/raw/NotoSansCham-v${PORTVERSION}/fonts/NotoSansCham/hinted/ttf/:fonts
PKGNAMESUFFIX=	-sans-cham
DISTFILES=	LICENSE \
		${FONTS:S|$|:fonts|}
DIST_SUBDIR=	Noto/SansCham/${PORTVERSION}
EXTRACT_ONLY=	# empty

MAINTAINER=	sunpoet@FreeBSD.org
COMMENT=	Google Noto Sans Cham
WWW=		https://fonts.google.com/noto \
		https://notofonts.github.io/ \
		https://github.com/notofonts/cham \
		https://github.com/notofonts/notofonts.github.io/tree/main/fonts/NotoSansCham

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

USES=		fonts

NO_ARCH=	yes
NO_BUILD=	yes
NO_WRKSUBDIR=	yes

FONTS=		NotoSansCham-Black.ttf \
		NotoSansCham-Bold.ttf \
		NotoSansCham-ExtraBold.ttf \
		NotoSansCham-ExtraLight.ttf \
		NotoSansCham-Light.ttf \
		NotoSansCham-Medium.ttf \
		NotoSansCham-Regular.ttf \
		NotoSansCham-SemiBold.ttf \
		NotoSansCham-Thin.ttf

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

.include <bsd.port.mk>