Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Mar 2024 19:51:38 GMT
From:      Nuno Teixeira <eduardo@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: abb25c94856e - main - news/leafnode: Move man pages to share/man
Message-ID:  <202403201951.42KJpcFN074050@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by eduardo:

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

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

    news/leafnode: Move man pages to share/man
    
    Approved by:    portmgr (blanket)
---
 news/leafnode/Makefile  | 10 ++++++----
 news/leafnode/pkg-plist | 28 ++++++++++++++--------------
 2 files changed, 20 insertions(+), 18 deletions(-)

diff --git a/news/leafnode/Makefile b/news/leafnode/Makefile
index 686574dabec5..064805f203cb 100644
--- a/news/leafnode/Makefile
+++ b/news/leafnode/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	leafnode
 DISTVERSION=	1.12.0
+PORTREVISION=	1
 CATEGORIES=	news
 MASTER_SITES=	SF \
 		LOCAL/mandree/
@@ -14,6 +15,7 @@ LIB_DEPENDS=	libpcre2-8.so:devel/pcre2
 
 USES=		cpe tar:xz
 GNU_CONFIGURE=	yes
+GNU_CONFIGURE_MANPREFIX=	${PREFIX}/share
 
 CONFLICTS=	newsx-1* s-news-0*
 
@@ -43,8 +45,8 @@ TEST_TARGET=	check
 MAN1_DE=	leafnode-version.1 newsq.1
 MAN8_DE=	applyfilter.8 checkgroups.8 fetchnews.8 leafnode.8 texpire.8
 MANLANG=	"" de.ISO8859-1
-MAN1DIR_DE=	${PREFIX}/man/de.ISO8859-1/man1
-MAN8DIR_DE=	${PREFIX}/man/de.ISO8859-1/man8
+MAN1DIR_DE=	${PREFIX}/share/man/de.ISO8859-1/man1
+MAN8DIR_DE=	${PREFIX}/share/man/de.ISO8859-1/man8
 
 DOCS=		ADD-ONS ChangeLog COPYING CREDITS FAQ.txt FAQ.pdf FAQ.html \
 		INSTALL NEWS README ChangeLog.old README-FQDN README-FQDN.html \
@@ -75,7 +77,7 @@ post-install:
 .endif
 	${MKDIR} ${STAGEDIR}${MAN1DIR_DE} ${STAGEDIR}${MAN8DIR_DE}
 	cd ${WRKSRC}/doc_german && \
-	${INSTALL_MAN} ${MAN1_DE} ${STAGEDIR}${PREFIX}/man/de.ISO8859-1/man1 && \
-	${INSTALL_MAN} ${MAN8_DE} ${STAGEDIR}${PREFIX}/man/de.ISO8859-1/man8
+	${INSTALL_MAN} ${MAN1_DE} ${STAGEDIR}${PREFIX}/share/man/de.ISO8859-1/man1 && \
+	${INSTALL_MAN} ${MAN8_DE} ${STAGEDIR}${PREFIX}/share/man/de.ISO8859-1/man8
 
 .include <bsd.port.post.mk>
diff --git a/news/leafnode/pkg-plist b/news/leafnode/pkg-plist
index ee150a972cc9..ad4d0511a913 100644
--- a/news/leafnode/pkg-plist
+++ b/news/leafnode/pkg-plist
@@ -3,25 +3,25 @@ bin/newsq
 %%ETCDIR%%/config.example
 %%ETCDIR%%/filters.example
 %%ETCDIR%%/UNINSTALL-daemontools
-man/man1/leafnode-version.1.gz
-man/man1/newsq.1.gz
-man/man8/applyfilter.8.gz
-man/man8/checkgroups.8.gz
-man/man8/fetchnews.8.gz
-man/man8/leafnode.8.gz
-man/man8/texpire.8.gz
-man/de.ISO8859-1/man1/leafnode-version.1.gz
-man/de.ISO8859-1/man1/newsq.1.gz
-man/de.ISO8859-1/man8/applyfilter.8.gz
-man/de.ISO8859-1/man8/checkgroups.8.gz
-man/de.ISO8859-1/man8/fetchnews.8.gz
-man/de.ISO8859-1/man8/leafnode.8.gz
-man/de.ISO8859-1/man8/texpire.8.gz
 sbin/leafnode
 sbin/fetchnews
 sbin/texpire
 sbin/checkgroups
 sbin/applyfilter
+share/man/man1/leafnode-version.1.gz
+share/man/man1/newsq.1.gz
+share/man/man8/applyfilter.8.gz
+share/man/man8/checkgroups.8.gz
+share/man/man8/fetchnews.8.gz
+share/man/man8/leafnode.8.gz
+share/man/man8/texpire.8.gz
+share/man/de.ISO8859-1/man1/leafnode-version.1.gz
+share/man/de.ISO8859-1/man1/newsq.1.gz
+share/man/de.ISO8859-1/man8/applyfilter.8.gz
+share/man/de.ISO8859-1/man8/checkgroups.8.gz
+share/man/de.ISO8859-1/man8/fetchnews.8.gz
+share/man/de.ISO8859-1/man8/leafnode.8.gz
+share/man/de.ISO8859-1/man8/texpire.8.gz
 @dir %%ETCDIR%%
 @comment only remove these when empty:
 @comment we don't want to kill the news spool across updates



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202403201951.42KJpcFN074050>