From c896f7099766a5e2c523fa50816a574d18e838cb Mon Sep 17 00:00:00 2001 From: Thierry Thomas Date: Wed, 7 Apr 2021 19:47:16 +0200 Subject: games/pinball: fix @sample. Reported by: pkg-fallout --- games/pinball/Makefile | 4 ++++ games/pinball/pkg-plist | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) (limited to 'games') 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 -- cgit v1.2.3