git: 752d20b1a0b1 - main - net-mgmt/wifimgr: Move man pages to share/man

From: Christian Weisgerber <naddy_at_FreeBSD.org>
Date: Mon, 18 Mar 2024 13:51:53 UTC
The branch main has been updated by naddy:

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

commit 752d20b1a0b1b109eb4f543347511ddc5af28a5e
Author:     Christian Weisgerber <naddy@FreeBSD.org>
AuthorDate: 2024-03-18 13:50:02 +0000
Commit:     Christian Weisgerber <naddy@FreeBSD.org>
CommitDate: 2024-03-18 13:51:38 +0000

    net-mgmt/wifimgr: Move man pages to share/man
    
    Approved by:    portmgr (blanket)
---
 net-mgmt/wifimgr/Makefile  | 4 +++-
 net-mgmt/wifimgr/pkg-plist | 2 +-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/net-mgmt/wifimgr/Makefile b/net-mgmt/wifimgr/Makefile
index abe6c70ed931..59bc1474c59a 100644
--- a/net-mgmt/wifimgr/Makefile
+++ b/net-mgmt/wifimgr/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	wifimgr
 PORTVERSION=	1.23
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	net-mgmt sysutils
 MASTER_SITES=	https://opal.com/src/wifimgr/
 
@@ -19,6 +19,8 @@ USES=		desktop-file-utils gnome pkgconfig tar:xz xorg
 USE_GNOME=	cairo gdkpixbuf2
 USE_XORG=	x11
 
+MAKE_ENV=	MANDIR="${STAGEDIR}${PREFIX}/share/man"
+
 OPTIONS_DEFINE=	GTK2 NLS
 OPTIONS_SUB=	yes
 
diff --git a/net-mgmt/wifimgr/pkg-plist b/net-mgmt/wifimgr/pkg-plist
index dd16b0ad0f81..d396231e36d8 100644
--- a/net-mgmt/wifimgr/pkg-plist
+++ b/net-mgmt/wifimgr/pkg-plist
@@ -1,6 +1,6 @@
 bin/wifimgr
 @(,,4511) libexec/wifimgrsu
-man/man8/wifimgr.8.gz
+share/man/man8/wifimgr.8.gz
 %%DATADIR%%/icons/disabled.png
 %%DATADIR%%/icons/eye.png
 %%DATADIR%%/icons/freebsd-surf.png