git: ab41afe65994 - main - sysutils/consolekit2: Moved man to share/man

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Sun, 28 Jan 2024 13:39:48 UTC
The branch main has been updated by bofh:

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

commit ab41afe659948ed1622ad5f607044b4d4eb680fe
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-01-28 02:15:29 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-01-28 13:39:26 +0000

    sysutils/consolekit2: Moved man to share/man
    
    Approved by:    portmgr (blanket)
---
 sysutils/consolekit2/Makefile  |  3 ++-
 sysutils/consolekit2/pkg-plist | 10 +++++-----
 2 files changed, 7 insertions(+), 6 deletions(-)

diff --git a/sysutils/consolekit2/Makefile b/sysutils/consolekit2/Makefile
index 73c5a4c77642..871335547c6a 100644
--- a/sysutils/consolekit2/Makefile
+++ b/sysutils/consolekit2/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	consolekit
 PORTVERSION=	1.2.6
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	sysutils gnome
 PKGNAMESUFFIX=	2
 
@@ -39,6 +39,7 @@ USES=		autoreconf gettext gmake gnome libtool localbase pathfix pkgconfig \
 USE_CSTD=	gnu99
 USE_GNOME=	glib20 libxslt introspection:build
 GNU_CONFIGURE=	yes
+GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
 USE_LDCONFIG=	yes
 CONFIGURE_ARGS=	--with-pid-file=/var/run/${PORTNAME}.pid \
 		--enable-pam-module \
diff --git a/sysutils/consolekit2/pkg-plist b/sysutils/consolekit2/pkg-plist
index 0539057f55dc..5434b3e40a51 100644
--- a/sysutils/consolekit2/pkg-plist
+++ b/sysutils/consolekit2/pkg-plist
@@ -29,11 +29,11 @@ libexec/ck-collect-session-info
 %%X11%%@(,,4755) libexec/ck-get-x11-display-device
 %%X11%%libexec/ck-get-x11-server-pid
 libexec/ck-remove-directory
-man/man1/ck-history.1.gz
-man/man1/ck-launch-session.1.gz
-man/man1/ck-list-sessions.1.gz
-man/man1/console-kit-daemon.1m.gz
-man/man8/pam_ck_connector.8.gz
+share/man/man1/ck-history.1.gz
+share/man/man1/ck-launch-session.1.gz
+share/man/man1/ck-list-sessions.1.gz
+share/man/man1/console-kit-daemon.1m.gz
+share/man/man8/pam_ck_connector.8.gz
 sbin/ck-log-system-restart
 sbin/ck-log-system-start
 sbin/ck-log-system-stop