git: 87414bbfd1d9 - main - benchmarks/forkbomb: Moved man to share/man

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Thu, 22 Feb 2024 12:03:29 UTC
The branch main has been updated by bofh:

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

commit 87414bbfd1d98328c3c98a3b5291d5fec3c37539
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-02-22 11:58:50 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-02-22 12:03:02 +0000

    benchmarks/forkbomb: Moved man to share/man
    
    Approved by:    portmgr (blanket)
---
 benchmarks/forkbomb/Makefile | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/benchmarks/forkbomb/Makefile b/benchmarks/forkbomb/Makefile
index 1e8423e10b3f..ce67f8166219 100644
--- a/benchmarks/forkbomb/Makefile
+++ b/benchmarks/forkbomb/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	forkbomb
 PORTVERSION=	1.4
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	benchmarks
 MASTER_SITES=	SUNSITE/system/benchmark \
 		http://home.tiscali.cz:8080/~cz210552/distfiles/
@@ -12,6 +12,9 @@ WWW=		http://home.tiscali.cz/~cz210552/forkbomb.html
 LICENSE=	PD
 
 PLIST_FILES=	sbin/forkbomb \
-		man/man8/forkbomb.8.gz
+		share/man/man8/forkbomb.8.gz
+
+post-patch:
+	@${REINPLACE_CMD} -e 's|man/man8|share/man/man8|' ${WRKSRC}/Makefile
 
 .include <bsd.port.mk>