git: e601cedfb600 - main - news/trn4: Moved man to share/man

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Sun, 25 Feb 2024 11:33:15 UTC
The branch main has been updated by bofh:

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

commit e601cedfb60023797ac475153a19854abf8e0dc4
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-02-25 11:30:00 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-02-25 11:32:45 +0000

    news/trn4: Moved man to share/man
    
    Approved by:    portmgr (blanket)
---
 news/trn4/Makefile        | 1 +
 news/trn4/pkg-plist       | 8 ++++----
 news/trn4/scripts/preconf | 6 +++---
 3 files changed, 8 insertions(+), 7 deletions(-)

diff --git a/news/trn4/Makefile b/news/trn4/Makefile
index 9f9ef51aa7c5..9cdbd92e073f 100644
--- a/news/trn4/Makefile
+++ b/news/trn4/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	trn
 PORTVERSION=	4.0.b77
+PORTREVISION=	1
 PKGNAMESUFFIX=	4
 CATEGORIES=	news
 MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}4
diff --git a/news/trn4/pkg-plist b/news/trn4/pkg-plist
index a4fa3c6651b7..ad98eef9b359 100644
--- a/news/trn4/pkg-plist
+++ b/news/trn4/pkg-plist
@@ -1,4 +1,4 @@
-@exec echo "Be sure to edit %D/bin/Pnews to set the Distribution codes"
+@preexec echo "Be sure to edit %D/bin/Pnews to set the Distribution codes"
 bin/Pnews
 bin/Rnmail
 bin/inews
@@ -25,6 +25,6 @@ lib/trn/HelpFiles/config/environment
 lib/trn/HelpFiles/samples/index
 lib/trn/HelpFiles/samples/access
 lib/trn/HelpFiles/samples/trnrc
-man/man1/Pnews.1.gz
-man/man1/Rnmail.1.gz
-man/man1/trn.1.gz
+share/man/man1/Pnews.1.gz
+share/man/man1/Rnmail.1.gz
+share/man/man1/trn.1.gz
diff --git a/news/trn4/scripts/preconf b/news/trn4/scripts/preconf
index f19cb803a108..87a3e1884bc3 100644
--- a/news/trn4/scripts/preconf
+++ b/news/trn4/scripts/preconf
@@ -189,7 +189,7 @@ incpath=''
 inews='/PREFIX/inews'
 installbin='/PREFIX/bin'
 installinews='/PREFIX/bin'
-installmansrc='/PREFIX/man/man1'
+installmansrc='/PREFIX/share/man/man1'
 installprivlib='/PREFIX/lib/trn'
 ispell=''
 ispell_options=''
@@ -213,8 +213,8 @@ mail='/usr/bin/mail'
 mailer='/usr/sbin/sendmail'
 mailfile='/var/mail/%L'
 manext='1'
-mansrc='/PREFIX/man/man1'
-mansrcexp='/PREFIX/man/man1'
+mansrc='/PREFIX/share/man/man1'
+mansrcexp='/PREFIX/share/man/man1'
 mboxchar='F'
 mimecap='/PREFIX/etc/mimecap'
 mips=''