Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Mar 2025 17:16:47 GMT
From:      Vladimir Druzenko <vvd@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 0a46bf53c6be - main - x11-fonts/andika-compact: New port: Sans-serif font designed for literacy use, compact variant
Message-ID:  <202503171716.52HHGlK5061850@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by vvd:

URL: https://cgit.FreeBSD.org/ports/commit/?id=0a46bf53c6be94491420bc4fcbbb91d48adc3ade

commit 0a46bf53c6be94491420bc4fcbbb91d48adc3ade
Author:     Zoltán Király <ports@zoltankiraly.com>
AuthorDate: 2025-03-17 17:15:16 +0000
Commit:     Vladimir Druzenko <vvd@FreeBSD.org>
CommitDate: 2025-03-17 17:15:16 +0000

    x11-fonts/andika-compact: New port: Sans-serif font designed for literacy use, compact variant
    
    https://software.sil.org/andika/
    
    PR:     283798
---
 x11-fonts/Makefile                            |  1 +
 x11-fonts/andika-compact/Makefile             | 36 +++++++++++++++++++++++++++
 x11-fonts/andika-compact/distinfo             |  3 +++
 x11-fonts/andika-compact/files/pkg-message.in | 17 +++++++++++++
 x11-fonts/andika-compact/pkg-descr            |  7 ++++++
 x11-fonts/andika-compact/pkg-plist            | 35 ++++++++++++++++++++++++++
 6 files changed, 99 insertions(+)

diff --git a/x11-fonts/Makefile b/x11-fonts/Makefile
index f3c6823e9698..ba2cdcf5112b 100644
--- a/x11-fonts/Makefile
+++ b/x11-fonts/Makefile
@@ -10,6 +10,7 @@
     SUBDIR += alfont
     SUBDIR += amigafonts
     SUBDIR += andika
+    SUBDIR += andika-compact
     SUBDIR += anomaly-mono
     SUBDIR += anonymous-pro
     SUBDIR += apl385
diff --git a/x11-fonts/andika-compact/Makefile b/x11-fonts/andika-compact/Makefile
new file mode 100644
index 000000000000..d6a0edb9a59f
--- /dev/null
+++ b/x11-fonts/andika-compact/Makefile
@@ -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>
diff --git a/x11-fonts/andika-compact/distinfo b/x11-fonts/andika-compact/distinfo
new file mode 100644
index 000000000000..90e5da3eec08
--- /dev/null
+++ b/x11-fonts/andika-compact/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1741719141
+SHA256 (AndikaCompact-6.200.zip) = 279bcc3e50b17b1a147af365cc677383dd81754a8736de1fcad05baa9763b692
+SIZE (AndikaCompact-6.200.zip) = 2032668
diff --git a/x11-fonts/andika-compact/files/pkg-message.in b/x11-fonts/andika-compact/files/pkg-message.in
new file mode 100644
index 000000000000..0b3cc2d3ff66
--- /dev/null
+++ b/x11-fonts/andika-compact/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/andika-compact/pkg-descr b/x11-fonts/andika-compact/pkg-descr
new file mode 100644
index 000000000000..8c3a92e3cd16
--- /dev/null
+++ b/x11-fonts/andika-compact/pkg-descr
@@ -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.
diff --git a/x11-fonts/andika-compact/pkg-plist b/x11-fonts/andika-compact/pkg-plist
new file mode 100644
index 000000000000..2f73720554e6
--- /dev/null
+++ b/x11-fonts/andika-compact/pkg-plist
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202503171716.52HHGlK5061850>