From d8725431323d03467999d194e5d4b38c1d564c83 Mon Sep 17 00:00:00 2001 From: Sunpoet Po-Chuan Hsieh Date: Sat, 30 Jan 2021 12:22:15 +0000 Subject: [PATCH] Use upstream asset instead of source tarball --- x11-fonts/sourceserifpro-ttf/Makefile | 11 ++++------- x11-fonts/sourceserifpro-ttf/distinfo | 6 +++--- 2 files changed, 7 insertions(+), 10 deletions(-) diff --git a/x11-fonts/sourceserifpro-ttf/Makefile b/x11-fonts/sourceserifpro-ttf/Makefile index 1686c2d517fb..b3def250816b 100644 --- a/x11-fonts/sourceserifpro-ttf/Makefile +++ b/x11-fonts/sourceserifpro-ttf/Makefile @@ -3,9 +3,10 @@ PORTNAME= sourceserifpro PORTVERSION= 3.001 -DISTVERSIONSUFFIX= R CATEGORIES= x11-fonts +MASTER_SITES= https://github.com/adobe-fonts/source-serif-pro/releases/download/${PORTVERSION}R/ PKGNAMESUFFIX= -ttf +DISTNAME= source-serif-pro-${PORTVERSION}R MAINTAINER= sunpoet@FreeBSD.org COMMENT= Set of fonts by Adobe designed for UI @@ -13,9 +14,7 @@ COMMENT= Set of fonts by Adobe designed for UI LICENSE= OFL11 LICENSE_FILE= ${WRKSRC}/LICENSE.md -PORTSCOUT= skipv:variable-fonts - -USES= fonts +USES= fonts zip NO_ARCH= yes NO_BUILD= yes @@ -23,9 +22,7 @@ NO_BUILD= yes FONTNAME= SourceSerifPro SUB_FILES= pkg-message -GH_ACCOUNT= adobe-fonts -GH_PROJECT= source-serif-pro -USE_GITHUB= yes +PORTSCOUT= skipv:variable-fonts do-install: ${MKDIR} ${STAGEDIR}${FONTSDIR}/ diff --git a/x11-fonts/sourceserifpro-ttf/distinfo b/x11-fonts/sourceserifpro-ttf/distinfo index d9ee40e988dd..3266804d8855 100644 --- a/x11-fonts/sourceserifpro-ttf/distinfo +++ b/x11-fonts/sourceserifpro-ttf/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1572806092 -SHA256 (adobe-fonts-source-serif-pro-3.001R_GH0.tar.gz) = 84e08c9e870081e0fcda4d83b02e06a4a7f35e52f96491a2246eca8b82fc8a53 -SIZE (adobe-fonts-source-serif-pro-3.001R_GH0.tar.gz) = 8670692 +TIMESTAMP = 1611856522 +SHA256 (source-serif-pro-3.001R.zip) = e061cf3184c60fb8811ffb429d82083f6dd16810250b71e676e5fa1abb1e5934 +SIZE (source-serif-pro-3.001R.zip) = 8654426