git: d4e744a42c58 - main - sysutils/libudisks: Moved man to share/man

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Mon, 29 Jan 2024 19:54:37 UTC
The branch main has been updated by bofh:

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

commit d4e744a42c586f64612c206357ce2db60edd357d
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-01-29 18:27:29 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-01-29 19:54:16 +0000

    sysutils/libudisks: Moved man to share/man
    
    Approved by:    portmgr (blanket)
---
 sysutils/libudisks/Makefile  | 2 ++
 sysutils/libudisks/pkg-plist | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/sysutils/libudisks/Makefile b/sysutils/libudisks/Makefile
index 392f774bc138..e9ad96120377 100644
--- a/sysutils/libudisks/Makefile
+++ b/sysutils/libudisks/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	libudisks
 DISTVERSION=	2.10.1
+PORTREVISION=	1
 CATEGORIES=	sysutils
 MASTER_SITES=	https://github.com/storaged-project/udisks/releases/download/udisks-${DISTVERSION}/
 DISTNAME=	udisks-${DISTVERSION}
@@ -26,6 +27,7 @@ USE_GNOME=	glib20
 USE_LDCONFIG=	yes
 
 GNU_CONFIGURE=	yes
+GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
 # --with-libintl-prefix is needed because otherwise
 # configure won't find libintl when PREFIX != LOCALBASE.
 CONFIGURE_ARGS=	--disable-daemon \
diff --git a/sysutils/libudisks/pkg-plist b/sysutils/libudisks/pkg-plist
index 2350c7e79b58..f152c62cc9c3 100644
--- a/sysutils/libudisks/pkg-plist
+++ b/sysutils/libudisks/pkg-plist
@@ -13,7 +13,7 @@ lib/libudisks2.so
 lib/libudisks2.so.0
 lib/libudisks2.so.0.0.0
 libdata/pkgconfig/udisks2.pc
-%%UDISKSCTL%%man/man1/udisksctl.1.gz
+%%UDISKSCTL%%share/man/man1/udisksctl.1.gz
 %%UDISKSCTL%%share/bash-completion/completions/udisksctl
 %%NLS%%share/locale/af/LC_MESSAGES/udisks2.mo
 %%NLS%%share/locale/ar/LC_MESSAGES/udisks2.mo