pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/games/nbsdgames nbsdgames: update to 4.1.1



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c7aba5453591
branches:  trunk
changeset: 454253:c7aba5453591
user:      nia <nia%pkgsrc.org@localhost>
date:      Mon Jun 07 12:03:12 2021 +0000

description:
nbsdgames: update to 4.1.1

"Now we have both global score files with make scorefiles, and scorefiles
that would be made in home if none are found."

diffstat:

 games/nbsdgames/Makefile               |  20 +++++++++++---------
 games/nbsdgames/distinfo               |  11 +++++------
 games/nbsdgames/patches/patch-Makefile |  30 ------------------------------
 3 files changed, 16 insertions(+), 45 deletions(-)

diffs (98 lines):

diff -r 90b04b2ca8ac -r c7aba5453591 games/nbsdgames/Makefile
--- a/games/nbsdgames/Makefile  Mon Jun 07 11:59:40 2021 +0000
+++ b/games/nbsdgames/Makefile  Mon Jun 07 12:03:12 2021 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.5 2021/04/25 14:07:02 nia Exp $
+# $NetBSD: Makefile,v 1.6 2021/06/07 12:03:12 nia Exp $
 
-DISTNAME=      nbsdgames-v4.0
+DISTNAME=      nbsdgames-v4.1.1
 PKGNAME=       ${DISTNAME:S/-v/-/1}
 CATEGORIES=    games
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=abakh/}
@@ -14,6 +14,7 @@
 WRKSRC=                ${WRKDIR}/${PKGNAME_NOREV}
 
 USE_LANGUAGES= c99
+FAKE_NCURSES=  yes
 
 BUILD_DEFS+=   VARBASE
 
@@ -33,19 +34,20 @@
 SUBST_STAGE.paths=     pre-configure
 SUBST_FILES.paths+=    config.h
 SUBST_SED.paths+=      -e "s,/usr/games,${VARBASE}/games,g"
+SUBST_NOOP_OK.paths=   yes
 
 INSTALLATION_DIRS+=    bin
 
 .if empty(UNPRIVILEGED:M[yY][eE][sS])
-.  for game in pipes jewels fisher muncher miketron darrt
+.  for game in jewels sudoku mines reversi checkers battleship rabbithole \
+    sos pipes fifteen memoblocks fisher muncher miketron redsquare darrt \
+    snakeduel
 SPECIAL_PERMS+=                bin/${game} ${SETGID_GAMES_PERMS}
 .  endfor
-REQD_FILES_PERMS+=     /dev/null ${VARBASE}/games/pp_scores ${GAMEDATA_PERMS}
-REQD_FILES_PERMS+=     /dev/null ${VARBASE}/games/jw_scores ${GAMEDATA_PERMS}
-REQD_FILES_PERMS+=     /dev/null ${VARBASE}/games/fsh_scores ${GAMEDATA_PERMS}
-REQD_FILES_PERMS+=     /dev/null ${VARBASE}/games/mnch_scores ${GAMEDATA_PERMS}
-REQD_FILES_PERMS+=     /dev/null ${VARBASE}/games/mt_scores ${GAMEDATA_PERMS}
-REQD_FILES_PERMS+=     /dev/null ${VARBASE}/games/drt_scores ${GAMEDATA_PERMS}
+.  for file in pipes_scores jewels_scores miketron_scores \
+       muncher_scores fisher_scores darrt_scores
+REQD_FILES_PERMS+=     /dev/null ${VARBASE}/games/${file} ${GAMEDATA_PERMS}
+.  endfor
 .endif
 
 .include "../../mk/bsd.pkg.mk"
diff -r 90b04b2ca8ac -r c7aba5453591 games/nbsdgames/distinfo
--- a/games/nbsdgames/distinfo  Mon Jun 07 11:59:40 2021 +0000
+++ b/games/nbsdgames/distinfo  Mon Jun 07 12:03:12 2021 +0000
@@ -1,7 +1,6 @@
-$NetBSD: distinfo,v 1.1 2021/04/22 18:53:55 nia Exp $
+$NetBSD: distinfo,v 1.2 2021/06/07 12:03:12 nia Exp $
 
