git: 2ed18264213a - main - mail/smtprc: Sanitize MANPREFIX

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

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

commit 2ed18264213adc4705070cc561fa07051bf5698a
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-01-22 00:26:18 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-01-22 00:29:02 +0000

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

diff --git a/mail/smtprc/Makefile b/mail/smtprc/Makefile
index 10c001051e27..7cda26c9dad0 100644
--- a/mail/smtprc/Makefile
+++ b/mail/smtprc/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	smtprc
 PORTVERSION=	2.0.3
+PORTREVISION=	1
 CATEGORIES=	mail
 MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
 EXTRACT_SUFX=	.tgz
@@ -40,10 +41,10 @@ do-install:
 	${INSTALL_DATA} ${WRKSRC}/auto.conf ${STAGEDIR}${PREFIX}/etc/${PORTNAME}/auto.conf.sample
 	${INSTALL_DATA} ${WRKSRC}/email.tmpl ${STAGEDIR}${PREFIX}/etc/${PORTNAME}/email.tmpl.sample
 	${INSTALL_DATA} ${WRKSRC}/rcheck.conf ${STAGEDIR}${PREFIX}/etc/${PORTNAME}/rcheck.conf.sample
-	${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MANPREFIX}/man/man1
+	${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${PREFIX}/share/man/man1
 .if ${PORT_OPTIONS:MGUI}
 	${INSTALL_SCRIPT} ${WRKSRC}/gsmtprc ${STAGEDIR}${PREFIX}/bin
-	${INSTALL_MAN} ${WRKSRC}/gsmtprc.1 ${STAGEDIR}${PREFIX}/man/man1
+	${INSTALL_MAN} ${WRKSRC}/gsmtprc.1 ${STAGEDIR}${PREFIX}/share/man/man1
 .endif
 	${MKDIR} ${STAGEDIR}${DOCSDIR}
 	${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}/README
diff --git a/mail/smtprc/pkg-plist b/mail/smtprc/pkg-plist
index 8f90920d7bea..dd7fd0dcf727 100644
--- a/mail/smtprc/pkg-plist
+++ b/mail/smtprc/pkg-plist
@@ -2,7 +2,7 @@ bin/smtprc
 etc/smtprc/auto.conf.sample
 etc/smtprc/email.tmpl.sample
 etc/smtprc/rcheck.conf.sample
-man/man1/smtprc.1.gz
-%%WITHGUI%%man/man1/gsmtprc.1.gz
+share/man/man1/smtprc.1.gz
+%%WITHGUI%%share/man/man1/gsmtprc.1.gz
 %%WITHGUI%%bin/gsmtprc
 %%PORTDOCS%%share/doc/smtprc/README