git: 33d26f926ef1 - main - x11-fonts/ia-writer-fonts: New port: Typefaces of iA Writer: Mono, Duo, Quattro and Duospace

From: Hiroki Tagato <tagattie_at_FreeBSD.org>
Date: Tue, 20 Oct 2026 07:50:58 UTC
The branch main has been updated by tagattie:

URL: https://cgit.FreeBSD.org/ports/commit/?id=33d26f926ef164e0ad12bdebd0cdd8c18804d9f7

commit 33d26f926ef164e0ad12bdebd0cdd8c18804d9f7
Author:     Jordan Hubbard <jkh@FreeBSD.org>
AuthorDate: 2026-10-01 18:37:07 +0000
Commit:     Hiroki Tagato <tagattie@FreeBSD.org>
CommitDate: 2026-10-20 07:50:29 +0000

    x11-fonts/ia-writer-fonts: New port: Typefaces of iA Writer: Mono, Duo, Quattro and Duospace
    
    The iA Writer typefaces are the fonts of the iA Writer text editor,
    derived from IBM Plex and released under the SIL Open Font License.
    
    WWW: https://github.com/iaolo/iA-Fonts
    
    Reported by:    jkh (new maintainer)
    Pull Request:   https://github.com/freebsd/freebsd-ports/pull/630
    Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
---
 x11-fonts/Makefile                  |  1 +
 x11-fonts/ia-writer-fonts/Makefile  | 34 ++++++++++++++++++++++++++++++++++
 x11-fonts/ia-writer-fonts/distinfo  |  5 +++++
 x11-fonts/ia-writer-fonts/pkg-descr | 10 ++++++++++
 x11-fonts/ia-writer-fonts/pkg-plist | 16 ++++++++++++++++
 5 files changed, 66 insertions(+)

diff --git a/x11-fonts/Makefile b/x11-fonts/Makefile
index 2ddaea99d1dc..9c04d92cb3c7 100644
--- a/x11-fonts/Makefile
+++ b/x11-fonts/Makefile
@@ -155,6 +155,7 @@
     SUBDIR += hack-font
     SUBDIR += hanazono-fonts-ttf
     SUBDIR += hermit
+    SUBDIR += ia-writer-fonts
     SUBDIR += iansui
     SUBDIR += ibmfonts
     SUBDIR += inconsolata-lgc-ttf
