git: dd1e2e8e88ad - main - x11-wm/ratpoison: Install man pages under share/man

From: Joseph Mingrone <jrm_at_FreeBSD.org>
Date: Mon, 26 Feb 2024 18:41:23 UTC
The branch main has been updated by jrm:

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

commit dd1e2e8e88adc2c0757ea2ff27edaaef2504dbac
Author:     Joseph Mingrone <jrm@FreeBSD.org>
AuthorDate: 2024-02-26 17:51:54 +0000
Commit:     Joseph Mingrone <jrm@FreeBSD.org>
CommitDate: 2024-02-26 18:41:12 +0000

    x11-wm/ratpoison: Install man pages under share/man
    
    Sponsored by:   The FreeBSD Foundation
---
 x11-wm/ratpoison/Makefile  | 3 ++-
 x11-wm/ratpoison/pkg-plist | 2 +-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/x11-wm/ratpoison/Makefile b/x11-wm/ratpoison/Makefile
index 1dc4f44cd6a5..066c3e498e60 100644
--- a/x11-wm/ratpoison/Makefile
+++ b/x11-wm/ratpoison/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	ratpoison
 PORTVERSION=	1.4.9
-PORTREVISION=	3
+PORTREVISION=	4
 CATEGORIES=	x11-wm
 MASTER_SITES=	SAVANNAH
 
@@ -14,6 +14,7 @@ LICENSE_FILE=	${WRKSRC}/COPYING
 USES=		pkgconfig xorg
 USE_XORG=	ice x11 xext xrandr xtst
 GNU_CONFIGURE=	yes
+GNU_CONFIGURE_MANPREFIX=	${PREFIX}/share
 
 SUB_FILES=	ratpoison.desktop
 
diff --git a/x11-wm/ratpoison/pkg-plist b/x11-wm/ratpoison/pkg-plist
index d4508ff1b7f1..a5273c64e952 100644
--- a/x11-wm/ratpoison/pkg-plist
+++ b/x11-wm/ratpoison/pkg-plist
@@ -1,7 +1,7 @@
 bin/ratpoison
 bin/rpws
 %%GDM_SUPPORT%%etc/dm/Sessions/ratpoison.desktop
-man/man1/ratpoison.1.gz
+share/man/man1/ratpoison.1.gz
 %%PORTDOCS%%%%DOCSDIR%%/AUTHORS
 %%PORTDOCS%%%%DOCSDIR%%/NEWS
 %%PORTDOCS%%%%DOCSDIR%%/README