mirror of
https://github.com/openbsd/ports.git
synced 2026-06-17 23:13:55 +02:00
Migrate fantasque-sans to the font module, and package web fonts.
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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.
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user