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 version 5
details: https://anonhg.NetBSD.org/pkgsrc/rev/5490cc606f16
branches: trunk
changeset: 374944:5490cc606f16
user: nia <nia%pkgsrc.org@localhost>
date: Fri Mar 04 07:12:50 2022 +0000
description:
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
diffstat:
games/nbsdgames/Makefile | 16 +++++++++++++---
games/nbsdgames/PLIST | 6 +++++-
games/nbsdgames/distinfo | 8 ++++----
3 files changed, 22 insertions(+), 8 deletions(-)
diffs (77 lines):
diff -r 22d0ce34ed6d -r 5490cc606f16 games/nbsdgames/Makefile
--- a/games/nbsdgames/Makefile Thu Mar 03 18:20:49 2022 +0000
+++ b/games/nbsdgames/Makefile Fri Mar 04 07:12:50 2022 +0000
@@ -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_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 @@
. 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"
diff -r 22d0ce34ed6d -r 5490cc606f16 games/nbsdgames/PLIST
--- a/games/nbsdgames/PLIST Thu Mar 03 18:20:49 2022 +0000
+++ b/games/nbsdgames/PLIST Fri Mar 04 07:12:50 2022 +0000
@@ -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/miketron
bin/mines
bin/muncher
+bin/nbsdgames
bin/pipes
bin/rabbithole
bin/redsquare
@@ -16,3 +17,6 @@
bin/snakeduel
bin/sos
bin/sudoku
+bin/tugow
+share/applications/nbsdgames.desktop
+share/icons/hicolor/scalable/apps/nbsdgames.svg
diff -r 22d0ce34ed6d -r 5490cc606f16 games/nbsdgames/distinfo
--- a/games/nbsdgames/distinfo Thu Mar 03 18:20:49 2022 +0000
+++ b/games/nbsdgames/distinfo Fri Mar 04 07:12:50 2022 +0000
@@ -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