aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2024-05-16 06:17:46 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2024-05-16 06:21:58 +0000
commit1c4cd2d35c23a08f3606a3f0dc5d5a0478683104 (patch)
tree6d859324fc66e201411ffba50a2ccd82c11ac68a
parent757210c1f097567b1285946f2219db9cebef5724 (diff)
downloadports-1c4cd2d35c23a08f3606a3f0dc5d5a0478683104.tar.gz
ports-1c4cd2d35c23a08f3606a3f0dc5d5a0478683104.zip
x11-fonts/noto-kufi-arabic: Convert from upstream tarball to individual font files
-rw-r--r--x11-fonts/noto-kufi-arabic/Makefile32
-rw-r--r--x11-fonts/noto-kufi-arabic/distinfo24
2 files changed, 45 insertions, 11 deletions
diff --git a/x11-fonts/noto-kufi-arabic/Makefile b/x11-fonts/noto-kufi-arabic/Makefile
index 321777095a32..7e1f8f4755fd 100644
--- a/x11-fonts/noto-kufi-arabic/Makefile
+++ b/x11-fonts/noto-kufi-arabic/Makefile
@@ -1,28 +1,44 @@
PORTNAME= noto
-PORTVERSION= 2.109
+PORTVERSION= 2.019
CATEGORIES= x11-fonts
-MASTER_SITES= https://github.com/notofonts/arabic/releases/download/NotoKufiArabic-v${PORTVERSION}/
+#MASTER_SITES= https://github.com/notofonts/notofonts.github.io/raw/NotoKufiArabic-v${PORTVERSION}/fonts/ \
+# https://github.com/notofonts/notofonts.github.io/raw/NotoKufiArabic-v${PORTVERSION}/fonts/NotoKufiArabic/hinted/ttf/:fonts
+MASTER_SITES= https://github.com/notofonts/notofonts.github.io/raw/noto-monthly-release-24.3.1/fonts/ \
+ https://github.com/notofonts/notofonts.github.io/raw/noto-monthly-release-24.3.1/fonts/NotoKufiArabic/hinted/ttf/:fonts
PKGNAMESUFFIX= -kufi-arabic
-DISTNAME= NotoKufiArabic-v${PORTVERSION}
-DIST_SUBDIR= Noto
+DISTFILES= LICENSE \
+ ${FONTS:S|$|:fonts|}
+DIST_SUBDIR= Noto/KufiArabic/${PORTVERSION}
+EXTRACT_ONLY= # empty
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Google Noto Kufi Arabic
WWW= https://fonts.google.com/noto \
https://notofonts.github.io/ \
- https://github.com/notofonts/arabic
+ https://github.com/notofonts/arabic \
+ https://github.com/notofonts/notofonts.github.io/tree/main/fonts/NotoKufiArabic
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= NotoKufiArabic-Black.ttf \
+ NotoKufiArabic-Bold.ttf \
+ NotoKufiArabic-ExtraBold.ttf \
+ NotoKufiArabic-ExtraLight.ttf \
+ NotoKufiArabic-Light.ttf \
+ NotoKufiArabic-Medium.ttf \
+ NotoKufiArabic-Regular.ttf \
+ NotoKufiArabic-SemiBold.ttf \
+ NotoKufiArabic-Thin.ttf
+
do-install:
${MKDIR} ${STAGEDIR}${FONTSDIR}
- ${INSTALL_DATA} ${WRKSRC}/NotoKufiArabic/hinted/ttf/*.ttf ${STAGEDIR}${FONTSDIR}
+ cd ${DISTDIR}/${DIST_SUBDIR} && ${INSTALL_DATA} ${FONTS} ${STAGEDIR}${FONTSDIR}
.include <bsd.port.mk>
diff --git a/x11-fonts/noto-kufi-arabic/distinfo b/x11-fonts/noto-kufi-arabic/distinfo
index f5a06f62234b..95ac429b6720 100644
--- a/x11-fonts/noto-kufi-arabic/distinfo
+++ b/x11-fonts/noto-kufi-arabic/distinfo
@@ -1,3 +1,21 @@
-TIMESTAMP = 1710676055
-SHA256 (Noto/NotoKufiArabic-v2.109.zip) = 1b6880e4b8df09c3b9e246d6084bfd94bf32a0ffff60cf2dcffd3622d0e2d79f
-SIZE (Noto/NotoKufiArabic-v2.109.zip) = 5968104
+TIMESTAMP = 1715677654
+SHA256 (Noto/KufiArabic/2.019/LICENSE) = f2095b08bed08b23a6fe26112fcd679a2bee3f002eef077eb05d215ed1051bd8
+SIZE (Noto/KufiArabic/2.019/LICENSE) = 4374
+SHA256 (Noto/KufiArabic/2.019/NotoKufiArabic-Black.ttf) = 1135c5581014ee44da28566801ef98e28c60d55c2857c5e092b0f161c2ca90eb
+SIZE (Noto/KufiArabic/2.019/NotoKufiArabic-Black.ttf) = 266040
+SHA256 (Noto/KufiArabic/2.019/NotoKufiArabic-Bold.ttf) = a11780ed16775fde48967730810431182f8bea2588b81e79b21bb1e5133722e7
+SIZE (Noto/KufiArabic/2.019/NotoKufiArabic-Bold.ttf) = 253948
+SHA256 (Noto/KufiArabic/2.019/NotoKufiArabic-ExtraBold.ttf) = 95103d43a87a8b5aa9b5659affc8c9b53e673cdfb2d68d84c0430ae325433f01
+SIZE (Noto/KufiArabic/2.019/NotoKufiArabic-ExtraBold.ttf) = 264476
+SHA256 (Noto/KufiArabic/2.019/NotoKufiArabic-ExtraLight.ttf) = 1fb9fde2b9a0cec5f0cc8917f47bc7b713adc229f5690e6efa1a0c5550039d47
+SIZE (Noto/KufiArabic/2.019/NotoKufiArabic-ExtraLight.ttf) = 211144
+SHA256 (Noto/KufiArabic/2.019/NotoKufiArabic-Light.ttf) = 74dd38be12d3f57bb24c76d8107bcefbe00e6285a0c407ebcc4300df8d13215a
+SIZE (Noto/KufiArabic/2.019/NotoKufiArabic-Light.ttf) = 222564
+SHA256 (Noto/KufiArabic/2.019/NotoKufiArabic-Medium.ttf) = 3e538f8ba3e167f3ae3ca1541b1cc7532b03baea57a5983ec8e962f8f00154cb
+SIZE (Noto/KufiArabic/2.019/NotoKufiArabic-Medium.ttf) = 239536
+SHA256 (Noto/KufiArabic/2.019/NotoKufiArabic-Regular.ttf) = 02f3f4fe55fe5527ab265fdff00f30f65b020f992c8c3a09a260618c24d2b759
+SIZE (Noto/KufiArabic/2.019/NotoKufiArabic-Regular.ttf) = 231108
+SHA256 (Noto/KufiArabic/2.019/NotoKufiArabic-SemiBold.ttf) = e7f732390a0b6a22ce9eb141204c985090bb10b48c0b380702df050b50859ff9
+SIZE (Noto/KufiArabic/2.019/NotoKufiArabic-SemiBold.ttf) = 241524
+SHA256 (Noto/KufiArabic/2.019/NotoKufiArabic-Thin.ttf) = 439efb6dac986f2c1aa30989c91c7563be7eccd5cf7daffff08af44814e46e77
+SIZE (Noto/KufiArabic/2.019/NotoKufiArabic-Thin.ttf) = 216264