git: 652622ae4f9d - main - japanese/font-bizud-mincho: Improve and simplify port
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 14 May 2024 17:49:59 UTC
The branch main has been updated by diizzy: URL: https://cgit.FreeBSD.org/ports/commit/?id=652622ae4f9d98c6c1300245b57861343d6a8a40 commit 652622ae4f9d98c6c1300245b57861343d6a8a40 Author: Daniel Engberg <diizzy@FreeBSD.org> AuthorDate: 2024-05-14 17:47:35 +0000 Commit: Daniel Engberg <diizzy@FreeBSD.org> CommitDate: 2024-05-14 17:47:49 +0000 japanese/font-bizud-mincho: Improve and simplify port - Use upstream release archive - Extract minimum amount of files required (reduces I/O) - Remove DOCS option PR: 278925 Reviewed by: mew14930xvi <mew14930xvi@inbox.lv> (maintainer) --- japanese/font-bizud-mincho/Makefile | 28 +++++++++++++--------------- japanese/font-bizud-mincho/distinfo | 6 +++--- 2 files changed, 16 insertions(+), 18 deletions(-) diff --git a/japanese/font-bizud-mincho/Makefile b/japanese/font-bizud-mincho/Makefile index 766751697070..961f8addaf4b 100644 --- a/japanese/font-bizud-mincho/Makefile +++ b/japanese/font-bizud-mincho/Makefile @@ -1,34 +1,36 @@ PORTNAME= bizud-mincho -DISTVERSIONPREFIX= v DISTVERSION= 1.06 CATEGORIES= japanese x11-fonts +MASTER_SITES= https://github.com/googlefonts/morisawa-biz-ud-mincho/releases/download/v${DISTVERSION}/ PKGNAMEPREFIX= ja-font- +DISTNAME= morisawa-biz-ud-mincho-fonts +EXTRACT_SUFX= .zip +DIST_SUBDIR= ${PORTNAME}/${DISTVERSION} MAINTAINER= mew14930xvi@inbox.lv COMMENT= Morisawa BIZ UD Mincho fonts WWW= https://github.com/googlefonts/morisawa-biz-ud-mincho LICENSE= OFL11 -LICENSE_FILE= ${WRKSRC}/OFL.txt USES= fonts:fc -FONTPATHSPEC= ${FONTNAME}:pri=60 + +EXTRACT_AFTER_ARGS= --include morisawa-biz-ud-mincho-fonts/fonts/ttf/*.ttf \ + --strip-components 3 \ + --no-same-owner --no-same-permissions + NO_ARCH= yes NO_BUILD= yes +NO_WRKSUBDIR= yes + +FONTPATHSPEC= ${FONTNAME}:pri=60 PKGINSTALL= ${WRKDIR}/pkg-install PKGDEINSTALL= ${WRKDIR}/pkg-install SUB_FILES= pkg-install -PORTDOCS= AUTHORS.txt CONTRIBUTORS.txt README.md - -USE_GITHUB= yes -GH_ACCOUNT= googlefonts -GH_PROJECT= morisawa-biz-ud-mincho - -OPTIONS_DEFINE= DOCS do-install: @${MKDIR} ${STAGEDIR}${FONTSDIR} - ${INSTALL_DATA} ${WRKSRC}/fonts/ttf/* ${STAGEDIR}${FONTSDIR} + ${INSTALL_DATA} ${WRKSRC}/*.ttf ${STAGEDIR}${FONTSDIR} @${MKDIR} ${STAGEDIR}${PREFIX}/etc/fonts/conf.avail \ ${STAGEDIR}${PREFIX}/etc/fonts/conf.d ${INSTALL_DATA} ${FILESDIR}/20-unhint-${FONTNAME}.conf \ @@ -39,8 +41,4 @@ do-install: ${LN} -s -f ../conf.avail/62-fonts-${FONTNAME}.conf \ ${STAGEDIR}${PREFIX}/etc/fonts/conf.d/62-fonts-${FONTNAME}.conf -post-install-DOCS-on: - @${MKDIR} ${STAGEDIR}${DOCSDIR} - cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR} - .include <bsd.port.mk> diff --git a/japanese/font-bizud-mincho/distinfo b/japanese/font-bizud-mincho/distinfo index 0e7d8c4e2596..a7b7275758c2 100644 --- a/japanese/font-bizud-mincho/distinfo +++ b/japanese/font-bizud-mincho/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1715267495 -SHA256 (googlefonts-morisawa-biz-ud-mincho-v1.06_GH0.tar.gz) = 8b4b18eebf6b1f4add4fc201605d501e3378d3bb00e28cf88c007153493a18f1 -SIZE (googlefonts-morisawa-biz-ud-mincho-v1.06_GH0.tar.gz) = 54485142 +TIMESTAMP = 1715468124 +SHA256 (bizud-mincho/1.06/morisawa-biz-ud-mincho-fonts.zip) = 7c93630a3b9deb583c782c930df2e3f478ffb9963f467b6d804187af2e853149 +SIZE (bizud-mincho/1.06/morisawa-biz-ud-mincho-fonts.zip) = 35198822