git: bb1a4c4dc6cc - main - science/pnetcdf: Update manpage location (003a571d1d6585196545295efc181514f171c4c4, r523104)

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

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

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

    science/pnetcdf: Update manpage location (003a571d1d6585196545295efc181514f171c4c4, r523104)
---
 science/pnetcdf/Makefile  |  1 +
 science/pnetcdf/pkg-plist | 20 ++++++++++----------
 2 files changed, 11 insertions(+), 10 deletions(-)

diff --git a/science/pnetcdf/Makefile b/science/pnetcdf/Makefile
index bc19e7e921e1..8fe6e9ab4b31 100644
--- a/science/pnetcdf/Makefile
+++ b/science/pnetcdf/Makefile
@@ -15,6 +15,7 @@ USE_PERL5=	build
 CFLAGS+=	-fPIC
 CONFIGURE_ARGS=	--with-mpi=${MPI_HOME} ac_cv_fc_compiler_nag=no
 GNU_CONFIGURE=	yes
+GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
 MAKE_JOBS_UNSAFE=	yes
 
 CONFLICTS_INSTALL=	hdf-4.*
diff --git a/science/pnetcdf/pkg-plist b/science/pnetcdf/pkg-plist
index 717a3894fb82..11d73fc4d079 100644
--- a/science/pnetcdf/pkg-plist
+++ b/science/pnetcdf/pkg-plist
@@ -12,13 +12,13 @@ include/pnetcdf.inc
 include/pnetcdf.mod
 lib/libpnetcdf.a
 libdata/pkgconfig/pnetcdf.pc
-man/man1/cdfdiff.1.gz
-man/man1/ncmpidiff.1.gz
-man/man1/ncmpidump.1.gz
-man/man1/ncmpigen.1.gz
-man/man1/ncoffsets.1.gz
-man/man1/ncvalidator.1.gz
-man/man1/pnetcdf_version.1.gz
-man/man3/pnetcdf.3.gz
-man/man3/pnetcdf_f77.3.gz
-man/man3/pnetcdf_f90.3.gz
+share/man/man1/cdfdiff.1.gz
+share/man/man1/ncmpidiff.1.gz
+share/man/man1/ncmpidump.1.gz
+share/man/man1/ncmpigen.1.gz
+share/man/man1/ncoffsets.1.gz
+share/man/man1/ncvalidator.1.gz
+share/man/man1/pnetcdf_version.1.gz
+share/man/man3/pnetcdf.3.gz
+share/man/man3/pnetcdf_f77.3.gz
+share/man/man3/pnetcdf_f90.3.gz