diff options
author | Tobias C. Berner <tcberner@FreeBSD.org> | 2020-11-07 08:43:18 +0000 |
---|---|---|
committer | Tobias C. Berner <tcberner@FreeBSD.org> | 2020-11-07 08:43:18 +0000 |
commit | 81b965a99c1486d52a74b13310123f98e658c7a2 (patch) | |
tree | 8b6414b66eb499f8b870cff260d6f5cc7206c5a8 /x11/mate-dock-applet | |
parent | Update 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/Makefile | 7 |
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> |