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 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: <