aboutsummaryrefslogtreecommitdiffstats
path: root/audio/pimp3/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'audio/pimp3/Makefile')
-rw-r--r--audio/pimp3/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/audio/pimp3/Makefile b/audio/pimp3/Makefile
index 5f21eda74a39..5956f6fe2ae1 100644
--- a/audio/pimp3/Makefile
+++ b/audio/pimp3/Makefile
@@ -19,6 +19,9 @@ WRKSRC= ${WRKDIR}/pimp3
NO_BUILD= yes
USE_PYTHON= yes
+post-patch:
+ @${PERL} -pi -ne "s!/usr/bin/python!${LOCALBASE}/bin/python!;" ${WRKSRC}/pimp3.py
+
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/*.py ${PREFIX}/bin/
${INSTALL_SCRIPT} ${WRKSRC}/*.pyc ${PREFIX}/bin/