x11/swayimg: system config under PREFIX after 7a53589a40

This commit is contained in:
Jan Beich 2023-01-29 09:54:24 +00:00
parent f19f5e1672
commit 3d3c629518

View File

@ -69,4 +69,10 @@ WEBP_MESON_ENABLED= webp
ZSH_MESON_ENABLED= zsh
ZSH_PLIST_FILES= share/zsh/site-functions/_${PORTNAME}
post-patch:
# Respect PREFIX for system-wide config
@${REINPLACE_CMD} 's,/etc,${PREFIX}&,' \
${WRKSRC}/extra/${PORTNAME}rc.5 \
${WRKSRC}/src/config.c
.include <bsd.port.mk>