FreeBSD Bugzilla – Attachment 254031 Details for
Bug 281881
games/sokoban: Install xsokoban's screens
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Install xsokoban's screens.
sokoban.patch (text/plain), 2.89 KB, created by
mew14930xvi
on 2024-10-06 01:10:18 UTC
(
hide
)
Description:
Install xsokoban's screens.
Filename:
MIME Type:
Creator:
mew14930xvi
Created:
2024-10-06 01:10:18 UTC
Size:
2.89 KB
patch
obsolete
>diff --git a/games/sokoban/Makefile b/games/sokoban/Makefile >index 23d2dcef432c..ce5c3a38faa2 100644 >--- a/games/sokoban/Makefile >+++ b/games/sokoban/Makefile >@@ -8,6 +8,8 @@ DISTNAME= ${PORTNAME}-src > MAINTAINER= ports@FreeBSD.org > COMMENT= Logical game: problems with packets in cave > >+EXTRACT_DEPENDS= ${NONEXISTENT}:games/xsokoban:extract >+ > USES= ncurses > WRKSRC= ${WRKDIR}/sokoban > ALL_TARGET= >@@ -15,7 +17,9 @@ ALL_TARGET= > do-install: > ${INSTALL_PROGRAM} ${WRKSRC}/sokoban ${STAGEDIR}${PREFIX}/bin/sokoban > @${MKDIR} ${STAGEDIR}${DATADIR}/screens >- ${INSTALL_DATA} ${WRKSRC}/screens/* ${STAGEDIR}${DATADIR}/screens >+ ${INSTALL_DATA} ${WRKSRC}/screens/sokoban.help \ >+ `${MAKE} -C ${PORTSDIR}/games/xsokoban -V WRKSRC`/screens/* \ >+ ${STAGEDIR}${DATADIR}/screens > @${MKDIR} ${STAGEDIR}/var/games/sokoban > truncate -s 512 ${STAGEDIR}/var/games/sokoban/scores.sample > >diff --git a/games/sokoban/files/patch-sokoban.h b/games/sokoban/files/patch-sokoban.h >index a5e9e1a15dba..e6e0c19c327f 100644 >--- a/games/sokoban/files/patch-sokoban.h >+++ b/games/sokoban/files/patch-sokoban.h >@@ -24,3 +24,12 @@ > /**/ > /* MAXUSERNAME: defines the maximum length of a system's user name */ > /**/ >+@@ -32,7 +42,7 @@ >+ /**/ >+ /* MAXSCOREENTRIES: defines the maximum numner of entries in the scoretable */ >+ /**/ >+-#define MAXSCOREENTRIES 50 >++#define MAXSCOREENTRIES 90 >+ >+ /**/ >+ /* SUPERUSER: defines the name of the game superuser */ >diff --git a/games/sokoban/pkg-plist b/games/sokoban/pkg-plist >index a6ddd19a3fea..523b877ab157 100644 >--- a/games/sokoban/pkg-plist >+++ b/games/sokoban/pkg-plist >@@ -52,3 +52,43 @@ > %%DATADIR%%/screens/screen.48 > %%DATADIR%%/screens/screen.49 > %%DATADIR%%/screens/screen.50 >+%%DATADIR%%/screens/screen.51 >+%%DATADIR%%/screens/screen.52 >+%%DATADIR%%/screens/screen.53 >+%%DATADIR%%/screens/screen.54 >+%%DATADIR%%/screens/screen.55 >+%%DATADIR%%/screens/screen.56 >+%%DATADIR%%/screens/screen.57 >+%%DATADIR%%/screens/screen.58 >+%%DATADIR%%/screens/screen.59 >+%%DATADIR%%/screens/screen.60 >+%%DATADIR%%/screens/screen.61 >+%%DATADIR%%/screens/screen.62 >+%%DATADIR%%/screens/screen.63 >+%%DATADIR%%/screens/screen.64 >+%%DATADIR%%/screens/screen.65 >+%%DATADIR%%/screens/screen.66 >+%%DATADIR%%/screens/screen.67 >+%%DATADIR%%/screens/screen.68 >+%%DATADIR%%/screens/screen.69 >+%%DATADIR%%/screens/screen.70 >+%%DATADIR%%/screens/screen.71 >+%%DATADIR%%/screens/screen.72 >+%%DATADIR%%/screens/screen.73 >+%%DATADIR%%/screens/screen.74 >+%%DATADIR%%/screens/screen.75 >+%%DATADIR%%/screens/screen.76 >+%%DATADIR%%/screens/screen.77 >+%%DATADIR%%/screens/screen.78 >+%%DATADIR%%/screens/screen.79 >+%%DATADIR%%/screens/screen.80 >+%%DATADIR%%/screens/screen.81 >+%%DATADIR%%/screens/screen.82 >+%%DATADIR%%/screens/screen.83 >+%%DATADIR%%/screens/screen.84 >+%%DATADIR%%/screens/screen.85 >+%%DATADIR%%/screens/screen.86 >+%%DATADIR%%/screens/screen.87 >+%%DATADIR%%/screens/screen.88 >+%%DATADIR%%/screens/screen.89 >+%%DATADIR%%/screens/screen.90
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 281881
:
254031
|
254101
|
255131