git: b68745b6b67c - main - news/trn: Moved man to share/man

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

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

commit b68745b6b67cc06ecb9860b58aaa24c8a3915a3e
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-02-25 11:27:46 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-02-25 11:32:44 +0000

    news/trn: Moved man to share/man
    
    Approved by:    portmgr (blanket)
---
 news/trn/Makefile              |  1 +
 news/trn/pkg-plist             | 10 +++++-----
 news/trn/scripts/pre-configure |  6 +++---
 3 files changed, 9 insertions(+), 8 deletions(-)

diff --git a/news/trn/Makefile b/news/trn/Makefile
index 991767f85331..a94110595b7d 100644
--- a/news/trn/Makefile
+++ b/news/trn/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	trn
 PORTVERSION=	3.6
+PORTREVISION=	1
 CATEGORIES=	news
 MASTER_SITES=	ftp://ftp.uu.net/networking/news/readers/trn/ \
 		ftp://ftp.funet.fi/pub/unix/news/trn/
diff --git a/news/trn/pkg-plist b/news/trn/pkg-plist
index 68a59de48998..3340020cedae 100644
--- a/news/trn/pkg-plist
+++ b/news/trn/pkg-plist
@@ -13,8 +13,8 @@ lib/trn/makedir
 lib/trn/mbox.saver
 lib/trn/newsnews
 lib/trn/norm.saver
-man/man1/trn.1.gz
-man/man1/Pnews.1.gz
-man/man1/Rnmail.1.gz
-man/man1/newsetup.1.gz
-man/man1/newsgroups.1.gz
+share/man/man1/trn.1.gz
+share/man/man1/Pnews.1.gz
+share/man/man1/Rnmail.1.gz
+share/man/man1/newsetup.1.gz
+share/man/man1/newsgroups.1.gz
diff --git a/news/trn/scripts/pre-configure b/news/trn/scripts/pre-configure
index 6cc0d9539424..0efbd504240c 100644
--- a/news/trn/scripts/pre-configure
+++ b/news/trn/scripts/pre-configure
@@ -183,10 +183,10 @@ orgdist='none'
 statedist='none'
 mailer='/usr/sbin/sendmail'
 mailfile='/var/mail/%L'
-installmansrc="${PREFIX}/man/man1"
+installmansrc="${PREFIX}/share/man/man1"
 manext='1'
-mansrc="${PREFIX}/man/man1"
-mansrcexp="${PREFIX}/man/man1"
+mansrc="${PREFIX}/share/man/man1"
+mansrcexp="${PREFIX}/share/man/man1"
 mboxchar='F'
 c=''
 n='-n'