git: 8eaddd1ae88f - main - math/mesquite: Move man pages to share/man

From: Nuno Teixeira <eduardo_at_FreeBSD.org>
Date: Tue, 12 Mar 2024 12:04:54 UTC
The branch main has been updated by eduardo:

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

commit 8eaddd1ae88fc28fe9a244e377698a78d26a0358
Author:     Nuno Teixeira <eduardo@FreeBSD.org>
AuthorDate: 2024-03-12 10:51:01 +0000
Commit:     Nuno Teixeira <eduardo@FreeBSD.org>
CommitDate: 2024-03-12 12:04:29 +0000

    math/mesquite: Move man pages to share/man
    
    Approved by:    portmgr (blanket)
---
 math/mesquite/Makefile  | 2 ++
 math/mesquite/pkg-plist | 8 ++++----
 2 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/math/mesquite/Makefile b/math/mesquite/Makefile
index 9f90c1a7a553..11153a49b61a 100644
--- a/math/mesquite/Makefile
+++ b/math/mesquite/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	mesquite
 DISTVERSION=	2.3.0
+PORTREVISION=	1
 CATEGORIES=	math
 MASTER_SITES=	https://github.com/sandialabs/mesquite/raw/main/mesquite/
 PKGNAMESUFFIX=	-mesh-toolkit
@@ -16,6 +17,7 @@ USE_LDCONFIG=	yes
 USE_CXXSTD=	c++11 # attempt to fix build failing due to the use of std::unary_function that was removed in c++17
 
 GNU_CONFIGURE=	yes
+GNU_CONFIGURE_MANPREFIX=	${PREFIX}/share
 CONFIGURE_ARGS=	--enable-shared --disable-static
 
 INSTALL_TARGET=	install-strip
diff --git a/math/mesquite/pkg-plist b/math/mesquite/pkg-plist
index f01ed9867c72..7846e56e98da 100644
--- a/math/mesquite/pkg-plist
+++ b/math/mesquite/pkg-plist
@@ -229,7 +229,7 @@ include/mesquite_version.h
 lib/libmesquite.so
 lib/libmesquite.so.0
 lib/libmesquite.so.0.0.0
-man/man1/msqquality.1.gz
-man/man1/msqshape.1.gz
-man/man1/vtkrandom.1.gz
-man/man1/vtkxform.1.gz
+share/man/man1/msqquality.1.gz
+share/man/man1/msqshape.1.gz
+share/man/man1/vtkrandom.1.gz
+share/man/man1/vtkxform.1.gz