mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-21 00:25:50 +00:00
games/bsdtris: Fix highscores file location
I missed one change after relocating the highscores file from $PREFIX/var/games to /var/games, so fix that now. Noticed by: Christian Mangin PR: 192691
This commit is contained in:
parent
7a974f5e0c
commit
b788f1f865
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=365125
@ -3,7 +3,7 @@
|
||||
|
||||
PORTNAME= bsdtris
|
||||
PORTVERSION= 1.1
|
||||
PORTREVISION= 1
|
||||
PORTREVISION= 2
|
||||
CATEGORIES= games
|
||||
MASTER_SITES= http://www.mavetju.org/download/adopted/
|
||||
DISTNAME= ${PORTNAME}-01092003
|
||||
@ -13,7 +13,4 @@ COMMENT= BSD version of text-based Tetris game
|
||||
|
||||
NO_WRKSUBDIR= yes
|
||||
|
||||
post-patch:
|
||||
${REINPLACE_CMD} -E "s|%%PREFIX%%|${PREFIX}|" ${WRKSRC}/pathnames.h
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,8 +1,8 @@
|
||||
--- pathnames.h.orig Tue Apr 1 23:06:45 2003
|
||||
+++ pathnames.h Tue Apr 1 23:07:14 2003
|
||||
@@ -39,4 +39,4 @@
|
||||
--- pathnames.h.orig 2003-06-03 03:01:41 UTC
|
||||
+++ pathnames.h
|
||||
@@ -35,4 +35,4 @@
|
||||
* @(#)pathnames.h 8.1 (Berkeley) 5/31/93
|
||||
*/
|
||||
|
||||
-#define _PATH_SCOREFILE "/var/games/tetris.scores"
|
||||
+#define _PATH_SCOREFILE "%%PREFIX%%/var/games/bsdtris.scores"
|
||||
+#define _PATH_SCOREFILE "/var/games/bsdtris.scores"
|
||||
|
Loading…
Reference in New Issue
Block a user