git: 0ee6443efd29 - main - net/sngrep: Moved man to share/man

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Sun, 25 Feb 2024 10:32:41 UTC
The branch main has been updated by bofh:

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

commit 0ee6443efd29de84fa72ba4814181426a4a8d0b0
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-02-25 10:17:21 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-02-25 10:31:40 +0000

    net/sngrep: Moved man to share/man
    
    Approved by:    portmgr (blanket)
---
 net/sngrep/Makefile  | 2 ++
 net/sngrep/pkg-plist | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/net/sngrep/Makefile b/net/sngrep/Makefile
index 47fbbcf9371b..4bc3aaa20708 100644
--- a/net/sngrep/Makefile
+++ b/net/sngrep/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	sngrep
 DISTVERSION=	1.7.0
+PORTREVISION=	1
 CATEGORIES=	net
 MASTER_SITES=	https://github.com/irontec/${PORTNAME}/releases/download/v${DISTVERSION}/
 
@@ -13,6 +14,7 @@ LICENSE_FILE=	${WRKSRC}/LICENSE
 USES=		autoreconf localbase ncurses pkgconfig
 
 GNU_CONFIGURE=	yes
+GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
 CONFIGURE_ARGS=	--with-zlib
 
 OPTIONS_DEFINE=		EEP IPV6 PCRE UNICODE
diff --git a/net/sngrep/pkg-plist b/net/sngrep/pkg-plist
index 67de4280fcc7..38a9c3175cf4 100644
--- a/net/sngrep/pkg-plist
+++ b/net/sngrep/pkg-plist
@@ -1,3 +1,3 @@
 bin/sngrep
 @sample etc/sngreprc etc/sngreprc.sample
-man/man8/sngrep.8.gz
+share/man/man8/sngrep.8.gz