git: 9fa13d903819 - main - sysutils/dsbdriverd: Moved man to share/man

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Sun, 25 Feb 2024 17:20:09 UTC
The branch main has been updated by bofh:

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

commit 9fa13d9038197db036ef777ebcb8077f7c0ec8b8
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-02-25 16:26:59 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-02-25 17:18:58 +0000

    sysutils/dsbdriverd: Moved man to share/man
    
    Approved by:    portmgr (blanket)
---
 sysutils/dsbdriverd/Makefile | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/sysutils/dsbdriverd/Makefile b/sysutils/dsbdriverd/Makefile
index 7d193abaa84f..f26b6b840e72 100644
--- a/sysutils/dsbdriverd/Makefile
+++ b/sysutils/dsbdriverd/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	dsbdriverd
 PORTVERSION=	1.1
+PORTREVISION=	1
 CATEGORIES=	sysutils
 
 MAINTAINER=	mk@nic-nac-project.org
@@ -36,6 +37,10 @@ USE_RC_SUBR=	dsbdriverd
 PLIST_FILES=	"@sample ${ETCDIR}/config.lua.sample" \
 		${ETCDIR}/netif.lua \
 		libexec/dsbdriverd \
-		man/man8/dsbdriverd.8.gz
+		share/man/man8/dsbdriverd.8.gz
+
+post-patch:
+	@${REINPLACE_CMD} -e 's|^MANDIR.*|MANDIR = $${PREFIX}/share/man/man8|' \
+		${WRKSRC}/Makefile
 
 .include <bsd.port.mk>