git: 3f49efdf60ab - main - security/xinetd: Update manpages path

From: Renato Botelho <garga_at_FreeBSD.org>
Date: Mon, 08 Jan 2024 16:44:55 UTC
The branch main has been updated by garga:

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

commit 3f49efdf60abe068412b882212edd758c8fef4ea
Author:     Renato Botelho <garga@FreeBSD.org>
AuthorDate: 2024-01-08 15:30:50 +0000
Commit:     Renato Botelho <garga@FreeBSD.org>
CommitDate: 2024-01-08 16:43:53 +0000

    security/xinetd: Update manpages path
    
    Move manpages to ${PREFIX}/share/man
    
    Sponsored by:   Rubicon Communications, LLC ("Netgate")
---
 security/xinetd/Makefile  | 14 +++++++-------
 security/xinetd/pkg-plist |  8 ++++----
 2 files changed, 11 insertions(+), 11 deletions(-)

diff --git a/security/xinetd/Makefile b/security/xinetd/Makefile
index f8cd4a9a1a21..b8fb23642575 100644
--- a/security/xinetd/Makefile
+++ b/security/xinetd/Makefile
@@ -1,7 +1,7 @@
 PORTNAME=	xinetd
 DISTVERSIONPREFIX=	${PORTNAME}-
 DISTVERSION=	2-3-15
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	security
 
 MAINTAINER=	garga@FreeBSD.org
@@ -25,6 +25,8 @@ GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	--with-loadavg
 ALL_TARGET=	build
 
+PORTSCOUT=	ignore:1
+
 OPTIONS_DEFINE=	IPV6 LIBWRAP XCONV
 OPTIONS_DEFAULT=	LIBWRAP XCONV
 OPTIONS_SUB=	yes
@@ -36,17 +38,15 @@ LIBWRAP_CONFIGURE_WITH=	libwrap
 XCONV_USES=	perl5
 XCONV_USE=	PERL5=run
 
-PORTSCOUT=	ignore:1
-
 post-patch:
 	@${REINPLACE_CMD} 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/xinetd/xconfig.h
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/xinetd/xinetd ${STAGEDIR}${PREFIX}/sbin/xinetd
 	${INSTALL_SCRIPT} ${WRKSRC}/xinetd/xconv.pl ${STAGEDIR}${PREFIX}/bin/xconv
-	${INSTALL_MAN} ${WRKSRC}/xinetd/xinetd.conf.man ${STAGEDIR}${PREFIX}/man/man5/xinetd.conf.5
-	${INSTALL_MAN} ${WRKSRC}/xinetd/xconv.pl.8 ${STAGEDIR}${PREFIX}/man/man8/xconv.8
-	${INSTALL_MAN} ${WRKSRC}/xinetd/xinetd.man ${STAGEDIR}${PREFIX}/man/man8/xinetd.8
-	${INSTALL_MAN} ${WRKSRC}/xinetd/xinetd.log.man ${STAGEDIR}${PREFIX}/man/man8/xinetd.log.8
+	${INSTALL_MAN} ${WRKSRC}/xinetd/xinetd.conf.man ${STAGEDIR}${PREFIX}/share/man/man5/xinetd.conf.5
+	${INSTALL_MAN} ${WRKSRC}/xinetd/xconv.pl.8 ${STAGEDIR}${PREFIX}/share/man/man8/xconv.8
+	${INSTALL_MAN} ${WRKSRC}/xinetd/xinetd.man ${STAGEDIR}${PREFIX}/share/man/man8/xinetd.8
+	${INSTALL_MAN} ${WRKSRC}/xinetd/xinetd.log.man ${STAGEDIR}${PREFIX}/share/man/man8/xinetd.log.8
 
 .include <bsd.port.mk>
diff --git a/security/xinetd/pkg-plist b/security/xinetd/pkg-plist
index a12dc02dd505..192059a2480b 100644
--- a/security/xinetd/pkg-plist
+++ b/security/xinetd/pkg-plist
@@ -1,6 +1,6 @@
 %%XCONV%%bin/xconv
 sbin/xinetd
-man/man5/xinetd.conf.5.gz
-man/man8/xconv.8.gz
-man/man8/xinetd.8.gz
-man/man8/xinetd.log.8.gz
+share/man/man5/xinetd.conf.5.gz
+share/man/man8/xconv.8.gz
+share/man/man8/xinetd.8.gz
+share/man/man8/xinetd.log.8.gz