git: 458957c41817 - main - net-im/ejabberd: Move man pages to share/man

From: Nuno Teixeira <eduardo_at_FreeBSD.org>
Date: Sun, 17 Mar 2024 12:28:32 UTC
The branch main has been updated by eduardo:

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

commit 458957c41817eeb1ce2d1640bdd0d87c22007eb7
Author:     Nuno Teixeira <eduardo@FreeBSD.org>
AuthorDate: 2024-03-17 12:13:31 +0000
Commit:     Nuno Teixeira <eduardo@FreeBSD.org>
CommitDate: 2024-03-17 12:28:12 +0000

    net-im/ejabberd: Move man pages to share/man
    
    Approved by:    portmgr (blanket)
---
 net-im/ejabberd/Makefile  | 2 ++
 net-im/ejabberd/pkg-plist | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/net-im/ejabberd/Makefile b/net-im/ejabberd/Makefile
index f52020d6c6d7..a7ed7c6eecc9 100644
--- a/net-im/ejabberd/Makefile
+++ b/net-im/ejabberd/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	ejabberd
 PORTVERSION=	23.10
+PORTREVISION=	1
 CATEGORIES=	net-im
 
 MAINTAINER=	ashish@FreeBSD.org
@@ -26,6 +27,7 @@ USERS=		ejabberd
 GROUPS=		${USERS}
 
 GNU_CONFIGURE=	yes
+GNU_CONFIGURE_MANPREFIX=	${PREFIX}/share
 USE_RC_SUBR=	${PORTNAME}
 NOPRECIOUSMAKEVARS=	yes
 CPE_VENDOR=	process-one
diff --git a/net-im/ejabberd/pkg-plist b/net-im/ejabberd/pkg-plist
index 792e906aa134..c35004225507 100644
--- a/net-im/ejabberd/pkg-plist
+++ b/net-im/ejabberd/pkg-plist
@@ -892,6 +892,6 @@
 sbin/%%PORTNAME%%ctl
 %%DATADIR%%/captcha.sh
 %%PORTDOCS%%%%DOCSDIR%%/COPYING
-%%PORTDOCS%%man/man5/%%PORTNAME%%.yml.5.gz
+%%PORTDOCS%%share/man/man5/%%PORTNAME%%.yml.5.gz
 @dir /var/log/%%PORTNAME%%
 @dir /var/spool/%%PORTNAME%%