git: 9dee667ab8b1 - main - x11-fonts/commit-mono: Add new port
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 02 Sep 2023 01:10:48 UTC
The branch main has been updated by lcook:
URL: https://cgit.FreeBSD.org/ports/commit/?id=9dee667ab8b1fbddb4260eb0cc140c08d37a33d3
commit 9dee667ab8b1fbddb4260eb0cc140c08d37a33d3
Author: Lewis Cook <lcook@FreeBSD.org>
AuthorDate: 2023-09-02 01:07:56 +0000
Commit: Lewis Cook <lcook@FreeBSD.org>
CommitDate: 2023-09-02 01:10:38 +0000
x11-fonts/commit-mono: Add new port
Commit Mono is an anonymous and neutral coding font
focused on creating a better reading experience.
WWW: https://commitmono.com/
---
x11-fonts/Makefile | 1 +
x11-fonts/commit-mono/Makefile | 24 ++++++++++++++++++++++++
x11-fonts/commit-mono/distinfo | 3 +++
x11-fonts/commit-mono/pkg-descr | 2 ++
x11-fonts/commit-mono/pkg-plist | 4 ++++
5 files changed, 34 insertions(+)
diff --git a/x11-fonts/Makefile b/x11-fonts/Makefile
index fc7c68c10340..c0bd13ff5c89 100644
--- a/x11-fonts/Makefile
+++ b/x11-fonts/Makefile
@@ -36,6 +36,7 @@
SUBDIR += code2000
SUBDIR += comfortaa-ttf
SUBDIR += comic-neue
+ SUBDIR += commit-mono
SUBDIR += consolamono-ttf
SUBDIR += courier-prime
SUBDIR += cozette
diff --git a/x11-fonts/commit-mono/Makefile b/x11-fonts/commit-mono/Makefile
new file mode 100644
index 000000000000..bbe3f84e0a3e
--- /dev/null
+++ b/x11-fonts/commit-mono/Makefile
@@ -0,0 +1,24 @@
+PORTNAME= commit-mono
+DISTVERSION= 1.135
+CATEGORIES= x11-fonts
+MASTER_SITES= https://github.com/eigilnikolajsen/commit-mono/releases/download/${DISTVERSION}/
+DISTNAME= CommitMono-${DISTVERSION}
+
+MAINTAINER= lcook@FreeBSD.org
+COMMENT= Neutral programming typeface
+WWW= https://commitmono.com
+
+LICENSE= OFL11
+
+USES= fonts zip
+FONTNAME= CommitMono
+
+NO_ARCH= yes
+NO_BUILD= yes
+NO_WRKSUBDIR= yes
+
+do-install:
+ @${MKDIR} ${STAGEDIR}${FONTSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/*.otf ${STAGEDIR}${FONTSDIR}
+
+.include <bsd.port.mk>
diff --git a/x11-fonts/commit-mono/distinfo b/x11-fonts/commit-mono/distinfo
new file mode 100644
index 000000000000..398051a50ecc
--- /dev/null
+++ b/x11-fonts/commit-mono/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1693616137
+SHA256 (CommitMono-1.135.zip) = 6f6d6d3d000fd627ca1c8c9951dbe296942b547f3a4eeb2413be618f60519f39
+SIZE (CommitMono-1.135.zip) = 237106
diff --git a/x11-fonts/commit-mono/pkg-descr b/x11-fonts/commit-mono/pkg-descr
new file mode 100644
index 000000000000..d7e97f940d90
--- /dev/null
+++ b/x11-fonts/commit-mono/pkg-descr
@@ -0,0 +1,2 @@
+Commit Mono is an anonymous and neutral coding font
+focused on creating a better reading experience.
diff --git a/x11-fonts/commit-mono/pkg-plist b/x11-fonts/commit-mono/pkg-plist
new file mode 100644
index 000000000000..ef35ff861b72
--- /dev/null
+++ b/x11-fonts/commit-mono/pkg-plist
@@ -0,0 +1,4 @@
+%%FONTSDIR%%/CommitMono-450-Italic.otf
+%%FONTSDIR%%/CommitMono-450-Regular.otf
+%%FONTSDIR%%/CommitMono-700-Italic.otf
+%%FONTSDIR%%/CommitMono-700-Regular.otf