x11-fonts/noto-sans-bengali: Convert from upstream tarball to individual font files

main
Po-Chuan Hsieh 2024-05-16 14:17:49 +08:00
parent 72eb41c34c
commit 8a6538cad6
No known key found for this signature in database
GPG Key ID: 9A4BD10F002DD04B
2 changed files with 87 additions and 10 deletions

View File

@ -1,28 +1,57 @@
PORTNAME= noto
PORTVERSION= 2.003
CATEGORIES= x11-fonts
MASTER_SITES= https://github.com/notofonts/bengali/releases/download/NotoSansBengali-v${PORTVERSION}/
MASTER_SITES= https://github.com/notofonts/notofonts.github.io/raw/NotoSansBengali-v${PORTVERSION}/ \
https://github.com/notofonts/notofonts.github.io/raw/NotoSansBengali-v${PORTVERSION}/fonts/NotoSansBengali/hinted/ttf/:fonts
PKGNAMESUFFIX= -sans-bengali
DISTNAME= NotoSansBengali-v${PORTVERSION}
DIST_SUBDIR= Noto
DISTFILES= LICENSE \
${FONTS:S|$|:fonts|}
DIST_SUBDIR= Noto/SansBengali/${PORTVERSION}
EXTRACT_ONLY= # empty
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Google Noto Sans Bengali
WWW= https://fonts.google.com/noto \
https://notofonts.github.io/ \
https://github.com/notofonts/bengali
https://github.com/notofonts/bengali \
https://github.com/notofonts/notofonts.github.io/tree/main/fonts/NotoSansBengali
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
FONTS= NotoSansBengali-Black.ttf \
NotoSansBengali-Bold.ttf \
NotoSansBengali-Condensed.ttf \
NotoSansBengali-ExtraBold.ttf \
NotoSansBengali-ExtraCondensed.ttf \
NotoSansBengali-ExtraLight.ttf \
NotoSansBengali-Light.ttf \
NotoSansBengali-Medium.ttf \
NotoSansBengali-Regular.ttf \
NotoSansBengali-SemiBold.ttf \
NotoSansBengali-SemiCondensed.ttf \
NotoSansBengali-Thin.ttf \
NotoSansBengaliUI-Black.ttf \
NotoSansBengaliUI-Bold.ttf \
NotoSansBengaliUI-Condensed.ttf \
NotoSansBengaliUI-ExtraBold.ttf \
NotoSansBengaliUI-ExtraCondensed.ttf \
NotoSansBengaliUI-ExtraLight.ttf \
NotoSansBengaliUI-Light.ttf \
NotoSansBengaliUI-Medium.ttf \
NotoSansBengaliUI-Regular.ttf \
NotoSansBengaliUI-SemiBold.ttf \
NotoSansBengaliUI-SemiCondensed.ttf \
NotoSansBengaliUI-Thin.ttf
do-install:
${MKDIR} ${STAGEDIR}${FONTSDIR}
${INSTALL_DATA} ${WRKSRC}/NotoSansBengali/hinted/ttf/*.ttf ${STAGEDIR}${FONTSDIR}
cd ${DISTDIR}/${DIST_SUBDIR} && ${INSTALL_DATA} ${FONTS} ${STAGEDIR}${FONTSDIR}
.include <bsd.port.mk>

View File

@ -1,3 +1,51 @@
TIMESTAMP = 1710676065
SHA256 (Noto/NotoSansBengali-v2.003.zip) = ef77468dde71109279c1a62c05cf115d4fb36465dd65ee0cd8482d7c9e821e37
SIZE (Noto/NotoSansBengali-v2.003.zip) = 14125621
TIMESTAMP = 1715677662
SHA256 (Noto/SansBengali/2.003/LICENSE) = c71d239df91726fc519c6eb72d318ec65820627232b2f796219e87dcf35d0ab4
SIZE (Noto/SansBengali/2.003/LICENSE) = 11357
SHA256 (Noto/SansBengali/2.003/NotoSansBengali-Black.ttf) = 1ba9c0828154c408e63c616717e0ea43ba8cb2cb5b32a93b540005f45815ce92
SIZE (Noto/SansBengali/2.003/NotoSansBengali-Black.ttf) = 218000
SHA256 (Noto/SansBengali/2.003/NotoSansBengali-Bold.ttf) = 90e7a495c4f8a3690d02074dceec4204571098f6ff3486bee64316f2398f2ba1
SIZE (Noto/SansBengali/2.003/NotoSansBengali-Bold.ttf) = 212540
SHA256 (Noto/SansBengali/2.003/NotoSansBengali-Condensed.ttf) = ab979818bcca1e8c048e82ab555e66048bfbd0013182403d078ce3dd18316482
SIZE (Noto/SansBengali/2.003/NotoSansBengali-Condensed.ttf) = 205004
SHA256 (Noto/SansBengali/2.003/NotoSansBengali-ExtraBold.ttf) = e1c83182ddc0de3b8b02676c3c4b5c80a67505c0890c9f18b85c74c06eb0cb4d
SIZE (Noto/SansBengali/2.003/NotoSansBengali-ExtraBold.ttf) = 212792
SHA256 (Noto/SansBengali/2.003/NotoSansBengali-ExtraCondensed.ttf) = db208102f1ca2857438c6e9b3c0c030efe09c273a9058bbeba291d394e5c9814
SIZE (Noto/SansBengali/2.003/NotoSansBengali-ExtraCondensed.ttf) = 206208
SHA256 (Noto/SansBengali/2.003/NotoSansBengali-ExtraLight.ttf) = 7e44ecdc5c824e10222e27a4de2a94ff2174e91d7a211551649efc1195260b81
SIZE (Noto/SansBengali/2.003/NotoSansBengali-ExtraLight.ttf) = 207300
SHA256 (Noto/SansBengali/2.003/NotoSansBengali-Light.ttf) = 24f5ea0ff81ba82aeca7143ab906696bbe1c9d75de31518f44ee929efabc901a
SIZE (Noto/SansBengali/2.003/NotoSansBengali-Light.ttf) = 195904
SHA256 (Noto/SansBengali/2.003/NotoSansBengali-Medium.ttf) = 4140bd8ed66c2130d9341e2d92b32b3450d72bbb3a2bcecf735ec7c6bd2a449b
SIZE (Noto/SansBengali/2.003/NotoSansBengali-Medium.ttf) = 208384
SHA256 (Noto/SansBengali/2.003/NotoSansBengali-Regular.ttf) = 9f8b4dd091f19b111d24ea18daae81bea8684cc67de17ea1acd797e144bf20ba
SIZE (Noto/SansBengali/2.003/NotoSansBengali-Regular.ttf) = 203696
SHA256 (Noto/SansBengali/2.003/NotoSansBengali-SemiBold.ttf) = 09233fef319c2e3d066444fe7d437d76fd8188027e835bb8995934fb66471acf
SIZE (Noto/SansBengali/2.003/NotoSansBengali-SemiBold.ttf) = 209608
SHA256 (Noto/SansBengali/2.003/NotoSansBengali-SemiCondensed.ttf) = 2afc63b7c109652ca595f2757347fae96068ca4a06fed40ec5ddb8f427de2b23
SIZE (Noto/SansBengali/2.003/NotoSansBengali-SemiCondensed.ttf) = 207856
SHA256 (Noto/SansBengali/2.003/NotoSansBengali-Thin.ttf) = 0c375f6a95d4e5dd32f50831d7086cf2ed4a40717ca57002d959d2d440d825f0
SIZE (Noto/SansBengali/2.003/NotoSansBengali-Thin.ttf) = 190188
SHA256 (Noto/SansBengali/2.003/NotoSansBengaliUI-Black.ttf) = 777e2e8e60966d87f0422dd19e83667ee79c6aded4d46eef7a52c64bd3600cd5
SIZE (Noto/SansBengali/2.003/NotoSansBengaliUI-Black.ttf) = 218108
SHA256 (Noto/SansBengali/2.003/NotoSansBengaliUI-Bold.ttf) = 0d46caf69318377337ca4c4e92907af11ea4bdef5465c8d5cfe17f8771d824a7
SIZE (Noto/SansBengali/2.003/NotoSansBengaliUI-Bold.ttf) = 212652
SHA256 (Noto/SansBengali/2.003/NotoSansBengaliUI-Condensed.ttf) = 5fc6e7bf113b0a8d34c535f40b9201f4faac85dc8e1e3163c1ea5138c6a24881
SIZE (Noto/SansBengali/2.003/NotoSansBengaliUI-Condensed.ttf) = 205036
SHA256 (Noto/SansBengali/2.003/NotoSansBengaliUI-ExtraBold.ttf) = 8ef8f627a1259259799d77161a2d449f8d3d6b99271b94ed13372489c3dab504
SIZE (Noto/SansBengali/2.003/NotoSansBengaliUI-ExtraBold.ttf) = 212972
SHA256 (Noto/SansBengali/2.003/NotoSansBengaliUI-ExtraCondensed.ttf) = 5ea26c8f8976a2c403362a2d2b7fb9e08d69eb32d78762146c48d4515f49bd3a
SIZE (Noto/SansBengali/2.003/NotoSansBengaliUI-ExtraCondensed.ttf) = 206240
SHA256 (Noto/SansBengali/2.003/NotoSansBengaliUI-ExtraLight.ttf) = 3518235f94b6aa9c3aaf270618ee60743d7717fc20010233b90e8d2a76732065
SIZE (Noto/SansBengali/2.003/NotoSansBengaliUI-ExtraLight.ttf) = 207340
SHA256 (Noto/SansBengali/2.003/NotoSansBengaliUI-Light.ttf) = fc46651b3e5074e9e5ee6e9a0e2f55c33219f93424a46fa4dd4250cd00ed3c83
SIZE (Noto/SansBengali/2.003/NotoSansBengaliUI-Light.ttf) = 195944
SHA256 (Noto/SansBengali/2.003/NotoSansBengaliUI-Medium.ttf) = 42dae1396b47f3e1d4f8f86b44f63f686fccbbbb00b35bbf6f62373555ab06e5
SIZE (Noto/SansBengali/2.003/NotoSansBengaliUI-Medium.ttf) = 208420
SHA256 (Noto/SansBengali/2.003/NotoSansBengaliUI-Regular.ttf) = ab2f54c0922024eb8813c3f33e335f137505861dba38d78195cf32b7c3ed8be2
SIZE (Noto/SansBengali/2.003/NotoSansBengaliUI-Regular.ttf) = 203732
SHA256 (Noto/SansBengali/2.003/NotoSansBengaliUI-SemiBold.ttf) = c250426cfcc9b7616e87be69a70ec8ac4bd6efdb984d9d6827464d63b87151b5
SIZE (Noto/SansBengali/2.003/NotoSansBengaliUI-SemiBold.ttf) = 209648
SHA256 (Noto/SansBengali/2.003/NotoSansBengaliUI-SemiCondensed.ttf) = b7b456c23409b04aacde5a430817e586c0a8c573c4038088d4e3de705a72b800
SIZE (Noto/SansBengali/2.003/NotoSansBengaliUI-SemiCondensed.ttf) = 207888
SHA256 (Noto/SansBengali/2.003/NotoSansBengaliUI-Thin.ttf) = a3018fc4db9922c647d00436ee822427cfb7125dc49f55c4eefd9c82a74df117
SIZE (Noto/SansBengali/2.003/NotoSansBengaliUI-Thin.ttf) = 190228