mirror of
https://git.freebsd.org/ports.git
synced 2025-04-28 01:26:39 -04:00
x11-fonts/inconsolata-ttf: Update to 3.000
* Use upstream release archive * Only extract what we really need to save on I/O * Rework Makefile for readability and simplify PR: 278794 Reviewed by: ashish (maintainer)
This commit is contained in:
parent
27e3a3eab4
commit
5407d18b49
2 changed files with 19 additions and 20 deletions
|
@ -1,34 +1,33 @@
|
|||
PORTNAME= inconsolata-ttf
|
||||
PORTVERSION= 2.001
|
||||
PORTREVISION= 1
|
||||
DISTVERSION= 3.000
|
||||
PORTEPOCH= 1
|
||||
CATEGORIES= x11-fonts
|
||||
MASTER_SITES= https://github.com/googlefonts/Inconsolata/releases/download/v${DISTVERSION}/
|
||||
DISTNAME= fonts_ttf
|
||||
EXTRACT_SUFX= .zip
|
||||
DIST_SUBDIR= ${PORTNAME}/${DISTVERSION}
|
||||
|
||||
MAINTAINER= ashish@FreeBSD.org
|
||||
COMMENT= Monospaced truetype font
|
||||
WWW= https://fonts.google.com/specimen/Inconsolata
|
||||
|
||||
LICENSE= OFL11
|
||||
LICENSE_FILE= ${WRKSRC}/OFL.txt
|
||||
|
||||
USES= fonts
|
||||
|
||||
EXTRACT_AFTER_ARGS= --include fonts/ttf/Inconsolata-Bold.ttf \
|
||||
--include fonts/ttf/Inconsolata-Regular.ttf \
|
||||
--strip-components 2 \
|
||||
--no-same-owner --no-same-permissions
|
||||
NO_ARCH= yes
|
||||
USES= fonts xorg
|
||||
USE_GITHUB= yes
|
||||
GH_ACCOUNT= google
|
||||
GH_PROJECT= fonts
|
||||
GH_TAGNAME= efcbdc5
|
||||
FONTNAME= inconsolata
|
||||
USE_XORG= x11
|
||||
NO_BUILD= yes
|
||||
NO_WRKSUBDIR= yes
|
||||
|
||||
PLIST_FILES= ${FONTSDIR}/Inconsolata-Bold.ttf \
|
||||
${FONTSDIR}/Inconsolata-Regular.ttf
|
||||
NO_BUILD= yes
|
||||
|
||||
WRKSRC_SUBDIR= ofl/${FONTNAME}
|
||||
|
||||
do-install:
|
||||
${MKDIR} ${STAGEDIR}${FONTSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/Inconsolata-Bold.ttf \
|
||||
${WRKSRC}/Inconsolata-Regular.ttf \
|
||||
${STAGEDIR}/${FONTSDIR}
|
||||
@${MKDIR} ${STAGEDIR}${FONTSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/*.ttf ${STAGEDIR}/${FONTSDIR}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
TIMESTAMP = 1526620705
|
||||
SHA256 (google-fonts-2.001-efcbdc5_GH0.tar.gz) = 437ab149a7dfc8e30fd475eaa961389acb3b23c0b53281619d68de0069b8e777
|
||||
SIZE (google-fonts-2.001-efcbdc5_GH0.tar.gz) = 342767177
|
||||
TIMESTAMP = 1714935246
|
||||
SHA256 (inconsolata-ttf/3.000/fonts_ttf.zip) = 626e8ee07501dbb544b50aa59ac2e4b9ec86b810670158a59c7a3cbaf475548a
|
||||
SIZE (inconsolata-ttf/3.000/fonts_ttf.zip) = 4019918
|
||||
|
|
Loading…
Add table
Reference in a new issue