git: 8b96917e1a6d - main - science/netcdf-fortran: Update manpage location (003a571d1d6585196545295efc181514f171c4c4, r523104)

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Wed, 21 Feb 2024 15:19:41 UTC
The branch main has been updated by sunpoet:

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

commit 8b96917e1a6d855d5ca6c3146974dd252a268b53
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-02-21 14:28:11 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-02-21 15:06:41 +0000

    science/netcdf-fortran: Update manpage location (003a571d1d6585196545295efc181514f171c4c4, r523104)
---
 science/netcdf-fortran/Makefile  | 1 +
 science/netcdf-fortran/pkg-plist | 4 ++--
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/science/netcdf-fortran/Makefile b/science/netcdf-fortran/Makefile
index 75c5c6204e61..43003ec71d7b 100644
--- a/science/netcdf-fortran/Makefile
+++ b/science/netcdf-fortran/Makefile
@@ -21,6 +21,7 @@ USES=		fortran gmake libtool localbase makeinfo pathfix
 
 CPPFLAGS+=	-fPIC -DPIC -DgFortran
 GNU_CONFIGURE=	yes
+GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
 INSTALL_TARGET=	install-strip
 MAKE_ENV=	MAKEINFOFLAGS=--no-split
 MAKE_JOBS_UNSAFE=	yes
diff --git a/science/netcdf-fortran/pkg-plist b/science/netcdf-fortran/pkg-plist
index 890598c817ff..e949873de296 100644
--- a/science/netcdf-fortran/pkg-plist
+++ b/science/netcdf-fortran/pkg-plist
@@ -17,5 +17,5 @@ lib/libnetcdff.so
 lib/libnetcdff.so.7
 lib/libnetcdff.so.7.1.0
 libdata/pkgconfig/netcdf-fortran.pc
-man/man3/netcdf_f77.3.gz
-man/man3/netcdf_fortran.3.gz
+share/man/man3/netcdf_f77.3.gz
+share/man/man3/netcdf_fortran.3.gz