git: beb0e619a2c3 - main - x11/hyprpicker: install manpage

From: Jan Beich <jbeich_at_FreeBSD.org>
Date: Wed, 14 Dec 2022 13:46:35 UTC
The branch main has been updated by jbeich:

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

commit beb0e619a2c39d174c658b2abcadec886cee84ba
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2022-12-14 13:42:27 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2022-12-14 13:45:26 +0000

    x11/hyprpicker: install manpage
---
 x11/hyprpicker/Makefile | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/x11/hyprpicker/Makefile b/x11/hyprpicker/Makefile
index d7a49b652a5e..a6e19294eef1 100644
--- a/x11/hyprpicker/Makefile
+++ b/x11/hyprpicker/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	hyprpicker
 PORTVERSION=	s20221120
+PORTREVISION=	1
 CATEGORIES=	x11 wayland
 
 MAINTAINER=	jbeich@FreeBSD.org
@@ -20,7 +21,8 @@ USE_GITHUB=	yes
 GH_ACCOUNT=	hyprwm
 GH_TAGNAME=	f6c24d9
 LDFLAGS+=	-static-libstdc++ -static-libgcc # avoid libc++ conflict
-PLIST_FILES=	bin/${PORTNAME}
+PLIST_FILES=	bin/${PORTNAME} \
+		share/man/man1/${PORTNAME}.1.gz
 
 post-patch:
 # Extract (snapshot) version from the port instead of Git
@@ -45,5 +47,7 @@ pre-configure:
 do-install:
 	${INSTALL_PROGRAM} ${INSTALL_WRKSRC}/${PORTNAME} \
 		${STAGEDIR}${PREFIX}/bin
+	${INSTALL_MAN} ${WRKSRC}/doc/${PORTNAME}.1 \
+		${STAGEDIR}${PREFIX}/share/man/man1/
 
 .include <bsd.port.mk>