git: e98158ac72a4 - main - x11-wm/picom: respect PREFIX in manpage

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

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

commit e98158ac72a44a2842e28de6f9985a9844f124dd
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2022-10-30 06:51:03 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2022-10-30 06:58:45 +0000

    x11-wm/picom: respect PREFIX in manpage
---
 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/' \