Files
ports/fonts/cascadia-code/Makefile
T
bentley 69b3b985f0 Rework font install target to accept filenames instead of file extensions.
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@
2024-07-11 12:54:41 +00:00

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>