git: 6e3a9cc9b139 - main - news/newsstar: Move man pages to share/man

From: Nuno Teixeira <eduardo_at_FreeBSD.org>
Date: Wed, 20 Mar 2024 19:51:39 UTC
The branch main has been updated by eduardo:

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

commit 6e3a9cc9b1398ae561f90307c041c4fabe833cee
Author:     Nuno Teixeira <eduardo@FreeBSD.org>
AuthorDate: 2024-03-20 19:19:41 +0000
Commit:     Nuno Teixeira <eduardo@FreeBSD.org>
CommitDate: 2024-03-20 19:51:25 +0000

    news/newsstar: Move man pages to share/man
    
    Approved by:    portmgr (blanket)
---
 news/newsstar/Makefile  | 3 ++-
 news/newsstar/pkg-plist | 2 +-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/news/newsstar/Makefile b/news/newsstar/Makefile
index aa3f19641a6b..833258c3f23d 100644
--- a/news/newsstar/Makefile
+++ b/news/newsstar/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	newsstar
 PORTVERSION=	1.5.6
-PORTREVISION=	4
+PORTREVISION=	5
 CATEGORIES=	news
 MASTER_SITES=	SF
 
@@ -21,6 +21,7 @@ IGNORE_SSL_REASON=GPL linking exeption only provided for OpenSSL
 SHEBANG_FILES=	newsstar.in
 
 GNU_CONFIGURE=	yes
+GNU_CONFIGURE_MANPREFIX=	${PREFIX}/share
 CONFIGURE_ARGS+=--disable-chown \
 		--with-conf-dir=${PREFIX}/etc/newsstar \
 		--with-rc-dir=/var/spool/newsstar/lib \
diff --git a/news/newsstar/pkg-plist b/news/newsstar/pkg-plist
index e2a468caccbc..55deac7db1df 100644
--- a/news/newsstar/pkg-plist
+++ b/news/newsstar/pkg-plist
@@ -2,7 +2,6 @@
 @postexec d=/var/spool/newsstar/lib ; test -d "$d" || install -d -onews -gnews -m0750 "$d"
 @postexec d="%D/%%ETCDIR%%" ; test -d "$d" || install -d -o0 -g0 -m0755 "$d"
 bin/newsstar
-man/man1/newsstar.1.gz
 libexec/newsstar/newsstar.bin
 %%PORTDOCS%%%%DOCSDIR%%/AUTHORS
 %%PORTDOCS%%%%DOCSDIR%%/INSTALL
@@ -31,6 +30,7 @@ libexec/newsstar/newsstar.bin
 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/master.ignore.sample
 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/master.score.sample
 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/newsrc.sample
+share/man/man1/newsstar.1.gz
 @dir(news,news,750) /var/spool/newsstar/incoming
 @dir(news,news,750) /var/spool/newsstar/lib
 @dir /var/spool/newsstar