git: 177a35569c47 - main - x11-wm/wmanager-addons: Move man pages to share/man

From: Christian Weisgerber <naddy_at_FreeBSD.org>
Date: Thu, 14 Mar 2024 15:40:46 UTC
The branch main has been updated by naddy:

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

commit 177a35569c47ee1cf1f34d3b0cfa2f8498f2d1f7
Author:     Christian Weisgerber <naddy@FreeBSD.org>
AuthorDate: 2024-03-14 15:38:54 +0000
Commit:     Christian Weisgerber <naddy@FreeBSD.org>
CommitDate: 2024-03-14 15:38:54 +0000

    x11-wm/wmanager-addons: Move man pages to share/man
    
    Approved by:    portmgr (blanket)
---
 x11-wm/wmanager-addons/Makefile  | 2 ++
 x11-wm/wmanager-addons/pkg-plist | 6 +++---
 2 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/x11-wm/wmanager-addons/Makefile b/x11-wm/wmanager-addons/Makefile
index d60672d95a1e..4dcb64801121 100644
--- a/x11-wm/wmanager-addons/Makefile
+++ b/x11-wm/wmanager-addons/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	wmanager-addons
 PORTVERSION=	0.02
+PORTREVISION=	1
 CATEGORIES=	x11-wm
 MASTER_SITES=	http://devel.ringlet.net/x11/wmanager-addons/
 
@@ -13,6 +14,7 @@ LICENSE_FILE=	${WRKSRC}/COPYING
 USES=		perl5 uidfix
 USE_PERL5=	run
 NO_ARCH=	yes
+MAKE_ARGS=	MANDIR="${PREFIX}/share/man/man"
 
 OPTIONS_DEFINE=	DOCS
 
diff --git a/x11-wm/wmanager-addons/pkg-plist b/x11-wm/wmanager-addons/pkg-plist
index 8cb30426d8b4..7003089e912d 100644
--- a/x11-wm/wmanager-addons/pkg-plist
+++ b/x11-wm/wmanager-addons/pkg-plist
@@ -1,9 +1,9 @@
 bin/wmanager-loop
 bin/wmanagerrc-update
-man/man1/wmanager-loop.1.gz
-man/man1/wmanager.1.gz
-man/man1/wmanagerrc-update.1.gz
 %%PORTDOCS%%%%DOCSDIR%%/Changes
 %%PORTDOCS%%%%DOCSDIR%%/README
 %%PORTDOCS%%%%DOCSDIR%%/THANKS
 %%PORTDOCS%%%%DOCSDIR%%/TODO
+share/man/man1/wmanager-loop.1.gz
+share/man/man1/wmanager.1.gz
+share/man/man1/wmanagerrc-update.1.gz