git: 5158ff0f1d19 - main - news/ifmail: use ${PREFIX}/share/man

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

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

commit 5158ff0f1d1941ef116221c8b1732ad05affe8c4
Author:     Dirk Meyer <dinoex@FreeBSD.org>
AuthorDate: 2024-01-11 16:47:42 +0000
Commit:     Dirk Meyer <dinoex@FreeBSD.org>
CommitDate: 2024-01-11 16:48:06 +0000

    news/ifmail: use ${PREFIX}/share/man
---
 news/ifmail/Makefile  | 6 +++---
 news/ifmail/pkg-plist | 6 +++---
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/news/ifmail/Makefile b/news/ifmail/Makefile
index 40523f294e95..a567d8140972 100644
--- a/news/ifmail/Makefile
+++ b/news/ifmail/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	ifmail
 PORTVERSION=	2.15
-PORTREVISION=	10
+PORTREVISION=	11
 CATEGORIES=	news comms
 MASTER_SITES=	SUNSITE/system/fido
 
@@ -58,10 +58,10 @@ pre-install:
 post-install:
 	${STRIP_CMD} ${STAGEDIR}${PREFIX}/libexec/ifmail/*
 .for i in ${LMAN8}
-	${INSTALL_MAN} ${WRKSRC}/ifgate/${i} ${STAGEDIR}${PREFIX}/man/man8/
+	${INSTALL_MAN} ${WRKSRC}/ifgate/${i} ${STAGEDIR}${PREFIX}/share/man/man8/
 .endfor
 .for i in ${LMAN3}
-	${INSTALL_MAN} ${WRKSRC}/iflib/${i} ${STAGEDIR}${PREFIX}/man/man3/
+	${INSTALL_MAN} ${WRKSRC}/iflib/${i} ${STAGEDIR}${PREFIX}/share/man/man3/
 .endfor
 
 post-install-DOCS-on:
diff --git a/news/ifmail/pkg-plist b/news/ifmail/pkg-plist
index 89c097a1d0a4..c8134a8d3664 100644
--- a/news/ifmail/pkg-plist
+++ b/news/ifmail/pkg-plist
@@ -1,6 +1,3 @@
-man/man3/parsedate.3.gz
-man/man8/ifmail.8.gz
-man/man8/iftoss.8.gz
 @owner ifmail
 @group uucp
 @mode 04711
@@ -156,5 +153,8 @@ libexec/ifmail/nlpatch
 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/zmailer/routes
 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/zmailer/scheduler.conf
 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/zmailer/sm.conf
+share/man/man3/parsedate.3.gz
+share/man/man8/ifmail.8.gz
+share/man/man8/iftoss.8.gz
 @preexec echo "updating /etc/services"; cp /etc/services /etc/services.bak; (grep -v ^ifcico /etc/services.bak ; echo "ifcico		60179/tcp  #ifcico server (ifmail)") > /etc/services
 @postunexec echo "updating /etc/services"; cp /etc/services /etc/services.bak; (grep -v ^ifcico /etc/services.bak ) > /etc/services