git: 386f356da66b - main - sysutils/monitorix: Move man pages to share/man

From: Nuno Teixeira <eduardo_at_FreeBSD.org>
Date: Fri, 22 Mar 2024 10:40:27 UTC
The branch main has been updated by eduardo:

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

commit 386f356da66bcfe55e4d45732d59774c12cc7c10
Author:     Nuno Teixeira <eduardo@FreeBSD.org>
AuthorDate: 2024-03-22 10:39:14 +0000
Commit:     Nuno Teixeira <eduardo@FreeBSD.org>
CommitDate: 2024-03-22 10:39:44 +0000

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

diff --git a/sysutils/monitorix/Makefile b/sysutils/monitorix/Makefile
index 74a8eae8053c..fe4b04714226 100644
--- a/sysutils/monitorix/Makefile
+++ b/sysutils/monitorix/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	monitorix
 PORTVERSION=	3.14.0
+PORTREVISION=	1
 CATEGORIES=	sysutils
 MASTER_SITES=	http://www.monitorix.org/ \
 		http://www.monitorix.org/old_versions/ \
@@ -97,7 +98,7 @@ do-install:
 	${INSTALL_SCRIPT} ${WRKSRC}/monitorix.cgi \
 		${STAGEDIR}${PREFIX}/${CGIDIR}/
 .for s in 5 8
-	${INSTALL_MAN} ${WRKSRC}/man/man$s/* ${STAGEDIR}${PREFIX}/man/man$s/
+	${INSTALL_MAN} ${WRKSRC}/man/man$s/* ${STAGEDIR}${PREFIX}/share/man/man$s/
 .endfor
 	${MKDIR} ${STAGEDIR}${WWWDIR}/reports
 .for l in ${REPORT_LANG}
diff --git a/sysutils/monitorix/pkg-plist b/sysutils/monitorix/pkg-plist
index 08f0923c717c..d44532f38839 100644
--- a/sysutils/monitorix/pkg-plist
+++ b/sysutils/monitorix/pkg-plist
@@ -3,8 +3,8 @@
 bin/monitorix
 @dir %%WWWDIR%%/usage
 %%CGIDIR%%/monitorix.cgi
-man/man5/monitorix.conf.5.gz
-man/man8/monitorix.8.gz
+share/man/man5/monitorix.conf.5.gz
+share/man/man8/monitorix.8.gz
 @rmtry %B/monitorix.conf.path
 %%WWWDIR%%/reports/ca.html.sample
 %%WWWDIR%%/reports/de.html.sample