git: c896f7099766 - main - games/pinball: fix @sample. Reported by: pkg-fallout

Thierry Thomas thierry at FreeBSD.org
Wed Apr 7 17:50:26 UTC 2021


The branch main has been updated by thierry:

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

commit c896f7099766a5e2c523fa50816a574d18e838cb
Author:     Thierry Thomas <thierry at FreeBSD.org>
AuthorDate: 2021-04-07 17:47:16 +0000
Commit:     Thierry Thomas <thierry at FreeBSD.org>
CommitDate: 2021-04-07 17:49:53 +0000

    games/pinball: fix @sample.
    Reported by:    pkg-fallout
---
 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
- at sample(,games,664) %%SCOREDIR%%/pinball/professor/highscores
- at sample(,games,664) %%SCOREDIR%%/pinball/tux/highscores
+ at sample(,games,664) %%SCOREDIR%%/pinball/professor/highscores.sample
+ at sample(,games,664) %%SCOREDIR%%/pinball/tux/highscores.sample
 @dir %%SCOREDIR%%/pinball/professor
 @dir %%SCOREDIR%%/pinball/tux
 @dir %%SCOREDIR%%/pinball


More information about the dev-commits-ports-all mailing list