pkgsrc-Changes archive

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

CVS commit: pkgsrc/games/nbsdgames



Module Name:    pkgsrc
Committed By:   nia
Date:           Fri Mar  4 07:12:50 UTC 2022

Modified Files:
        pkgsrc/games/nbsdgames: Makefile PLIST distinfo

Log Message:
nbsdgames: update to version 5

- Icon and menu shortcut included
- Tugow added
- Menu added
- Sudoku algorithm is replaced with a simple and fast algorithm that generates good puzzles in little time
- Miketron gameplay is improved upon
- RedSquare now fits in the screen
- Command-line options are now in more conventional, getopt syntax
- Minor bugfix


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 pkgsrc/games/nbsdgames/Makefile
cvs rdiff -u -r1.1 -r1.2 pkgsrc/games/nbsdgames/PLIST
cvs rdiff -u -r1.5 -r1.6 pkgsrc/games/nbsdgames/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/games/nbsdgames/Makefile
diff -u pkgsrc/games/nbsdgames/Makefile:1.7 pkgsrc/games/nbsdgames/Makefile:1.8
--- pkgsrc/games/nbsdgames/Makefile:1.7 Tue Jul 20 21:04:28 2021
+++ pkgsrc/games/nbsdgames/Makefile     Fri Mar  4 07:12:50 2022
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.7 2021/07/20 21:04:28 fcambus Exp $
+# $NetBSD: Makefile,v 1.8 2022/03/04 07:12:50 nia Exp $
 
-DISTNAME=      nbsdgames-v4.1.2
+DISTNAME=      nbsdgames-v5
 PKGNAME=       ${DISTNAME:S/-v/-/1}
 CATEGORIES=    games
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=abakh/}
@@ -37,11 +37,13 @@ SUBST_SED.paths+=   -e "s,/usr/games,${VAR
 SUBST_NOOP_OK.paths=   yes
 
 INSTALLATION_DIRS+=    bin
+INSTALLATION_DIRS+=    share/applications
+INSTALLATION_DIRS+=    share/icons/hicolor/scalable/apps
 
 .if empty(UNPRIVILEGED:M[yY][eE][sS])
 .  for game in jewels sudoku mines reversi checkers battleship rabbithole \
     sos pipes fifteen memoblocks fisher muncher miketron redsquare darrt \
-    snakeduel
+    snakeduel tugow
 SPECIAL_PERMS+=                bin/${game} ${SETGID_GAMES_PERMS}
 .  endfor
 .  for file in pipes_scores jewels_scores miketron_scores \
@@ -50,4 +52,12 @@ REQD_FILES_PERMS+=   /dev/null ${VARBASE}/
 .  endfor
 .endif
 
+post-install:
+       ${INSTALL_DATA} ${WRKSRC}/nbsdgames.desktop \
+               ${DESTDIR}${PREFIX}/share/applications
+       ${INSTALL_DATA} ${WRKSRC}/nbsdgames.svg \
+               ${DESTDIR}${PREFIX}/share/icons/hicolor/scalable/apps
+
+.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
+.include "../../sysutils/desktop-file-utils/desktopdb.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/games/nbsdgames/PLIST
diff -u pkgsrc/games/nbsdgames/PLIST:1.1 pkgsrc/games/nbsdgames/PLIST:1.2
--- pkgsrc/games/nbsdgames/PLIST:1.1    Thu Apr 22 18:53:55 2021
+++ pkgsrc/games/nbsdgames/PLIST        Fri Mar  4 07:12:50 2022
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.1 2021/04/22 18:53:55 nia Exp $
+@comment $NetBSD: PLIST,v 1.2 2022/03/04 07:12:50 nia Exp $
 bin/battleship
 bin/checkers
 bin/darrt
@@ -9,6 +9,7 @@ bin/memoblocks
 bin/miketron
 bin/mines
 bin/muncher
+bin/nbsdgames
 bin/pipes
 bin/rabbithole
 bin/redsquare
@@ -16,3 +17,6 @@ bin/reversi
 bin/snakeduel
 bin/sos
 bin/sudoku
+bin/tugow
+share/applications/nbsdgames.desktop
+share/icons/hicolor/scalable/apps/nbsdgames.svg

Index: pkgsrc/games/nbsdgames/distinfo
diff -u pkgsrc/games/nbsdgames/distinfo:1.5 pkgsrc/games/nbsdgames/distinfo:1.6
--- pkgsrc/games/nbsdgames/distinfo:1.5 Tue Oct 26 10:44:16 2021
+++ pkgsrc/games/nbsdgames/distinfo     Fri Mar  4 07:12:50 2022
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.5 2021/10/26 10:44:16 nia Exp $
+$NetBSD: distinfo,v 1.6 2022/03/04 07:12:50 nia Exp $
 
-BLAKE2s (nbsdgames-v4.1.2.tar.gz) = a5f502dd82366a213bca93132e6515abb7816813e2a999dab30722ab578a331d
-SHA512 (nbsdgames-v4.1.2.tar.gz) = 080fc09ada8c30c117c3b04440956c3df60e8eac407e0816d3bf7fe269a184275b0cfa15572bde6815bd0ba1adb73a04a2d52c4e05d7f348ae4939ac73f6a08c
-Size (nbsdgames-v4.1.2.tar.gz) = 49789 bytes
+BLAKE2s (nbsdgames-v5.tar.gz) = 2c8d70b4de1c0423dfbb90dbb5405739d93cff1fa01c8949408e39d98cbca385
+SHA512 (nbsdgames-v5.tar.gz) = 04fcc7628b7310bcbebf8ae7e1462605b2a4aa3bc7c50758e8fc54836d18c3d320a1ba5c766d388912d8f9a7a49bf78ba654f1430fdda730daa80ff189f49ffc
+Size (nbsdgames-v5.tar.gz) = 58893 bytes



Home | Main Index | Thread Index | Old Index