git: ba9e83883c13 - main - games/cosmosmash: Move man pages to share/man

From: Nuno Teixeira <eduardo_at_FreeBSD.org>
Date: Sat, 09 Mar 2024 08:31:21 UTC
The branch main has been updated by eduardo:

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

commit ba9e83883c1338371b4af8a55f4300602ce3bd46
Author:     Nuno Teixeira <eduardo@FreeBSD.org>
AuthorDate: 2024-03-09 07:08:44 +0000
Commit:     Nuno Teixeira <eduardo@FreeBSD.org>
CommitDate: 2024-03-09 08:31:02 +0000

    games/cosmosmash: Move man pages to share/man
    
    Approved by:    portmgr (blanket)
---
 games/cosmosmash/Makefile  | 2 ++
 games/cosmosmash/pkg-plist | 4 ++--
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/games/cosmosmash/Makefile b/games/cosmosmash/Makefile
index fe0d33595c2d..afe82e17d7ef 100644
--- a/games/cosmosmash/Makefile
+++ b/games/cosmosmash/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	cosmosmash
 DISTVERSION=	1.4.8
+PORTREVISION=	1
 CATEGORIES=	games
 MASTER_SITES=	http://perso.b2b2c.ca/~sarrazip/dev/ \
 		LOCAL/martymac
@@ -21,6 +22,7 @@ USE_SDL=	image mixer sdl
 USE_XORG=	x11 xau xdmcp
 
 GNU_CONFIGURE=	yes
+GNU_CONFIGURE_MANPREFIX=	${PREFIX}/share
 
 PORTDOCS=	AUTHORS COPYING NEWS README THANKS
 
diff --git a/games/cosmosmash/pkg-plist b/games/cosmosmash/pkg-plist
index de9b6261424e..6c4040d8b14c 100644
--- a/games/cosmosmash/pkg-plist
+++ b/games/cosmosmash/pkg-plist
@@ -1,7 +1,5 @@
 bin/cosmosmash
-man/man6/cosmosmash.6.gz
 share/applications/cosmosmash.desktop
-share/pixmaps/cosmosmash.png
 %%DATADIR%%/sounds/rock-hit-0.wav
 %%DATADIR%%/sounds/rock-hit-1.wav
 %%DATADIR%%/sounds/player-hit.wav
@@ -9,3 +7,5 @@ share/pixmaps/cosmosmash.png
 %%DATADIR%%/sounds/saucer-shooting.wav
 %%DATADIR%%/sounds/hyperspace.wav
 %%DATADIR%%/sounds/level-finished.wav
+share/man/man6/cosmosmash.6.gz
+share/pixmaps/cosmosmash.png