aboutsummaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2021-09-02 06:45:29 +0000
committerJan Beich <jbeich@FreeBSD.org>2021-09-02 06:54:01 +0000
commit8e6e8b34072064e953d9da2c6898d2893d1a5f2a (patch)
tree7b02f9a82abf6a6d11834bd508267af5a23b3278 /x11
parent3b76cdf297ea4cf8f0c9038457c842280af2b932 (diff)
Diffstat (limited to 'x11')
-rw-r--r--x11/mako/Makefile7
1 files changed, 7 insertions, 0 deletions
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@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>