FreeBSD Bugzilla – Attachment 147579 Details for
Bug 193852
[maintainer] [patch] [pkg-plist] games/sokoban: chase pkg 1.3.8, add @sample
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
sokoban pkg-plist, fixes
sokoban.diff (text/plain), 2.15 KB, created by
Nikolai Lifanov
on 2014-09-22 22:28:11 UTC
(
hide
)
Description:
sokoban pkg-plist, fixes
Filename:
MIME Type:
Creator:
Nikolai Lifanov
Created:
2014-09-22 22:28:11 UTC
Size:
2.15 KB
patch
obsolete
>Index: files/patch-sokoban.h >=================================================================== >--- files/patch-sokoban.h (revision 32339) >+++ files/patch-sokoban.h (revision 32342) >@@ -1,5 +1,5 @@ >---- ./sokoban.h.orig 1992-05-15 01:15:26.000000000 -0400 >-+++ ./sokoban.h 2014-03-11 22:16:45.005739636 -0400 >+--- sokoban.h.orig 1992-05-15 05:15:26 UTC >++++ sokoban.h > @@ -1,6 +1,14 @@ > /*********************************************************************** > You may wish to alter the following directory paths >@@ -7,9 +7,9 @@ > + > +#ifdef PREFIX > +#define SCREENPATH PREFIX "/share/sokoban/screens" >-+#define SAVEPATH PREFIX "/share/sokoban" >++#define SAVEPATH "/var/games/sokoban" > +#define LOCKFILE "/tmp/sok.tmp" >-+#define SCOREFILE "/var/games/sokoban" >++#define SCOREFILE "/var/games/sokoban/scores" > +#else > + > /**/ >Index: pkg-plist >=================================================================== >--- pkg-plist (revision 32339) >+++ pkg-plist (revision 32342) >@@ -1,11 +1,6 @@ >-@group games >-@mode 2555 >-bin/sokoban >-@group >-@mode >-@exec truncate -s 512B /var/games/sokoban >-@exec chgrp games /var/games/sokoban >-@exec chmod 0664 /var/games/sokoban >+@(root,games,2555) bin/sokoban >+@dir(root,games,0775) /var/games/sokoban >+@sample(root,games,0664) /var/games/sokoban/scores.sample > %%DATADIR%%/screens/sokoban.help > %%DATADIR%%/screens/screen.1 > %%DATADIR%%/screens/screen.2 >@@ -57,6 +52,3 @@ > %%DATADIR%%/screens/screen.48 > %%DATADIR%%/screens/screen.49 > %%DATADIR%%/screens/screen.50 >-@dirrm %%DATADIR%%/screens >-@dirrm %%DATADIR%% >-@unexec rm -f /var/games/sokoban >Index: Makefile >=================================================================== >--- Makefile (revision 32339) >+++ Makefile (revision 32342) >@@ -3,7 +3,7 @@ > > PORTNAME= sokoban > PORTVERSION= 1.0 >-PORTREVISION= 1 >+PORTREVISION= 2 > CATEGORIES= games > MASTER_SITES= ${MASTER_SITE_SUNSITE} > MASTER_SITE_SUBDIR= games/strategy >@@ -20,4 +20,8 @@ > @${MKDIR} ${STAGEDIR}${DATADIR}/screens > @${INSTALL_DATA} ${WRKSRC}/screens/* ${STAGEDIR}${DATADIR}/screens > >+post-install: >+ @${MKDIR} ${STAGEDIR}/var/games/sokoban >+ @truncate -s 512B ${STAGEDIR}/var/games/sokoban/scores.sample >+ > .include <bsd.port.mk>
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
Flags:
lifanov
:
maintainer-approval+
Actions:
View
|
Diff
Attachments on
bug 193852
:
147577
| 147579