git: 19b51ce8a00c - main - x11-fonts/gallant: [NEW PORT] 4.4BSD/Sun Microsystems Gallant font

From: Älven <alven_at_FreeBSD.org>
Date: Wed, 10 Sep 2025 09:19:30 UTC
The branch main has been updated by alven:

URL: https://cgit.FreeBSD.org/ports/commit/?id=19b51ce8a00c3d42f34395246971fa60f80b51f1

commit 19b51ce8a00c3d42f34395246971fa60f80b51f1
Author:     Jens Schweikhardt <schweikh@schweikhardt.net>
AuthorDate: 2025-09-05 16:49:19 +0000
Commit:     Älven <alven@FreeBSD.org>
CommitDate: 2025-09-10 09:19:02 +0000

    x11-fonts/gallant: [NEW PORT] 4.4BSD/Sun Microsystems Gallant font
    
    This is the Gallant font, as used by the Sun Microsystems SPARCstation
    console, extended with glyphs for many Unicode blocks. It is a raster
    font with a 22x12 pixel character cell, descent 5 and ascent 17.
    
    WWW:            https://github.com/NanoBillion/gallant
    
    PR:             289327
    Reviewed by:    Yusuf Yaman <nxjoseph@protonmail.com>
    Approved by:    yuri@ (Mentor)
---
 x11-fonts/Makefile          |  1 +
 x11-fonts/gallant/Makefile  | 27 +++++++++++++++++++++++++++
 x11-fonts/gallant/distinfo  |  3 +++
 x11-fonts/gallant/pkg-descr | 19 +++++++++++++++++++
 4 files changed, 50 insertions(+)

diff --git a/x11-fonts/Makefile b/x11-fonts/Makefile
index a0aebca58988..aca729348b36 100644
--- a/x11-fonts/Makefile
+++ b/x11-fonts/Makefile
@@ -119,6 +119,7 @@
     SUBDIR += freefont-ttf
     SUBDIR += freefonts
     SUBDIR += fslsfonts
+    SUBDIR += gallant
     SUBDIR += gbdfed
     SUBDIR += geist-mono
     SUBDIR += geist-sans
diff --git a/x11-fonts/gallant/Makefile b/x11-fonts/gallant/Makefile
new file mode 100644
index 000000000000..d72b9560d5d9
--- /dev/null
+++ b/x11-fonts/gallant/Makefile
@@ -0,0 +1,27 @@
+PORTNAME=	gallant
+DISTVERSIONPREFIX=	v
+DISTVERSION=	0.1
+CATEGORIES=	x11-fonts
+
+MAINTAINER=	schweikh@FreeBSD.org
+COMMENT=	Sun Microsystems Gallant font with >4500 Unicode glyphs
+WWW=		https://github.com/NanoBillion/gallant
+
+LICENSE=	BSD2CLAUSE
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+USES=		fonts
+USE_GITHUB=	yes
+GH_ACCOUNT=	NanoBillion
+
+NO_ARCH=	yes
+NO_BUILD=	yes
+
+PLIST_FILES=	${FONTSDIR}/gallant.pcf.gz
+
+do-install:
+	${MKDIR} ${STAGEDIR}${FONTSDIR}
+	${INSTALL_DATA} ${WRKSRC}/gallant.pcf.gz \
+		${STAGEDIR}${FONTSDIR}
+
+.include <bsd.port.mk>
diff --git a/x11-fonts/gallant/distinfo b/x11-fonts/gallant/distinfo
new file mode 100644
index 000000000000..747401f76e07
--- /dev/null
+++ b/x11-fonts/gallant/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1757104793
+SHA256 (NanoBillion-gallant-v0.1_GH0.tar.gz) = bb5477bb2b0c2e06b0242d1c6da17d957d78654fb4df9374dc49862b67b75c40
+SIZE (NanoBillion-gallant-v0.1_GH0.tar.gz) = 2972029
diff --git a/x11-fonts/gallant/pkg-descr b/x11-fonts/gallant/pkg-descr
new file mode 100644
index 000000000000..a60f75473803
--- /dev/null
+++ b/x11-fonts/gallant/pkg-descr
@@ -0,0 +1,19 @@
+This is the Gallant font, as used by the Sun Microsystems SPARCstation
+console, extended with glyphs for many Unicode blocks. It is a raster
+font with a 22x12 pixel character cell, descent 5 and ascent 17.
+
+This project currently provides more than 4500 glyphs. Major additions:
+
+* Greek
+* Cyrillic
+* International Phonetic Association Extensions
+* Extended Latin characters
+* Zapf Dingbats
+* Tons of arrows
+* Tons of mathematical symbols
+* Letter-like symbols and enclosed alphanumerics
+* Pixel-perfect box drawing
+* Currency symbols
+* More punctuation
+* Just enough Katakana to say KO N NI CHI HA
+* Powerline glyphs in the Private Use Area at U+e0a0