git: 87c1f10e6761 - 2022Q4 - x11-wm/picom: respect PREFIX in manpage

From: Jan Beich <jbeich_at_FreeBSD.org>
Date: Sun, 30 Oct 2022 07:16:33 UTC
The branch 2022Q4 has been updated by jbeich:

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

commit 87c1f10e67619f10cb34fc78775e7179425441c8
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2022-10-30 06:51:03 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2022-10-30 07:14:12 +0000

    x11-wm/picom: respect PREFIX in manpage
    
    (cherry picked from commit e98158ac72a44a2842e28de6f9985a9844f124dd)
---
 x11-wm/picom/Makefile | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/x11-wm/picom/Makefile b/x11-wm/picom/Makefile
index f8c7510c9be7..6502af029121 100644
--- a/x11-wm/picom/Makefile
+++ b/x11-wm/picom/Makefile
@@ -1,6 +1,7 @@
 PORTNAME=	picom
 DISTVERSIONPREFIX=	v
 DISTVERSION=	9.1
+PORTREVISION=	1
 CATEGORIES=	x11-wm
 
 MAINTAINER=	jbeich@FreeBSD.org
@@ -57,6 +58,7 @@ DOCS_PLIST_FILES=	man/man1/${PORTNAME}.1.gz \
 
 post-patch:
 	@${REINPLACE_CMD} -e 's,/etc,${PREFIX}&,' \
+		${WRKSRC}/man/${PORTNAME}.1.asciidoc \
 		${WRKSRC}/src/config_libconfig.c
 # Extract (snapshot) version from the port instead of meson.build
 	@${REINPLACE_CMD} -i .nogit -e 's/git.found()/false/' \