git: a79d54f9b9fc - main - dns/dnsperf: Move man pages to share/man

From: Nuno Teixeira <eduardo_at_FreeBSD.org>
Date: Thu, 07 Mar 2024 09:47:54 UTC
The branch main has been updated by eduardo:

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

commit a79d54f9b9fcd5b3035be45ea55539e92e2c663a
Author:     Nuno Teixeira <eduardo@FreeBSD.org>
AuthorDate: 2024-03-07 08:46:57 +0000
Commit:     Nuno Teixeira <eduardo@FreeBSD.org>
CommitDate: 2024-03-07 09:47:33 +0000

    dns/dnsperf: Move man pages to share/man
    
    Approved by:    portmgr (blanket)
---
 dns/dnsperf/Makefile | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/dns/dnsperf/Makefile b/dns/dnsperf/Makefile
index 737dbaaec33f..4a85b84af44e 100644
--- a/dns/dnsperf/Makefile
+++ b/dns/dnsperf/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	dnsperf
 DISTVERSION=	2.11.0
+PORTREVISION=	1
 CATEGORIES=	dns benchmarks net
 MASTER_SITES=	https://www.dns-oarc.net/files/${PORTNAME}/
 
@@ -17,6 +18,7 @@ LIB_DEPENDS=	libnghttp2.so:www/libnghttp2 \
 USES=		compiler:c11 libtool pkgconfig ssl
 
 GNU_CONFIGURE=	yes
+GNU_CONFIGURE_MANPREFIX=	${PREFIX}/share
 CONFIGURE_ENV=	libssl_LIBS="-lssl -L${OPENSSLLIB}" \
 		libssl_CFLAGS="-I${OPENSSLINC}" \
 		libcrypto_LIBS="-lcrypto -L${OPENSSLLIB}" \
@@ -28,7 +30,7 @@ MAKE_ENV=	INSTALL_PROGRAM="${INSTALL_PROGRAM}" \
 PLIST_FILES=	bin/dnsperf \
 		bin/resperf \
 		bin/resperf-report \
-		man/man1/dnsperf.1.gz \
-		man/man1/resperf.1.gz
+		share/man/man1/dnsperf.1.gz \
+		share/man/man1/resperf.1.gz
 
 .include <bsd.port.mk>