git: 6a2dabc96d30 - main - math/octave: Moved man to share/man

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Thu, 22 Feb 2024 03:48:16 UTC
The branch main has been updated by bofh:

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

commit 6a2dabc96d3001541712f1963853fa217a8f89e0
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-02-21 11:47:17 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-02-22 03:47:55 +0000

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

diff --git a/math/octave/Makefile b/math/octave/Makefile
index ff8a629211d2..a7b6ab466459 100644
--- a/math/octave/Makefile
+++ b/math/octave/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	octave
 PORTVERSION=	${OCTAVE_VERSION}
-PORTREVISION=	5
+PORTREVISION=	6
 CATEGORIES=	math
 MASTER_SITES=	GNU
 
@@ -54,6 +54,7 @@ USES=		charsetfix compiler:c++14-lang desktop-file-utils fortran gl \
 USE_LDCONFIG=	${PREFIX}/lib/${PORTNAME}/${PORTVERSION}
 USE_PERL5=	build
 GNU_CONFIGURE=	yes
+GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
 USE_QT=		core gui help network opengl printsupport sql widgets xml \
 		buildtools:build linguist:build qmake:build
 USE_XORG=	x11 xcursor xext xfixes xft xinerama xrender
diff --git a/math/octave/pkg-plist b/math/octave/pkg-plist
index bea38be7030f..88efa1f399ad 100644
--- a/math/octave/pkg-plist
+++ b/math/octave/pkg-plist
@@ -796,10 +796,10 @@ libdata/pkgconfig/octave.pc
 libdata/pkgconfig/octinterp.pc
 %%QT5%%libexec/octave/%%OCTAVE_VERSION%%/exec/%%GNU_HOST%%/octave-gui
 %%QT5%%libexec/octave/%%OCTAVE_VERSION%%/exec/%%GNU_HOST%%/octave-svgconvert
-%%PORTDOCS%%man/man1/mkoctfile.1.gz
-%%PORTDOCS%%man/man1/octave-cli.1.gz
-%%PORTDOCS%%man/man1/octave-config.1.gz
-%%PORTDOCS%%man/man1/octave.1.gz
+%%PORTDOCS%%share/man/man1/mkoctfile.1.gz
+%%PORTDOCS%%share/man/man1/octave-cli.1.gz
+%%PORTDOCS%%share/man/man1/octave-config.1.gz
+%%PORTDOCS%%share/man/man1/octave.1.gz
 share/applications/org.octave.Octave.desktop
 %%PORTDOCS%%%%DOCSDIR%%/liboctave.ps
 %%PORTDOCS%%%%DOCSDIR%%/octave.ps