git: ddc9caf83256 - main - games/hangman: Move man pages to share/man

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

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

commit ddc9caf83256bd4f1511b7ef8687335988bdfe21
Author:     Nuno Teixeira <eduardo@FreeBSD.org>
AuthorDate: 2024-03-09 09:03:05 +0000
Commit:     Nuno Teixeira <eduardo@FreeBSD.org>
CommitDate: 2024-03-09 11:04:50 +0000

    games/hangman: Move man pages to share/man
    
    Approved by:    portmgr (blanket)
---
 games/hangman/Makefile | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/games/hangman/Makefile b/games/hangman/Makefile
index a33cb734fa44..6107b88f695c 100644
--- a/games/hangman/Makefile
+++ b/games/hangman/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	hangman
 PORTVERSION=	0.9.2
-PORTREVISION=	12
+PORTREVISION=	13
 CATEGORIES=	games
 MASTER_SITES=	http://www.shiftygames.com/hangman/ \
 		http://mirror.amdmi3.ru/distfiles/
@@ -12,6 +12,7 @@ WWW=		http://www.shiftygames.com/hangman/hangman.html
 CONFLICTS=	bsdgames
 
 GNU_CONFIGURE=	yes
+GNU_CONFIGURE_MANPREFIX=	${PREFIX}/share
 USES=		gmake sdl
 USE_CSTD=	gnu89
 USE_SDL=	sdl mixer image ttf
@@ -20,7 +21,7 @@ CONFIGURE_ENV=	SDL_CONFIG="${SDL_CONFIG}"
 CPPFLAGS+=	`${SDL_CONFIG} --cflags`
 LDFLAGS+=	`${SDL_CONFIG} --libs`
 
-PLIST_FILES=	bin/${PORTNAME} man/man6/${PORTNAME}.6.gz
+PLIST_FILES=	bin/${PORTNAME} share/man/man6/${PORTNAME}.6.gz
 PORTDATA=	*
 
 .include <bsd.port.pre.mk>