git: f64877ddc479 - main - math/xplot: Moved man to share/man

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Sat, 24 Feb 2024 20:07:42 UTC
The branch main has been updated by bofh:

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

commit f64877ddc4791bf52ad2c2a129568724316725f9
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-02-24 19:34:32 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-02-24 19:41:57 +0000

    math/xplot: Moved man to share/man
    
    Approved by:    portmgr (blanket)
---
 math/xplot/Makefile | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/math/xplot/Makefile b/math/xplot/Makefile
index bc9dce0eaf98..bd786987707c 100644
--- a/math/xplot/Makefile
+++ b/math/xplot/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	xplot
 PORTVERSION=	0.90.7.1
-PORTREVISION=	3
+PORTREVISION=	4
 CATEGORIES=	math graphics net
 MASTER_SITES=	http://www.xplot.org/xplot/
 
@@ -15,14 +15,15 @@ GNU_CONFIGURE=	yes
 
 PORTDOCS=	README README.tcp_plots
 PLIST_FILES=	bin/tcpdump2xplot bin/tcpdump2xplot.pl bin/xplot \
-		man/man1/tcpdump2xplot.1.gz \
-		man/man1/xplot.1.gz
+		share/man/man1/tcpdump2xplot.1.gz \
+		share/man/man1/xplot.1.gz
 
 OPTIONS_DEFINE=	DOCS
 
 post-patch:
-	@${REINPLACE_CMD} -e \
-		'/INSTALL/s|2xplot$$|2xplot.pl|' ${WRKSRC}/Makefile.in
+	@${REINPLACE_CMD} -e '/INSTALL/s|2xplot$$|2xplot.pl|' \
+		-e 's|man/man1|share/man/man1|' \
+		${WRKSRC}/Makefile.in
 
 post-install:
 	${LN} -sf tcpdump2xplot.pl ${STAGEDIR}${PREFIX}/bin/tcpdump2xplot