git: 34c4fdacc023 - main - sysutils/bastille: Move man pages to share/man

From: Christian Weisgerber <naddy_at_FreeBSD.org>
Date: Tue, 19 Mar 2024 14:56:39 UTC
The branch main has been updated by naddy:

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

commit 34c4fdacc023e5013e339ad361e831bdacb9fec3
Author:     Christian Weisgerber <naddy@FreeBSD.org>
AuthorDate: 2024-03-19 10:12:38 +0000
Commit:     Christian Weisgerber <naddy@FreeBSD.org>
CommitDate: 2024-03-19 14:56:31 +0000

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

diff --git a/sysutils/bastille/Makefile b/sysutils/bastille/Makefile
index db5cce1ae02f..827e681ed4dd 100644
--- a/sysutils/bastille/Makefile
+++ b/sysutils/bastille/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	bastille
 DISTVERSION=	0.10.20231125
+PORTREVISION=	1
 CATEGORIES=	sysutils
 
 MAINTAINER=	christer.edwards@gmail.com
@@ -32,7 +33,7 @@ post-install:
 	(cd ${WRKSRC}/usr/local/share/bastille && \
 		${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR})
 	${INSTALL_MAN} ${WRKSRC}/usr/local/man/man8/bastille.8.gz \
-		${STAGEDIR}${PREFIX}/man/man8/${PORTNAME}.8.gz
+		${STAGEDIR}${PREFIX}/share/man/man8/${PORTNAME}.8.gz
 	${INSTALL_DATA} ${WRKSRC}/usr/local/etc/bastille/bastille.conf.sample \
 		${STAGEDIR}${ETCDIR}/${PORTNAME}.conf.sample
 
diff --git a/sysutils/bastille/pkg-plist b/sysutils/bastille/pkg-plist
index 5b18f11da79b..1aa43171d5f8 100644
--- a/sysutils/bastille/pkg-plist
+++ b/sysutils/bastille/pkg-plist
@@ -44,5 +44,5 @@ etc/rc.d/bastille
 %%DATADIR%%/upgrade.sh
 %%DATADIR%%/verify.sh
 %%DATADIR%%/zfs.sh
-man/man8/bastille.8.gz
+share/man/man8/bastille.8.gz
 @dir %%ETCDIR%%