git: 9431a1d834af - main - net/zmap: Move man pages to share/man

From: Nuno Teixeira <eduardo_at_FreeBSD.org>
Date: Wed, 20 Mar 2024 18:38:07 UTC
The branch main has been updated by eduardo:

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

commit 9431a1d834af08d5bc780347d5b9ca5802ef9491
Author:     Nuno Teixeira <eduardo@FreeBSD.org>
AuthorDate: 2024-03-20 18:36:30 +0000
Commit:     Nuno Teixeira <eduardo@FreeBSD.org>
CommitDate: 2024-03-20 18:37:13 +0000

    net/zmap: Move man pages to share/man
    
    Approved by:    portmgr (blanket)
---
 net/zmap/Makefile  | 5 ++---
 net/zmap/pkg-plist | 8 ++++----
 2 files changed, 6 insertions(+), 7 deletions(-)

diff --git a/net/zmap/Makefile b/net/zmap/Makefile
index 402d92a81287..57db586c0b7f 100644
--- a/net/zmap/Makefile
+++ b/net/zmap/Makefile
@@ -1,6 +1,7 @@
 PORTNAME=	zmap
-DISTVERSION=	3.0.0
 DISTVERSIONPREFIX=	v
+DISTVERSION=	3.0.0
+PORTREVISION=	1
 CATEGORIES=	net
 
 MAINTAINER=	yuri@FreeBSD.org
@@ -39,8 +40,6 @@ JSON_CMAKE_BOOL=	WITH_JSON
 post-patch:
 	@${REINPLACE_CMD} -i '' -e 's|/etc/zmap|${LOCALBASE}/etc/zmap|g' -e 's|/usr/local|${LOCALBASE}|g' \
 		${WRKSRC}/CMakeLists.txt
-	@${REINPLACE_CMD} -i '' -e 's|share/man/man1|man/man1|g' \
-		${WRKSRC}/src/CMakeLists.txt
 	@${REINPLACE_CMD} -i '' -e 's|/etc/zmap/zmap.conf|${LOCALBASE}/etc/zmap/zmap.conf|g' \
 		${WRKSRC}/src/zopt.ggo.in \
 		${WRKSRC}/src/zmap.c
diff --git a/net/zmap/pkg-plist b/net/zmap/pkg-plist
index e68a9f2b8ac7..ffe1c97709c1 100644
--- a/net/zmap/pkg-plist
+++ b/net/zmap/pkg-plist
@@ -1,10 +1,10 @@
 %%ETCDIR%%/blocklist.conf
 %%ETCDIR%%/zmap.conf
-man/man1/zblocklist.1.gz
-man/man1/ziterate.1.gz
-man/man1/zmap.1.gz
-man/man1/ztee.1.gz
 sbin/zblocklist
 sbin/ziterate
 sbin/zmap
 sbin/ztee
+share/man/man1/zblocklist.1.gz
+share/man/man1/ziterate.1.gz
+share/man/man1/zmap.1.gz
+share/man/man1/ztee.1.gz