1
0
Fork 0
mirror of https://git.freebsd.org/ports.git synced 2025-05-02 19:46:41 -04:00

x11-fonts/gentium-plus-compact: New port: Gentium Plus TrueType font collection, compact variant

https://software.sil.org/gentium/

PR:	283804
This commit is contained in:
Zoltán Király 2025-03-17 20:06:23 +03:00 committed by Vladimir Druzenko
parent cf722e9ab0
commit 77bb4d5d3f
5 changed files with 92 additions and 0 deletions
x11-fonts

View file

@ -127,6 +127,7 @@
SUBDIR += gensen
SUBDIR += gentium-basic
SUBDIR += gentium-plus
SUBDIR += gentium-plus-compact
SUBDIR += genwan
SUBDIR += genyo
SUBDIR += genyog

View file

@ -0,0 +1,55 @@
PORTNAME= GentiumPlusCompact
DISTVERSION= 6.200
CATEGORIES= x11-fonts
# Use the port maintainer's GitHub to fetch the font, since the SIL server
# embeds dynamic content into the file.
MASTER_SITES= https://raw.githubusercontent.com/zoliky/distfiles/refs/heads/main/
MAINTAINER= ports@zoltankiraly.com
COMMENT= Gentium Plus TrueType font collection, compact variant
WWW= https://software.sil.org/gentium/
LICENSE= OFL11
LICENSE_FILE= ${WRKSRC}/OFL.txt
USES= fonts zip
NO_ARCH= yes
NO_BUILD= yes
SUB_FILES= pkg-message
PLIST_FILES= ${FONTSDIR}/GentiumBookPlusCompact-Bold.ttf \
${FONTSDIR}/GentiumBookPlusCompact-BoldItalic.ttf \
${FONTSDIR}/GentiumBookPlusCompact-Italic.ttf \
${FONTSDIR}/GentiumBookPlusCompact-Regular.ttf \
${FONTSDIR}/GentiumPlusCompact-Bold.ttf \
${FONTSDIR}/GentiumPlusCompact-BoldItalic.ttf \
${FONTSDIR}/GentiumPlusCompact-Italic.ttf \
${FONTSDIR}/GentiumPlusCompact-Regular.ttf
DOCSLIST= FONTLOG.txt OFL-FAQ.txt README.txt \
documentation/pdf/resources.pdf \
documentation/pdf/features.pdf \
documentation/pdf/developer.pdf \
documentation/pdf/design.pdf \
documentation/pdf/faq.pdf \
documentation/pdf/about.pdf \
documentation/pdf/history.pdf \
documentation/pdf/index.pdf \
documentation/pdf/charset.pdf \
documentation/pdf/support.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>

View file

@ -0,0 +1,3 @@
TIMESTAMP = 1741720487
SHA256 (GentiumPlusCompact-6.200.zip) = 66d29b34d8c8306088a43c05ecedbaf60baeea61dcd96ddcc53a1da718a832d6
SIZE (GentiumPlusCompact-6.200.zip) = 4176084

View file

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

View file

@ -0,0 +1,16 @@
Gentium is a typeface family designed to enable the diverse ethnic
groups around the world who use the Latin, Cyrillic and Greek scripts
to produce readable, high-quality publications. It supports a wide
range of Latin- and Cyrillic-based alphabets.
The design is intended to be highly readable, reasonably compact, and
visually attractive. The Latin letters are designed to naturally
harmonize with the traditional 26 ones. Diacritics are treated with
careful thought and attention to their use. Gentium also supports both
polytonic and monotonic Greek. Gentium Plus now includes more extended
Latin glyphs (Unicode 5.1), archaic Greek symbols, and full extended
Cyrillic script support.
This compact variant has been created with TypeTuner Web, by setting
the "Line spacing" feature to "Tight", and will not be able to be
TypeTuned again.