git: 8e1ce7e99d46 - main - net/chrony: Sanitize MANPREFIX

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Mon, 22 Jan 2024 16:52:47 UTC
The branch main has been updated by bofh:

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

commit 8e1ce7e99d46dca5e63b7d66e165d30e0ee8a68b
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-01-22 16:01:28 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-01-22 16:52:31 +0000

    net/chrony: Sanitize MANPREFIX
    
    Approved by:    portmgr (blanket)
---
 net/chrony/Makefile  | 3 ++-
 net/chrony/pkg-plist | 6 +++---
 2 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/net/chrony/Makefile b/net/chrony/Makefile
index 9a326bec77dc..323f10e6e019 100644
--- a/net/chrony/Makefile
+++ b/net/chrony/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	chrony
 DISTVERSION=	4.5
+PORTREVISION=	1
 CATEGORIES=	net
 MASTER_SITES=	https://chrony-project.org/releases/ \
 		LOCAL/mandree
@@ -23,7 +24,7 @@ CONFIGURE_ARGS=	--chronyvardir=/var/db/${PORTNAME} \
 		--datarootdir=${DATADIR} \
 		--docdir=${DOCSDIR} \
 		--enable-ntp-signd \
-		--mandir=${MANPREFIX}/man \
+		--mandir=${PREFIX}/share/man \
 		--prefix=${PREFIX} \
 		--sysconfdir=${PREFIX}/etc \
 		--without-tomcrypt
diff --git a/net/chrony/pkg-plist b/net/chrony/pkg-plist
index da2579e0b05a..e6379e5d04f3 100644
--- a/net/chrony/pkg-plist
+++ b/net/chrony/pkg-plist
@@ -1,8 +1,8 @@
 bin/chronyc
 @sample etc/chrony.conf.sample
-man/man1/chronyc.1.gz
-man/man5/chrony.conf.5.gz
-man/man8/chronyd.8.gz
+share/man/man1/chronyc.1.gz
+share/man/man5/chrony.conf.5.gz
+share/man/man8/chronyd.8.gz
 sbin/chronyd
 @dir(chronyd,chronyd) /var/db/chrony
 %%HTMLDOCS%%%%DOCSDIR%%/chrony.conf.html