git: da0cd97bf0c8 - main - japanese/font-udev-gothic-hs: Add new ports -- UDEV Gothic (Full-width space invisible version)
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 21 Aug 2024 13:29:47 UTC
The branch main has been updated by ume: URL: https://cgit.FreeBSD.org/ports/commit/?id=da0cd97bf0c892ddb59d82e8545f8ba717fdc61c commit da0cd97bf0c892ddb59d82e8545f8ba717fdc61c Author: Hajimu UMEMOTO <ume@FreeBSD.org> AuthorDate: 2024-08-21 13:27:48 +0000 Commit: Hajimu UMEMOTO <ume@FreeBSD.org> CommitDate: 2024-08-21 13:29:34 +0000 japanese/font-udev-gothic-hs: Add new ports -- UDEV Gothic (Full-width space invisible version) --- japanese/Makefile | 1 + japanese/font-udev-gothic-hs/Makefile | 67 ++++++++++++++++++++++++++++++++++ japanese/font-udev-gothic-hs/distinfo | 3 ++ japanese/font-udev-gothic-hs/pkg-descr | 2 + 4 files changed, 73 insertions(+) diff --git a/japanese/Makefile b/japanese/Makefile index 8cd3d2617abd..483977d3eaa1 100644 --- a/japanese/Makefile +++ b/japanese/Makefile @@ -119,6 +119,7 @@ SUBDIR += font-std SUBDIR += font-takao SUBDIR += font-udev-gothic + SUBDIR += font-udev-gothic-hs SUBDIR += font-udev-gothic-nf SUBDIR += font-ume SUBDIR += font-vlgothic diff --git a/japanese/font-udev-gothic-hs/Makefile b/japanese/font-udev-gothic-hs/Makefile new file mode 100644 index 000000000000..d8d0e1d6af2b --- /dev/null +++ b/japanese/font-udev-gothic-hs/Makefile @@ -0,0 +1,67 @@ +PORTNAME= udev-gothic-hs +PORTVERSION= 2.0.0 +PORTREVISION= 0 +CATEGORIES= japanese x11-fonts +MASTER_SITES= https://github.com/yuru7/udev-gothic/releases/download/v${PORTVERSION}/ +PKGNAMEPREFIX= ja-font- +DISTNAME= UDEVGothic_HS_v${DISTVERSION} + +MAINTAINER= ume@FreeBSD.org +COMMENT= UDEV Gothic (Full-width space invisible version) +WWW= https://github.com/yuru7/udev-gothic + +LICENSE= OFL11 + +USES= fonts:fc zip +NO_ARCH= yes +NO_BUILD= yes +WRKSRC= ${WRKDIR}/${DISTNAME} + +OPTIONS_MULTI= FONT_FAMILY +OPTIONS_MULTI_FONT_FAMILY= UDEV_GOTHIC_HS UDEV_GOTHIC_HSJPDOC \ + UDEV_GOTHIC_HSLG UDEV_GOTHIC_35HS \ + UDEV_GOTHIC_35HSJPDOC UDEV_GOTHIC_35HSLG +OPTIONS_DEFAULT= UDEV_GOTHIC_HS UDEV_GOTHIC_HSJPDOC \ + UDEV_GOTHIC_HSLG UDEV_GOTHIC_35HS \ + UDEV_GOTHIC_35HSJPDOC UDEV_GOTHIC_35HSLG +UDEV_GOTHIC_HS_DESC= UDEVGothicHS +UDEV_GOTHIC_HSJPDOC_DESC= UDEVGothicHSJPDOC +UDEV_GOTHIC_HSLG_DESC= UDEVGothicHSLG +UDEV_GOTHIC_35HS_DESC= UDEVGothic35HS +UDEV_GOTHIC_35HSJPDOC_DESC= UDEVGothic35HSJPDOC +UDEV_GOTHIC_35HSLG_DESC= UDEVGothic35HSLG + +.include <bsd.port.options.mk> + +.if ${PORT_OPTIONS:MUDEV_GOTHIC_HS} +FONT_FAMILY+= UDEVGothicHS +.endif +.if ${PORT_OPTIONS:MUDEV_GOTHIC_HSJPDOC} +FONT_FAMILY+= UDEVGothicHSJPDOC +.endif +.if ${PORT_OPTIONS:MUDEV_GOTHIC_HSLG} +FONT_FAMILY+= UDEVGothicHSLG +.endif +.if ${PORT_OPTIONS:MUDEV_GOTHIC_35HS} +FONT_FAMILY+= UDEVGothic35HS +.endif +.if ${PORT_OPTIONS:MUDEV_GOTHIC_35HSJPDOC} +FONT_FAMILY+= UDEVGothic35HSJPDOC +.endif +.if ${PORT_OPTIONS:MUDEV_GOTHIC_35HSLG} +FONT_FAMILY+= UDEVGothic35HSLG +.endif + +FONT_STYLE= Bold BoldItalic Italic Regular + +do-install: + ${MKDIR} ${STAGEDIR}${FONTSDIR} +.for FAMILY in ${FONT_FAMILY} +. for STYLE in ${FONT_STYLE} + ${INSTALL_DATA} ${WRKSRC}/${FAMILY}-${STYLE}.ttf \ + ${STAGEDIR}${FONTSDIR} + @${ECHO_CMD} ${FONTSDIR}/${FAMILY}-${STYLE}.ttf >> ${TMPPLIST} +. endfor +.endfor + +.include <bsd.port.mk> diff --git a/japanese/font-udev-gothic-hs/distinfo b/japanese/font-udev-gothic-hs/distinfo new file mode 100644 index 000000000000..a87354868b0d --- /dev/null +++ b/japanese/font-udev-gothic-hs/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1724240933 +SHA256 (UDEVGothic_HS_v2.0.0.zip) = 7b4334786a9d42d5407fd187befc6c92be291ddf9ea678b5e4c6aee266790384 +SIZE (UDEVGothic_HS_v2.0.0.zip) = 61839926 diff --git a/japanese/font-udev-gothic-hs/pkg-descr b/japanese/font-udev-gothic-hs/pkg-descr new file mode 100644 index 000000000000..78926c9dadfd --- /dev/null +++ b/japanese/font-udev-gothic-hs/pkg-descr @@ -0,0 +1,2 @@ +UDEV Gothic is a composite font of BIZ UD Gothic and +JetBrains Mono (Full-width space invisible version).