git: 705e76523464 - main - astro/wcslib: Moved man to share/man

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Tue, 20 Feb 2024 22:10:53 UTC
The branch main has been updated by bofh:

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

commit 705e76523464b8559457a8baf8bd5c4a14a5f0c3
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-02-20 21:58:23 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-02-20 22:10:22 +0000

    astro/wcslib: Moved man to share/man
    
    Approved by:    portmgr (blanket)
---
 astro/wcslib/Makefile  |  2 ++
 astro/wcslib/pkg-plist | 12 ++++++------
 2 files changed, 8 insertions(+), 6 deletions(-)

diff --git a/astro/wcslib/Makefile b/astro/wcslib/Makefile
index b5d9e79e3771..8839de8959a3 100644
--- a/astro/wcslib/Makefile
+++ b/astro/wcslib/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	wcslib
 PORTVERSION=	8.2.2
+PORTREVISION=	1
 CATEGORIES=	astro
 MASTER_SITES=	ftp://ftp.atnf.csiro.au/pub/software/wcslib/
 
@@ -12,6 +13,7 @@ LICENSE=	GPLv3
 USES=		tar:bzip2 gmake fortran
 
 GNU_CONFIGURE=	yes
+GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
 CONFIGURE_ARGS=	 --docdir=${DOCSDIR}
 
 MAKEFILE=	GNUmakefile
diff --git a/astro/wcslib/pkg-plist b/astro/wcslib/pkg-plist
index 467f3f849790..47a2b5a91f56 100644
--- a/astro/wcslib/pkg-plist
+++ b/astro/wcslib/pkg-plist
@@ -59,12 +59,12 @@ lib/libwcs.so
 lib/libwcs.so.8
 lib/libwcs.so.%%VERSION%%
 libdata/pkgconfig/wcslib.pc
-%%CFITSIO%%man/man1/HPXcvt.1.gz
-man/man1/fitshdr.1.gz
-man/man1/sundazel.1.gz
-man/man1/tofits.1.gz
-%%CFITSIO%%%%PGPLOT%%man/man1/wcsgrid.1.gz
-%%CFITSIO%%man/man1/wcsware.1.gz
+%%CFITSIO%%share/man/man1/HPXcvt.1.gz
+share/man/man1/fitshdr.1.gz
+share/man/man1/sundazel.1.gz
+share/man/man1/tofits.1.gz
+%%CFITSIO%%%%PGPLOT%%share/man/man1/wcsgrid.1.gz
+%%CFITSIO%%share/man/man1/wcsware.1.gz
 %%PORTDOCS%%%%DOCSDIR%%/CHANGES
 %%PORTDOCS%%%%DOCSDIR%%/COPYING
 %%PORTDOCS%%%%DOCSDIR%%/COPYING.LESSER