aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmanuel Haupt <ehaupt@FreeBSD.org>2023-04-17 08:50:02 +0000
committerEmanuel Haupt <ehaupt@FreeBSD.org>2023-04-17 08:50:51 +0000
commit2ba9f4ad2035e6e3fba36aa76a0bd66e29042d85 (patch)
tree736a7dfa415b9aeb93307577c89a3aa770c79eb8
parent5313af7a3a8d902361858fd26a3072d936b708b8 (diff)
downloadports-2ba9f4ad2035e6e3fba36aa76a0bd66e29042d85.tar.gz
ports-2ba9f4ad2035e6e3fba36aa76a0bd66e29042d85.zip
games/fakesteak: Add new port
Implementation of the digital character rain as seen in "The Matrix". Some things you might like about fakesteak: * Small footprint (low on RAM and disk usage) * Good performance (low on CPU usage) * Looks pretty close to the original (fading, glitches) * Basic customization via command line options * No dependencies (not even ncurses)
-rw-r--r--games/Makefile1
-rw-r--r--games/fakesteak/Makefile18
-rw-r--r--games/fakesteak/distinfo3
-rw-r--r--games/fakesteak/files/patch-Makefile28
-rw-r--r--games/fakesteak/pkg-descr9
5 files changed, 59 insertions, 0 deletions
diff --git a/games/Makefile b/games/Makefile
index 8d6f40dea66f..b30422838bc5 100644
--- a/games/Makefile
+++ b/games/Makefile
@@ -256,6 +256,7 @@
SUBDIR += ezquake
SUBDIR += f1spirit-remake
SUBDIR += fairymax
+ SUBDIR += fakesteak
SUBDIR += falconseye
SUBDIR += fargoal
SUBDIR += fbg2
diff --git a/games/fakesteak/Makefile b/games/fakesteak/Makefile
new file mode 100644
index 000000000000..0beb705ed264
--- /dev/null
+++ b/games/fakesteak/Makefile
@@ -0,0 +1,18 @@
+PORTNAME= fakesteak
+PORTVERSION= 0.2.4
+DISTVERSIONPREFIX= v
+CATEGORIES= games
+
+MAINTAINER= ehaupt@FreeBSD.org
+COMMENT= Implementation of the digital character rain as seen in "The Matrix"
+WWW= https://github.com/domsson/fakesteak
+
+LICENSE= CC0-1.0
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+USE_GITHUB= yes
+GH_ACCOUNT= domsson
+
+PLIST_FILES= bin/fakesteak
+
+.include <bsd.port.mk>
diff --git a/games/fakesteak/distinfo b/games/fakesteak/distinfo
new file mode 100644
index 000000000000..1f4d40146aff
--- /dev/null
+++ b/games/fakesteak/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1681711262
+SHA256 (domsson-fakesteak-v0.2.4_GH0.tar.gz) = 0f183a2727e84d2e128e3192d4cff3e180393c9c39b598fa1c4bfe8c70a4eb1a
+SIZE (domsson-fakesteak-v0.2.4_GH0.tar.gz) = 55848
diff --git a/games/fakesteak/files/patch-Makefile b/games/fakesteak/files/patch-Makefile
new file mode 100644
index 000000000000..d00ee7b59cd7
--- /dev/null
+++ b/games/fakesteak/files/patch-Makefile
@@ -0,0 +1,28 @@
+--- Makefile.orig 2020-11-18 09:14:32 UTC
++++ Makefile
+@@ -1,7 +1,7 @@
+-CC := cc
+-CFLAGS += -Wall -O3
+-LDLIBS := -lm
+-PREFIX := /usr/local/
++CC ?= cc
++CFLAGS ?= -Wall -O3
++LDLIBS += -lm
++PREFIX ?= /usr/local/
+ NAME := fakesteak
+
+ all bin/$(NAME):
+@@ -12,9 +12,10 @@ debug: CFLAGS += -g
+ debug: all
+
+ install: bin/$(NAME)
+- mkdir -p $(PREFIX)/bin
+- cp bin/$(NAME) $(PREFIX)/bin
+- chmod +x $(PREFIX)/bin/$(NAME)
++ mkdir -p $(DESTDIR)$(PREFIX)/bin
++ cp bin/$(NAME) $(DESTDIR)$(PREFIX)/bin
++ chmod +x $(DESTDIR)$(PREFIX)/bin/$(NAME)
++ strip $(DESTDIR)$(PREFIX)/bin/$(NAME)
+
+ uninstall:
+ rm $(PREFIX)/bin/$(NAME)
diff --git a/games/fakesteak/pkg-descr b/games/fakesteak/pkg-descr
new file mode 100644
index 000000000000..d6f87a078274
--- /dev/null
+++ b/games/fakesteak/pkg-descr
@@ -0,0 +1,9 @@
+Implementation of the digital character rain as seen in "The Matrix".
+
+Some things you might like about fakesteak:
+
+ * Small footprint (low on RAM and disk usage)
+ * Good performance (low on CPU usage)
+ * Looks pretty close to the original (fading, glitches)
+ * Basic customization via command line options
+ * No dependencies (not even ncurses)