git: 2736d45a0865 - main - x11/lightdm: Moved man to share/man

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Mon, 26 Feb 2024 18:41:04 UTC
The branch main has been updated by bofh:

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

commit 2736d45a0865cb6568f8c9b6058bcf88ba252ea2
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-02-26 18:32:17 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-02-26 18:40:37 +0000

    x11/lightdm: Moved man to share/man
    
    Approved by:    portmgr (blanket)
---
 x11/lightdm/Makefile  | 3 ++-
 x11/lightdm/pkg-plist | 4 ++--
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/x11/lightdm/Makefile b/x11/lightdm/Makefile
index cdbe7bb7d5f5..e649be1f6ca6 100644
--- a/x11/lightdm/Makefile
+++ b/x11/lightdm/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	lightdm
 PORTVERSION=	1.32.0
-PORTREVISION=	3
+PORTREVISION=	4
 CATEGORIES=	x11
 MASTER_SITES=	https://github.com/canonical/${PORTNAME}/releases/download/${DISTVERSIONPREFIX}${DISTVERSION}/
 
@@ -31,6 +31,7 @@ USE_RC_SUBR=	lightdm
 USE_XORG=	x11 xcb xdmcp
 
 GNU_CONFIGURE=		yes
+GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
 # tests causes PAM errors
 CONFIGURE_ARGS=		--disable-libaudit \
 			--disable-tests
diff --git a/x11/lightdm/pkg-plist b/x11/lightdm/pkg-plist
index a5ed93e64ba7..16ac24f6a0af 100644
--- a/x11/lightdm/pkg-plist
+++ b/x11/lightdm/pkg-plist
@@ -34,8 +34,8 @@ lib/liblightdm-gobject-1.so.0.0.0
 libdata/pkgconfig/liblightdm-gobject-1.pc
 %%QT5%%libdata/pkgconfig/liblightdm-qt5-3.pc
 libexec/lightdm-guest-session
-man/man1/dm-tool.1.gz
-man/man1/lightdm.1.gz
+share/man/man1/dm-tool.1.gz
+share/man/man1/lightdm.1.gz
 sbin/lightdm
 share/accountsservice/interfaces/org.freedesktop.DisplayManager.AccountsService.xml
 share/bash-completion/completions/dm-tool