git: cb4b46659e85 - main - x11-fonts/cascadia-next: Add cascadia-next g20240828

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Wed, 25 Sep 2024 18:25:12 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=cb4b46659e85c4d65fa52c29da75b064fca7fe86

commit cb4b46659e85c4d65fa52c29da75b064fca7fe86
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-09-25 17:40:55 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-09-25 18:21:52 +0000

    x11-fonts/cascadia-next: Add cascadia-next g20240828
    
    Cascadia Code is a fun, new monospaced font that includes programming ligatures
    and is designed to enhance the modern look and feel of the Windows Terminal.
    
    Cascadia Next is the next evolution of the Cascadia font family.
---
 x11-fonts/Makefile                |  1 +
 x11-fonts/cascadia-next/Makefile  | 29 +++++++++++++++++++++++++++++
 x11-fonts/cascadia-next/distinfo  |  7 +++++++
 x11-fonts/cascadia-next/pkg-descr |  4 ++++
 4 files changed, 41 insertions(+)

diff --git a/x11-fonts/Makefile b/x11-fonts/Makefile
index b2ae33246c6b..c7a5ba85323d 100644
--- a/x11-fonts/Makefile
+++ b/x11-fonts/Makefile
@@ -29,6 +29,7 @@
     SUBDIR += c64bdf
     SUBDIR += cantarell-fonts
     SUBDIR += cascadia-code
+    SUBDIR += cascadia-next
     SUBDIR += charis
     SUBDIR += charis-compact
     SUBDIR += chomsky
diff --git a/x11-fonts/cascadia-next/Makefile b/x11-fonts/cascadia-next/Makefile
new file mode 100644
index 000000000000..7a9e7337fae2
--- /dev/null
+++ b/x11-fonts/cascadia-next/Makefile
@@ -0,0 +1,29 @@
+PORTNAME=	cascadia-next
+PORTVERSION=	g20240828
+CATEGORIES=	x11-fonts
+MASTER_SITES=	https://github.com/microsoft/cascadia-code/releases/download/cascadia-next/
+DISTFILES=	CascadiaNextJP.wght.ttf \
+		CascadiaNextSC.wght.ttf \
+		CascadiaNextTC.wght.ttf
+EXTRACT_ONLY=	# empty
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Monospaced font with programming ligatures
+WWW=		https://github.com/microsoft/cascadia-code
+
+LICENSE=	OFL11
+
+USES=		fonts
+
+NO_ARCH=	yes
+NO_BUILD=	yes
+
+PLIST_FILES=	${FONTSDIR}/CascadiaNextJP.wght.ttf \
+		${FONTSDIR}/CascadiaNextSC.wght.ttf \
+		${FONTSDIR}/CascadiaNextTC.wght.ttf
+
+do-install:
+	${MKDIR} ${STAGEDIR}${FONTSDIR}
+	cd ${DISTDIR} && ${INSTALL_DATA} ${DISTFILES} ${STAGEDIR}${FONTSDIR}
+
+.include <bsd.port.mk>
diff --git a/x11-fonts/cascadia-next/distinfo b/x11-fonts/cascadia-next/distinfo
new file mode 100644
index 000000000000..6f0b4eac2952
--- /dev/null
+++ b/x11-fonts/cascadia-next/distinfo
@@ -0,0 +1,7 @@
+TIMESTAMP = 1727260369
+SHA256 (CascadiaNextJP.wght.ttf) = af8bf9ee98e2b09d376066bb971dbd84ae6bb098427edfe80d5d65efe10245cf
+SIZE (CascadiaNextJP.wght.ttf) = 4215976
+SHA256 (CascadiaNextSC.wght.ttf) = 0f2d43245faf8c9ea4c94daa2cbd07853e3108e347e96fd44e37d6aeaa8a7eef
+SIZE (CascadiaNextSC.wght.ttf) = 5834800
+SHA256 (CascadiaNextTC.wght.ttf) = 3bac961f2f511ab6707af3b0b564d1dd8e56983e7381454149d1566ed7d06ff0
+SIZE (CascadiaNextTC.wght.ttf) = 6833112
diff --git a/x11-fonts/cascadia-next/pkg-descr b/x11-fonts/cascadia-next/pkg-descr
new file mode 100644
index 000000000000..e6019d7489ed
--- /dev/null
+++ b/x11-fonts/cascadia-next/pkg-descr
@@ -0,0 +1,4 @@
+Cascadia Code is a fun, new monospaced font that includes programming ligatures
+and is designed to enhance the modern look and feel of the Windows Terminal.
+
+Cascadia Next is the next evolution of the Cascadia font family.