git: 2bdb884872a3 - main - devel/xdg-user-dirs: Moved man to share/man

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Wed, 31 Jan 2024 12:59:52 UTC
The branch main has been updated by bofh:

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

commit 2bdb884872a3b63aa416209f2ceaf9eee37e780e
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-01-31 12:15:30 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-01-31 12:58:51 +0000

    devel/xdg-user-dirs: Moved man to share/man
    
    Approved by:    portmgr (blanket)
---
 devel/xdg-user-dirs/Makefile  |  2 ++
 devel/xdg-user-dirs/pkg-plist | 10 +++++-----
 2 files changed, 7 insertions(+), 5 deletions(-)

diff --git a/devel/xdg-user-dirs/Makefile b/devel/xdg-user-dirs/Makefile
index f627345c415b..9f3eff95d46b 100644
--- a/devel/xdg-user-dirs/Makefile
+++ b/devel/xdg-user-dirs/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	xdg-user-dirs
 DISTVERSION=	0.18
+PORTREVISION=	1
 CATEGORIES=	devel
 MASTER_SITES=	http://user-dirs.freedesktop.org/releases/
 
@@ -14,6 +15,7 @@ LICENSE_FILE_GPLv2=	${WRKSRC}/COPYING
 BUILD_DEPENDS=	${LOCALBASE}/share/xsl/docbook/html/docbook.xsl:textproc/docbook-xsl
 
 GNU_CONFIGURE=	yes
+GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
 USES=		gettext gmake gnome iconv localbase:ldflags
 USE_GNOME=	libxslt:build
 LDFLAGS+=	${ICONV_LIB}
diff --git a/devel/xdg-user-dirs/pkg-plist b/devel/xdg-user-dirs/pkg-plist
index 376df49098a4..faf79b8a4693 100644
--- a/devel/xdg-user-dirs/pkg-plist
+++ b/devel/xdg-user-dirs/pkg-plist
@@ -3,11 +3,11 @@ bin/xdg-user-dirs-update
 etc/xdg/autostart/xdg-user-dirs.desktop
 etc/xdg/user-dirs.conf
 etc/xdg/user-dirs.defaults
-man/man1/xdg-user-dir.1.gz
-man/man1/xdg-user-dirs-update.1.gz
-man/man5/user-dirs.conf.5.gz
-man/man5/user-dirs.defaults.5.gz
-man/man5/user-dirs.dirs.5.gz
+share/man/man1/xdg-user-dir.1.gz
+share/man/man1/xdg-user-dirs-update.1.gz
+share/man/man5/user-dirs.conf.5.gz
+share/man/man5/user-dirs.defaults.5.gz
+share/man/man5/user-dirs.dirs.5.gz
 share/locale/af/LC_MESSAGES/xdg-user-dirs.mo
 share/locale/an/LC_MESSAGES/xdg-user-dirs.mo
 share/locale/ar/LC_MESSAGES/xdg-user-dirs.mo