git: 9cf62446de47 - main - x11-wm/fvwm2: Moved man to share/man

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Mon, 29 Jan 2024 19:54:51 UTC
The branch main has been updated by bofh:

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

commit 9cf62446de471195b1bc744d53b4a8463e692657
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-01-29 19:53:58 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-01-29 19:54:23 +0000

    x11-wm/fvwm2: Moved man to share/man
    
    Approved by:    portmgr (blanket)
---
 x11-wm/fvwm2/Makefile  | 11 +++++----
 x11-wm/fvwm2/pkg-plist | 62 +++++++++++++++++++++++++-------------------------
 2 files changed, 37 insertions(+), 36 deletions(-)

diff --git a/x11-wm/fvwm2/Makefile b/x11-wm/fvwm2/Makefile
index 08401edc3815..1af5538ea9e8 100644
--- a/x11-wm/fvwm2/Makefile
+++ b/x11-wm/fvwm2/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	fvwm
 PORTVERSION=	2.6.9
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	x11-wm
 MASTER_SITES=	https://github.com/fvwmorg/fvwm/releases/download/${PORTVERSION}/ \
 		http://fvwm.sourceforge.net/generated/icon_download/ \
@@ -22,6 +22,7 @@ LIB_DEPENDS=	libfontconfig.so:x11-fonts/fontconfig \
 CONFLICTS_INSTALL=	fvwm3
 
 GNU_CONFIGURE=	yes
+GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
 CONFIGURE_ARGS=	--disable-mandoc --without-gnome --disable-gtk \
 		--without-rplay-library \
 		ac_cv_path_PYTHON=${PYTHON_CMD}
@@ -117,11 +118,11 @@ post-install:
 	${INSTALL_DATA} ${FILESDIR}/system.fvwm2rc \
 		${STAGEDIR}${PREFIX}/etc/system.fvwm2rc.dist
 	${INSTALL_MAN} ${WRKSRC}/doc/fvwm/fvwm.1 \
-		${STAGEDIR}${PREFIX}/man/man1/fvwm.1
+		${STAGEDIR}${PREFIX}/share/man/man1/fvwm.1
 	${INSTALL_MAN} ${WRKSRC}/doc/fvwm/fvwm.1 \
-		${STAGEDIR}${PREFIX}/man/man1/fvwm2.1
-	${GZIP_CMD} ${STAGEDIR}${PREFIX}/man/man1/fvwm.1 \
-		${STAGEDIR}${PREFIX}/man/man1/fvwm2.1
+		${STAGEDIR}${PREFIX}/share/man/man1/fvwm2.1
+	${GZIP_CMD} ${STAGEDIR}${PREFIX}/share/man/man1/fvwm.1 \
+		${STAGEDIR}${PREFIX}/share/man/man1/fvwm2.1
 .if ${PORT_OPTIONS:MICONS}
 	${MKDIR} ${STAGEDIR}${PREFIX}/share/fvwm/pixmaps
 	${INSTALL_DATA} ${WRKDIR}/icons/${FVWM_ICONS}/*.xpm \
diff --git a/x11-wm/fvwm2/pkg-plist b/x11-wm/fvwm2/pkg-plist
index 021b1558ee80..0c688ce0a69f 100644
--- a/x11-wm/fvwm2/pkg-plist
+++ b/x11-wm/fvwm2/pkg-plist
@@ -38,37 +38,37 @@ libexec/fvwm/%%FVWM_VERSION%%/FvwmRearrange
 libexec/fvwm/%%FVWM_VERSION%%/FvwmScript
 libexec/fvwm/%%FVWM_VERSION%%/FvwmTalk
 libexec/fvwm/%%FVWM_VERSION%%/FvwmTile
-man/man1/FvwmAnimate.1.gz
-man/man1/FvwmAuto.1.gz
-man/man1/FvwmBacker.1.gz
-man/man1/FvwmBanner.1.gz
-man/man1/FvwmButtons.1.gz
-man/man1/FvwmCommand.1.gz
-man/man1/FvwmConsole.1.gz
-man/man1/FvwmConsoleC.pl.1.gz
-man/man1/FvwmCpp.1.gz
-man/man1/FvwmEvent.1.gz
-man/man1/FvwmForm.1.gz
-man/man1/FvwmIconMan.1.gz
-man/man1/FvwmIdent.1.gz
-man/man1/FvwmM4.1.gz
-man/man1/FvwmPager.1.gz
-man/man1/FvwmPerl.1.gz
-man/man1/FvwmProxy.1.gz
-man/man1/FvwmRearrange.1.gz
-man/man1/FvwmScript.1.gz
-man/man1/fvwm.1.gz
-man/man1/fvwm-bug.1.gz
-man/man1/fvwm-config.1.gz
-man/man1/fvwm-convert-2.6.1.gz
-man/man1/fvwm-menu-desktop.1.gz
-man/man1/fvwm-menu-directory.1.gz
-man/man1/fvwm-menu-headlines.1.gz
-man/man1/fvwm-menu-xlock.1.gz
-man/man1/fvwm-perllib.1.gz
-man/man1/fvwm-root.1.gz
-man/man1/fvwm2.1.gz
-man/man1/xpmroot.1.gz
+share/man/man1/FvwmAnimate.1.gz
+share/man/man1/FvwmAuto.1.gz
+share/man/man1/FvwmBacker.1.gz
+share/man/man1/FvwmBanner.1.gz
+share/man/man1/FvwmButtons.1.gz
+share/man/man1/FvwmCommand.1.gz
+share/man/man1/FvwmConsole.1.gz
+share/man/man1/FvwmConsoleC.pl.1.gz
+share/man/man1/FvwmCpp.1.gz
+share/man/man1/FvwmEvent.1.gz
+share/man/man1/FvwmForm.1.gz
+share/man/man1/FvwmIconMan.1.gz
+share/man/man1/FvwmIdent.1.gz
+share/man/man1/FvwmM4.1.gz
+share/man/man1/FvwmPager.1.gz
+share/man/man1/FvwmPerl.1.gz
+share/man/man1/FvwmProxy.1.gz
+share/man/man1/FvwmRearrange.1.gz
+share/man/man1/FvwmScript.1.gz
+share/man/man1/fvwm.1.gz
+share/man/man1/fvwm-bug.1.gz
+share/man/man1/fvwm-config.1.gz
+share/man/man1/fvwm-convert-2.6.1.gz
+share/man/man1/fvwm-menu-desktop.1.gz
+share/man/man1/fvwm-menu-directory.1.gz
+share/man/man1/fvwm-menu-headlines.1.gz
+share/man/man1/fvwm-menu-xlock.1.gz
+share/man/man1/fvwm-perllib.1.gz
+share/man/man1/fvwm-root.1.gz
+share/man/man1/fvwm2.1.gz
+share/man/man1/xpmroot.1.gz
 %%ICONS%%%%DATADIR%%/pixmaps/Jlock.xpm
 %%ICONS%%%%DATADIR%%/pixmaps/Jnews.xpm
 %%ICONS%%%%DATADIR%%/pixmaps/Jrecycle.xpm