summaryrefslogtreecommitdiffstats
path: root/x11-fonts/noto/Makefile
blob: 2a7d49bfad9ac170a76f178b5af41b1fae37a860 (plain)
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
# $FreeBSD$

PORTNAME=	noto
PORTVERSION=	1.0.4
PORTREVISION=	1
CATEGORIES=	x11-fonts
MASTER_SITES=	https://noto-website.storage.googleapis.com/pkgs/ \
		https://github.com/googlei18n/noto-emoji/raw/master/:emoji
DISTNAME=	${PORTNAME:S|n|N|}-hinted
DISTFILES=	${DISTNAME}.zip NotoEmoji-Regular.ttf:emoji
EXTRACT_ONLY=	${DISTNAME}${EXTRACT_SUFX}

MAINTAINER=	kevlo@FreeBSD.org
COMMENT=	Google font family

LICENSE=	APACHE20 OFL11
LICENSE_COMB=	multi

USES=		fonts zip
NO_BUILD=	yes
NO_WRKSUBDIR=	yes

post-extract:
	${CP} ${DISTDIR}/NotoEmoji-Regular.ttf ${WRKSRC}

do-install:
	${MKDIR} ${STAGEDIR}${FONTSDIR}
	cd ${WRKSRC} && ${INSTALL_DATA} *.otf ${STAGEDIR}${FONTSDIR}
	cd ${WRKSRC} && ${INSTALL_DATA} *.ttf ${STAGEDIR}${FONTSDIR}

.include <bsd.port.mk>
OpenPOWER on IntegriCloud