svn commit: r365125 - in head/games/bsdtris: . files
John Marino
marino at FreeBSD.org
Sat Aug 16 19:27:58 UTC 2014
Author: marino
Date: Sat Aug 16 19:27:57 2014
New Revision: 365125
URL: http://svnweb.freebsd.org/changeset/ports/365125
QAT: https://qat.redports.org/buildarchive/r365125/
Log:
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
Modified:
head/games/bsdtris/Makefile
head/games/bsdtris/files/patch-pathnames.h
Modified: head/games/bsdtris/Makefile
==============================================================================
--- head/games/bsdtris/Makefile Sat Aug 16 19:25:06 2014 (r365124)
+++ head/games/bsdtris/Makefile Sat Aug 16 19:27:57 2014 (r365125)
@@ -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 Tetri
NO_WRKSUBDIR= yes
-post-patch:
- ${REINPLACE_CMD} -E "s|%%PREFIX%%|${PREFIX}|" ${WRKSRC}/pathnames.h
-
.include <bsd.port.mk>
Modified: head/games/bsdtris/files/patch-pathnames.h
==============================================================================
--- head/games/bsdtris/files/patch-pathnames.h Sat Aug 16 19:25:06 2014 (r365124)
+++ head/games/bsdtris/files/patch-pathnames.h Sat Aug 16 19:27:57 2014 (r365125)
@@ -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"
More information about the svn-ports-all
mailing list