Update to roboto-fonts-2.138.

This commit is contained in:
bentley 2020-06-09 04:39:53 +00:00
parent eb4d5120e7
commit 724822aba0
3 changed files with 17 additions and 14 deletions

View File

@ -1,12 +1,12 @@
# $OpenBSD: Makefile,v 1.7 2019/07/12 20:46:13 sthen Exp $
# $OpenBSD: Makefile,v 1.8 2020/06/09 04:39:53 bentley Exp $
COMMENT = sans-serif typeface family of Android OS
# 2013-10-31 Version 1.2 (the date in the specimen filename in the website)
V = 1.2
FIX_EXTRACT_PERMISSIONS = Yes
V = 2.138
EPOCH = 0
REVISION = 2
DISTNAME = roboto-${V}
DISTNAME = roboto-unhinted
PKGNAME = roboto-fonts-${V}
CATEGORIES = fonts x11
@ -16,21 +16,23 @@ HOMEPAGE = https://developer.android.com/design/style/typography.html
# Apache 2 License
PERMIT_PACKAGE = Yes
MASTER_SITES = https://developer.android.com/downloads/design/
MASTER_SITES = https://github.com/googlefonts/roboto/releases/download/v$V/
EXTRACT_SUFX = .zip
DIST_SUBDIR = roboto-$V
NO_BUILD = Yes
NO_TEST = Yes
PKG_ARCH = *
WRKDIST = ${WRKDIR}/Roboto_v${V}
WRKDIST = ${WRKDIR}
FONTDIR = ${PREFIX}/share/fonts/roboto
DOCDIR = ${PREFIX}/share/doc/roboto-fonts
do-install:
${INSTALL_DATA_DIR} ${FONTDIR} ${DOCDIR}
${INSTALL_DATA} ${WRKDIST}/*/*.ttf ${FONTDIR}
${INSTALL_DATA} ${WRKDIST}/*.pdf ${WRKDIST}/Roboto/*.txt ${DOCDIR}
${INSTALL_DATA} ${WRKDIST}/*.ttf ${FONTDIR}
${INSTALL_DATA} ${WRKDIST}/LICENSE ${DOCDIR}
.include <bsd.port.mk>

View File

@ -1,2 +1,2 @@
SHA256 (roboto-1.2.zip) = UQG1vbO3sUzJIqdxugaL/K6GNEZ8H0RryJvCtPi08bU=
SIZE (roboto-1.2.zip) = 2641284
SHA256 (roboto-2.138/roboto-unhinted.zip) = cPZMcYUQpgH7z3Uqr+ZEMU2srrhUdNxonIl4fEpypyg=
SIZE (roboto-2.138/roboto-unhinted.zip) = 4324398

View File

@ -1,7 +1,6 @@
@comment $OpenBSD: PLIST,v 1.3 2015/03/31 09:45:11 ajacoutot Exp $
@comment $OpenBSD: PLIST,v 1.4 2020/06/09 04:39:53 bentley Exp $
share/doc/roboto-fonts/
share/doc/roboto-fonts/LICENSE.txt
share/doc/roboto-fonts/RobotoSpecimenBook.pdf
share/doc/roboto-fonts/LICENSE
share/fonts/
@fontdir share/fonts/roboto/
share/fonts/roboto/Roboto-Black.ttf
@ -21,4 +20,6 @@ share/fonts/roboto/RobotoCondensed-BoldItalic.ttf
share/fonts/roboto/RobotoCondensed-Italic.ttf
share/fonts/roboto/RobotoCondensed-Light.ttf
share/fonts/roboto/RobotoCondensed-LightItalic.ttf
share/fonts/roboto/RobotoCondensed-Medium.ttf
share/fonts/roboto/RobotoCondensed-MediumItalic.ttf
share/fonts/roboto/RobotoCondensed-Regular.ttf