git: 55e6731626d0 - main - sysutils/pollinfo: Also install man page

From: Gleb Popov <arrowd_at_FreeBSD.org>
Date: Sat, 05 Apr 2025 06:09:05 UTC
The branch main has been updated by arrowd:

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

commit 55e6731626d0db51a361ded313313ea21c6fef84
Author:     Gleb Popov <arrowd@FreeBSD.org>
AuthorDate: 2025-04-05 06:08:37 +0000
Commit:     Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2025-04-05 06:09:02 +0000

    sysutils/pollinfo: Also install man page
    
    Reported by:    kib
---
 sysutils/pollinfo/Makefile | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/sysutils/pollinfo/Makefile b/sysutils/pollinfo/Makefile
index dc47b4266047..f34ceccd67c9 100644
--- a/sysutils/pollinfo/Makefile
+++ b/sysutils/pollinfo/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	pollinfo
 DISTVERSION=	g20250404
+PORTREVISION=	1
 CATEGORIES=	sysutils devel
 
 MAINTAINER=	arrowd@FreeBSD.org
@@ -14,6 +15,10 @@ USE_GITHUB=	yes
 GH_ACCOUNT=	kostikbel
 GH_TAGNAME=	0f900f2ee101fc374c1d945c4a548683438cfe46
 
-PLIST_FILES=	bin/${PORTNAME}
+PLIST_FILES=	bin/${PORTNAME} \
+		share/man/man1/pollinfo.1.gz
+
+post-install:
+	${INSTALL_MAN} ${WRKSRC}/pollinfo.1 ${STAGEDIR}${PREFIX}/share/man/man1/
 
 .include <bsd.port.mk>