git: 79e4de5a3518 - main - news/suck: use ${PREFIX}/share/man

From: Dirk Meyer <dinoex_at_FreeBSD.org>
Date: Fri, 12 Jan 2024 20:24:55 UTC
The branch main has been updated by dinoex:

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

commit 79e4de5a35183c0160e8745a0b95a8c1f770a813
Author:     Dirk Meyer <dinoex@FreeBSD.org>
AuthorDate: 2024-01-12 20:24:43 +0000
Commit:     Dirk Meyer <dinoex@FreeBSD.org>
CommitDate: 2024-01-12 20:24:43 +0000

    news/suck: use ${PREFIX}/share/man
---
 news/suck/Makefile  | 1 +
 news/suck/pkg-plist | 8 ++++----
 2 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/news/suck/Makefile b/news/suck/Makefile
index 96a549292e44..a7ddb5f3c37b 100644
--- a/news/suck/Makefile
+++ b/news/suck/Makefile
@@ -14,6 +14,7 @@ CONFLICTS?=	suckblow-1.*
 USES=		autoreconf gmake shebangfix
 SHEBANG_FILES=	sample/post_filter.pl
 GNU_CONFIGURE=	yes
+GNU_CONFIGURE_MANPREFIX=	${PREFIX}/share
 MAKE_ENV=	CHKHISTORY=chkhistory_db.o
 USE_GITHUB=	yes
 GH_ACCOUNT=	lazarus-pkgs
diff --git a/news/suck/pkg-plist b/news/suck/pkg-plist
index 6ba03b797ee6..0bc3465abf7e 100644
--- a/news/suck/pkg-plist
+++ b/news/suck/pkg-plist
@@ -2,10 +2,6 @@ bin/lmove
 bin/rpost
 bin/suck
 bin/testhost
-man/man1/suck.1.gz
-man/man1/rpost.1.gz
-man/man1/testhost.1.gz
-man/man1/lmove.1.gz
 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/get.news.generic
 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/get.news.inn
 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/perl_kill.pl
@@ -18,3 +14,7 @@ man/man1/lmove.1.gz
 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/suckkillfile.sample
 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/sucknewsrc.sample
 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/suckothermsgs.sample
+share/man/man1/suck.1.gz
+share/man/man1/rpost.1.gz
+share/man/man1/testhost.1.gz
+share/man/man1/lmove.1.gz