aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2021-04-18 16:33:19 +0000
committerJan Beich <jbeich@FreeBSD.org>2021-04-18 16:34:19 +0000
commit0280974e0fb33ef110aa188cfbbb9dadb80f16c5 (patch)
tree64df14d36f10fe69980693fdc4af2086af7e5122
parent337aa4a3c88ec4d38d79695f208ae2ac17e06626 (diff)
downloadports-0280974e0fb33ef110aa188cfbbb9dadb80f16c5.tar.gz
ports-0280974e0fb33ef110aa188cfbbb9dadb80f16c5.zip
x11/xdg-desktop-portal-wlr: respect PREFIX in manpage
-rw-r--r--x11/xdg-desktop-portal-wlr/Makefile4
1 files changed, 4 insertions, 0 deletions
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>