git: bea2be04c24c - main - ports-mgmt/pkg_jail: use ${PREFIX}/share/man

From: Dirk Meyer <dinoex_at_FreeBSD.org>
Date: Thu, 11 Jan 2024 16:32:14 UTC
The branch main has been updated by dinoex:

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

commit bea2be04c24c742b36592d78a369a93d3b65f525
Author:     Dirk Meyer <dinoex@FreeBSD.org>
AuthorDate: 2024-01-11 16:31:50 +0000
Commit:     Dirk Meyer <dinoex@FreeBSD.org>
CommitDate: 2024-01-11 16:31:50 +0000

    ports-mgmt/pkg_jail: use ${PREFIX}/share/man
---
 ports-mgmt/pkg_jail/Makefile  |  5 +++--
 ports-mgmt/pkg_jail/pkg-plist | 14 +++++++-------
 2 files changed, 10 insertions(+), 9 deletions(-)

diff --git a/ports-mgmt/pkg_jail/Makefile b/ports-mgmt/pkg_jail/Makefile
index 0bc66375376d..dbbb1c41f678 100644
--- a/ports-mgmt/pkg_jail/Makefile
+++ b/ports-mgmt/pkg_jail/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	pkg_jail
 PORTVERSION=	2.14
+PORTREVISION=	1
 DISTVERSIONPREFIX=	v
 CATEGORIES=	ports-mgmt
 
@@ -26,10 +27,10 @@ do-install:
 	${INSTALL_SCRIPT} make-base update-base update-pkg \
 		${STAGEDIR}${PREFIX}/sbin/ )
 .for i in ${LMAN1}
-	${INSTALL_MAN} ${WRKSRC}/${i} ${STAGEDIR}${PREFIX}/man/man1/
+	${INSTALL_MAN} ${WRKSRC}/${i} ${STAGEDIR}${PREFIX}/share/man/man1/
 .endfor
 .for i in ${LMAN8}
-	${INSTALL_MAN} ${WRKSRC}/${i} ${STAGEDIR}${PREFIX}/man/man8/
+	${INSTALL_MAN} ${WRKSRC}/${i} ${STAGEDIR}${PREFIX}/share/man/man8/
 .endfor
 
 .include <bsd.port.mk>
diff --git a/ports-mgmt/pkg_jail/pkg-plist b/ports-mgmt/pkg_jail/pkg-plist
index 12646a9efa77..2adad106ced8 100644
--- a/ports-mgmt/pkg_jail/pkg-plist
+++ b/ports-mgmt/pkg_jail/pkg-plist
@@ -2,13 +2,13 @@ bin/allservice
 bin/check-allservice
 bin/pkg_jail
 bin/pkg_update
-man/man1/allservice.1.gz
-man/man1/check-allservice.1.gz
-man/man1/pkg_jail.1.gz
-man/man1/pkg_update.1.gz
-man/man8/make-base.8.gz
-man/man8/update-base.8.gz
-man/man8/update-pkg.8.gz
 sbin/make-base
 sbin/update-base
 sbin/update-pkg
+share/man/man1/allservice.1.gz
+share/man/man1/check-allservice.1.gz
+share/man/man1/pkg_jail.1.gz
+share/man/man1/pkg_update.1.gz
+share/man/man8/make-base.8.gz
+share/man/man8/update-base.8.gz
+share/man/man8/update-pkg.8.gz