aboutsummaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorThierry Thomas <thierry@FreeBSD.org>2021-04-07 17:47:16 +0000
committerThierry Thomas <thierry@FreeBSD.org>2021-04-07 17:49:53 +0000
commitc896f7099766a5e2c523fa50816a574d18e838cb (patch)
tree4a4efd15f722b813049953f285ffb1fead40d277 /games
parenta6a2ee9e4a918ee8979c29cef5925d698aca4b71 (diff)
downloadports-c896f7099766a5e2c523fa50816a574d18e838cb.tar.gz
ports-c896f7099766a5e2c523fa50816a574d18e838cb.zip
games/pinball: fix @sample.
Reported by: pkg-fallout
Diffstat (limited to 'games')
-rw-r--r--games/pinball/Makefile4
-rw-r--r--games/pinball/pkg-plist4
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