git: ff26c952cc19 - main - math/fftw3: Impelled to share/man

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Tue, 23 Jan 2024 21:51:54 UTC
The branch main has been updated by bofh:

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

commit ff26c952cc1937970ee0f9635e6ffb0e60da9688
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-01-23 21:11:57 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-01-23 21:51:26 +0000

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

diff --git a/math/fftw3/Makefile b/math/fftw3/Makefile
index 25ef2e136f04..7c0a4919f051 100644
--- a/math/fftw3/Makefile
+++ b/math/fftw3/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	fftw3
 DISTVERSION=	3.3.10
-PORTREVISION=	4
+PORTREVISION=	5
 CATEGORIES=	math
 MASTER_SITES=	http://www.fftw.org/ \
 		ftp://ftp.fftw.org/pub/fftw/
@@ -19,6 +19,7 @@ FFTW3_FLAVOR?=	default
 FFTW3_SUFX=
 
 GNU_CONFIGURE=	yes
+GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
 INSTALL_TARGET=	install-strip
 TEST_TARGET=	smallcheck #bigcheck check exhaustive-check paranoid-check
 TEST_WRKSRC=	${WRKSRC}/tests
@@ -180,7 +181,7 @@ post-configure-G77_WRAPPERS-on:
 post-install:
 	${INSTALL_DATA} ${WRKDIR}/FFTW3LibraryDepends.cmake ${STAGEDIR}${PREFIX}/lib/cmake/fftw3${FFTW3_SUFX}
 .if ${FFTW3_FLAVOR} != "default"
-	${INSTALL_MAN} ${WRKSRC}/tools/fftw${FFTW3_SUFX}-wisdom.1 ${STAGEDIR}${PREFIX}/man/man1
+	${INSTALL_MAN} ${WRKSRC}/tools/fftw${FFTW3_SUFX}-wisdom.1 ${STAGEDIR}${PREFIX}/share/man/man1
 	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/lib*.so
 .endif
 
diff --git a/math/fftw3/pkg-plist b/math/fftw3/pkg-plist
index 637afd9007cb..7ebe02198c13 100644
--- a/math/fftw3/pkg-plist
+++ b/math/fftw3/pkg-plist
@@ -28,6 +28,6 @@ lib/libfftw3%%FFTW3_SUFX%%_threads.so
 lib/libfftw3%%FFTW3_SUFX%%_threads.so.%%SHLIB_VER_MAJ%%
 lib/libfftw3%%FFTW3_SUFX%%_threads.so.%%SHLIB_VER%%
 libdata/pkgconfig/fftw3%%FFTW3_SUFX%%.pc
-%%DEF%%man/man1/fftw-wisdom.1.gz
-%%DEF%%man/man1/fftw-wisdom-to-conf.1.gz
-%%NONDEF%%man/man1/fftw%%FFTW3_SUFX%%-wisdom.1.gz
+%%DEF%%share/man/man1/fftw-wisdom.1.gz
+%%DEF%%share/man/man1/fftw-wisdom-to-conf.1.gz
+%%NONDEF%%share/man/man1/fftw%%FFTW3_SUFX%%-wisdom.1.gz