git: 08a810fea36d - main - sysutils/ipdbtools: Moved man to share/man

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Mon, 26 Feb 2024 05:44:52 UTC
The branch main has been updated by bofh:

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

commit 08a810fea36dc229c669f89686f024f6e5c84ca6
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-02-26 05:42:17 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-02-26 05:42:17 +0000

    sysutils/ipdbtools: Moved man to share/man
    
    Approved by:    portmgr (blanket)
---
 sysutils/ipdbtools/Makefile | 13 ++++++++-----
 1 file changed, 8 insertions(+), 5 deletions(-)

diff --git a/sysutils/ipdbtools/Makefile b/sysutils/ipdbtools/Makefile
index 3e0a90f947a8..13315cfcaa3f 100644
--- a/sysutils/ipdbtools/Makefile
+++ b/sysutils/ipdbtools/Makefile
@@ -1,7 +1,7 @@
 PORTNAME=	ipdbtools
 DISTVERSIONPREFIX=	v
 DISTVERSION=	1.1.2
-PORTREVISION=	3
+PORTREVISION=	4
 CATEGORIES=	sysutils
 
 MAINTAINER=	cyclaero@gmail.com
@@ -19,9 +19,12 @@ GH_PROJECT=	ipdb
 PLIST_FILES=	bin/ipup \
 		bin/ipdb \
 		bin/ipdb-update.sh \
-		man/man1/ipdbtools.1.gz \
-		man/man1/ipup.1.gz \
-		man/man1/ipdb.1.gz \
-		man/man1/ipdb-update.sh.1.gz
+		share/man/man1/ipdbtools.1.gz \
+		share/man/man1/ipup.1.gz \
+		share/man/man1/ipdb.1.gz \
+		share/man/man1/ipdb-update.sh.1.gz
+
+post-patch:
+	@${REINPLACE_CMD} -e 's|man/man1|share/man/man1|' ${WRKSRC}/Makefile
 
 .include <bsd.port.mk>