git: 848c99decac9 - main - games/tmatrix: New port

From: Dries Michiels <driesm_at_FreeBSD.org>
Date: Mon, 20 Dec 2021 10:59:47 UTC
The branch main has been updated by driesm:

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

commit 848c99decac91ebb9a33fa147c6dbfefcb7c0d8d
Author:     Dries Michiels <driesm@FreeBSD.org>
AuthorDate: 2021-12-19 09:30:20 +0000
Commit:     Dries Michiels <driesm@FreeBSD.org>
CommitDate: 2021-12-20 10:57:31 +0000

    games/tmatrix: New port
    
    Terminal based replica of the digital rain from The Matrix
    
    Approved by:            0mp (mentor)
    Differential Revision:  https://reviews.freebsd.org/D33557
---
 games/Makefile          |  1 +
 games/tmatrix/Makefile  | 29 +++++++++++++++++++++++++++++
 games/tmatrix/distinfo  |  3 +++
 games/tmatrix/pkg-descr |  6 ++++++
 4 files changed, 39 insertions(+)

diff --git a/games/Makefile b/games/Makefile
index a1a058722041..0ad00072c703 100644
--- a/games/Makefile
+++ b/games/Makefile
@@ -953,6 +953,7 @@
     SUBDIR += thegrind
     SUBDIR += tileworld
     SUBDIR += tkmoo
+    SUBDIR += tmatrix
     SUBDIR += tomatoes
     SUBDIR += tome4
     SUBDIR += tome4-beta
diff --git a/games/tmatrix/Makefile b/games/tmatrix/Makefile
new file mode 100644
index 000000000000..efdf4d35569a
--- /dev/null
+++ b/games/tmatrix/Makefile
@@ -0,0 +1,29 @@
+PORTNAME=	tmatrix
+DISTVERSIONPREFIX=	v
+DISTVERSION=	1.4
+CATEGORIES=	games
+
+MAINTAINER=	driesm@FreeBSD.org
+COMMENT=	Terminal based replica of the digital rain from The Matrix
+
+LICENSE=	GPLv2+
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+USES=		cmake ncurses
+USE_GITHUB=	yes
+GH_ACCOUNT=	M4444
+GH_PROJECT=	TMatrix
+
+PLIST_FILES=	bin/tmatrix \
+		share/bash-completion/completions/tmatrix \
+		share/man/man6/tmatrix.6.gz \
+		share/zsh/site-functions/_tmatrix
+PORTDOCS=	README.md
+
+OPTIONS_DEFINE=	DOCS
+
+do-install-DOCS-on:
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}
+
+.include <bsd.port.mk>
diff --git a/games/tmatrix/distinfo b/games/tmatrix/distinfo
new file mode 100644
index 000000000000..13f2e44d18df
--- /dev/null
+++ b/games/tmatrix/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1639906602
+SHA256 (M4444-TMatrix-v1.4_GH0.tar.gz) = 99591915fa83ceb98c31a97b5686a2df0d667c5d62f3e82837f76e5f9243710e
+SIZE (M4444-TMatrix-v1.4_GH0.tar.gz) = 6324927
diff --git a/games/tmatrix/pkg-descr b/games/tmatrix/pkg-descr
new file mode 100644
index 000000000000..d495f3ef9fac
--- /dev/null
+++ b/games/tmatrix/pkg-descr
@@ -0,0 +1,6 @@
+TMatrix is a program that simulates the digital rain from The Matrix.
+It's focused on being the most accurate replica of the digital rain
+effect achievable on a typical terminal, while also being customizable
+and performant.
+
+WWW: https://github.com/M4444/TMatrix