git: 6eb91a991026 - main - math/algae: Moved man to share/man

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

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

commit 6eb91a9910260a2286e370a0d70eefb933a3e343
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-02-24 17:59:51 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-02-24 18:21:00 +0000

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

diff --git a/math/algae/Makefile b/math/algae/Makefile
index 2ee12115354c..385a737f6ad6 100644
--- a/math/algae/Makefile
+++ b/math/algae/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	algae
 PORTVERSION=	4.3.6
-PORTREVISION=	19
+PORTREVISION=	20
 CATEGORIES=	math
 MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
 
@@ -16,6 +16,7 @@ BROKEN_armv6=		does not build: checking for proper floating point exception hand
 BROKEN_armv7=		does not build: checking for proper floating point exception handling... no
 
 GNU_CONFIGURE=	yes
+GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
 USES=		fortran
 
 CONFIGURE_ARGS=	--disable-dlmalloc --without-fftw --without-blas \
diff --git a/math/algae/files/patch-Makefile.in b/math/algae/files/patch-Makefile.in
index bbf7d884017a..195835aec738 100644
--- a/math/algae/files/patch-Makefile.in
+++ b/math/algae/files/patch-Makefile.in
@@ -5,7 +5,7 @@
  
  # Directory in which to install the man page.
 -mandir = $(datadir)/man/man$(manext)
-+mandir = $(prefix)/man/man$(manext)
++mandir = $(prefix)/share/man/man$(manext)
  # The manpage extension
  manext = 1
  
diff --git a/math/algae/pkg-plist b/math/algae/pkg-plist
index fd1de8b61cb4..bdf0ef5ded8a 100644
--- a/math/algae/pkg-plist
+++ b/math/algae/pkg-plist
@@ -1,7 +1,7 @@
 bin/algae
 bin/algae-%%ALGAE_VERSION%%
 lib/algae/%%ALGAE_VERSION%%/algae.A
-man/man1/algae.1.gz
+share/man/man1/algae.1.gz
 %%DATADIR%%/%%ALGAE_VERSION%%/html/COPYING
 %%DATADIR%%/%%ALGAE_VERSION%%/html/LICENSE
 %%DATADIR%%/%%ALGAE_VERSION%%/html/algae.html