git: f5c8836e89a8 - main - sysutils/mcweject: Sanitize MANPREFIX

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

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

commit f5c8836e89a8416eebbc320dbb9a8eae6d517e9e
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-01-21 15:45:30 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-01-21 17:53:26 +0000

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

diff --git a/sysutils/mcweject/Makefile b/sysutils/mcweject/Makefile
index 191f61efc2d0..387ac54f6a3c 100644
--- a/sysutils/mcweject/Makefile
+++ b/sysutils/mcweject/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	mcweject
-PORTVERSION=	1.1
+DISTVERSION=	1.1
+PORTREVISION=	1
 CATEGORIES=	sysutils
 MASTER_SITES=	http://acadix.biz/Ports/distfiles/
 
@@ -18,6 +19,6 @@ do-install:
 	${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
 	${INSTALL_DATA} ${WRKSRC}/eject.allow ${STAGEDIR}${EXAMPLESDIR}
 	${INSTALL_PROGRAM} ${WRKSRC}/eject ${STAGEDIR}${PREFIX}/sbin
-	${INSTALL_MAN} ${WRKSRC}/eject.1 ${STAGEDIR}${PREFIX}/man/man1
+	${INSTALL_MAN} ${WRKSRC}/eject.1 ${STAGEDIR}${PREFIX}/share/man/man1
 
 .include <bsd.port.mk>
diff --git a/sysutils/mcweject/pkg-plist b/sysutils/mcweject/pkg-plist
index 42ee310c0165..78e54edff7be 100644
--- a/sysutils/mcweject/pkg-plist
+++ b/sysutils/mcweject/pkg-plist
@@ -1,3 +1,3 @@
-man/man1/eject.1.gz
+share/man/man1/eject.1.gz
 @(,,4511) sbin/eject
 %%EXAMPLESDIR%%/eject.allow