git: 130a2fc27bc7 - main - devel/qt5-linguisttools: Sanitize MANPREFIX

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Sun, 21 Jan 2024 12:51:25 UTC
The branch main has been updated by bofh:

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

commit 130a2fc27bc7d2ba1f036ef864c5a4b47009ff08
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-01-21 02:42:01 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-01-21 12:51:14 +0000

    devel/qt5-linguisttools: Sanitize MANPREFIX
    
    Approved by:    portmgr (blanket)
---
 devel/qt5-linguisttools/Makefile  | 2 +-
 devel/qt5-linguisttools/pkg-plist | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/devel/qt5-linguisttools/Makefile b/devel/qt5-linguisttools/Makefile
index fb1ba802315c..ed496c8026f9 100644
--- a/devel/qt5-linguisttools/Makefile
+++ b/devel/qt5-linguisttools/Makefile
@@ -21,7 +21,7 @@ post-patch:
 post-install:
 .for f in lrelease lupdate
 	${INSTALL_MAN} ${WRKSRC}/src/linguist/${f}/${f}.1 \
-		${STAGEDIR}${MANPREFIX}/man/man1
+		${STAGEDIR}${MANPREFIX}/share/man/man1
 	${RLN} ${STAGEDIR}${QT_BINDIR}/${f} ${STAGEDIR}${PREFIX}/bin/${f}-qt5
 .endfor
 
diff --git a/devel/qt5-linguisttools/pkg-plist b/devel/qt5-linguisttools/pkg-plist
index 848a917df542..ec4058f998d5 100644
--- a/devel/qt5-linguisttools/pkg-plist
+++ b/devel/qt5-linguisttools/pkg-plist
@@ -15,5 +15,5 @@ bin/lupdate-qt5
 %%QT_BINDIR%%/lupdate-pro
 %%DEBUG%%%%QT_BINDIR%%/lupdate-pro.debug
 %%DEBUG%%%%QT_BINDIR%%/lupdate.debug
-man/man1/lrelease.1.gz
-man/man1/lupdate.1.gz
+share/man/man1/lrelease.1.gz
+share/man/man1/lupdate.1.gz