diff --git a/x11-fonts/ia-writer-fonts/Makefile b/x11-fonts/ia-writer-fonts/Makefile
new file mode 100644
index 000000000000..254e199f55fc
--- /dev/null
+++ b/x11-fonts/ia-writer-fonts/Makefile
@@ -0,0 +1,34 @@
+PORTNAME=	ia-writer-fonts
+DISTVERSION=	20230616
+CATEGORIES=	x11-fonts
+
+MAINTAINER=	jkh@FreeBSD.org
+COMMENT=	Typefaces of iA Writer: Mono, Duo, Quattro and Duospace
+WWW=		https://github.com/iaolo/iA-Fonts
+
+LICENSE=	OFL11
+
+USES=		fonts
+USE_GITHUB=	yes
+GH_ACCOUNT=	iaolo
+GH_PROJECT=	iA-Fonts
+GH_TAGNAME=	f32c04c3058a75d7ce28919ce70fe8800817491b
+# Duospace was dropped upstream after this commit; ship it from its last pin.
+GH_TUPLE=	iaolo:iA-Fonts:b337fe1a4c93026268f70e4b2678371f3e89e2ce:legacy
+
+NO_ARCH=	yes
+NO_BUILD=	yes
+
+_FAMILIES=	Duo Mono Quattro
+_STYLES=	Bold BoldItalic Italic Regular
+
+do-install:
+	@${MKDIR} ${STAGEDIR}${FONTSDIR}
+.for f in ${_FAMILIES}
+	${INSTALL_DATA} "${WRKSRC}/iA Writer ${f}/Static/"*.ttf \
+		${STAGEDIR}${FONTSDIR}
+.endfor
+	${INSTALL_DATA} "${WRKSRC_legacy}/iA Writer Duospace/TTF (PC)/"*.ttf \
+		${STAGEDIR}${FONTSDIR}
+
+.include <bsd.port.mk>
diff --git a/x11-fonts/ia-writer-fonts/distinfo b/x11-fonts/ia-writer-fonts/distinfo
new file mode 100644
index 000000000000..c3787b58a882
--- /dev/null
+++ b/x11-fonts/ia-writer-fonts/distinfo
@@ -0,0 +1,5 @@
+TIMESTAMP = 1790688138
+SHA256 (iaolo-iA-Fonts-20230616-f32c04c3058a75d7ce28919ce70fe8800817491b_GH0.tar.gz) = 826767eaea4ce43ccb7ca71327a5c63ac31206b99df400699e6744df6104e1b5
+SIZE (iaolo-iA-Fonts-20230616-f32c04c3058a75d7ce28919ce70fe8800817491b_GH0.tar.gz) = 2777114
+SHA256 (iaolo-iA-Fonts-b337fe1a4c93026268f70e4b2678371f3e89e2ce_GH0.tar.gz) = ac34b1494e58e28aadce1220a342757a29225dc84d2ee83748dca047927e5792
+SIZE (iaolo-iA-Fonts-b337fe1a4c93026268f70e4b2678371f3e89e2ce_GH0.tar.gz) = 4890621
diff --git a/x11-fonts/ia-writer-fonts/pkg-descr b/x11-fonts/ia-writer-fonts/pkg-descr
new file mode 100644
index 000000000000..43e50402d0de
--- /dev/null
+++ b/x11-fonts/ia-writer-fonts/pkg-descr
@@ -0,0 +1,10 @@
+The iA Writer typefaces are the fonts of the iA Writer text editor, derived
+from IBM Plex and released under the SIL Open Font License:
+
+- iA Writer Mono: monospaced, every glyph the same width
+- iA Writer Duo: duospaced, a few wide letters (m, w, M, W) get 150% width
+- iA Writer Quattro: quattrospaced proportional face for prose
+- iA Writer Duospace: the original duospaced face, kept from the last
+  upstream revision that shipped it
+
+This port installs the static TrueType variants of each family.
diff --git a/x11-fonts/ia-writer-fonts/pkg-plist b/x11-fonts/ia-writer-fonts/pkg-plist
new file mode 100644
index 000000000000..37b1266af46c
--- /dev/null
+++ b/x11-fonts/ia-writer-fonts/pkg-plist
@@ -0,0 +1,16 @@
+%%FONTSDIR%%/iAWriterDuoS-Bold.ttf
+%%FONTSDIR%%/iAWriterDuoS-BoldItalic.ttf
+%%FONTSDIR%%/iAWriterDuoS-Italic.ttf
+%%FONTSDIR%%/iAWriterDuoS-Regular.ttf
+%%FONTSDIR%%/iAWriterDuospace-Bold.ttf
+%%FONTSDIR%%/iAWriterDuospace-BoldItalic.ttf
+%%FONTSDIR%%/iAWriterDuospace-Italic.ttf
+%%FONTSDIR%%/iAWriterDuospace-Regular.ttf
+%%FONTSDIR%%/iAWriterMonoS-Bold.ttf
+%%FONTSDIR%%/iAWriterMonoS-BoldItalic.ttf
+%%FONTSDIR%%/iAWriterMonoS-Italic.ttf
+%%FONTSDIR%%/iAWriterMonoS-Regular.ttf
+%%FONTSDIR%%/iAWriterQuattroS-Bold.ttf
+%%FONTSDIR%%/iAWriterQuattroS-BoldItalic.ttf
+%%FONTSDIR%%/iAWriterQuattroS-Italic.ttf
+%%FONTSDIR%%/iAWriterQuattroS-Regular.ttf