mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
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@gmail.com>
This commit is contained in:
parent
1a9ec2af19
commit
2f2f23c727
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=560388
@ -65,6 +65,7 @@
|
||||
SUBDIR += cs
|
||||
SUBDIR += cstream
|
||||
SUBDIR += ctm
|
||||
SUBDIR += cxxmatrix
|
||||
SUBDIR += dahdi
|
||||
SUBDIR += dahdi-kmod
|
||||
SUBDIR += dahdi-kmod26
|
||||
|
41
misc/cxxmatrix/Makefile
Normal file
41
misc/cxxmatrix/Makefile
Normal file
@ -0,0 +1,41 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= cxxmatrix
|
||||
DISTVERSION= g20201128
|
||||
CATEGORIES= misc
|
||||
|
||||
MAINTAINER= ed.arrakis@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>
|
3
misc/cxxmatrix/distinfo
Normal file
3
misc/cxxmatrix/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1609760666
|
||||
SHA256 (akinomyoga-cxxmatrix-g20201128-93e505c_GH0.tar.gz) = c6c118be8b268c5297615fb40bb9596a3a59869174879d6987e036fdb2a6e903
|
||||
SIZE (akinomyoga-cxxmatrix-g20201128-93e505c_GH0.tar.gz) = 23446
|
16
misc/cxxmatrix/pkg-descr
Normal file
16
misc/cxxmatrix/pkg-descr
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user