git: 7ac70a4c7f13 - main - x11-fonts/rubik: Add Rubik font family
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 05 Nov 2026 17:21:34 UTC
The branch main has been updated by dch:
URL: https://cgit.FreeBSD.org/ports/commit/?id=7ac70a4c7f135b6e997c42cef39e741555f4066f
commit 7ac70a4c7f135b6e997c42cef39e741555f4066f
Author: Dave Cottlehuber <dch@FreeBSD.org>
AuthorDate: 2026-11-05 17:19:20 +0000
Commit: Dave Cottlehuber <dch@FreeBSD.org>
CommitDate: 2026-11-05 17:20:41 +0000
x11-fonts/rubik: Add Rubik font family
- add sans-serif font family with slightly rounded corners
- distribute the variable Roman and Italic fonts from the googlefonts
upstream, pinned to the e337a5 commit ("New binaries")
- supports Latin, Cyrillic, Hebrew, and Arabic scripts
Sponsored by: SkunkWerks, GmbH
---
x11-fonts/Makefile | 1 +
x11-fonts/rubik/Makefile | 25 +++++++++++++++++++++++++
x11-fonts/rubik/distinfo | 3 +++
x11-fonts/rubik/pkg-descr | 6 ++++++
x11-fonts/rubik/pkg-plist | 2 ++
5 files changed, 37 insertions(+)
diff --git a/x11-fonts/Makefile b/x11-fonts/Makefile
index 0d7dea4b2d89..cbad83a4ac89 100644
--- a/x11-fonts/Makefile
+++ b/x11-fonts/Makefile
@@ -399,6 +399,7 @@
SUBDIR += py-vfblib
SUBDIR += raleway
SUBDIR += roboto-fonts-ttf
+ SUBDIR += rubik
SUBDIR += selawik
SUBDIR += sgifonts
SUBDIR += sharefonts
diff --git a/x11-fonts/rubik/Makefile b/x11-fonts/rubik/Makefile
new file mode 100644
index 000000000000..33f496a19c50
--- /dev/null
+++ b/x11-fonts/rubik/Makefile
@@ -0,0 +1,25 @@
+PORTNAME= rubik
+DISTVERSION= 2.300
+CATEGORIES= x11-fonts
+
+MAINTAINER= dch@FreeBSD.org
+COMMENT= Sans-serif font family with slightly rounded corners
+WWW= https://fonts.google.com/specimen/Rubik
+
+LICENSE= OFL11
+LICENSE_FILE= ${WRKSRC}/OFL.txt
+
+USES= fonts
+FONTNAME= Rubik
+USE_GITHUB= yes
+GH_ACCOUNT= googlefonts
+GH_TAGNAME= e337a5f69a9bea30e58d05bd40184d79cc099628
+
+NO_ARCH= yes
+NO_BUILD= yes
+
+do-install:
+ @${MKDIR} ${STAGEDIR}${FONTSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/fonts/variable/* ${STAGEDIR}${FONTSDIR}
+
+.include <bsd.port.mk>
diff --git a/x11-fonts/rubik/distinfo b/x11-fonts/rubik/distinfo
new file mode 100644
index 000000000000..4e51671e72aa
--- /dev/null
+++ b/x11-fonts/rubik/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1793881348
+SHA256 (googlefonts-rubik-2.300-e337a5f69a9bea30e58d05bd40184d79cc099628_GH0.tar.gz) = 084747d015f017e784d5e9673c1f6479ab36100e3fead20573fef3623e438334
+SIZE (googlefonts-rubik-2.300-e337a5f69a9bea30e58d05bd40184d79cc099628_GH0.tar.gz) = 11372311
diff --git a/x11-fonts/rubik/pkg-descr b/x11-fonts/rubik/pkg-descr
new file mode 100644
index 000000000000..24a64f80c936
--- /dev/null
+++ b/x11-fonts/rubik/pkg-descr
@@ -0,0 +1,6 @@
+Rubik is a sans-serif font family with slightly rounded corners, designed
+by Philipp Hubert and Sebastian Fischer at Hubert Fischer as part of the
+Chrome CubeLab project.
+
+It is a 5 weight Roman + Italic family supporting Latin, Cyrillic,
+Hebrew, and Arabic scripts.
diff --git a/x11-fonts/rubik/pkg-plist b/x11-fonts/rubik/pkg-plist
new file mode 100644
index 000000000000..fa828f86a9c8
--- /dev/null
+++ b/x11-fonts/rubik/pkg-plist
@@ -0,0 +1,2 @@
+%%FONTSDIR%%/Rubik-Italic[wght].ttf
+%%FONTSDIR%%/Rubik[wght].ttf