git: 8fc8d9884990 - main - mail/sma: use ${PREFIX}/share/man

From: Dirk Meyer <dinoex_at_FreeBSD.org>
Date: Thu, 11 Jan 2024 16:30:32 UTC
The branch main has been updated by dinoex:

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

commit 8fc8d9884990e366a2395fa9075ae60846b6848b
Author:     Dirk Meyer <dinoex@FreeBSD.org>
AuthorDate: 2024-01-11 16:30:20 +0000
Commit:     Dirk Meyer <dinoex@FreeBSD.org>
CommitDate: 2024-01-11 16:30:20 +0000

    mail/sma: use ${PREFIX}/share/man
---
 mail/sma/Makefile  | 3 ++-
 mail/sma/pkg-plist | 2 +-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/mail/sma/Makefile b/mail/sma/Makefile
index 59225bb1a462..c312351c5d2e 100644
--- a/mail/sma/Makefile
+++ b/mail/sma/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	sma
 PORTVERSION=	1.4
+PORTREVISION=	1
 CATEGORIES=	mail
 MASTER_SITES=	LOCAL/dinoex \
 		ftp://ftp.dinoex.de/pub/FreeBSD/distfiles/
@@ -20,7 +21,7 @@ do-configure:
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/sma ${STAGEDIR}${PREFIX}/bin/sma
-	${INSTALL_MAN} ${WRKSRC}/sma.8 ${STAGEDIR}${PREFIX}/man/man8/
+	${INSTALL_MAN} ${WRKSRC}/sma.8 ${STAGEDIR}${PREFIX}/share/man/man8/
 
 do-install-DOCS-on:
 	${MKDIR} ${STAGEDIR}${DOCSDIR}
diff --git a/mail/sma/pkg-plist b/mail/sma/pkg-plist
index 409ddd199f86..02b97fea962b 100644
--- a/mail/sma/pkg-plist
+++ b/mail/sma/pkg-plist
@@ -1,8 +1,8 @@
 bin/sma
-man/man8/sma.8.gz
 %%PORTDOCS%%%%DOCSDIR%%/BUGS
 %%PORTDOCS%%%%DOCSDIR%%/COPYRIGHT
 %%PORTDOCS%%%%DOCSDIR%%/HISTORY
 %%PORTDOCS%%%%DOCSDIR%%/README
 %%PORTDOCS%%%%DOCSDIR%%/TODO
 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/sma.conf
+share/man/man8/sma.8.gz