git: 9ea1c4642797 - main - x11/mako: unbreak icon search
Jan Beich
jbeich at FreeBSD.org
Thu Sep 2 06:53:42 UTC 2021
The branch main has been updated by jbeich:
URL: https://cgit.FreeBSD.org/ports/commit/?id=9ea1c4642797c6c798ca562e614d4c383dd5869b
commit 9ea1c4642797c6c798ca562e614d4c383dd5869b
Author: Jan Beich <jbeich at FreeBSD.org>
AuthorDate: 2021-09-02 06:45:29 +0000
Commit: Jan Beich <jbeich at FreeBSD.org>
CommitDate: 2021-09-02 06:52:31 +0000
x11/mako: unbreak icon search
Example:
$ notify-send --icon=mpv song.mp3
---
x11/mako/Makefile | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/x11/mako/Makefile b/x11/mako/Makefile
index 735ed6d8a0f0..ecf6e6d273ec 100644
--- a/x11/mako/Makefile
+++ b/x11/mako/Makefile
@@ -1,6 +1,7 @@
PORTNAME= mako
DISTVERSIONPREFIX= v
DISTVERSION= 1.6
+PORTREVISION= 1
CATEGORIES= x11
MAINTAINER= jbeich at FreeBSD.org
@@ -36,4 +37,10 @@ MANPAGES_PLIST_FILES= man/man1/${PORTNAME}.1.gz \
PIXBUF_USE= GNOME=gdkpixbuf2
PIXBUF_MESON_ENABLED= icons
+post-patch:
+# Respect PREFIX for icons
+ @${REINPLACE_CMD} 's,/usr/share,${DATADIR:H},g' \
+ ${WRKSRC}/icon.c \
+ ${WRKSRC}/${PORTNAME}.5.scd
+
.include <bsd.port.mk>
More information about the dev-commits-ports-all
mailing list