git: 70139f51dfe8 - main - math/pari: Sanitize MANPREFIX

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Mon, 22 Jan 2024 17:34:35 UTC
The branch main has been updated by bofh:

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

commit 70139f51dfe84590d8d9b4bd2128392fa3ff0c07
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-01-22 16:57:21 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-01-22 17:34:23 +0000

    math/pari: Sanitize MANPREFIX
    
    Approved by:    portmgr (blanket)
---
 math/pari/Makefile  |  3 ++-
 math/pari/pkg-plist | 10 +++++-----
 2 files changed, 7 insertions(+), 6 deletions(-)

diff --git a/math/pari/Makefile b/math/pari/Makefile
index f0bc74452dbb..2853a0090b50 100644
--- a/math/pari/Makefile
+++ b/math/pari/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	pari
 DISTVERSION=	2.15.4
+PORTREVISION=	1
 PORTEPOCH=	2
 CATEGORIES=	math
 MASTER_SITES=	https://pari.math.u-bordeaux.fr/pub/pari/unix/
@@ -20,7 +21,7 @@ USE_LDCONFIG=	yes
 USE_PERL5=	build run
 HAS_CONFIGURE=	yes
 CONFIGURE_SCRIPT=	Configure
-CONFIGURE_ARGS=	--mandir=${MANPREFIX}/man/man1 \
+CONFIGURE_ARGS=	--mandir=${PREFIX}/share/man/man1 \
 		--prefix=${PREFIX} \
 		--with-readline
 ALL_TARGET=	gp
diff --git a/math/pari/pkg-plist b/math/pari/pkg-plist
index dbbe1d277af5..b2f2a51cedf0 100644
--- a/math/pari/pkg-plist
+++ b/math/pari/pkg-plist
@@ -24,8 +24,8 @@ lib/libpari.so
 lib/libpari.so.%%PORTVERSION%%
 lib/libpari.so.8
 lib/pari/pari.cfg
-man/man1/gp-%%GP_VERSION%%.1.gz
-man/man1/gp.1.gz
-man/man1/gphelp.1.gz
-man/man1/pari.1.gz
-man/man1/tex2mail.1.gz
+share/man/man1/gp-%%GP_VERSION%%.1.gz
+share/man/man1/gp.1.gz
+share/man/man1/gphelp.1.gz
+share/man/man1/pari.1.gz
+share/man/man1/tex2mail.1.gz