Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Apr 2026 00:03:48 +0000
From:      Robert Clausecker <fuz@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: b1d32c3d8ac1 - main - games/nbsdgames: update to 6
Message-ID:  <69eea7e4.190fe.7c3ced8f@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by fuz:

URL: https://cgit.FreeBSD.org/ports/commit/?id=b1d32c3d8ac1ac0e69420b379dd78a3e6b16bcca

commit b1d32c3d8ac1ac0e69420b379dd78a3e6b16bcca
Author:     Robert Clausecker <fuz@FreeBSD.org>
AuthorDate: 2026-04-26 20:40:27 +0000
Commit:     Robert Clausecker <fuz@FreeBSD.org>
CommitDate: 2026-04-27 00:01:41 +0000

    games/nbsdgames: update to 6
    
    Now with 4 new games!
    
    Changelog: https://github.com/abakh/nbsdgames/releases/tag/v6
    
    Event:          Wiesbaden Hackathon 202604
---
 games/nbsdgames/Makefile             | 12 ++++++----
 games/nbsdgames/distinfo             |  6 ++---
 games/nbsdgames/files/patch-Makefile | 43 ++++++++++++------------------------
 games/nbsdgames/pkg-descr            |  7 +++---
 games/nbsdgames/pkg-plist            | 26 ++++++++++++++--------
 5 files changed, 46 insertions(+), 48 deletions(-)

diff --git a/games/nbsdgames/Makefile b/games/nbsdgames/Makefile
index d7cc36569380..d5a3a330d2b3 100644
--- a/games/nbsdgames/Makefile
+++ b/games/nbsdgames/Makefile
@@ -1,20 +1,20 @@
 PORTNAME=	nbsdgames
 DISTVERSIONPREFIX=	v
-DISTVERSION=	5
+DISTVERSION=	6
 CATEGORIES=	games
 
 MAINTAINER=	fuz@FreeBSD.org
-COMMENT=	17 text-based modern games
+COMMENT=	21 text-based modern games
 WWW=		https://github.com/abakh/nbsdgames
 
 LICENSE=	CC0-1.0
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-USES=	ncurses
-
+USES=		ncurses pkgconfig
 USE_GITHUB=	yes
 GH_ACCOUNT=	abakh
 
+INSTALL_TARGET=	install scorefiles manpages
 MAKE_ARGS+=	GAMES_DIR=${PREFIX}/bin \
 		MAN_DIR=${PREFIX}/share/man/man6 \
 		SCORES_DIR=/var/games/nbsdgames
@@ -34,10 +34,14 @@ _GAMES=	battleship \
 	pipes \
 	rabbithole \
 	redsquare \
+	revenge \
 	reversi \
+	scissor \
+	sjump \
 	snakeduel \
 	sos \
 	sudoku \
+	trsr \
 	tugow
 
 post-install:
diff --git a/games/nbsdgames/distinfo b/games/nbsdgames/distinfo
index 31e47d0a287d..3268636386ee 100644
--- a/games/nbsdgames/distinfo
+++ b/games/nbsdgames/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1643821944
-SHA256 (abakh-nbsdgames-v5_GH0.tar.gz) = ca81d8b854a7bf9685bbc58aabc1a24cd617cadb7e9ddac64a513d2c8ddb2e6c
-SIZE (abakh-nbsdgames-v5_GH0.tar.gz) = 58893
+TIMESTAMP = 1777234949
+SHA256 (abakh-nbsdgames-v6_GH0.tar.gz) = be261ad068ade07aeb6c75597fd03c6e3dc865fe4d9851fd95059bb6b929dcf4
+SIZE (abakh-nbsdgames-v6_GH0.tar.gz) = 69807
diff --git a/games/nbsdgames/files/patch-Makefile b/games/nbsdgames/files/patch-Makefile
index 120948dc87bf..54809cdecda1 100644
--- a/games/nbsdgames/files/patch-Makefile
+++ b/games/nbsdgames/files/patch-Makefile
@@ -1,37 +1,22 @@
---- Makefile.orig	2022-02-02 12:39:13 UTC
+--- Makefile.orig	2026-03-10 01:11:21 UTC
 +++ Makefile
-@@ -6,7 +6,7 @@
- GAMES_DIR?=/usr/games
- SCORES_DIR?=/var/games
- MAN_DIR?=/usr/share/man/man6
--CFLAGS+=  -Wno-unused-result -D SCORES_DIR=\"$(SCORES_DIR)\"
-+CFLAGS+= ${CPPFLAGS} -D SCORES_DIR=\"$(SCORES_DIR)\"
- LDFLAGS+= -lncurses -lm
+@@ -5,7 +5,7 @@ MAN_DIR?=$(PREFIX)/usr/share/man/man6
+ GAMES_DIR?=$(PREFIX)/usr/bin
+ SCORES_DIR?=$(PREFIX)/var/games
+ MAN_DIR?=$(PREFIX)/usr/share/man/man6
+-CFLAGS+= -Wno-unused-result -DSCORES_DIR=\"$(SCORES_DIR)\"
++CFLAGS+= ${CPPFLAGS} -Wno-unused-result -DSCORES_DIR=\"$(SCORES_DIR)\"
+ LIBS_PKG_CONFIG!=pkg-config --libs --cflags ncurses
+ LIBS=$(LIBS_PKG_CONFIG) -lm
  
- 
-@@ -16,11 +16,11 @@ SCORE_FILES= pipes_scores jewels_scores miketron_score
- all: $(ALL) 
+@@ -16,8 +16,8 @@ scorefiles:
+ all: $(ALL)
  
  scorefiles:
