git: 881fe88502d1 - main - net/rtg: Moved man to share/man

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Sun, 25 Feb 2024 10:06:00 UTC
The branch main has been updated by bofh:

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

commit 881fe88502d161e43694c43248cdafd44dc3bdd0
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-02-25 10:05:09 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-02-25 10:05:31 +0000

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

diff --git a/net/rtg/Makefile b/net/rtg/Makefile
index 5835839d3679..65a052321f9d 100644
--- a/net/rtg/Makefile
+++ b/net/rtg/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	rtg
 PORTVERSION=	0.7.5
+PORTREVISION=	1
 CATEGORIES=	net
 MASTER_SITES=	ftp://ftpmirror.uk/freebsd-ports/rtg/
 
@@ -19,6 +20,7 @@ USE_RC_SUBR=	rtgpoll
 
 SHEBANG_FILES=	etc/95.pl etc/report.pl etc/rtgtargmkr.pl.in
 GNU_CONFIGURE=	yes
+GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
 CONFIGURE_ARGS+=	--sysconfdir=${PREFIX}/etc/${PORTNAME} \
 			--htmldir=${PREFIX}/www/data \
 			--with-mysql=${LOCALBASE} \
diff --git a/net/rtg/pkg-plist b/net/rtg/pkg-plist
index 0e82a2325258..9a461523b6b1 100644
--- a/net/rtg/pkg-plist
+++ b/net/rtg/pkg-plist
@@ -14,8 +14,8 @@ contrib/rtgtargmkr-with-modules-0.2.tar.gz
 include/common.h
 include/rtg.h
 include/rtgplot.h
-man/man1/rtgplot.1.gz
-man/man1/rtgpoll.1.gz
+share/man/man1/rtgplot.1.gz
+share/man/man1/rtgpoll.1.gz
 www/data/95.php
 www/data/common.php
 www/data/rtg.php