aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2025-01-09 14:41:39 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2025-01-09 14:41:39 +0000
commit64a00e9430953dd69e69ee6a0640cfa0044d22e4 (patch)
tree87aaab907a134b19282efba37752eacd551e3d0f
parente2e9ddc21c7a1b3fcb06fd303a44fc2c3aebfb20 (diff)
games/tetrigo: New port: Tetris in terminal
-rw-r--r--games/Makefile1
-rw-r--r--games/tetrigo/Makefile20
-rw-r--r--games/tetrigo/distinfo5
-rw-r--r--games/tetrigo/pkg-descr2
4 files changed, 28 insertions, 0 deletions
diff --git a/games/Makefile b/games/Makefile
index aa5815a47c2a..288ee4dfe748 100644
--- a/games/Makefile
+++ b/games/Makefile
@@ -965,6 +965,7 @@
SUBDIR += tenebrae
SUBDIR += tesseract
SUBDIR += tesseract-data
+ SUBDIR += tetrigo
SUBDIR += tetrinet
SUBDIR += tetrinet-x
SUBDIR += tetzle
diff --git a/games/tetrigo/Makefile b/games/tetrigo/Makefile
new file mode 100644
index 000000000000..198df5b70b95
--- /dev/null
+++ b/games/tetrigo/Makefile
@@ -0,0 +1,20 @@
+PORTNAME= tetrigo
+DISTVERSIONPREFIX= v
+DISTVERSION= 0.2.0
+CATEGORIES= games
+
+MAINTAINER= yuri@FreeBSD.org
+COMMENT= Tetris in terminal
+WWW= https://github.com/Broderick-Westrope/tetrigo
+
+LICENSE= GPLv3
+LICENSE_FILE= ${WRKSRC}/LICENSE.txt
+
+USES= go:1.23,modules
+
+GO_MODULE= github.com/Broderick-Westrope/tetrigo
+GO_TARGET= ./cmd/${PORTNAME}
+
+PLIST_FILES= bin/${PORTNAME}
+
+.include <bsd.port.mk>
diff --git a/games/tetrigo/distinfo b/games/tetrigo/distinfo
new file mode 100644
index 000000000000..dfb6b6bb800d
--- /dev/null
+++ b/games/tetrigo/distinfo
@@ -0,0 +1,5 @@
+TIMESTAMP = 1736451011
+SHA256 (go/games_tetrigo/tetrigo-v0.2.0/v0.2.0.mod) = 423cb59efff9c7281711f244e98ed24fb4440000d09236896580eba4d6b2a492
+SIZE (go/games_tetrigo/tetrigo-v0.2.0/v0.2.0.mod) = 2230
+SHA256 (go/games_tetrigo/tetrigo-v0.2.0/v0.2.0.zip) = e5b7a52e720f0e48c19802c08bd5a6d79c8a9dcb1f8c48b2f10490ab07cb18b9
+SIZE (go/games_tetrigo/tetrigo-v0.2.0/v0.2.0.zip) = 9130965
diff --git a/games/tetrigo/pkg-descr b/games/tetrigo/pkg-descr
new file mode 100644
index 000000000000..80143286c772
--- /dev/null
+++ b/games/tetrigo/pkg-descr
@@ -0,0 +1,2 @@
+tetrigo is a Golang implementation of Tetris, following the official
+2009 Tetris Design Guideline.