Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Aug 2014 19:27:57 +0000 (UTC)
From:      John Marino <marino@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r365125 - in head/games/bsdtris: . files
Message-ID:  <201408161927.s7GJRvKg017327@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201408161927.s7GJRvKg017327>