git: 291e261ff00b - main - lang/rexx-regina: Moved man to share/man

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Wed, 31 Jan 2024 12:59:57 UTC
The branch main has been updated by bofh:

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

commit 291e261ff00ba5bcaf533c4b33b61cf994f7edb4
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-01-31 12:35:02 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-01-31 12:59:01 +0000

    lang/rexx-regina: Moved man to share/man
    
    Approved by:    portmgr (blanket)
---
 lang/rexx-regina/Makefile  |  6 ++++--
 lang/rexx-regina/pkg-plist | 10 +++++-----
 2 files changed, 9 insertions(+), 7 deletions(-)

diff --git a/lang/rexx-regina/Makefile b/lang/rexx-regina/Makefile
index 8d7bb6b73ee9..b37be964d041 100644
--- a/lang/rexx-regina/Makefile
+++ b/lang/rexx-regina/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	regina
 PORTVERSION=	3.9.3
+PORTREVISION=	1
 CATEGORIES=	lang
 MASTER_SITES=	SF/${PORTNAME}-rexx/${PORTNAME}-rexx/${PORTVERSION}:source \
 		SF/${PORTNAME}-rexx/${PORTNAME}-documentation/3.9.1:docs
@@ -19,6 +20,7 @@ USES=		gmake iconv ncurses
 USE_LDCONFIG=	yes
 USE_RC_SUBR=	rxstack
 GNU_CONFIGURE=	yes
+GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
 CONFIGURE_ARGS=	--with-addon-dir=${PREFIX}/lib/Regina-REXX/addons
 CONFIGURE_ENV=	ac_cv_c_char_unsigned=yes
 MAKE_JOBS_UNSAFE=	yes
@@ -48,7 +50,7 @@ post-install-DOCS-on:
 	${INSTALL_DATA} ${WRKDIR}/regutil.pdf ${STAGEDIR}${DOCSDIR}
 
 post-stage:
-	@${LN} -f ${STAGEDIR}/${PREFIX}/man/man1/regina.1.gz \
-		${STAGEDIR}/${PREFIX}/man/man1/rexx.1.gz
+	@${LN} -f ${STAGEDIR}/${PREFIX}/share/man/man1/regina.1.gz \
+		${STAGEDIR}/${PREFIX}/share/man/man1/rexx.1.gz
 
 .include <bsd.port.mk>
diff --git a/lang/rexx-regina/pkg-plist b/lang/rexx-regina/pkg-plist
index ec88bf65ca8a..613127e0cae1 100644
--- a/lang/rexx-regina/pkg-plist
+++ b/lang/rexx-regina/pkg-plist
@@ -10,11 +10,11 @@ lib/Regina-REXX/addons/librxtest2.so
 lib/libregina.a
 lib/libregina.so
 libdata/pkgconfig/libregina.pc
-man/man1/regina.1.gz
-man/man1/rexx.1.gz
-man/man1/regina-config.1.gz
-man/man1/rxqueue.1.gz
-man/man1/rxstack.1.gz
+share/man/man1/regina.1.gz
+share/man/man1/rexx.1.gz
+share/man/man1/regina-config.1.gz
+share/man/man1/rxqueue.1.gz
+share/man/man1/rxstack.1.gz
 %%DATADIR%%/de.mtb
 %%DATADIR%%/en.mtb
 %%DATADIR%%/es.mtb