aboutsummaryrefslogtreecommitdiffstats
path: root/x11-fonts
diff options
context:
space:
mode:
authorpi <pi@FreeBSD.org>2016-03-20 20:19:54 +0800
committerpi <pi@FreeBSD.org>2016-03-20 20:19:54 +0800
commit67f93594d856ac4528628737671999dff7bc603a (patch)
tree7ce7e33afb77d451bf95a726f4fc57ace5410ac6 /x11-fonts
parent6cc56e763e12857bf937cdc14db5d6c95118089f (diff)
downloadfreebsd-ports-graphics-67f93594d856ac4528628737671999dff7bc603a.tar.gz
freebsd-ports-graphics-67f93594d856ac4528628737671999dff7bc603a.tar.zst
freebsd-ports-graphics-67f93594d856ac4528628737671999dff7bc603a.zip
x11-fonts/roboto-fonts-ttf: 1.2 -> 2.131
PR: 207731 Submitted by: rakuco Approved by: winston@ml1.net (maintainer timeout)
Diffstat (limited to 'x11-fonts')
-rw-r--r--x11-fonts/roboto-fonts-ttf/Makefile23
-rw-r--r--x11-fonts/roboto-fonts-ttf/distinfo4
2 files changed, 13 insertions, 14 deletions
diff --git a/x11-fonts/roboto-fonts-ttf/Makefile b/x11-fonts/roboto-fonts-ttf/Makefile
index 684d91593b0..4f4d3541522 100644
--- a/x11-fonts/roboto-fonts-ttf/Makefile
+++ b/x11-fonts/roboto-fonts-ttf/Makefile
@@ -2,30 +2,29 @@
# $FreeBSD$
PORTNAME= roboto-fonts-ttf
-PORTVERSION= 1.2
-PORTREVISION= 3
+PORTVERSION= 2.131
+DISTVERSIONPREFIX=v
PORTEPOCH= 1
CATEGORIES= x11-fonts
-MASTER_SITES= http://developer.android.com/downloads/design/
-DISTNAME= roboto-${PORTVERSION}
MAINTAINER= winston@ml1.net
-COMMENT= The Roboto typeface family
+COMMENT= Roboto typeface family
LICENSE= APACHE20
-LICENSE_FILE= ${WRKSRC}/Roboto/LICENSE.txt
+LICENSE_FILE= ${WRKSRC}/LICENSE
-USES= fonts zip:infozip
-WRKSRC= ${WRKDIR}/Roboto_v${PORTVERSION}
NO_ARCH= yes
+NO_BUILD= yes
+USES= fonts
-SUB_FILES= pkg-message
+USE_GITHUB= yes
+GH_ACCOUNT= google
+GH_PROJECT= roboto
-do-build:
- @${MV} ${WRKSRC}/Roboto/*.ttf ${WRKSRC}/RobotoCondensed/*.ttf ${WRKSRC}
+SUB_FILES= pkg-message
do-install:
${MKDIR} ${STAGEDIR}${FONTSDIR}
- cd ${WRKSRC}/ && ${INSTALL_DATA} *.ttf ${STAGEDIR}${FONTSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/hinted/*.ttf ${STAGEDIR}${FONTSDIR}
.include <bsd.port.mk>
diff --git a/x11-fonts/roboto-fonts-ttf/distinfo b/x11-fonts/roboto-fonts-ttf/distinfo
index 5b8c589e40a..70c0eeca7d5 100644
--- a/x11-fonts/roboto-fonts-ttf/distinfo
+++ b/x11-fonts/roboto-fonts-ttf/distinfo
@@ -1,2 +1,2 @@
-SHA256 (roboto-1.2.zip) = 5101b5bdb3b7b14cc922a771ba068bfcae8634467c1f446bc89bc2b4f8b4f1b5
-SIZE (roboto-1.2.zip) = 2641284
+SHA256 (google-roboto-v2.131_GH0.tar.gz) = 34b32fdc37d935ec3e723b9d5895c0a2e1d1070e8f8d8821eac1c8a7c84aff7b
+SIZE (google-roboto-v2.131_GH0.tar.gz) = 6264167