git: c90767582368 - main - mail/s-nail: Sanitize MANPREFIX

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

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

commit c9076758236866cb316d757325e5166c916ba22a
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-01-22 17:02:39 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-01-22 17:34:24 +0000

    mail/s-nail: Sanitize MANPREFIX
    
    Approved by:    portmgr (blanket)
---
 mail/s-nail/Makefile | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/mail/s-nail/Makefile b/mail/s-nail/Makefile
index 235a804aba59..52a339e91622 100644
--- a/mail/s-nail/Makefile
+++ b/mail/s-nail/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	s-nail
 DISTVERSION=	14.9.24
+PORTREVISION=	1
 CATEGORIES=	mail
 MASTER_SITES=	https://www.sdaoden.eu/downloads/
 
@@ -24,7 +25,7 @@ MAKEFILE=	makefile
 MAKE_ENV=	EXTRA_CFLAGS="-DLIBICONV_PLUG" \
 		INCS=-I${LOCALBASE}/include \
 		VAL_IDNA=idn2 \
-		VAL_MANDIR=${MANPREFIX}/man \
+		VAL_MANDIR=${PREFIX}/share/man \
 		VAL_MIME_TYPES_SYS=${PREFIX}/etc/mime.types \
 		VAL_PREFIX=${PREFIX}
 TEST_TARGET=	test
@@ -32,7 +33,7 @@ TEST_TARGET=	test
 PLIST_FILES=	bin/s-nail \
 		"@sample etc/s-nail.rc.sample" \
 		libexec/s-nail-dotlock \
-		man/man1/s-nail.1.gz
+		share/man/man1/s-nail.1.gz
 
 PORTDOCS=	NEWS README