--	for sf in $(SCORE_FILES); do touch $(SCORES_DIR)/$$sf ; chmod 664 $(SCORES_DIR)/$$sf; chown :games $(SCORES_DIR)/$$sf ; done;
--	for game in $(ALL); do chown :games $(GAMES_DIR)/$$game; chmod g $(GAMES_DIR)/$$game ; done;
+-	for sf in $(SCORE_FILES); do touch $(DESTDIR)$(SCORES_DIR)/$$sf ; chmod 664 $(DESTDIR)$(SCORES_DIR)/$$sf; chown :games $(DESTDIR)$(SCORES_DIR)/$$sf ; done;
+-	for game in $(ALL); do chown :games $(DESTDIR)$(GAMES_DIR)/$$game; chmod g $(DESTDIR)$(GAMES_DIR)/$$game ; done;
 +	mkdir -p ${DESTDIR}${SCORES_DIR}
 +	for sf in $(SCORE_FILES); do touch ${DESTDIR}$(SCORES_DIR)/$$sf.sample; done;
  
  manpages:
--	cp man/* $(MAN_DIR)
-+	cp man/* ${DESTDIR}$(MAN_DIR)
- jewels: jewels.c config.h common.h
- 	$(CC) jewels.c $(LDFLAGS) $(CFLAGS) -o ./jewels
- sudoku: sudoku.c config.h 
-@@ -66,8 +66,8 @@ clean:
- 	for game in $(ALL); do rm $$game; done;
- uninstall:
- 	for game in $(ALL); do rm $(GAMES_DIR)/$$game; rm $(MAN_DIR)/$$game.6.gz ;done;
--install: $(ALL)
--	cp $(ALL)  $(GAMES_DIR)
-+install: $(ALL) manpages scorefiles
-+	cp $(ALL)  ${DESTDIR}$(GAMES_DIR)
- test:
- 	for game in $(ALL); do ./$$game ;done;
- 
+ 	cp man/* $(DESTDIR)$(MAN_DIR)
diff --git a/games/nbsdgames/pkg-descr b/games/nbsdgames/pkg-descr
index 21101d41fec6..59bf41fc9870 100644
--- a/games/nbsdgames/pkg-descr
+++ b/games/nbsdgames/pkg-descr
@@ -1,6 +1,7 @@
-A collection of terminal games including, Jewels, Sudoku, Mines,
-Reversi, Checkers, Battleship, SOS,  Rabbithole, Pipes, Fifteen,
-Memoblocks, Fisher, Muncher, Miketron, Redsquare, Darrt, and Snakeduel.
+A collection of terminal games including battleship, checkers, darrt,
+fifteen, fisher, jewels, memoblocks, miketron, mines, muncher,
+pipes, rabbithole, redsquare, revenge, reversi, scissor, sjump,
+snakeduel, sos, sudoku, trsr, and tugow.
 
 The difficulty and/or dimensions are adjustable through simple command
 line options, you can play a minesweeper game that take hours to
diff --git a/games/nbsdgames/pkg-plist b/games/nbsdgames/pkg-plist
index 528cdc899286..35680bd764c3 100644
--- a/games/nbsdgames/pkg-plist
+++ b/games/nbsdgames/pkg-plist
@@ -11,20 +11,16 @@ bin/mines
 bin/nbsdgames
 @(,games,2555) bin/pipes
 bin/rabbithole
-bin/redsquare
+@(,games,2555) bin/redsquare
+@(,games,2555) bin/revenge
 bin/reversi
+@(,games,2555) bin/scissor
+@(,games,2555) bin/sjump
 bin/snakeduel
 bin/sos
 bin/sudoku
+bin/trsr
 @(,games,2555) bin/tugow
-@dir(,games) /var/games/nbsdgames
-@sample(,games,0664) /var/games/nbsdgames/darrt_scores.sample
-@sample(,games,0664) /var/games/nbsdgames/fisher_scores.sample
-@sample(,games,0664) /var/games/nbsdgames/jewels_scores.sample
-@sample(,games,0664) /var/games/nbsdgames/muncher_scores.sample
-@sample(,games,0664) /var/games/nbsdgames/miketron_scores.sample
-@sample(,games,0664) /var/games/nbsdgames/pipes_scores.sample
-@sample(,games,0664) /var/games/nbsdgames/tugow_scores.sample
 share/applications/nbsdgames.desktop
 share/icons/hicolor/scalable/apps/nbsdgames.svg
 share/man/man6/battleship.6.gz
@@ -44,3 +40,15 @@ share/man/man6/reversi.6.gz
 share/man/man6/snakeduel.6.gz
 share/man/man6/sos.6.gz
 share/man/man6/sudoku.6.gz
+@sample(,games,0664)  /var/games/nbsdgames/darrt_scores.sample
+@sample(,games,0664)  /var/games/nbsdgames/fisher_scores.sample
+@sample(,games,0664)  /var/games/nbsdgames/jewels_scores.sample
+@sample(,games,0664)  /var/games/nbsdgames/miketron_scores.sample
+@sample(,games,0664)  /var/games/nbsdgames/muncher_scores.sample
+@sample(,games,0664)  /var/games/nbsdgames/pipes_scores.sample
+@sample(,games,0664)  /var/games/nbsdgames/redsquare_scores.sample
+@sample(,games,0664)  /var/games/nbsdgames/revenge_scores.sample
+@sample(,games,0664)  /var/games/nbsdgames/scissor_scores.sample
+@sample(,games,0664)  /var/games/nbsdgames/sjump_scores.sample
+@sample(,games,0664)  /var/games/nbsdgames/tugow_scores.sample
+@dir /var/games/nbsdgames


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69eea7e4.190fe.7c3ced8f>