aboutsummaryrefslogtreecommitdiff
path: root/x11/fuzzel/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'x11/fuzzel/Makefile')
-rw-r--r--x11/fuzzel/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/x11/fuzzel/Makefile b/x11/fuzzel/Makefile
index 8fa51007e55c..78ba21b1a35a 100644
--- a/x11/fuzzel/Makefile
+++ b/x11/fuzzel/Makefile
@@ -1,5 +1,6 @@
PORTNAME= fuzzel
DISTVERSION= 1.6.3
+PORTREVISION= 1
CATEGORIES= x11
MASTER_SITES= https://codeberg.org/dnkl/${PORTNAME}/archive/${DISTVERSIONFULL}${EXTRACT_SUFX}?dummy=/
@@ -39,7 +40,9 @@ PNG_LIB_DEPENDS= libpng.so:graphics/png
PNG_MESON_ENABLED= enable-png
post-patch:
- @${REINPLACE_CMD} 's,/usr/local,${PREFIX},g' \
+# Respect PREFIX for icons
+ @${REINPLACE_CMD} 's,/usr/share,${DATADIR:H},' \
+ ${WRKSRC}/completions/zsh/_${PORTNAME} \
${WRKSRC}/xdg.c
.include <bsd.port.mk>