git: e1291c1486c8 - main - net/nbd-server: Moved man to share/man

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Tue, 30 Jan 2024 21:40:35 UTC
The branch main has been updated by bofh:

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

commit e1291c1486c8dd5d7ddde8aa87c7f02ff3fdf6ff
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-01-30 21:14:53 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-01-30 21:39:23 +0000

    net/nbd-server: Moved man to share/man
---
 net/nbd-server/Makefile | 14 ++++++++------
 1 file changed, 8 insertions(+), 6 deletions(-)

diff --git a/net/nbd-server/Makefile b/net/nbd-server/Makefile
index 0d6f0e4326b9..38d85ad00ff6 100644
--- a/net/nbd-server/Makefile
+++ b/net/nbd-server/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	nbd
 PORTVERSION=	3.24
+PORTREVISION=	1
 PORTEPOCH=	1
 CATEGORIES=	net
 MASTER_SITES=	SF
@@ -17,6 +18,7 @@ CPE_VENDOR=	wouter_verhelst
 USE_GNOME=	glib20
 
 GNU_CONFIGURE=	yes
+GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
 CONFIGURE_ARGS=	--enable-lfs --enable-syslog
 TEST_TARGET=	check
 
@@ -26,11 +28,11 @@ GNUTLS_BUILD_DEPENDS=	gnutls>0:security/gnutls
 GNUTLS_RUN_DEPENDS=	gnutls>0:security/gnutls
 
 PLIST_FILES=	bin/nbd-server bin/nbd-trdump bin/nbd-trplay \
-		man/man1/nbd-server.1.gz \
-		man/man1/nbd-trdump.1.gz \
-		man/man1/nbd-trplay.1.gz \
-		man/man5/nbd-server.5.gz \
-		man/man5/nbdtab.5.gz \
-		man/man8/nbd-client.8.gz
+		share/man/man1/nbd-server.1.gz \
+		share/man/man1/nbd-trdump.1.gz \
+		share/man/man1/nbd-trplay.1.gz \
+		share/man/man5/nbd-server.5.gz \
+		share/man/man5/nbdtab.5.gz \
+		share/man/man8/nbd-client.8.gz
 
 .include <bsd.port.mk>