aboutsummaryrefslogtreecommitdiff
path: root/x11-fonts/monaspace
diff options
context:
space:
mode:
authorLi-Wen Hsu <lwhsu@FreeBSD.org>2023-11-12 16:34:50 +0000
committerLi-Wen Hsu <lwhsu@FreeBSD.org>2023-11-12 16:34:50 +0000
commit05edfd8dce10cd56bfc17c35a3901e373bd0b002 (patch)
tree9246e424b152f7c66a3a71608ec6d42aec7f005b /x11-fonts/monaspace
parentaafea13ec8abd708f405590b8c85e813d40dd2c6 (diff)
downloadports-05edfd8dce10cd56bfc17c35a3901e373bd0b002.tar.gz
ports-05edfd8dce10cd56bfc17c35a3901e373bd0b002.zip
Add x11-fonts/monaspace: Innovative superfamily of fonts for code
Diffstat (limited to 'x11-fonts/monaspace')
-rw-r--r--x11-fonts/monaspace/Makefile28
-rw-r--r--x11-fonts/monaspace/distinfo3
-rw-r--r--x11-fonts/monaspace/pkg-descr6
3 files changed, 37 insertions, 0 deletions
diff --git a/x11-fonts/monaspace/Makefile b/x11-fonts/monaspace/Makefile
new file mode 100644
index 000000000000..381b4e7e94ba
--- /dev/null
+++ b/x11-fonts/monaspace/Makefile
@@ -0,0 +1,28 @@
+PORTNAME= monaspace
+DISTVERSION= 1.000
+CATEGORIES= x11-fonts
+MASTER_SITES= https://github.com/githubnext/monaspace/releases/download/v${DISTVERSION}/
+DISTNAME= ${PORTNAME}-v${DISTVERSION}
+
+MAINTAINER= lwhsu@FreeBSD.org
+COMMENT= Innovative superfamily of fonts for code
+WWW= https://monaspace.githubnext.com
+
+LICENSE= OFL11
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+USES= fonts zip
+
+NO_ARCH= yes
+NO_BUILD= yes
+
+do-install:
+ @${MKDIR} ${STAGEDIR}${FONTSDIR}
+
+ ${INSTALL_DATA} ${WRKSRC}/fonts/otf/*.otf ${STAGEDIR}${FONTSDIR}
+ ${LS} ${STAGEDIR}${FONTSDIR}/*.otf | ${SED} -e's,^${STAGEDIR},,' >> ${TMPPLIST}
+
+ ${INSTALL_DATA} ${WRKSRC}/fonts/variable/*.ttf ${STAGEDIR}${FONTSDIR}
+ ${LS} ${STAGEDIR}${FONTSDIR}/*.ttf | ${SED} -e's,^${STAGEDIR},,' >> ${TMPPLIST}
+
+.include <bsd.port.mk>
diff --git a/x11-fonts/monaspace/distinfo b/x11-fonts/monaspace/distinfo
new file mode 100644
index 000000000000..689f6e3fcf32
--- /dev/null
+++ b/x11-fonts/monaspace/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1699806018
+SHA256 (monaspace-v1.000.zip) = 3e08376fd0aeca1f851fde0c08e18ca2d797f6a4c7a449670bf4d1270303c8f6
+SIZE (monaspace-v1.000.zip) = 122949327
diff --git a/x11-fonts/monaspace/pkg-descr b/x11-fonts/monaspace/pkg-descr
new file mode 100644
index 000000000000..3aa159d366b4
--- /dev/null
+++ b/x11-fonts/monaspace/pkg-descr
@@ -0,0 +1,6 @@
+The Monaspace type system is a monospaced type superfamily with some modern
+tricks up its sleeve. It consists of five variable axis typefaces. Each one has
+a distinct voice, but they are all metrics-compatible with one another,
+allowing you to mix and match them for a more expressive typographical palette.
+
+Letters on a grid is how we see our code. Why not make those letters better?