diff --git a/x11-fonts/roboto-fonts-ttf/Makefile b/x11-fonts/roboto-fonts-ttf/Makefile index b1893d10d762..dbaeaf347e65 100644 --- a/x11-fonts/roboto-fonts-ttf/Makefile +++ b/x11-fonts/roboto-fonts-ttf/Makefile @@ -1,36 +1,40 @@ PORTNAME= roboto-fonts-ttf DISTVERSIONPREFIX= v -DISTVERSION= 2.138 +DISTVERSION= 3.015 PORTEPOCH= 1 CATEGORIES= x11-fonts +MASTER_SITES= https://github.com/googlefonts/roboto-3-classic/releases/download/${DISTVERSIONFULL}/ +EXTRACT_SUFX= .zip +DISTFILES= Roboto_${DISTVERSIONFULL}.zip MAINTAINER= wulf@cicgroup.ru -COMMENT= Roboto family of fonts -WWW= https://github.com/googlefonts/roboto-2 +COMMENT= TrueType Roboto family fonts +WWW= https://github.com/googlefonts/roboto-3-classic -LICENSE= APACHE20 -LICENSE_FILE= ${WRKSRC}/LICENSE +LICENSE= OFL11 USES= fonts -USE_GITHUB= yes -GH_ACCOUNT= googlefonts -GH_PROJECT= roboto-2 +FONTNAME= Roboto +EXTRACT_AFTER_ARGS= --strip-components 2 \ + --include hinted/static/*.ttf \ + --no-same-owner --no-same-permissions NO_ARCH= yes NO_BUILD= yes -SUB_FILES= pkg-message + +NO_WRKSUBDIR= yes PLIST_SUB= FCDIR=${FCDIR} \ FCDIR_LINKS=${FCDIR_LINKS} FCDIR?= etc/fonts/conf.avail FCDIR_LINKS= ${FCDIR:S|conf.avail|conf.d|} do-install: ${MKDIR} ${STAGEDIR}${FONTSDIR} - ${INSTALL_DATA} ${WRKSRC}/src/hinted/*.ttf ${STAGEDIR}${FONTSDIR} + ${INSTALL_DATA} ${WRKSRC}/*.ttf ${STAGEDIR}${FONTSDIR} ${MKDIR} ${STAGEDIR}${PREFIX}/${FCDIR}/ ${STAGEDIR}${PREFIX}/${FCDIR_LINKS}/ ${INSTALL_DATA} ${FILESDIR}/*.conf ${STAGEDIR}${PREFIX}/${FCDIR}/ cd ${STAGEDIR}${PREFIX}/${FCDIR_LINKS}/ && ${LN} -fs ../conf.avail/*.conf . .include diff --git a/x11-fonts/roboto-fonts-ttf/distinfo b/x11-fonts/roboto-fonts-ttf/distinfo index a74712f951e2..f23c3c93b865 100644 --- a/x11-fonts/roboto-fonts-ttf/distinfo +++ b/x11-fonts/roboto-fonts-ttf/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1734788424 -SHA256 (googlefonts-roboto-2-v2.138_GH0.tar.gz) = 299dbc4ea5d57e56c87742c099b944f4274b94815f34a734918630a75eb85d55 -SIZE (googlefonts-roboto-2-v2.138_GH0.tar.gz) = 6290146 +TIMESTAMP = 1769955234 +SHA256 (Roboto_v3.015.zip) = bee3e9334ea86dd63e184598f31fb16750881c2da1a6f097a66e0f66a95b3d54 +SIZE (Roboto_v3.015.zip) = 28917974 diff --git a/x11-fonts/roboto-fonts-ttf/files/pkg-message.in b/x11-fonts/roboto-fonts-ttf/files/pkg-message.in deleted file mode 100644 index 28dbcbe7daf6..000000000000 --- a/x11-fonts/roboto-fonts-ttf/files/pkg-message.in +++ /dev/null @@ -1,12 +0,0 @@ -[ -{ type: install - message: <