Dear Ports Team, I would like to submit my first port. This is a terminal-based Minesweeper game with custom games and high score tracking. The port has been tested on OpenBSD 7.6 amd64. The game builds and installs without issues. Let me know if any further modifications are needed :)
Best regards, Julius diff -Nur ports/games/Makefile ports_new/games/Makefile --- ports/games/Makefile Mon Sep 23 17:33:56 2024 +++ ports_new/games/Makefile Sun Jan 12 23:10:41 2025 @@ -204,6 +204,7 @@ SUBDIR += micropolis SUBDIR += mightymike SUBDIR += minecraft + SUBDIR += mines-tui SUBDIR += minetest SUBDIR += mirrormagic SUBDIR += mnemosyne diff -Nur ports/games/mines-tui/Makefile ports_new/games/mines-tui/Makefile --- ports/games/mines-tui/Makefile Thu Jan 1 01:00:00 1970 +++ ports_new/games/mines-tui/Makefile Sun Jan 12 22:55:48 2025 @@ -0,0 +1,25 @@ +COMMENT = terminal based Minesweeper implementation +V = 1.0 +DISTNAME = mines-tui-${V} +CATEGORIES = games +REVISION = 0 + +HOMEPAGE = https://github.com/Judro/mines +MAINTAINER = Julius Drodofsky <jul...@drodofsky.xyz> + +# BSD +PERMIT_PACKAGE = Yes + +SITES = https://github.com/Judro/mines/releases/download/v1.0.0/ + +# uses pledge() +WANTLIB += c curses +USE_GMAKE = Yes +NO_TEST = Yes + + +do-install: + ${INSTALL_PROGRAM} ${WRKBUILD}/bin/mines-tui ${PREFIX}/bin + ${INSTALL_MAN} ${WRKBUILD}/man/mines-tui.6 ${PREFIX}/man/man6 + +.include <bsd.port.mk> diff -Nur ports/games/mines-tui/distinfo ports_new/games/mines-tui/distinfo --- ports/games/mines-tui/distinfo Thu Jan 1 01:00:00 1970 +++ ports_new/games/mines-tui/distinfo Sun Jan 12 22:55:48 2025 @@ -0,0 +1,2 @@ +SHA256 (mines-tui-1.0.tar.gz) = 7Ie5+JJKTthzCB2gMbi5NeFKMH34yRcuhYLgLzb374s= +SIZE (mines-tui-1.0.tar.gz) = 13589 diff -Nur ports/games/mines-tui/pkg/DESCR ports_new/games/mines-tui/pkg/DESCR --- ports/games/mines-tui/pkg/DESCR Thu Jan 1 01:00:00 1970 +++ ports_new/games/mines-tui/pkg/DESCR Sun Jan 12 22:55:48 2025 @@ -0,0 +1,6 @@ +mines-tui is a text-based implementation of the classic Minesweeper +game for the terminal. The objective is to uncover all tiles that +do not contain mines while avoiding those that do. Correctly marking +suspected mines with flags helps avoid accidental openings. + +For further information, check the man page. diff -Nur ports/games/mines-tui/pkg/PLIST ports_new/games/mines-tui/pkg/PLIST --- ports/games/mines-tui/pkg/PLIST Thu Jan 1 01:00:00 1970 +++ ports_new/games/mines-tui/pkg/PLIST Sun Jan 12 22:55:48 2025 @@ -0,0 +1,4 @@ +@bin bin/mines-tui +@man man/man6/mines-tui.6 +@exec mkdir -m 0777 -p /var/games/mines/save +@unexec rm -r /var/games/mines