aboutsummaryrefslogtreecommitdiffstats
path: root/x11-fm/twander
diff options
context:
space:
mode:
authorwg <wg@FreeBSD.org>2013-12-15 03:19:06 +0800
committerwg <wg@FreeBSD.org>2013-12-15 03:19:06 +0800
commitb9a15bb9e6e1a5176f79c372fd71650dc8d2bc8f (patch)
tree78a3e278407b701c0ef76447f486f18529ec3beb /x11-fm/twander
parent2d4364cce49da14b53ac03f5af9f9734067b47f9 (diff)
downloadfreebsd-ports-gnome-b9a15bb9e6e1a5176f79c372fd71650dc8d2bc8f.tar.gz
freebsd-ports-gnome-b9a15bb9e6e1a5176f79c372fd71650dc8d2bc8f.tar.zst
freebsd-ports-gnome-b9a15bb9e6e1a5176f79c372fd71650dc8d2bc8f.zip
x11-fm/twander: fix usage of python
Reported by: exp-run (PR 184591) Approved by: portmgr (blanket)
Diffstat (limited to 'x11-fm/twander')
-rw-r--r--x11-fm/twander/Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/x11-fm/twander/Makefile b/x11-fm/twander/Makefile
index dd3eb2b48003..03e574c8048e 100644
--- a/x11-fm/twander/Makefile
+++ b/x11-fm/twander/Makefile
@@ -27,4 +27,12 @@ post-install:
.endfor
.endif
+post-patch:
+ @${REINPLACE_CMD} \
+ -e 's|/usr/bin/env python|${PYTHON_CMD}|' \
+ ${WRKSRC}/twander.py
+ @${REINPLACE_CMD} \
+ -e 's|python |${PYTHON_CMD} |' \
+ ${WRKSRC}/Makefile
+
.include <bsd.port.mk>