freebsd-ports/x11-fonts/noto-lite/Makefile
Sunpoet Po-Chuan Hsieh b84544ceb4 Add monospaced variant
- Bump PORTREVISION for package change

Submitted by:	uqs
2018-09-13 21:52:38 +00:00

42 lines
1.1 KiB
Makefile

# $FreeBSD$
PORTNAME= noto
PORTVERSION= 1.0.5
PORTREVISION= 2
CATEGORIES= x11-fonts
MASTER_SITES= https://noto-website.storage.googleapis.com/pkgs/ \
https://github.com/googlei18n/noto-emoji/raw/master/:emoji
PKGNAMESUFFIX= -lite
DISTNAME= ${PORTNAME:S|n|N|}-hinted
DISTFILES= ${DISTNAME}.zip NotoEmoji-Regular.ttf:emoji
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Google font family - lite version
LICENSE= APACHE20 OFL11
LICENSE_COMB= multi
USES= fonts zip
FONTNAME= noto-lite
NO_ARCH= yes
NO_BUILD= yes
NO_WRKSUBDIR= yes
LIST= NotoEmoji-Regular.ttf NotoMono-Regular.ttf NotoSans-Bold.ttf NotoSans-BoldItalic.ttf NotoSans-Italic.ttf NotoSans-Regular.ttf NotoSansLinearB-Regular.ttf NotoSansSymbols-Regular.ttf NotoSerif-Bold.ttf NotoSerif-BoldItalic.ttf NotoSerif-Italic.ttf NotoSerif-Regular.ttf
.for f in ${LIST}
PLIST_FILES+= ${FONTSDIR}/${f}
.endfor
post-extract:
${CP} ${DISTDIR}/NotoEmoji-Regular.ttf ${WRKSRC}
do-install:
${MKDIR} ${STAGEDIR}${FONTSDIR}
.for f in ${LIST}
cd ${WRKSRC} && ${INSTALL_DATA} ${f} ${STAGEDIR}${FONTSDIR}
.endfor
.include <bsd.port.mk>