git: 067b62c227ee - main - www/p5-RT-Extension-LDAPImport: Moved man to share/man

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

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

commit 067b62c227ee91ea3aed28736f1cd954f5d377bc
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-02-26 13:43:20 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-02-26 14:31:31 +0000

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

diff --git a/www/p5-RT-Extension-LDAPImport/Makefile b/www/p5-RT-Extension-LDAPImport/Makefile
index 613f8f383b15..e2497b751f05 100644
--- a/www/p5-RT-Extension-LDAPImport/Makefile
+++ b/www/p5-RT-Extension-LDAPImport/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	RT-Extension-LDAPImport
 PORTVERSION=	0.36
-PORTREVISION=	4
+PORTREVISION=	5
 CATEGORIES=	www net perl5
 MASTER_SITES=	CPAN
 PKGNAMEPREFIX=	p5-
@@ -26,7 +26,10 @@ NO_ARCH=	yes
 
 PLIST_SUB+=	RTHOME=share/rt${RT_VER}
 
-# Note: You can install using an arbitrary $PREFIX but only if it
+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
 do-configure:
diff --git a/www/p5-RT-Extension-LDAPImport/pkg-plist b/www/p5-RT-Extension-LDAPImport/pkg-plist
index 0e20e2167fa7..8d26f901cdfb 100644
--- a/www/p5-RT-Extension-LDAPImport/pkg-plist
+++ b/www/p5-RT-Extension-LDAPImport/pkg-plist
@@ -1,3 +1,3 @@
 %%RTHOME%%/plugins/RT-Extension-LDAPImport/lib/RT/Extension/LDAPImport.pm
 %%RTHOME%%/plugins/RT-Extension-LDAPImport/bin/rtldapimport
-man/man3/RT::Extension::LDAPImport.3.gz
+share/man/man3/RT::Extension::LDAPImport.3.gz