Skip to content

Commit

Permalink
x11-fonts/noto-sans-symbols2: Convert from upstream tarball to indivi…
Browse files Browse the repository at this point in the history
…dual font file
  • Loading branch information
sunpoet committed May 13, 2024
1 parent a6ac892 commit d028f05
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 10 deletions.
20 changes: 13 additions & 7 deletions x11-fonts/noto-sans-symbols2/Makefile
@@ -1,30 +1,36 @@
PORTNAME= noto
PORTVERSION= 2.008
CATEGORIES= x11-fonts
MASTER_SITES= https://github.com/notofonts/symbols/releases/download/NotoSansSymbols2-v${PORTVERSION}/
MASTER_SITES= https://github.com/notofonts/notofonts.github.io/raw/noto-monthly-release-23.11.1/fonts/ \
https://github.com/notofonts/notofonts.github.io/raw/noto-monthly-release-23.11.1/fonts/NotoSansSymbols2/hinted/ttf/:fonts
PKGNAMESUFFIX= -sans-symbols2
DISTNAME= NotoSansSymbols2-v${PORTVERSION}
DIST_SUBDIR= Noto
DISTFILES= LICENSE \
${FONTS:S|$|:fonts|}
DIST_SUBDIR= Noto/SansSymbols2/${PORTVERSION}
EXTRACT_ONLY= # empty

MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Google Noto Sans Symbols 2
WWW= https://fonts.google.com/noto \
https://notofonts.github.io/ \
https://github.com/notofonts/symbols
https://github.com/notofonts/symbols \
https://github.com/notofonts/notofonts.github.io/tree/main/fonts/NotoSansSymbols2

LICENSE= OFL11
LICENSE_FILE= ${WRKSRC}/OFL.txt
LICENSE_FILE= ${DISTDIR}/${DIST_SUBDIR}/LICENSE

USES= fonts zip
USES= fonts

NO_ARCH= yes
NO_BUILD= yes
NO_WRKSUBDIR= yes

PLIST_FILES= ${FONTSDIR}/NotoSansSymbols2-Regular.ttf

FONTS= NotoSansSymbols2-Regular.ttf

do-install:
${MKDIR} ${STAGEDIR}${FONTSDIR}
${INSTALL_DATA} ${WRKSRC}/NotoSansSymbols2/hinted/ttf/NotoSansSymbols2-Regular.ttf ${STAGEDIR}${FONTSDIR}
cd ${DISTDIR}/${DIST_SUBDIR} && ${INSTALL_DATA} ${FONTS} ${STAGEDIR}${FONTSDIR}

.include <bsd.port.mk>
8 changes: 5 additions & 3 deletions x11-fonts/noto-sans-symbols2/distinfo
@@ -1,3 +1,5 @@
TIMESTAMP = 1710676091
SHA256 (Noto/NotoSansSymbols2-v2.008.zip) = 346c930bbe8eb946701a05c54e9c11a2094dee1d93c387bf1771c0a3e335688f
SIZE (Noto/NotoSansSymbols2-v2.008.zip) = 2331441
TIMESTAMP = 1712354461
SHA256 (Noto/SansSymbols2/2.008/LICENSE) = f2095b08bed08b23a6fe26112fcd679a2bee3f002eef077eb05d215ed1051bd8
SIZE (Noto/SansSymbols2/2.008/LICENSE) = 4374
SHA256 (Noto/SansSymbols2/2.008/NotoSansSymbols2-Regular.ttf) = c4a0a80f0041ce4be81e2478faad22776d23edb98ae3f0d19bd37044820ecf9d
SIZE (Noto/SansSymbols2/2.008/NotoSansSymbols2-Regular.ttf) = 671568

0 comments on commit d028f05

Please sign in to comment.