svn commit: r560388 - in head/misc: . cxxmatrix
Koichiro Iwao
meta at FreeBSD.org
Tue Jan 5 12:47:14 UTC 2021
Author: meta
Date: Tue Jan 5 12:47:13 2021
New Revision: 560388
URL: https://svnweb.freebsd.org/changeset/ports/560388
Log:
New port: misc/cxxmatrix: C++ Matrix: The Matrix Reloaded in Terminals
C++ Matrix: The Matrix Reloaded in Terminals (Number falls, Banners,
Matrix rains, Conway's Game of Life and Mandelbrot set)
I wrote a simple terminal program of Matrix digital rain.
A part of the purpose of this program is to test the performance
of terminal emulators. Another purpose is just for fun.
Enjoy it with fast terminals (e.g., urxvt, alacritty, terminology, etc.)!
Features
- Hankaku kana characters as in the original film
- Ten levels of "green"s using terminal 256 color support
- Twinkling effects by adding random brightness fluctuations
- Diffused reflection effects by cell background colors
WWW: https://github.com/akinomyoga/cxxmatrix
PR: 252433
Submitted by: Nuno Teixeira <ed.arrakis at gmail.com>
Added:
head/misc/cxxmatrix/
head/misc/cxxmatrix/Makefile (contents, props changed)
head/misc/cxxmatrix/distinfo (contents, props changed)
head/misc/cxxmatrix/pkg-descr (contents, props changed)
Modified:
head/misc/Makefile
Modified: head/misc/Makefile
==============================================================================
--- head/misc/Makefile Tue Jan 5 12:27:15 2021 (r560387)
+++ head/misc/Makefile Tue Jan 5 12:47:13 2021 (r560388)
@@ -65,6 +65,7 @@
SUBDIR += cs
SUBDIR += cstream
SUBDIR += ctm
+ SUBDIR += cxxmatrix
SUBDIR += dahdi
SUBDIR += dahdi-kmod
SUBDIR += dahdi-kmod26
Added: head/misc/cxxmatrix/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/misc/cxxmatrix/Makefile Tue Jan 5 12:47:13 2021 (r560388)
@@ -0,0 +1,41 @@
+# $FreeBSD$
+
+PORTNAME= cxxmatrix
+DISTVERSION= g20201128
+CATEGORIES= misc
+
+MAINTAINER= ed.arrakis at gmail.com
+COMMENT= C++ Matrix: The Matrix Reloaded in Terminals
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE.md
+
+BUILD_DEPENDS= gawk:lang/gawk
+
+USES= compiler:c++17-lang gmake
+MAKEFILE= GNUmakefile
+USE_GITHUB= yes
+GH_ACCOUNT= akinomyoga
+GH_TAGNAME= 93e505c
+
+PORTDOCS= README.md
+PLIST_FILES= bin/cxxmatrix \
+ share/man/man1/cxxmatrix.1.gz
+
+OPTIONS_DEFINE= DOCS
+
+post-patch:
+ @${REINPLACE_CMD} \
+ -e 's|CXXFLAGS :=|CXXFLAGS +=|g' \
+ -e 's|-Ofast||g' \
+ ${WRKSRC}/GNUmakefile
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/cxxmatrix ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/cxxmatrix.1 ${STAGEDIR}${PREFIX}/share/man/man1
+
+do-install-DOCS-on:
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}
+
+.include <bsd.port.mk>
Added: head/misc/cxxmatrix/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/misc/cxxmatrix/distinfo Tue Jan 5 12:47:13 2021 (r560388)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1609760666
+SHA256 (akinomyoga-cxxmatrix-g20201128-93e505c_GH0.tar.gz) = c6c118be8b268c5297615fb40bb9596a3a59869174879d6987e036fdb2a6e903
+SIZE (akinomyoga-cxxmatrix-g20201128-93e505c_GH0.tar.gz) = 23446
Added: head/misc/cxxmatrix/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/misc/cxxmatrix/pkg-descr Tue Jan 5 12:47:13 2021 (r560388)
@@ -0,0 +1,16 @@
+C++ Matrix: The Matrix Reloaded in Terminals (Number falls, Banners,
+Matrix rains, Conway's Game of Life and Mandelbrot set)
+
+I wrote a simple terminal program of Matrix digital rain.
+A part of the purpose of this program is to test the performance
+of terminal emulators. Another purpose is just for fun.
+Enjoy it with fast terminals (e.g., urxvt, alacritty, terminology, etc.)!
+
+Features
+
+- Hankaku kana characters as in the original film
+- Ten levels of "green"s using terminal 256 color support
+- Twinkling effects by adding random brightness fluctuations
+- Diffused reflection effects by cell background colors
+
+WWW: https://github.com/akinomyoga/cxxmatrix
More information about the svn-ports-head
mailing list