git: 801e6208ae8f - main - games/freecell-solver: Move man pages to share/man

From: Vladimir Druzenko <vvd_at_FreeBSD.org>
Date: Tue, 05 Mar 2024 23:39:50 UTC
The branch main has been updated by vvd:

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

commit 801e6208ae8fd18553b0dc3f4fe8bad5563b8002
Author:     Vladimir Druzenko <vvd@FreeBSD.org>
AuthorDate: 2024-03-05 21:39:49 +0000
Commit:     Vladimir Druzenko <vvd@FreeBSD.org>
CommitDate: 2024-03-05 23:35:46 +0000

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

diff --git a/games/freecell-solver/Makefile b/games/freecell-solver/Makefile
index 748a1b650483..58f11376462e 100644
--- a/games/freecell-solver/Makefile
+++ b/games/freecell-solver/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	freecell-solver
 PORTVERSION=	6.2.0
+PORTREVISION=	1
 CATEGORIES=	games
 MASTER_SITES=	http://fc-solve.shlomifish.org/downloads/fc-solve/
 
@@ -46,9 +47,6 @@ TCMALLOC_LIB_DEPENDS=	libtcmalloc.so:devel/google-perftools
 TCMALLOC_CMAKE_OFF=	-DFCS_AVOID_TCMALLOC:BOOL=ON
 
 post-patch:
-.for f in Shlomif_Common.cmake
-	@${REINPLACE_CMD} -e 's|share/man|man|' ${WRKSRC}/cmake/${f}
-.endfor
 .for f in children-playing-ball.sh sentient-pearls.sh
 	@${REINPLACE_CMD} -e 's|/bin/bash|/bin/sh|' ${WRKSRC}/Presets/presets/${f}
 .endfor
diff --git a/games/freecell-solver/pkg-plist b/games/freecell-solver/pkg-plist
index f248e087d3d4..7eef52d9f782 100644
--- a/games/freecell-solver/pkg-plist
+++ b/games/freecell-solver/pkg-plist
@@ -25,14 +25,6 @@ lib/libfreecell-solver.so
 lib/libfreecell-solver.so.0
 lib/libfreecell-solver.so.0.7.0
 libdata/pkgconfig/libfreecell-solver.pc
-man/man6/dbm-fc-solver.6.gz
-man/man6/fc-solve-board_gen.6.gz
-man/man6/fc-solve.6.gz
-man/man6/freecell-solver-range-parallel-solve.6.gz
-man/man6/gen-multiple-pysol-layouts.6.gz
-man/man6/make_pysol_freecell_board.py.6.gz
-man/man6/pi-make-microsoft-freecell-board.6.gz
-man/man6/transpose-freecell-board.py.6.gz
 %%PORTDOCS%%%%DOCSDIR%%/AUTHORS
 %%PORTDOCS%%%%DOCSDIR%%/AUTHORS.asciidoc
 %%PORTDOCS%%%%DOCSDIR%%/COPYING
@@ -80,3 +72,11 @@ man/man6/transpose-freecell-board.py.6.gz
 %%DATADIR%%/presets/toons-for-twenty-somethings.sh
 %%DATADIR%%/presets/video-editing.sh
 %%DATADIR%%/presets/yellow-brick-road.sh
+share/man/man6/dbm-fc-solver.6.gz
+share/man/man6/fc-solve-board_gen.6.gz
+share/man/man6/fc-solve.6.gz
+share/man/man6/freecell-solver-range-parallel-solve.6.gz
+share/man/man6/gen-multiple-pysol-layouts.6.gz
+share/man/man6/make_pysol_freecell_board.py.6.gz
+share/man/man6/pi-make-microsoft-freecell-board.6.gz
+share/man/man6/transpose-freecell-board.py.6.gz