summaryrefslogtreecommitdiff
path: root/x11-fm
diff options
context:
space:
mode:
authorWilliam Grzybowski <wg@FreeBSD.org>2013-12-14 19:19:06 +0000
committerWilliam Grzybowski <wg@FreeBSD.org>2013-12-14 19:19:06 +0000
commitcc6864b399670514719a71cdb7563b206e1c288d (patch)
tree78a3e278407b701c0ef76447f486f18529ec3beb /x11-fm
parentx11-wm/awesome2: fix usage of python (diff)
x11-fm/twander: fix usage of python
Reported by: exp-run (PR 184591) Approved by: portmgr (blanket)
Notes
Notes: svn path=/head/; revision=336474
Diffstat (limited to 'x11-fm')
-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>