git: af41a5a6b03c - main - news/tin: Move manpages to share/man

From: Gleb Popov <arrowd_at_FreeBSD.org>
Date: Mon, 18 Mar 2024 13:22:25 UTC
The branch main has been updated by arrowd:

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

commit af41a5a6b03cdc7ba3d5792269089e3de8d24072
Author:     Gleb Popov <arrowd@FreeBSD.org>
AuthorDate: 2024-03-18 13:06:19 +0000
Commit:     Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2024-03-18 13:19:34 +0000

    news/tin: Move manpages to share/man
    
    Approved by:    portmgr (blanket)
---
 news/tin/Makefile  |  2 ++
 news/tin/pkg-plist | 20 ++++++++++----------
 2 files changed, 12 insertions(+), 10 deletions(-)

diff --git a/news/tin/Makefile b/news/tin/Makefile
index fc99a1bb3969..b0c1704bcda5 100644
--- a/news/tin/Makefile
+++ b/news/tin/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	tin
 PORTVERSION=	2.6.3
+PORTREVISION=	1
 CATEGORIES+=	news
 MASTER_SITES=	ftp://ftp.tin.org/pub/news/clients/tin/v${PORTVERSION:R}/ \
 		ftp://ftp.sunet.se/pub/news/readers/tin/v${PORTVERSION:R}/ \
@@ -27,6 +28,7 @@ RUN_DEPENDS=	${LOCALBASE}/etc/mime.types:misc/mime-support
 
 USES=		gmake iconv ncurses pkgconfig shebangfix tar:bzip2
 GNU_CONFIGURE=	yes
+GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
 SHEBANG_FILES=	tools/opt-case.pl tools/tinews.pl tools/url_handler.pl \
 		tools/w2r.pl
 TIN_EDITOR?=	/usr/bin/ee
diff --git a/news/tin/pkg-plist b/news/tin/pkg-plist
index 6b71c08d253f..571fdd683bc3 100644
--- a/news/tin/pkg-plist
+++ b/news/tin/pkg-plist
@@ -6,16 +6,6 @@ bin/tinews.pl
 bin/tinurl_handler.pl
 bin/w2r.pl
 @sample etc/tin.defaults.sample
-man/man1/opt-case.pl.1.gz
-man/man1/rtin.1.gz
-man/man1/tin.1.gz
-man/man1/tinews.pl.1.gz
-man/man1/tinurl_handler.pl.1.gz
-man/man1/w2r.pl.1.gz
-man/man5/rtin.5.gz
-man/man5/tin.5.gz
-man/man5/tin_mbox.5.gz
-man/man5/tin_mmdf.5.gz
 %%NLS%%share/locale/da/LC_MESSAGES/tin.mo
 %%NLS%%share/locale/de/LC_MESSAGES/tin.mo
 %%NLS%%share/locale/en_GB/LC_MESSAGES/tin.mo
@@ -27,3 +17,13 @@ man/man5/tin_mmdf.5.gz
 %%NLS%%share/locale/tr/LC_MESSAGES/tin.mo
 %%NLS%%share/locale/zh_CN/LC_MESSAGES/tin.mo
 %%NLS%%share/locale/zh_TW/LC_MESSAGES/tin.mo
+share/man/man1/opt-case.pl.1.gz
+share/man/man1/rtin.1.gz
+share/man/man1/tin.1.gz
+share/man/man1/tinews.pl.1.gz
+share/man/man1/tinurl_handler.pl.1.gz
+share/man/man1/w2r.pl.1.gz
+share/man/man5/rtin.5.gz
+share/man/man5/tin.5.gz
+share/man/man5/tin_mbox.5.gz
+share/man/man5/tin_mmdf.5.gz