Migrate fantasque-sans to the font module, and package web fonts.

This commit is contained in:
bentley
2026-02-12 04:42:40 +00:00
parent 0e668b2108
commit 4e29bea384
6 changed files with 25 additions and 16 deletions
+14 -14
View File
@@ -1,29 +1,29 @@
COMMENT = programming font designed with functionality in mind
COMMENT-main = programming font designed with functionality in mind
COMMENT-web = programming (web)font designed with functionality in mind
V = 1.8.0
DISTNAME = fantasque-sans-$V
DISTFILES = ${DISTNAME}{FantasqueSansMono-Normal}.tar.gz
REVISION = 1
MULTI_PACKAGES = -main -web
CATEGORIES = fonts
MODFONT_FAMILY = fantasque-sans
MODFONT_VERSION = 1.8.0
DIST_SUBDIR = ${PKGNAME}
DISTNAME = FantasqueSansMono-Normal
REVISION = 2
MODULES = font
HOMEPAGE = https://fontlibrary.org/en/font/fantasque-sans-mono
# SIL OFL 1.1
PERMIT_PACKAGE = Yes
SITES = https://github.com/belluzj/fantasque-sans/releases/download/v$V/
SITES = https://github.com/belluzj/fantasque-sans/releases/download/v${MODFONT_VERSION}/
NO_BUILD = Yes
NO_TEST = Yes
PKG_ARCH = *
WRKDIST = ${WRKDIR}
FONTDIR = ${PREFIX}/share/fonts/fantasque-sans
do-install:
${INSTALL_DATA_DIR} ${FONTDIR}
${INSTALL_DATA} ${WRKDIR}/OTF/*.otf ${FONTDIR}
${INSTALL_DATA} ${WRKDIR}/TTF/*.ttf ${FONTDIR}
MODFONT_FONTFILES = OTF/*.otf TTF/*.ttf
MODFONT_WEBFILES = Webfonts/*.woff2
.include <bsd.port.mk>
+2 -2
View File
@@ -1,2 +1,2 @@
SHA256 (fantasque-sans-1.8.0.tar.gz) = ZFcJpU6m+6JMkmE1ohPTQt2xjw+LSfTmBLIhC3PpBoo=
SIZE (fantasque-sans-1.8.0.tar.gz) = 1733798
SHA256 (fantasque-sans-1.8.0/FantasqueSansMono-Normal.zip) = hL5oniMf93PtnTUug9zNgVHZ5EXxywuIyw6TMPxNnPw=
SIZE (fantasque-sans-1.8.0/FantasqueSansMono-Normal.zip) = 1733018
+3
View File
@@ -0,0 +1,3 @@
Fantasque Sans Mono is a programming font, designed with functionality
in mind, and with some wibbly-wobbly handwriting-like fuzziness that
makes it unassumingly cool.
+6
View File
@@ -0,0 +1,6 @@
fonts/
fonts/fantasque-sans/
fonts/fantasque-sans/FantasqueSansMono-Bold.woff2
fonts/fantasque-sans/FantasqueSansMono-BoldItalic.woff2
fonts/fantasque-sans/FantasqueSansMono-Italic.woff2
fonts/fantasque-sans/FantasqueSansMono-Regular.woff2