git: 85aa9d57bedb - main - mail/sortmail: Sanitize MANPREFIX

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Mon, 22 Jan 2024 00:29:16 UTC
The branch main has been updated by bofh:

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

commit 85aa9d57bedbb61b2e12542651e6b46f63ff0e26
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-01-22 00:12:56 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-01-22 00:29:00 +0000

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

diff --git a/mail/sortmail/Makefile b/mail/sortmail/Makefile
index 9b240edc9523..21517e86784b 100644
--- a/mail/sortmail/Makefile
+++ b/mail/sortmail/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	sortmail
 PORTVERSION=	1.20
+PORTREVISION=	1
 CATEGORIES=	mail
 MASTER_SITES=	http://www.freebsdcluster.org/~lasse/software/
 
@@ -13,7 +14,7 @@ NO_BUILD=	yes
 do-install:
 .for f in recomposemail decomposemail sortmail
 	${INSTALL_SCRIPT} ${WRKSRC}/${f} ${STAGEDIR}${PREFIX}/bin
-	${INSTALL_MAN} ${WRKSRC}/${f}.1 ${STAGEDIR}${MANPREFIX}/man/man1
+	${INSTALL_MAN} ${WRKSRC}/${f}.1 ${STAGEDIR}${PREFIX}/share/man/man1
 .endfor
 
 .include <bsd.port.mk>
diff --git a/mail/sortmail/pkg-plist b/mail/sortmail/pkg-plist
index d2aa63a12f68..c28d14927ce7 100644
--- a/mail/sortmail/pkg-plist
+++ b/mail/sortmail/pkg-plist
@@ -1,6 +1,6 @@
 bin/decomposemail
 bin/recomposemail
 bin/sortmail
-man/man1/decomposemail.1.gz
-man/man1/recomposemail.1.gz
-man/man1/sortmail.1.gz
+share/man/man1/decomposemail.1.gz
+share/man/man1/recomposemail.1.gz
+share/man/man1/sortmail.1.gz