git: e585dd8ba5ed - main - lang/guile2: Impelled to share/man

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

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

commit e585dd8ba5ed4fdbf8825a17db7bfe5c13b875f0
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-01-23 21:40:06 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-01-23 21:51:27 +0000

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

diff --git a/lang/guile2/Makefile b/lang/guile2/Makefile
index 8c02dc5a2669..3c7189f925bf 100644
--- a/lang/guile2/Makefile
+++ b/lang/guile2/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	guile
 DISTVERSION=	2.2.7
-PORTREVISION=	5
+PORTREVISION=	6
 CATEGORIES=	lang scheme
 MASTER_SITES=	GNU
 PKGNAMESUFFIX=	2
@@ -25,6 +25,7 @@ CPE_VENDOR=	gnu
 USE_LDCONFIG=	yes
 
 GNU_CONFIGURE=	yes
+GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
 CONFIGURE_ARGS=	--program-suffix=-${GUILE_VER}
 # eliminate some pointless configure warnings/errors
 CONFIGURE_ENV+=	gl_cv_func_working_mktime=yes \
@@ -61,7 +62,7 @@ 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
 
 .include <bsd.port.mk>
diff --git a/lang/guile2/pkg-plist b/lang/guile2/pkg-plist
index 56cf29b70027..0cdfc2f9bd27 100644
--- a/lang/guile2/pkg-plist
+++ b/lang/guile2/pkg-plist
@@ -447,7 +447,7 @@ lib/libguile-%%GUILE_VER%%.so.1
 lib/libguile-%%GUILE_VER%%.so.1.4.2
 lib/libguile-%%GUILE_VER%%.so.1.4.2-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