summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorwiz <wiz>2015-01-04 11:43:12 +0000
committerwiz <wiz>2015-01-04 11:43:12 +0000
commitc93651c5e91e9eb26282dbd2ef0dc26a7025db0c (patch)
tree4018e0bedbb1c614ebaba685e0f764d08bcdf306 /audio
parentbe2d872010aed5ff0a5cfbe38f4659d5e1c0b006 (diff)
downloadpkgsrc-c93651c5e91e9eb26282dbd2ef0dc26a7025db0c.tar.gz
Fix python path in installed shell script.
Ride import.
Diffstat (limited to 'audio')
-rw-r--r--audio/eyeD3/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/audio/eyeD3/Makefile b/audio/eyeD3/Makefile
index 818754657df..b6331cae971 100644
--- a/audio/eyeD3/Makefile
+++ b/audio/eyeD3/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2015/01/04 11:05:15 wiz Exp $
+# $NetBSD: Makefile,v 1.2 2015/01/04 11:43:12 wiz Exp $
DISTNAME= eyeD3-0.7.5
CATEGORIES= audio
@@ -14,5 +14,11 @@ USE_LANGUAGES= # none
PYTHON_VERSIONS_INCOMPATIBLE= 33 34 # not yet ported as of 0.7.5
REPLACE_SH+= bin/eyeD3
+SUBST_CLASSES+= python
+SUBST_SED.python+= -e "s,python,${PYTHONBIN},"
+SUBST_MESSAGE.python= Fixing path to python executable.
+SUBST_FILES.python+= bin/eyeD3
+SUBST_STAGE.python+= post-configure
+
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"