aboutsummaryrefslogtreecommitdiff
path: root/x11-fonts
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2021-01-30 12:22:09 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2021-01-30 12:22:09 +0000
commitca5d4f83f452e67cd7125cc797571245196626e5 (patch)
tree7d308dcd9ae3d78e403adab61513d51e26778d46 /x11-fonts
parentc4b75bcc33edd1ccdaeecb1a35bfb1c100bd679f (diff)
downloadports-ca5d4f83f452e67cd7125cc797571245196626e5.tar.gz
ports-ca5d4f83f452e67cd7125cc797571245196626e5.zip
Use upstream asset instead of source tarball
Notes
Notes: svn path=/head/; revision=563307
Diffstat (limited to 'x11-fonts')
-rw-r--r--x11-fonts/sourcesanspro-ttf/Makefile11
-rw-r--r--x11-fonts/sourcesanspro-ttf/distinfo6
2 files changed, 7 insertions, 10 deletions
diff --git a/x11-fonts/sourcesanspro-ttf/Makefile b/x11-fonts/sourcesanspro-ttf/Makefile
index 83964e4efe34..908340e82305 100644
--- a/x11-fonts/sourcesanspro-ttf/Makefile
+++ b/x11-fonts/sourcesanspro-ttf/Makefile
@@ -3,9 +3,10 @@
PORTNAME= sourcesanspro
PORTVERSION= 3.028
-DISTVERSIONSUFFIX= R
+MASTER_SITES= https://github.com/adobe-fonts/source-sans-pro/releases/download/${PORTVERSION}R/
CATEGORIES= x11-fonts
PKGNAMESUFFIX= -ttf
+DISTNAME= source-sans-${PORTVERSION:R}v${PORTVERSION:E}R
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Set of fonts by Adobe designed for user interfaces
@@ -13,9 +14,7 @@ COMMENT= Set of fonts by Adobe designed for user interfaces
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= SourceSansPro
SUB_FILES= pkg-message
-USE_GITHUB= yes
-GH_ACCOUNT= adobe-fonts
-GH_PROJECT= source-sans-pro
+PORTSCOUT= skipv:variable-fonts
do-install:
${MKDIR} ${STAGEDIR}${FONTSDIR}
diff --git a/x11-fonts/sourcesanspro-ttf/distinfo b/x11-fonts/sourcesanspro-ttf/distinfo
index b12a56b792fa..55824396ddf6 100644
--- a/x11-fonts/sourcesanspro-ttf/distinfo
+++ b/x11-fonts/sourcesanspro-ttf/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1599653866
-SHA256 (adobe-fonts-source-sans-pro-3.028R_GH0.tar.gz) = 12faf267e40f1be46daf44afce47facd6efb996e2f2f5abe0a3dde161d54e251
-SIZE (adobe-fonts-source-sans-pro-3.028R_GH0.tar.gz) = 10325423
+TIMESTAMP = 1611856520
+SHA256 (source-sans-3v028R.zip) = 1186d594ecb1336679a1d102bb6ddbe6041f0fd029482e53f02e46aa3ab011cf
+SIZE (source-sans-3v028R.zip) = 10333042