x11-fonts/andika-compact: New port: Sans-serif font designed for literacy use, compact variant

https://software.sil.org/andika/

PR:	283798
This commit is contained in:
Zoltán Király 2025-03-17 20:15:16 +03:00 committed by Vladimir Druzenko
parent 77bb4d5d3f
commit 0a46bf53c6
6 changed files with 99 additions and 0 deletions

View file

@ -10,6 +10,7 @@
SUBDIR += alfont
SUBDIR += amigafonts
SUBDIR += andika
SUBDIR += andika-compact
SUBDIR += anomaly-mono
SUBDIR += anonymous-pro
SUBDIR += apl385

View file

@ -0,0 +1,36 @@
PORTNAME= AndikaCompact
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= Sans-serif font designed for literacy use, compact variant
WWW= https://software.sil.org/andika/
LICENSE= OFL11
LICENSE_FILE= ${WRKSRC}/OFL.txt
USES= fonts zip
NO_ARCH= yes
NO_BUILD= yes
SUB_FILES= pkg-message
OPTIONS_DEFINE= DOCS
_DOCSLIST= FONTLOG.txt OFL-FAQ.txt README.txt
do-install:
@${MKDIR} ${STAGEDIR}${FONTSDIR}
${INSTALL_DATA} ${WRKSRC}/*.ttf ${STAGEDIR}${FONTSDIR}
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}/documentation
(cd ${WRKSRC}/documentation && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}/documentation)
${RM} -r ${STAGEDIR}${DOCSDIR}/documentation/source
(cd ${WRKSRC} && ${INSTALL_DATA} ${_DOCSLIST} ${STAGEDIR}${DOCSDIR})
.include <bsd.port.mk>

View file

@ -0,0 +1,3 @@
TIMESTAMP = 1741719141
SHA256 (AndikaCompact-6.200.zip) = 279bcc3e50b17b1a147af365cc677383dd81754a8736de1fcad05baa9763b692
SIZE (AndikaCompact-6.200.zip) = 2032668

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,7 @@
Andika is a sans-serif font family designed and optimized especially for
literacy use. 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.
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.

View file

@ -0,0 +1,35 @@
%%PORTDOCS%%%%DOCSDIR%%/FONTLOG.txt
%%PORTDOCS%%%%DOCSDIR%%/OFL-FAQ.txt
%%PORTDOCS%%%%DOCSDIR%%/README.txt
%%PORTDOCS%%%%DOCSDIR%%/documentation/DOCUMENTATION.txt
%%PORTDOCS%%%%DOCSDIR%%/documentation/about.html
%%PORTDOCS%%%%DOCSDIR%%/documentation/assets/css/theme.css
%%PORTDOCS%%%%DOCSDIR%%/documentation/assets/css/themepdf.css
%%PORTDOCS%%%%DOCSDIR%%/documentation/assets/css/webfonts.css
%%PORTDOCS%%%%DOCSDIR%%/documentation/assets/css/webfontsttf.css
%%PORTDOCS%%%%DOCSDIR%%/documentation/assets/images/AndikaTypeSample.png
%%PORTDOCS%%%%DOCSDIR%%/documentation/charset.html
%%PORTDOCS%%%%DOCSDIR%%/documentation/design.html
%%PORTDOCS%%%%DOCSDIR%%/documentation/developer.html
%%PORTDOCS%%%%DOCSDIR%%/documentation/faq.html
%%PORTDOCS%%%%DOCSDIR%%/documentation/features.html
%%PORTDOCS%%%%DOCSDIR%%/documentation/history.html
%%PORTDOCS%%%%DOCSDIR%%/documentation/index.html
%%PORTDOCS%%%%DOCSDIR%%/documentation/pdf/about.pdf
%%PORTDOCS%%%%DOCSDIR%%/documentation/pdf/charset.pdf
%%PORTDOCS%%%%DOCSDIR%%/documentation/pdf/design.pdf
%%PORTDOCS%%%%DOCSDIR%%/documentation/pdf/developer.pdf
%%PORTDOCS%%%%DOCSDIR%%/documentation/pdf/faq.pdf
%%PORTDOCS%%%%DOCSDIR%%/documentation/pdf/features.pdf
%%PORTDOCS%%%%DOCSDIR%%/documentation/pdf/history.pdf
%%PORTDOCS%%%%DOCSDIR%%/documentation/pdf/index.pdf
%%PORTDOCS%%%%DOCSDIR%%/documentation/pdf/resources.pdf
%%PORTDOCS%%%%DOCSDIR%%/documentation/pdf/support.pdf
%%PORTDOCS%%%%DOCSDIR%%/documentation/pdf/versions.pdf
%%PORTDOCS%%%%DOCSDIR%%/documentation/resources.html
%%PORTDOCS%%%%DOCSDIR%%/documentation/support.html
%%PORTDOCS%%%%DOCSDIR%%/documentation/versions.html
%%FONTSDIR%%/AndikaCompact-Bold.ttf
%%FONTSDIR%%/AndikaCompact-BoldItalic.ttf
%%FONTSDIR%%/AndikaCompact-Italic.ttf
%%FONTSDIR%%/AndikaCompact-Regular.ttf