git: bd49a7c09bcb - main - www/p5-RTx-Calendar: Moved man to share/man

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Mon, 26 Feb 2024 14:33:11 UTC
The branch main has been updated by bofh:

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

commit bd49a7c09bcb0b3f7f655f6d363c45bc516126bd
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-02-26 14:03:53 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-02-26 14:31:36 +0000

    www/p5-RTx-Calendar: Moved man to share/man
    
    Approved by:    portmgr (blanket)
---
 www/p5-RTx-Calendar/Makefile  | 2 ++
 www/p5-RTx-Calendar/pkg-plist | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/www/p5-RTx-Calendar/Makefile b/www/p5-RTx-Calendar/Makefile
index 59a4c6fcd1fe..253ced86581b 100644
--- a/www/p5-RTx-Calendar/Makefile
+++ b/www/p5-RTx-Calendar/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	RTx-Calendar
 PORTVERSION=	1.05
+PORTREVISION=	1
 CATEGORIES=	www perl5
 MASTER_SITES=	CPAN
 PKGNAMEPREFIX=	p5-
@@ -42,6 +43,7 @@ PLIST_SUB+=	RTHOME=share/rt${RT_VER}
 
 post-patch:
 	@${FIND} ${WRKSRC} -name '*.orig' -delete
+	@${REINPLACE_CMD} -e 's|LocalPath/man/man3|LocalPath/share/man/man3|g' ${WRKSRC}/inc/Module/Install/RTx.pm
 
 # Note: You can install using an arbitrary $PREFIX but only if it
 # matches the $PREFIX used to install www/rt{44,50}.  Hence ignore
diff --git a/www/p5-RTx-Calendar/pkg-plist b/www/p5-RTx-Calendar/pkg-plist
index 90243cfb629e..e572918da168 100644
--- a/www/p5-RTx-Calendar/pkg-plist
+++ b/www/p5-RTx-Calendar/pkg-plist
@@ -1,4 +1,4 @@
-man/man3/RTx::Calendar.3.gz
+share/man/man3/RTx::Calendar.3.gz
 %%RTHOME%%/plugins/RTx-Calendar/etc/tabs_privileged_callback.patch
 %%RTHOME%%/plugins/RTx-Calendar/html/Callbacks/RTx-Calendar/Elements/Tabs/Privileged
 %%RTHOME%%/plugins/RTx-Calendar/html/Elements/CalendarEvent