git: 72eb0d5cc5a1 - main - lang/guile3: Moved man to share/man

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Sat, 27 Jan 2024 00:30:52 UTC
The branch main has been updated by bofh:

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

commit 72eb0d5cc5a1079dd51a06f70a558d4f24e320ec
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-01-26 18:43:21 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-01-27 00:30:39 +0000

    lang/guile3: Moved man to share/man
    
    Approved by:    portmgr (blanket)
---
 lang/guile3/Makefile  | 7 ++++---
 lang/guile3/pkg-plist | 2 +-
 2 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/lang/guile3/Makefile b/lang/guile3/Makefile
index 9de45dcaf6a5..f5cfffca2dfa 100644
--- a/lang/guile3/Makefile
+++ b/lang/guile3/Makefile
@@ -1,6 +1,6 @@
 PORTNAME?=	guile
 PORTVERSION=	3.0.9
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	lang scheme
 MASTER_SITES=	GNU
 PKGNAMESUFFIX?=	3
@@ -33,6 +33,7 @@ USES+=		guile:${PORTVERSION:R},env \
 CPE_VENDOR=	gnu
 USE_LDCONFIG=	yes
 GNU_CONFIGURE=	yes
+GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
 CONFIGURE_ARGS=	--program-suffix=-${GUILE_VER} \
 		--enable-lto=no
 # LTO is unconditionally off here because it fails to build with llvm,
@@ -93,8 +94,8 @@ post-install:
 	for p in guile guild guile-tools guile-config guile-snarf; do \
 	  ${LN} -s $${p}-${GUILE_VER} ${STAGEDIR}${PREFIX}/bin/$${p}${GUILE_SFX}; \
 	done
-	${MV} ${STAGEDIR}${PREFIX}/man/man1/guile-${GUILE_VER}.1 \
-	      ${STAGEDIR}${PREFIX}/man/man1/guile${GUILE_SFX}.1
+	${MV} ${STAGEDIR}${PREFIX}/share/man/man1/guile-${GUILE_VER}.1 \
+	      ${STAGEDIR}${PREFIX}/share/man/man1/guile${GUILE_SFX}.1
 
 .endif # empty(NO_BUILD)
 
diff --git a/lang/guile3/pkg-plist b/lang/guile3/pkg-plist
index 572571eaa753..e09e5e86400c 100644
--- a/lang/guile3/pkg-plist
+++ b/lang/guile3/pkg-plist
@@ -477,7 +477,7 @@ lib/libguile-%%GUILE_VER%%.so.1
 lib/libguile-%%GUILE_VER%%.so.1.6.0
 lib/libguile-%%GUILE_VER%%.so.1.6.0-gdb.scm
 libdata/pkgconfig/guile-%%GUILE_VER%%.pc
-man/man1/guile%%GUILE_SFX%%.1.gz
+share/man/man1/guile%%GUILE_SFX%%.1.gz
 @comment share/aclocal/guile.m4
 %%DATADIR%%/%%GUILE_VER%%/guile-procedures.txt
 %%DATADIR%%/%%GUILE_VER%%/ice-9/and-let-star.scm