git: 347c67591ff4 - main - news/newsx: move man pages

From: Thierry Thomas <thierry_at_FreeBSD.org>
Date: Fri, 23 Feb 2024 16:24:18 UTC
The branch main has been updated by thierry:

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

commit 347c67591ff41a900399ff01ec0c89d26f6dd60b
Author:     Thierry Thomas <thierry@FreeBSD.org>
AuthorDate: 2024-02-23 15:57:42 +0000
Commit:     Thierry Thomas <thierry@FreeBSD.org>
CommitDate: 2024-02-23 16:23:09 +0000

    news/newsx: move man pages
    
    Also retrieve WWW from web.archive.org.
---
 news/newsx/Makefile  | 5 +++--
 news/newsx/pkg-plist | 8 ++++----
 2 files changed, 7 insertions(+), 6 deletions(-)

diff --git a/news/newsx/Makefile b/news/newsx/Makefile
index 3e9a32d9e267..596f8cc6fa0f 100644
--- a/news/newsx/Makefile
+++ b/news/newsx/Makefile
@@ -1,12 +1,12 @@
 PORTNAME=	newsx
 PORTVERSION=	1.6
-PORTREVISION=	4
+PORTREVISION=	5
 CATEGORIES=	news
 MASTER_SITES=	LOCAL/thierry
 
 MAINTAINER=	thierry@FreeBSD.org
 COMMENT=	Program to fetch news from and post news to a remote NNTP server
-WWW=		http://www.kvaleberg.no/newsx.html
+WWW=		https://web.archive.org/web/20220208213916/http://www.kvaleberg.no/newsx.html
 
 LICENSE=	GPLv2
 
@@ -19,6 +19,7 @@ RUN_DEPENDS=	${LOCALBASE}/news/lib/libinn.so:news/inn
 
 USES=		cpe
 GNU_CONFIGURE=	yes
+GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
 CFLAGS+=	-fcommon
 
 CONFLICTS=	leafnode-1.*
diff --git a/news/newsx/pkg-plist b/news/newsx/pkg-plist
index 9c3f4e252e1e..ad7e4b7d9ff5 100644
--- a/news/newsx/pkg-plist
+++ b/news/newsx/pkg-plist
@@ -1,7 +1,7 @@
 bin/newsq
 bin/newsx
-man/man1/newsq.1.gz
-man/man5/in.hosts.5.gz
-man/man5/newsx.conf.5.gz
-man/man8/newsx.8.gz
+share/man/man1/newsq.1.gz
+share/man/man5/in.hosts.5.gz
+share/man/man5/newsx.conf.5.gz
+share/man/man8/newsx.8.gz
 @dir(news,news,) news/spool/inhosts