Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Apr 2021 20:13:12 GMT
From:      Thierry Thomas <thierry@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-branches@FreeBSD.org
Subject:   git: 02294b05681f - 2021Q2 - games/pinball: fix @sample. Reported by:	pkg-fallout
Message-ID:  <202104122013.13CKDCjv064424@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch 2021Q2 has been updated by thierry:

URL: https://cgit.FreeBSD.org/ports/commit/?id=02294b05681f424f75437a96f6646fcb8671dda8

commit 02294b05681f424f75437a96f6646fcb8671dda8
Author:     Thierry Thomas <thierry@FreeBSD.org>
AuthorDate: 2021-04-07 17:47:16 +0000
Commit:     Thierry Thomas <thierry@FreeBSD.org>
CommitDate: 2021-04-12 20:12:33 +0000

    games/pinball: fix @sample.
    Reported by:    pkg-fallout
    
    (cherry picked from commit c896f7099766a5e2c523fa50816a574d18e838cb)
---
 games/pinball/Makefile  | 4 ++++
 games/pinball/pkg-plist | 4 ++--
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/games/pinball/Makefile b/games/pinball/Makefile
index 75d1d1c6b64e..ce8a1d1a4d3f 100644
--- a/games/pinball/Makefile
+++ b/games/pinball/Makefile
@@ -34,6 +34,10 @@ OPTIONS_DEFINE=	DOCS
 
 post-install:
 	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/pinball/lib*.so*
+.for table in professor tux
+	(cd ${STAGEDIR}${SCOREDIR}/${PORTNAME}/${table} &&	\
+	${MV} highscores highscores.sample)
+.endfor
 
 post-install-DOCS-on:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
diff --git a/games/pinball/pkg-plist b/games/pinball/pkg-plist
index 943d23a58514..67a282a6b3ab 100644
--- a/games/pinball/pkg-plist
+++ b/games/pinball/pkg-plist
@@ -121,8 +121,8 @@ lib/pinball/libemilia_pin.a
 %%DATADIR%%/tux/tiles.png
 %%DATADIR%%/tux/tiles.png.pcx
 %%DATADIR%%/tux/up.wav
-@sample(,games,664) %%SCOREDIR%%/pinball/professor/highscores
-@sample(,games,664) %%SCOREDIR%%/pinball/tux/highscores
+@sample(,games,664) %%SCOREDIR%%/pinball/professor/highscores.sample
+@sample(,games,664) %%SCOREDIR%%/pinball/tux/highscores.sample
 @dir %%SCOREDIR%%/pinball/professor
 @dir %%SCOREDIR%%/pinball/tux
 @dir %%SCOREDIR%%/pinball



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