summaryrefslogtreecommitdiff
path: root/x11/mate-dock-applet
diff options
context:
space:
mode:
authorTobias C. Berner <tcberner@FreeBSD.org>2020-11-07 08:43:18 +0000
committerTobias C. Berner <tcberner@FreeBSD.org>2020-11-07 08:43:18 +0000
commit81b965a99c1486d52a74b13310123f98e658c7a2 (patch)
tree8b6414b66eb499f8b870cff260d6f5cc7206c5a8 /x11/mate-dock-applet
parentUpdate to the 20201105 snapshot of GCC 8.4.1. (diff)
x11/mate-dock-apllet: shebangfix python
Notes
Notes: svn path=/head/; revision=554352
Diffstat (limited to 'x11/mate-dock-applet')
-rw-r--r--x11/mate-dock-applet/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/x11/mate-dock-applet/Makefile b/x11/mate-dock-applet/Makefile
index df740bda483e..8377dc9ea7d0 100644
--- a/x11/mate-dock-applet/Makefile
+++ b/x11/mate-dock-applet/Makefile
@@ -22,7 +22,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cairo>=0:graphics/py-cairo@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}xdg>=0:devel/py-xdg@${PY_FLAVOR}
USES= python:3.7+ autoreconf gettext gmake gnome libtool localbase \
- pkgconfig tar:xz
+ pkgconfig shebangfix tar:xz
USE_GITHUB= yes
GH_ACCOUNT= ubuntu-mate
@@ -32,7 +32,12 @@ GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-gtk3
INSTALLS_ICONS= yes
INSTALL_TARGET= install-strip
+SHEBANG_FILES= src/*.in
GLIB_SCHEMAS= org.mate.panel.applet.dock.gschema.xml
+post-patch:
+ ${REINPLACE_CMD} -e 's|/usr/bin/env python3|${PYTHON_CMD}|g' \
+ ${WRKSRC}/src/org.mate.panel.applet.DockAppletFactory.service.in
+
.include <bsd.port.mk>