-SHA1 (nbsdgames-v4.0.tar.gz) = 5d85b84b76a6cd60d7582313d2a7f909af6a395e
-RMD160 (nbsdgames-v4.0.tar.gz) = b3254f172b2abc57ac26e97262a7aa7d135cef23
-SHA512 (nbsdgames-v4.0.tar.gz) = d04f0c75c07198c16c2b58a23fbf3600af26c77c5ae9694cc58127416d17212e9e2ab4b6ccd096e7e5b6ea44dea8c1854ffbcc857019e2592669388f81de16cc
-Size (nbsdgames-v4.0.tar.gz) = 276246 bytes
-SHA1 (patch-Makefile) = 9e6709a04c131bd59e15c9e81bdd58b2c3dd7e1a
+SHA1 (nbsdgames-v4.1.1.tar.gz) = c608ea48ac10e4b70b28f2bc772d05dcd0cf12ab
+RMD160 (nbsdgames-v4.1.1.tar.gz) = 4ffbd75b8ccedba95769132554aa504bf7eb94c5
+SHA512 (nbsdgames-v4.1.1.tar.gz) = e5621a0dec82edf40c93b4c6f2e4b292d223e9df99518eeed3bad3d2509c968993849d18422d6d56edf1c6036edef138578bdaf23790363b118dc231c755c0ba
+Size (nbsdgames-v4.1.1.tar.gz) = 49596 bytes
diff -r 90b04b2ca8ac -r c7aba5453591 games/nbsdgames/patches/patch-Makefile
--- a/games/nbsdgames/patches/patch-Makefile    Mon Jun 07 11:59:40 2021 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,30 +0,0 @@
-$NetBSD: patch-Makefile,v 1.1 2021/04/22 18:53:55 nia Exp $
-
-Honor CFLAGS. Don't attempt to create scores files, let pkgsrc do that.
-
---- Makefile.orig      2021-04-19 07:30:54.000000000 +0000
-+++ Makefile
-@@ -1,15 +1,4 @@
- # -*- Makefile -*-
--ifndef $(CFLAGS)
--      CFLAGS= -O3 -lncurses -Wno-unused-result
--      #-O3 --std=c99 -lcurses -DNO_MOUSE for NetBSD curses
--      #adding --std=c99 makes warnings in GNU, and the blame is upon glibc feature test macros. my code is correct.
--endif
--ifndef $(GAMES_DIR)
--      GAMES_DIR=/usr/games
--endif
--ifndef $(SCORES_DIR)
--      SCORES_DIR=/usr/games
--endif
- all: jewels sudoku mines reversi checkers battleship rabbithole sos pipes fifteen memoblocks fisher muncher miketron redsquare darrt snakeduel
- scorefiles:
-       touch $(SCORES_DIR)/pp_scores
-@@ -64,6 +53,6 @@ clean:
-       rm ./jewels ./sudoku ./checkers ./mines ./reversi ./battleship ./rabbithole ./sos ./pipes ./fifteen ./memoblocks ./fisher ./muncher ./miketron ./redsquare ./darrt ./snakeduel
- uninstall:
-       rm $(GAMES_DIR)/jewels $(GAMES_DIR)/sudoku $(GAMES_DIR)/checkers $(GAMES_DIR)/mines $(GAMES_DIR)/reversi $(GAMES_DIR)/battleship $(GAMES_DIR)/rabbithole $(GAMES_DIR)/sos $(GAMES_DIR)/pipes 
$(GAMES_DIR)/fifteen $(GAMES_DIR)/memoblocks $(GAMES_DIR)/fisher $(GAMES_DIR)/muncher $(GAMES_DIR)/miketron $(GAMES_DIR)/redsquare $(GAMES_DIR)/darrt $(GAMES_DIR)/snakeduel
--install: scorefiles jewels sudoku mines reversi checkers battleship rabbithole sos pipes fifteen memoblocks fisher muncher miketron redsquare darrt snakeduel
-+install: jewels sudoku mines reversi checkers battleship rabbithole sos pipes fifteen memoblocks fisher muncher miketron redsquare darrt snakeduel
-       cp jewels sudoku mines reversi checkers battleship rabbithole sos pipes fifteen memoblocks fisher muncher miketron redsquare darrt snakeduel $(GAMES_DIR)
- 



Home | Main Index | Thread Index | Old Index