Import fonts/iosevka-fonts.

A slender typeface for code.

Only packaging the default and 'term' variants (and only the TTFs) for now, as
discussed with sthen@.

OK sthen@, thanks!
This commit is contained in:
edd 2020-03-06 19:32:35 +00:00
parent fc6dce40a8
commit ccf03227c3
6 changed files with 116 additions and 0 deletions

View File

@ -0,0 +1,46 @@
# $OpenBSD: Makefile,v 1.1.1.1 2020/03/06 19:32:35 edd Exp $
COMMENT-main = slender typeface for code (default variant)
COMMENT-term = slender typeface for code (term variant)
V = 2.3.3
PKGNAME = iosevka-fonts-default-${V}
PKGNAME-main = ${PKGNAME}
PKGNAME-term = iosevka-fonts-term-${V}
# The font has many different variants. We are only packaging the 'default'
# variant (for general use) and the 'term' variant (designed for monospace
# terminals), but more could be added later if need be. See the releases page
# on Github for a complete list.
DISTFILES = 01-iosevka-${V}${EXTRACT_SUFX} \
02-iosevka-term-${V}${EXTRACT_SUFX}
CATEGORIES = fonts x11
HOMEPAGE = https://github.com/be5invis/iosevka
MAINTAINER = Edd Barrett <edd@openbsd.org>
# SIL OFL 1.1
PERMIT_PACKAGE = Yes
MASTER_SITES = https://github.com/be5invis/iosevka/releases/download/v${V}/
EXTRACT_SUFX = .zip
MULTI_PACKAGES = -main -term
NO_BUILD = Yes
NO_TEST = Yes
# distfile is a zip bomb.
WRKDIST = ${WRKDIR}
PKG_ARCH = *
FONTDIR = ${PREFIX}/share/fonts/iosevka
do-install:
${INSTALL_DATA_DIR} ${FONTDIR}
${INSTALL_DATA} ${WRKDIST}/ttf/*.ttf ${FONTDIR}
.include <bsd.port.mk>

View File

@ -0,0 +1,4 @@
SHA256 (01-iosevka-2.3.3.zip) = zI3jyld7ih1JR9zN//ggUELkefAiOldN41kn4T9Qb5A=
SHA256 (02-iosevka-term-2.3.3.zip) = APzmF0BfzNf79zFtrdP2s8yx4nbykQ6anN4S4/BYtNc=
SIZE (01-iosevka-2.3.3.zip) = 20624208
SIZE (02-iosevka-term-2.3.3.zip) = 16093865

View File

@ -0,0 +1,3 @@
Coders' typeface, built from code.
This package is for the 'default' variant.

View File

@ -0,0 +1,3 @@
Coders' typeface, built from code.
This package is for the 'term' variant.

View File

@ -0,0 +1,30 @@
@comment $OpenBSD: PLIST-main,v 1.1.1.1 2020/03/06 19:32:35 edd Exp $
share/fonts/
@fontdir share/fonts/iosevka/
share/fonts/iosevka/iosevka-bold.ttf
share/fonts/iosevka/iosevka-bolditalic.ttf
share/fonts/iosevka/iosevka-boldoblique.ttf
share/fonts/iosevka/iosevka-extrabold.ttf
share/fonts/iosevka/iosevka-extrabolditalic.ttf
share/fonts/iosevka/iosevka-extraboldoblique.ttf
share/fonts/iosevka/iosevka-extralight.ttf
share/fonts/iosevka/iosevka-extralightitalic.ttf
share/fonts/iosevka/iosevka-extralightoblique.ttf
share/fonts/iosevka/iosevka-heavy.ttf
share/fonts/iosevka/iosevka-heavyitalic.ttf
share/fonts/iosevka/iosevka-heavyoblique.ttf
share/fonts/iosevka/iosevka-italic.ttf
share/fonts/iosevka/iosevka-light.ttf
share/fonts/iosevka/iosevka-lightitalic.ttf
share/fonts/iosevka/iosevka-lightoblique.ttf
share/fonts/iosevka/iosevka-medium.ttf
share/fonts/iosevka/iosevka-mediumitalic.ttf
share/fonts/iosevka/iosevka-mediumoblique.ttf
share/fonts/iosevka/iosevka-oblique.ttf
share/fonts/iosevka/iosevka-regular.ttf
share/fonts/iosevka/iosevka-semibold.ttf
share/fonts/iosevka/iosevka-semibolditalic.ttf
share/fonts/iosevka/iosevka-semiboldoblique.ttf
share/fonts/iosevka/iosevka-thin.ttf
share/fonts/iosevka/iosevka-thinitalic.ttf
share/fonts/iosevka/iosevka-thinoblique.ttf

View File

@ -0,0 +1,30 @@
@comment $OpenBSD: PLIST-term,v 1.1.1.1 2020/03/06 19:32:35 edd Exp $
share/fonts/
@fontdir share/fonts/iosevka/
share/fonts/iosevka/iosevka-term-bold.ttf
share/fonts/iosevka/iosevka-term-bolditalic.ttf
share/fonts/iosevka/iosevka-term-boldoblique.ttf
share/fonts/iosevka/iosevka-term-extrabold.ttf
share/fonts/iosevka/iosevka-term-extrabolditalic.ttf
share/fonts/iosevka/iosevka-term-extraboldoblique.ttf
share/fonts/iosevka/iosevka-term-extralight.ttf
share/fonts/iosevka/iosevka-term-extralightitalic.ttf
share/fonts/iosevka/iosevka-term-extralightoblique.ttf
share/fonts/iosevka/iosevka-term-heavy.ttf
share/fonts/iosevka/iosevka-term-heavyitalic.ttf
share/fonts/iosevka/iosevka-term-heavyoblique.ttf
share/fonts/iosevka/iosevka-term-italic.ttf
share/fonts/iosevka/iosevka-term-light.ttf
share/fonts/iosevka/iosevka-term-lightitalic.ttf
share/fonts/iosevka/iosevka-term-lightoblique.ttf
share/fonts/iosevka/iosevka-term-medium.ttf
share/fonts/iosevka/iosevka-term-mediumitalic.ttf
share/fonts/iosevka/iosevka-term-mediumoblique.ttf
share/fonts/iosevka/iosevka-term-oblique.ttf
share/fonts/iosevka/iosevka-term-regular.ttf
share/fonts/iosevka/iosevka-term-semibold.ttf
share/fonts/iosevka/iosevka-term-semibolditalic.ttf
share/fonts/iosevka/iosevka-term-semiboldoblique.ttf
share/fonts/iosevka/iosevka-term-thin.ttf
share/fonts/iosevka/iosevka-term-thinitalic.ttf
share/fonts/iosevka/iosevka-term-thinoblique.ttf