git: 84b834ca7fa1 - main - x11-fonts/intel-one-mono: Intel One Mono font

From: Lewis Cook <lcook_at_FreeBSD.org>
Date: Tue, 23 May 2023 09:33:02 UTC
The branch main has been updated by lcook:

URL: https://cgit.FreeBSD.org/ports/commit/?id=84b834ca7fa101c24901203f372f35ed515784ac

commit 84b834ca7fa101c24901203f372f35ed515784ac
Author:     Andriy Dzedolik <dz@dolik.dev>
AuthorDate: 2023-05-23 09:27:58 +0000
Commit:     Lewis Cook <lcook@FreeBSD.org>
CommitDate: 2023-05-23 09:32:18 +0000

    x11-fonts/intel-one-mono: Intel One Mono font
    
    Intel One Mono is an expressive monospaced font family that's built with
    clarity, legibility, and the needs of developers in mind.
    
    PR:     271516
---
 x11-fonts/Makefile                 |  1 +
 x11-fonts/intel-one-mono/Makefile  | 26 ++++++++++++++++++++++++++
 x11-fonts/intel-one-mono/distinfo  |  3 +++
 x11-fonts/intel-one-mono/pkg-descr |  8 ++++++++
 x11-fonts/intel-one-mono/pkg-plist | 16 ++++++++++++++++
 5 files changed, 54 insertions(+)

diff --git a/x11-fonts/Makefile b/x11-fonts/Makefile
index fd07045988c7..d0a9de5e0455 100644
--- a/x11-fonts/Makefile
+++ b/x11-fonts/Makefile
@@ -137,6 +137,7 @@
     SUBDIR += iansui
     SUBDIR += inconsolata-lgc-ttf
     SUBDIR += inconsolata-ttf
+    SUBDIR += intel-one-mono
     SUBDIR += intlfonts
     SUBDIR += iosevka
     SUBDIR += isabella
diff --git a/x11-fonts/intel-one-mono/Makefile b/x11-fonts/intel-one-mono/Makefile
new file mode 100644
index 000000000000..34067e3ca28b
--- /dev/null
+++ b/x11-fonts/intel-one-mono/Makefile
@@ -0,0 +1,26 @@
+PORTNAME=	intel-one-mono
+DISTVERSIONPREFIX=	V
+DISTVERSION=	1.2.0
+CATEGORIES=	x11-fonts
+
+MAINTAINER=	dz@dolik.dev
+COMMENT=	Intel One Mono font
+
+LICENSE=	OFL11
+LICENSE_FILE=	${WRKSRC}/license
+
+USES=		fonts
+FONTNAME=	${PORTNAME:C/-//}
+USE_GITHUB=	yes
+GH_ACCOUNT=	intel
+
+NO_ARCH=	yes
+NO_BUILD=	yes
+
+do-install:
+	${MKDIR} ${STAGEDIR}${FONTSDIR}
+.for _format in otf ttf
+	${INSTALL_DATA} ${WRKSRC}/fonts/${_format}/*.${_format} ${STAGEDIR}${FONTSDIR}
+.endfor
+
+.include <bsd.port.mk>
diff --git a/x11-fonts/intel-one-mono/distinfo b/x11-fonts/intel-one-mono/distinfo
new file mode 100644
index 000000000000..3bd76cb30cbf
--- /dev/null
+++ b/x11-fonts/intel-one-mono/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1684813649
+SHA256 (intel-intel-one-mono-V1.2.0_GH0.tar.gz) = 3c971a5f5e06ed1a5034df24d1b47c4c599645e3906ff24e9b5eb4798677c4bc
+SIZE (intel-intel-one-mono-V1.2.0_GH0.tar.gz) = 7928782
diff --git a/x11-fonts/intel-one-mono/pkg-descr b/x11-fonts/intel-one-mono/pkg-descr
new file mode 100644
index 000000000000..c4030709af2c
--- /dev/null
+++ b/x11-fonts/intel-one-mono/pkg-descr
@@ -0,0 +1,8 @@
+Intel One Mono is an expressive monospaced font family that's built with
+clarity, legibility, and the needs of developers in mind.
+
+Identifying the typographically underserved low-vision developer audience,
+Frere-Jones Type designed the Intel One Mono typeface in partnership with the
+Intel Brand Team and VMLY&R, for maximum legibility to address developers'
+fatigue and eyestrain and reduce coding errors. A panel of low-vision and
+legally blind developers provided feedback at each stage of design.
diff --git a/x11-fonts/intel-one-mono/pkg-plist b/x11-fonts/intel-one-mono/pkg-plist
new file mode 100644
index 000000000000..a1071a14f258
--- /dev/null
+++ b/x11-fonts/intel-one-mono/pkg-plist
@@ -0,0 +1,16 @@
+%%FONTSDIR%%/intelone-mono-font-family-bold.otf
+%%FONTSDIR%%/intelone-mono-font-family-bold.ttf
+%%FONTSDIR%%/intelone-mono-font-family-bolditalic.otf
+%%FONTSDIR%%/intelone-mono-font-family-bolditalic.ttf
+%%FONTSDIR%%/intelone-mono-font-family-italic.otf
+%%FONTSDIR%%/intelone-mono-font-family-italic.ttf
+%%FONTSDIR%%/intelone-mono-font-family-light.otf
+%%FONTSDIR%%/intelone-mono-font-family-light.ttf
+%%FONTSDIR%%/intelone-mono-font-family-lightitalic.otf
+%%FONTSDIR%%/intelone-mono-font-family-lightitalic.ttf
+%%FONTSDIR%%/intelone-mono-font-family-medium.otf
+%%FONTSDIR%%/intelone-mono-font-family-medium.ttf
+%%FONTSDIR%%/intelone-mono-font-family-mediumitalic.otf
+%%FONTSDIR%%/intelone-mono-font-family-mediumitalic.ttf
+%%FONTSDIR%%/intelone-mono-font-family-regular.otf
+%%FONTSDIR%%/intelone-mono-font-family-regular.ttf