From b788f1f865fc1d15aceffa043fe4e08418694ffb Mon Sep 17 00:00:00 2001 From: John Marino Date: Sat, 16 Aug 2014 19:27:57 +0000 Subject: [PATCH] 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 --- games/bsdtris/Makefile | 5 +---- games/bsdtris/files/patch-pathnames.h | 8 ++++---- 2 files changed, 5 insertions(+), 8 deletions(-) diff --git a/games/bsdtris/Makefile b/games/bsdtris/Makefile index 39a3c7cd4634..1059108f0514 100644 --- a/games/bsdtris/Makefile +++ b/games/bsdtris/Makefile @@ -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 diff --git a/games/bsdtris/files/patch-pathnames.h b/games/bsdtris/files/patch-pathnames.h index 7fea299ee491..cd10a3e20817 100644 --- a/games/bsdtris/files/patch-pathnames.h +++ b/games/bsdtris/files/patch-pathnames.h @@ -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"