git: 0280974e0fb3 - main - x11/xdg-desktop-portal-wlr: respect PREFIX in manpage

Jan Beich jbeich at FreeBSD.org
Sun Apr 18 16:34:34 UTC 2021


The branch main has been updated by jbeich:

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

commit 0280974e0fb33ef110aa188cfbbb9dadb80f16c5
Author:     Jan Beich <jbeich at FreeBSD.org>
AuthorDate: 2021-04-18 16:33:19 +0000
Commit:     Jan Beich <jbeich at FreeBSD.org>
CommitDate: 2021-04-18 16:34:19 +0000

    x11/xdg-desktop-portal-wlr: respect PREFIX in manpage
---
 x11/xdg-desktop-portal-wlr/Makefile | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/x11/xdg-desktop-portal-wlr/Makefile b/x11/xdg-desktop-portal-wlr/Makefile
index 156a08b36850..fdce45aaebf0 100644
--- a/x11/xdg-desktop-portal-wlr/Makefile
+++ b/x11/xdg-desktop-portal-wlr/Makefile
@@ -31,4 +31,8 @@ MANPAGES_BUILD_DEPENDS=	scdoc:textproc/scdoc
 MANPAGES_MESON_ENABLED=	man-pages
 MANPAGES_PLIST_FILES=	man/man5/${PORTNAME}.5.gz
 
+post-patch:
+	@${REINPLACE_CMD} -e 's,/etc,${PREFIX}&,' \
+		${WRKSRC}/${PORTNAME}.5.scd
+
 .include <bsd.port.mk>


More information about the dev-commits-ports-all mailing list