git: e560f52172c9 - main - sysutils/modules: Moved man to share/man

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

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

commit e560f52172c95c60e248a9eeadd1513715c1083c
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-02-26 06:00:42 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-02-26 06:01:55 +0000

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

diff --git a/sysutils/modules/Makefile b/sysutils/modules/Makefile
index 5fd92800b207..1e242706e264 100644
--- a/sysutils/modules/Makefile
+++ b/sysutils/modules/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	modules
 DISTVERSION=	5.3.1
+PORTREVISION=	1
 CATEGORIES=	sysutils tcl
 MASTER_SITES=	https://github.com/cea-hpc/modules/releases/download/v${PORTVERSION}/
 
@@ -15,6 +16,7 @@ BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}sphinx>=0:textproc/py-sphinx@${PY_FLAVOR}
 
 USES=			gmake python:env shebangfix tar:bzip2 tcl
 GNU_CONFIGURE=		yes
+GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
 GNU_CONFIGURE_PREFIX=	${PREFIX}/Modules
 CONFIGURE_SHELL=	${LOCALBASE}/bin/bash
 CONFIGURE_ARGS=		--disable-compat-version \
diff --git a/sysutils/modules/pkg-plist b/sysutils/modules/pkg-plist
index 6eccc115f841..2886daff39c9 100644
--- a/sysutils/modules/pkg-plist
+++ b/sysutils/modules/pkg-plist
@@ -52,6 +52,6 @@ Modules/%%MODULES_VERSION%%/share/vim/vimfiles/ftdetect/modulefile.vim
 Modules/%%MODULES_VERSION%%/share/vim/vimfiles/ftplugin/modulefile.vim
 Modules/%%MODULES_VERSION%%/share/vim/vimfiles/syntax/modulefile.vim
 Modules/versions/%%MODULES_VERSION%%
-man/man1/ml.1.gz
-man/man1/module.1.gz
-man/man5/modulefile.5.gz
+share/man/man1/ml.1.gz
+share/man/man1/module.1.gz
+share/man/man5/modulefile.5.gz