git: 2c58c190e345 - main - www/p5-RT-Extension-RepeatTicket: Moved man to share/man

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

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

commit 2c58c190e3456d86fa996f0b4218240a3a323ae7
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-02-26 13:46:13 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-02-26 14:31:33 +0000

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

diff --git a/www/p5-RT-Extension-RepeatTicket/Makefile b/www/p5-RT-Extension-RepeatTicket/Makefile
index 1925f0ca46ec..d7bd395063ac 100644
--- a/www/p5-RT-Extension-RepeatTicket/Makefile
+++ b/www/p5-RT-Extension-RepeatTicket/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	RT-Extension-RepeatTicket
 PORTVERSION=	1.11
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	www perl5
 MASTER_SITES=	CPAN
 PKGNAMEPREFIX=	p5-
@@ -24,6 +24,9 @@ NO_ARCH=	yes
 RT_VER=		44
 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-RepeatTicket/pkg-plist b/www/p5-RT-Extension-RepeatTicket/pkg-plist
index 837ddf15186e..56af141f9bd0 100644
--- a/www/p5-RT-Extension-RepeatTicket/pkg-plist
+++ b/www/p5-RT-Extension-RepeatTicket/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