git: 87555cd25acc - main - www/p5-RT-Extension-CommandByMail: Moved man to share/man

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

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

commit 87555cd25accd1d3904bb6c2d720554c82078cdc
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-02-26 13:08:02 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-02-26 13:15:16 +0000

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

diff --git a/www/p5-RT-Extension-CommandByMail/Makefile b/www/p5-RT-Extension-CommandByMail/Makefile
index 3109725f09f4..3c52eb88202d 100644
--- a/www/p5-RT-Extension-CommandByMail/Makefile
+++ b/www/p5-RT-Extension-CommandByMail/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	RT-Extension-CommandByMail
 PORTVERSION=	3.00
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	www perl5
 MASTER_SITES=	CPAN
 PKGNAMEPREFIX=	p5-
@@ -23,6 +23,9 @@ NO_ARCH=	yes
 
 PLIST_SUB+=	RTHOME=share/rt${RT_VER}
 
+post-patch:
+	${REINPLACE_CMD} -e 's|LocalPath/man/man3|LocalPath/share/man/man3|' ${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-CommandByMail/pkg-plist b/www/p5-RT-Extension-CommandByMail/pkg-plist
index 9a4f3fd0cfcc..8d5f4a492425 100644
--- a/www/p5-RT-Extension-CommandByMail/pkg-plist
+++ b/www/p5-RT-Extension-CommandByMail/pkg-plist
@@ -1,6 +1,6 @@
-man/man3/RT::Extension::CommandByMail.3.gz
-man/man3/RT::Interface::Email::Action::CommandByMail.3.gz
-man/man3/RT::Interface::Email::Filter::TakeAction.3.gz
+share/man/man3/RT::Extension::CommandByMail.3.gz
+share/man/man3/RT::Interface::Email::Action::CommandByMail.3.gz
+share/man/man3/RT::Interface::Email::Filter::TakeAction.3.gz
 %%RTHOME%%/plugins/RT-Extension-CommandByMail/lib/RT/Extension/CommandByMail.pm
 %%RTHOME%%/plugins/RT-Extension-CommandByMail/lib/RT/Interface/Email/Action/CommandByMail.pm
 %%RTHOME%%/plugins/RT-Extension-CommandByMail/lib/RT/Interface/Email/Filter/TakeAction.pm