git: 2a7636d9955b - main - sysutils/healthd: Moved man to share/man

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Mon, 26 Feb 2024 05:44:45 UTC
The branch main has been updated by bofh:

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

commit 2a7636d9955b30b636960d933dabfe6c5775eafb
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-02-26 05:35:12 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-02-26 05:37:53 +0000

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

diff --git a/sysutils/healthd/Makefile b/sysutils/healthd/Makefile
index 86b488059552..607148aafec1 100644
--- a/sysutils/healthd/Makefile
+++ b/sysutils/healthd/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	healthd
 PORTVERSION=	0.7.9
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	sysutils
 MASTER_SITES=	http://healthd.thehousleys.net/ \
 		LOCAL/ohauer
@@ -29,6 +29,7 @@ FULL_CONFIG_CONFIGURE_ENABLE=	full-config
 
 post-patch:
 	@${REINPLACE_CMD} -e 's| @exec_prefix@| $$(DESTDIR)@exec_prefix@|' \
+		-e 's|man/man8|share/man/man8|' \
 		${WRKSRC}/Makefile.in
 
 post-install-DOCS-on:
diff --git a/sysutils/healthd/pkg-plist b/sysutils/healthd/pkg-plist
index 85d0ed6bdf21..2299d92c7038 100644
--- a/sysutils/healthd/pkg-plist
+++ b/sysutils/healthd/pkg-plist
@@ -1,7 +1,7 @@
 bin/healthdc
 @sample etc/healthd.conf.sample
-man/man8/healthd.8.gz
-man/man8/healthdc.8.gz
+share/man/man8/healthd.8.gz
+share/man/man8/healthdc.8.gz
 sbin/healthd
 %%PORTDOCS%%%%DOCSDIR%%/PROTOCOL
 %%PORTDOCS%%%%DOCSDIR%%/README