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
This commit is contained in:
parent
bb13688b20
commit
4fd704d8b3
|
@ -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,${VARBASE}/games,g"
|
|||
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}/games/${file} ${GAMEDATA_PERMS}
|
|||
. 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"
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue