git: 368cea276857 - main - math/gnuplot: Moved man to share/man

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Sun, 28 Jan 2024 22:15:03 UTC
The branch main has been updated by bofh:

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

commit 368cea276857638d62cfc1768f4b83b30a495e77
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-01-28 20:47:46 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-01-28 22:14:16 +0000

    math/gnuplot: Moved man to share/man
    
    Approved by:    portmgr (blanket)
---
 math/gnuplot/Makefile  | 3 ++-
 math/gnuplot/pkg-plist | 2 +-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/math/gnuplot/Makefile b/math/gnuplot/Makefile
index ae5a10fe6368..19f2fa232cb5 100644
--- a/math/gnuplot/Makefile
+++ b/math/gnuplot/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	gnuplot
 PORTVERSION=	5.4.1
-PORTREVISION=	5
+PORTREVISION=	6
 CATEGORIES=	math graphics
 MASTER_SITES=	SF
 
@@ -18,6 +18,7 @@ CONFLICTS_INSTALL?=	gnuplot-lite
 USES+=		compiler:c++11-lang cpe groff iconv pkgconfig readline
 CPE_VENDOR=	gnuplot_project
 GNU_CONFIGURE=	yes
+GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
 LDFLAGS+=	-L${LOCALBASE}/lib ${ICONV_LIB}
 CONFIGURE_ARGS+=--with-readline=gnu \
 		--without-linux-vga \
diff --git a/math/gnuplot/pkg-plist b/math/gnuplot/pkg-plist
index 8c60f6f882b6..c599c8e7ff70 100644
--- a/math/gnuplot/pkg-plist
+++ b/math/gnuplot/pkg-plist
@@ -1,6 +1,6 @@
 bin/gnuplot
 %%X11%%libexec/gnuplot/5.4/gnuplot_x11
-man/man1/gnuplot.1.gz
+share/man/man1/gnuplot.1.gz
 %%DATADIR%%/5.4/PostScript/8859-1.ps
 %%DATADIR%%/5.4/PostScript/8859-15.ps
 %%DATADIR%%/5.4/PostScript/8859-2.ps