aboutsummaryrefslogtreecommitdiff
path: root/x11-fonts/cascadia-code
diff options
context:
space:
mode:
authorTobias Kortkamp <tobik@FreeBSD.org>2020-05-18 17:13:08 +0000
committerTobias Kortkamp <tobik@FreeBSD.org>2020-05-18 17:13:08 +0000
commit8ccdcb39e8d5e78a22964452d2deee20403924a0 (patch)
treeb513c54e11a3079bc71d88da126a09124c26c95d /x11-fonts/cascadia-code
parent3c566e851ed40cdf390c2e84db79b59ce333887b (diff)
downloadports-8ccdcb39e8d5e78a22964452d2deee20403924a0.tar.gz
ports-8ccdcb39e8d5e78a22964452d2deee20403924a0.zip
Notes
Diffstat (limited to 'x11-fonts/cascadia-code')
-rw-r--r--x11-fonts/cascadia-code/Makefile20
-rw-r--r--x11-fonts/cascadia-code/distinfo12
2 files changed, 13 insertions, 19 deletions
diff --git a/x11-fonts/cascadia-code/Makefile b/x11-fonts/cascadia-code/Makefile
index bb244dd68a01..8247fd6b7ae2 100644
--- a/x11-fonts/cascadia-code/Makefile
+++ b/x11-fonts/cascadia-code/Makefile
@@ -1,28 +1,28 @@
# $FreeBSD$
PORTNAME= cascadia-code
-DISTVERSION= 1911.21
+DISTVERSION= 2005.15
CATEGORIES= x11-fonts
MASTER_SITES= https://github.com/microsoft/cascadia-code/releases/download/v${DISTVERSION}/
-DISTFILES= Cascadia.ttf \
- CascadiaMono.ttf \
- CascadiaMonoPL.ttf \
- CascadiaPL.ttf
-DIST_SUBDIR= ${DISTNAME}
-EXTRACT_ONLY=
+DISTNAME= CascadiaCode_${DISTVERSION}
MAINTAINER= tobik@FreeBSD.org
COMMENT= Monospaced font with programming ligatures
LICENSE= OFL11
-USES= fonts
+USES= fonts zip
NO_ARCH= yes
NO_BUILD= yes
-PLIST_FILES= ${DISTFILES:S,^,${FONTSDIR}/,}
+NO_WRKSUBDIR= yes
+PLIST_FILES= ${FONTSDIR}/CascadiaCode.ttf \
+ ${FONTSDIR}/CascadiaCodePL.ttf \
+ ${FONTSDIR}/CascadiaMono.ttf \
+ ${FONTSDIR}/CascadiaMonoPL.ttf
do-install:
@${MKDIR} ${STAGEDIR}${FONTSDIR}
- cd ${DISTDIR}/${DIST_SUBDIR} && ${INSTALL_DATA} ${DISTFILES} ${STAGEDIR}${FONTSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/ttf/*.ttf \
+ ${STAGEDIR}${FONTSDIR}
.include <bsd.port.mk>
diff --git a/x11-fonts/cascadia-code/distinfo b/x11-fonts/cascadia-code/distinfo
index 3c8e7d8f0557..d8ac0ba947dd 100644
--- a/x11-fonts/cascadia-code/distinfo
+++ b/x11-fonts/cascadia-code/distinfo
@@ -1,9 +1,3 @@
-TIMESTAMP = 1574847827
-SHA256 (cascadia-code-1911.21/Cascadia.ttf) = cf5b69933c568eac4231303a952ce57c1581dac10c6e73c70b763cf9ecaabed4
-SIZE (cascadia-code-1911.21/Cascadia.ttf) = 213476
-SHA256 (cascadia-code-1911.21/CascadiaMono.ttf) = 00dd551dd2a91377f48d4361f715494cf394c053eae7ee550ced5f0db3a9706e
-SIZE (cascadia-code-1911.21/CascadiaMono.ttf) = 195316
-SHA256 (cascadia-code-1911.21/CascadiaMonoPL.ttf) = e39856b0547b2df704520260778ba94bde5fc38c4385fbac3cc9362f2a6ab877
-SIZE (cascadia-code-1911.21/CascadiaMonoPL.ttf) = 211216
-SHA256 (cascadia-code-1911.21/CascadiaPL.ttf) = 5b612e4e3bec453bab26299eac8330f7cc68b99d685ab86c01cdc54d5d6203e9
-SIZE (cascadia-code-1911.21/CascadiaPL.ttf) = 229376
+TIMESTAMP = 1589821851
+SHA256 (CascadiaCode_2005.15.zip) = b3d8495e9cdee90d0dbaf60b7db018413e130265dc27e2be7a8db04cf98fddce
+SIZE (CascadiaCode_2005.15.zip) = 1003060