japanese/font-udev-gothic-hs: Add new ports -- UDEV Gothic (Full-width space invisible version)

This commit is contained in:
Hajimu UMEMOTO 2024-08-21 22:27:48 +09:00
parent 7539eee947
commit da0cd97bf0
4 changed files with 73 additions and 0 deletions

View File

@ -119,6 +119,7 @@
SUBDIR += font-std SUBDIR += font-std
SUBDIR += font-takao SUBDIR += font-takao
SUBDIR += font-udev-gothic SUBDIR += font-udev-gothic
SUBDIR += font-udev-gothic-hs
SUBDIR += font-udev-gothic-nf SUBDIR += font-udev-gothic-nf
SUBDIR += font-ume SUBDIR += font-ume
SUBDIR += font-vlgothic SUBDIR += font-vlgothic

View File

@ -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>

View File

@ -0,0 +1,3 @@
TIMESTAMP = 1724240933
SHA256 (UDEVGothic_HS_v2.0.0.zip) = 7b4334786a9d42d5407fd187befc6c92be291ddf9ea678b5e4c6aee266790384
SIZE (UDEVGothic_HS_v2.0.0.zip) = 61839926

View File

@ -0,0 +1,2 @@
UDEV Gothic is a composite font of BIZ UD Gothic and
JetBrains Mono (Full-width space invisible version).