Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Apr 2021 16:34:34 GMT
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 0280974e0fb3 - main - x11/xdg-desktop-portal-wlr: respect PREFIX in manpage
Message-ID:  <202104181634.13IGYYt6067572@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by jbeich:

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

commit 0280974e0fb33ef110aa188cfbbb9dadb80f16c5
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2021-04-18 16:33:19 +0000
Commit:     Jan Beich <jbeich@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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202104181634.13IGYYt6067572>