git: 8da9aa7c86b5 - main - x11-fonts/gentium-book: New port

From: Matthew Seaman <matthew_at_FreeBSD.org>
Date: Tue, 10 Jun 2025 12:52:15 UTC
The branch main has been updated by matthew:

URL: https://cgit.FreeBSD.org/ports/commit/?id=8da9aa7c86b56dc15a3e0370a3ed51de2c92ce2a

commit 8da9aa7c86b56dc15a3e0370a3ed51de2c92ce2a
Author:     Matthew Seaman <matthew@FreeBSD.org>
AuthorDate: 2025-06-10 12:49:34 +0000
Commit:     Matthew Seaman <matthew@FreeBSD.org>
CommitDate: 2025-06-10 12:49:34 +0000

    x11-fonts/gentium-book: New port
    
    This is the other half of the Gentium-7.000 updates.  The former
    'Gentium Plus Book' has now become 'Gentium Book' and is distributed
    as a separate font to the original Gentium.
    
    See https://software.sil.org/gentium/history/ and
    https://software.sil.org/gentium/download/
    
    Changes:        https://software.sil.org/gentium/v7changes/
    Reported by:    repology
---
 x11-fonts/Makefile                          |  1 +
 x11-fonts/gentium-book/Makefile             | 55 +++++++++++++++++++++++++++++
 x11-fonts/gentium-book/distinfo             |  3 ++
 x11-fonts/gentium-book/files/pkg-message.in | 17 +++++++++
 x11-fonts/gentium-book/pkg-descr            | 15 ++++++++
 5 files changed, 91 insertions(+)

diff --git a/x11-fonts/Makefile b/x11-fonts/Makefile
index 7b46e48f2121..a0aebca58988 100644
--- a/x11-fonts/Makefile
+++ b/x11-fonts/Makefile
@@ -128,6 +128,7 @@
     SUBDIR += gensen
     SUBDIR += gentium
     SUBDIR += gentium-basic
+    SUBDIR += gentium-book
     SUBDIR += gentium-plus-compact
     SUBDIR += genwan
     SUBDIR += genyo
diff --git a/x11-fonts/gentium-book/Makefile b/x11-fonts/gentium-book/Makefile
new file mode 100644
index 000000000000..d0367c4d9b08
--- /dev/null
+++ b/x11-fonts/gentium-book/Makefile
@@ -0,0 +1,55 @@
+PORTNAME=	GentiumBook
+PORTVERSION=	7.000
+CATEGORIES=	x11-fonts
+MASTER_SITES=	http://software.sil.org/downloads/r/gentium/
+
+MAINTAINER=	matthew@FreeBSD.org
+COMMENT=	Gentium Book TrueType font collection
+WWW=		https://software.sil.org/gentium/
+
+LICENSE=	OFL11
+
+NO_ARCH=	yes
+NO_BUILD=	yes
+
+USES=		fonts zip
+
+PLIST_FILES=	${FONTSDIR}/GentiumBook-Bold.ttf           \
+		${FONTSDIR}/GentiumBook-BoldItalic.ttf     \
+		${FONTSDIR}/GentiumBook-Italic.ttf         \
+		${FONTSDIR}/GentiumBook-Medium.ttf         \
+		${FONTSDIR}/GentiumBook-MediumItalic.ttf   \
+		${FONTSDIR}/GentiumBook-Regular.ttf        \
+		${FONTSDIR}/GentiumBook-SemiBold.ttf       \
+		${FONTSDIR}/GentiumBook-SemiBoldItalic.ttf
+
+SUB_FILES=	pkg-message
+
+DOCSLIST=	FONTLOG.txt OFL-FAQ.txt OFL.txt README.txt \
+		documentation/pdf/about.pdf     \
+		documentation/pdf/charset.pdf   \
+		documentation/pdf/design.pdf    \
+		documentation/pdf/developer.pdf \
+		documentation/pdf/faq.pdf       \
+		documentation/pdf/features.pdf  \
+		documentation/pdf/greek.pdf     \
+		documentation/pdf/history.pdf   \
+		documentation/pdf/index.pdf     \
+		documentation/pdf/resources.pdf \
+		documentation/pdf/support.pdf   \
+		documentation/pdf/v7changes.pdf \
+		documentation/pdf/versions.pdf
+
+PORTDOCS=	${DOCSLIST:C,^.*/,,}
+
+OPTIONS_DEFINE=	DOCS
+
+do-install:
+	@${MKDIR} ${STAGEDIR}${FONTSDIR}
+	${INSTALL_DATA} ${WRKSRC}/*.ttf ${STAGEDIR}${FONTSDIR}
+
+do-install-DOCS-on:
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${DOCSLIST:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
+
+.include <bsd.port.mk>
diff --git a/x11-fonts/gentium-book/distinfo b/x11-fonts/gentium-book/distinfo
new file mode 100644
index 000000000000..2c1d27aa9a1c
--- /dev/null
+++ b/x11-fonts/gentium-book/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1749559284
+SHA256 (GentiumBook-7.000.zip) = fa4e35bcea62dd68befabf4bb7c2765aacd2691f51ec8ae008f5f913ef49f419
+SIZE (GentiumBook-7.000.zip) = 12365453
diff --git a/x11-fonts/gentium-book/files/pkg-message.in b/x11-fonts/gentium-book/files/pkg-message.in
new file mode 100644
index 000000000000..0b3cc2d3ff66
--- /dev/null
+++ b/x11-fonts/gentium-book/files/pkg-message.in
@@ -0,0 +1,17 @@
+[
+{ type: install
+  message: <<EOM
+To use these fonts, add the following line to the "Files" section of
+xorg.conf:
+
+	FontPath "%%FONTSDIR%%/"
+
+Users of older versions of X may additionally have to make sure that
+the freetype module is loaded.  Check /var/log/Xorg.0.log for error
+messages.  If freetype is required, add the following line to the
+"Modules" section of xorg.conf:
+
+	Load "freetype"
+EOM
+}
+]
diff --git a/x11-fonts/gentium-book/pkg-descr b/x11-fonts/gentium-book/pkg-descr
new file mode 100644
index 000000000000..a07e9b35c375
--- /dev/null
+++ b/x11-fonts/gentium-book/pkg-descr
@@ -0,0 +1,15 @@
+”Gentium” is a Latin word meaning belonging to the nations. The
+Gentium typeface family was created to enable the diverse ethnic
+groups—nations—around the world who use the Latin, Cyrillic, or Greek
+scripts to produce readable, high-quality publications. It supports
+almost the complete range of Unicode characters for these scripts,
+including a comprehensive range of diacritics and a large set of
+symbols useful for linguistics and literacy work.
+
+Gentium’s design is intended to be highly readable, reasonably
+compact, and visually attractive. One design strategy for greater
+readability is to make slightly more generous counters, which are the
+spaces inside and around the strokes of the letters. For compactness,
+capital letters are modest in size and slightly compressed. For
+attractiveness, Gentium combines good design with careful
+letterspacing, plus a friendly, calligraphic character.