git: 21d9127b45ef - main - net/ntp: move man pages

From: Cy Schubert <cy_at_FreeBSD.org>
Date: Fri, 01 Mar 2024 21:11:46 UTC
The branch main has been updated by cy:

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

commit 21d9127b45ef5f03a3c14b80b9c5ac5958c7cbe8
Author:     Cy Schubert <cy@FreeBSD.org>
AuthorDate: 2024-03-01 19:45:18 +0000
Commit:     Cy Schubert <cy@FreeBSD.org>
CommitDate: 2024-03-01 21:11:20 +0000

    net/ntp: move man pages
---
 net/ntp/Makefile  |  3 ++-
 net/ntp/pkg-plist | 22 +++++++++++-----------
 2 files changed, 13 insertions(+), 12 deletions(-)

diff --git a/net/ntp/Makefile b/net/ntp/Makefile
index 1a02f1af5544..d23d48942465 100644
--- a/net/ntp/Makefile
+++ b/net/ntp/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	ntp
 PORTVERSION=	4.2.8p17
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	net
 MASTER_SITES=	http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-4.2/ \
 		http://archive.ntp.org/ntp4/ntp-4.2/
@@ -21,6 +21,7 @@ USES+=		autoreconf # until rlimit_memlock changes accepted upstream
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	--enable-leap-smear --enable-trustedbsd-mac \
 		--with-locfile=freebsd --with-memlock=-1
+GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share
 
 TEST_TARGET=	check
 
diff --git a/net/ntp/pkg-plist b/net/ntp/pkg-plist
index c3fc38b5c124..4ffe6ef6b5d7 100644
--- a/net/ntp/pkg-plist
+++ b/net/ntp/pkg-plist
@@ -1,14 +1,14 @@
-man/man5/ntp.conf.5.gz
-man/man5/ntp.keys.5.gz
-man/man8/ntp-keygen.8.gz
-%%PERL_UTILS%%man/man8/ntp-wait.8.gz
-man/man8/ntpd.8.gz
-man/man8/ntpdc.8.gz
-man/man8/ntpq.8.gz
-%%PERL_UTILS%%man/man8/ntptrace.8.gz
-%%NTPSNMPD%%man/man8/ntpsnmpd.8.gz
-man/man8/sntp.8.gz
-man/man8/update-leap.8.gz
+share/man/man5/ntp.conf.5.gz
+share/man/man5/ntp.keys.5.gz
+share/man/man8/ntp-keygen.8.gz
+%%PERL_UTILS%%share/man/man8/ntp-wait.8.gz
+share/man/man8/ntpd.8.gz
+share/man/man8/ntpdc.8.gz
+share/man/man8/ntpq.8.gz
+%%PERL_UTILS%%share/man/man8/ntptrace.8.gz
+%%NTPSNMPD%%share/man/man8/ntpsnmpd.8.gz
+share/man/man8/sntp.8.gz
+share/man/man8/update-leap.8.gz
 %%SSL%%sbin/ntp-keygen
 %%PERL_UTILS%%sbin/ntp-wait
 sbin/ntpd