git: 955851071338 - main - www/p5-RT-Extension-RepeatTicket2: Moved man to share/man

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

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

commit 955851071338b0b733ed3613bc9db86463fd0a49
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-02-26 13:49:19 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-02-26 14:31:35 +0000

    www/p5-RT-Extension-RepeatTicket2: Moved man to share/man
    
    Approved by:    portmgr (blanket)
---
 www/p5-RT-Extension-RepeatTicket2/Makefile  | 4 ++++
 www/p5-RT-Extension-RepeatTicket2/pkg-plist | 2 +-
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/www/p5-RT-Extension-RepeatTicket2/Makefile b/www/p5-RT-Extension-RepeatTicket2/Makefile
index b205122ab5bb..a972bc4036b0 100644
--- a/www/p5-RT-Extension-RepeatTicket2/Makefile
+++ b/www/p5-RT-Extension-RepeatTicket2/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	RT-Extension-RepeatTicket
 PORTVERSION=	2.02
+PORTREVISION=	1
 CATEGORIES=	www perl5
 MASTER_SITES=	CPAN
 PKGNAMEPREFIX=	p5-
@@ -24,6 +25,9 @@ NO_ARCH=	yes
 RT_VER=		50
 PLIST_SUB=	RTHOME=share/rt${RT_VER}
 
+post-patch:
+	@${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/rt44.  Hence ignore
 # $PREFIX in the environment and inherit settings from RT.pm
diff --git a/www/p5-RT-Extension-RepeatTicket2/pkg-plist b/www/p5-RT-Extension-RepeatTicket2/pkg-plist
index 2c42a89d9ccd..29c2cb5e935e 100644
--- a/www/p5-RT-Extension-RepeatTicket2/pkg-plist
+++ b/www/p5-RT-Extension-RepeatTicket2/pkg-plist
@@ -1,4 +1,4 @@
-man/man3/RT::Extension::RepeatTicket.3.gz
+share/man/man3/RT::Extension::RepeatTicket.3.gz
 %%RTHOME%%/plugins/RT-Extension-RepeatTicket/bin/rt-repeat-ticket
 %%RTHOME%%/plugins/RT-Extension-RepeatTicket/etc/initialdata
 %%RTHOME%%/plugins/RT-Extension-RepeatTicket/html/Callbacks/RepeatTicket/Elements/Tabs/Privileged