mirror of
https://github.com/openbsd/ports.git
synced 2026-06-17 23:13:55 +02:00
69b3b985f0
This means instead of setting MODFONT_TYPES to an extension like "otf", font ports now specify filenames to install (wildcards allowed) like MODFONT_FONTFILES=*.otf. ok sthen@
25 lines
492 B
Makefile
25 lines
492 B
Makefile
V = 2111.01
|
|
COMMENT = Microsoft programming/terminal font
|
|
DISTNAME = CascadiaCode-${V}
|
|
PKGNAME = cascadia-code-${V}
|
|
EXTRACT_SUFX = .zip
|
|
CATEGORIES = fonts x11
|
|
|
|
MODFONT_FAMILY = cascadia-code
|
|
|
|
# SIL OFL 1.1
|
|
PERMIT_PACKAGE = Yes
|
|
|
|
SITES = https://github.com/microsoft/cascadia-code/releases/download/v${V}/
|
|
WRKDIST = ${WRKDIR}
|
|
|
|
MODULES = font
|
|
|
|
NO_BUILD = Yes
|
|
NO_TEST = Yes
|
|
|
|
MODFONT_FONTDIR = ${PREFIX}/share/fonts/cascadia
|
|
MODFONT_FONTFILES = ttf/*.ttf otf/static/*.otf
|
|
|
|
.include <bsd.port.mk>
|