git: 5174fee26411 - main - sysutils/sysgather: Moved man to share/man

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

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

commit 5174fee264117b1ad45fa878dbecd580ed47935c
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-02-26 07:21:15 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-02-26 07:21:15 +0000

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

diff --git a/sysutils/sysgather/Makefile b/sysutils/sysgather/Makefile
index afc7e751339d..c1bb520252aa 100644
--- a/sysutils/sysgather/Makefile
+++ b/sysutils/sysgather/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	sysgather
 DISTVERSION=	1.0pre10
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	sysutils
 MASTER_SITES=	http://devel.ringlet.net/sysutils/sysgather/
 
@@ -17,6 +17,7 @@ USES=		perl5 shebangfix uidfix
 SHEBANG_FILES=	sysgather.pl
 NO_ARCH=	yes
 
+MAKE_ARGS=	MANDIR=${PREFIX}/share/man/man
 OPTIONS_DEFINE=	EXAMPLES
 
 post-install:
diff --git a/sysutils/sysgather/pkg-plist b/sysutils/sysgather/pkg-plist
index ece05d302e5c..1d06f4b60ac4 100644
--- a/sysutils/sysgather/pkg-plist
+++ b/sysutils/sysgather/pkg-plist
@@ -1,6 +1,6 @@
 bin/sysgather
 @sample etc/sysgather.conf.sample
-man/man1/sysgather.1.gz
+share/man/man1/sysgather.1.gz
 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/debian.conf
 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/freebsd.conf
 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/slackware.conf