fonts/sourcehansans-fonts: Update to 2.004 The list of changes from 1.000 is too long to paste here. See https://github.com/adobe-fonts/source-han-sans/releases if you're interested.diff -r1.4 -r1.5 pkgsrc/fonts/sourcehansans-fonts/Makefile
(pho)
@@ -1,35 +1,21 @@ | @@ -1,35 +1,21 @@ | |||
1 | # $NetBSD: Makefile,v 1.4 2022/04/24 15:32:05 tnn Exp $ | 1 | # $NetBSD: Makefile,v 1.5 2023/06/26 15:29:13 pho Exp $ | |
2 | 2 | |||
3 | DISTNAME= SourceHanSansOTF-1.000 | 3 | DISTNAME= SourceHanSansOTC | |
4 | PKGNAME= ${DISTNAME:S/SourceHanSansOTF/sourcehansans-fonts/} | 4 | PKGNAME= sourcehansans-fonts-2.004 | |
5 | CATEGORIES= fonts | 5 | CATEGORIES= fonts | |
6 | MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=source-han-sans.adobe/} | 6 | MASTER_SITES= ${MASTER_SITE_GITHUB:=adobe-fonts/} | |
7 | GITHUB_PROJECT= source-han-sans | |||
8 | GITHUB_RELEASE= ${PKGVERSION_NOREV}R | |||
9 | DIST_SUBDIR= ${PKGNAME_NOREV} | |||
7 | EXTRACT_SUFX= .zip | 10 | EXTRACT_SUFX= .zip | |
8 | 11 | |||
9 | MAINTAINER= ryoon@NetBSD.org | 12 | MAINTAINER= ryoon@NetBSD.org | |
10 | HOMEPAGE= https://github.com/adobe-fonts/source-han-sans | 13 | HOMEPAGE= https://github.com/adobe-fonts/source-han-sans | |
11 | COMMENT= Set of Pan-CJK fonts from Adobe | 14 | COMMENT= Set of Pan-CJK fonts from Adobe | |
12 | LICENSE= apache-2.0 | 15 | LICENSE= apache-2.0 | |
13 | 16 | |||
14 | USE_LANGUAGES= # none | 17 | WRKSRC= ${WRKDIR} | |
15 | NO_BUILD= yes | 18 | NO_BUILD= yes | |
16 | 19 | |||
17 | FONTDIR= ${PREFIX}/share/fonts/X11/TTF | 20 | .include "../../mk/fonts.mk" | |
18 | FONTS_DIRS.ttf= ${FONTDIR} | |||
19 | ||||
20 | INSTALLATION_DIRS= share/fonts/X11/TTF | |||
21 | ||||
22 | INSTALL_FONTS= SourceHanSans-Bold.otf \ | |||
23 | SourceHanSans-ExtraLight.otf \ | |||
24 | SourceHanSans-Heavy.otf \ | |||
25 | SourceHanSans-Light.otf \ | |||
26 | SourceHanSans-Medium.otf \ | |||
27 | SourceHanSans-Normal.otf \ | |||
28 | SourceHanSans-Regular.otf | |||
29 | ||||
30 | do-install: | |||
31 | .for i in ${INSTALL_FONTS} | |||
32 | ${INSTALL_DATA} ${WRKSRC}/${i} ${DESTDIR}${FONTDIR} | |||
33 | .endfor | |||
34 | ||||
35 | .include "../../mk/bsd.pkg.mk" | 21 | .include "../../mk/bsd.pkg.mk" |
@@ -1,5 +1,5 @@ | @@ -1,5 +1,5 @@ | |||
1 | $NetBSD: distinfo,v 1.4 2021/10/26 10:27:23 nia Exp $ | 1 | $NetBSD: distinfo,v 1.5 2023/06/26 15:29:13 pho Exp $ | |
2 | 2 | |||
3 | BLAKE2s (SourceHanSansOTF-1.000.zip) = e732005fce11acb7b4f987d80f42b024ea2ee47f5d10c15102df086cc50aad70 | 3 | BLAKE2s (sourcehansans-fonts-2.004/SourceHanSansOTC.zip) = 6689c014f4e547976f519e4b30f50c055a0ba58c914d333ef0496c098e012147 | |
4 | SHA512 (SourceHanSansOTF-1.000.zip) = 545b94afd6192eaccc6612cb7ad61925160f04c3fe99ae72d0ea8d70fda798b4ca46e5f07ab20e7a9cfa5fa827f7ee1ba7b19757db9ae004522ef317b3b8ae61 | 4 | SHA512 (sourcehansans-fonts-2.004/SourceHanSansOTC.zip) = e5448965ad61bfe6e2dab9bf42316cc32628616c45e63df8a09e5cbbe5e1ee02f8cacc1b76e55ae9996b2051c503877daf8294c0abf9854b2be67ce80a6a13db | |
5 | Size (SourceHanSansOTF-1.000.zip) = 95664535 bytes | 5 | Size (sourcehansans-fonts-2.004/SourceHanSansOTC.zip) = 104683291 bytes |
@@ -1,8 +1,9 @@ | @@ -1,8 +1,9 @@ | |||
1 | @comment $NetBSD: PLIST,v 1.1 2014/07/17 14:52:08 ryoon Exp $ | 1 | @comment $NetBSD: PLIST,v 1.2 2023/06/26 15:29:13 pho Exp $ | |
2 | share/fonts/X11/TTF/SourceHanSans-Bold.otf | 2 | share/fonts/X11/TTF/SourceHanSans-Bold.ttc | |
3 | share/fonts/X11/TTF/SourceHanSans-ExtraLight.otf | 3 | share/fonts/X11/TTF/SourceHanSans-ExtraLight.ttc | |
4 | share/fonts/X11/TTF/SourceHanSans-Heavy.otf | 4 | share/fonts/X11/TTF/SourceHanSans-Heavy.ttc | |
5 | share/fonts/X11/TTF/SourceHanSans-Light.otf | 5 | share/fonts/X11/TTF/SourceHanSans-Light.ttc | |
6 | share/fonts/X11/TTF/SourceHanSans-Medium.otf | 6 | share/fonts/X11/TTF/SourceHanSans-Medium.ttc | |
7 | share/fonts/X11/TTF/SourceHanSans-Normal.otf | 7 | share/fonts/X11/TTF/SourceHanSans-Normal.ttc | |
8 | share/fonts/X11/TTF/SourceHanSans-Regular.otf | 8 | share/fonts/X11/TTF/SourceHanSans-Regular.ttc | |
9 | @pkgdir share/fonts/X11/OTF |