aboutsummaryrefslogtreecommitdiff
path: root/audio/py-eyed3
diff options
context:
space:
mode:
authorRuslan Makhmatkhanov <rm@FreeBSD.org>2017-04-23 16:09:09 +0000
committerRuslan Makhmatkhanov <rm@FreeBSD.org>2017-04-23 16:09:09 +0000
commitd1e7722ce17fd5e929062762a5be4616ef4cf6d4 (patch)
tree588722c0c3ea6ddb87e3db65123d34628364d7ec /audio/py-eyed3
parent006e952f0610e280bd3d83b4a7599faa78d965a0 (diff)
downloadports-d1e7722ce17fd5e929062762a5be4616ef4cf6d4.tar.gz
ports-d1e7722ce17fd5e929062762a5be4616ef4cf6d4.zip
audio/py-eyed3: fix path to python interpreter
Correct the python binary path in eyed3 executable: we have no python symlink by default. Bump PORTREVISION. Reported by: ZAHEMSZKY, Gábor <gabor@zahemszky.hu> (by email) MFH: 2017Q1
Notes
Notes: svn path=/head/; revision=439226
Diffstat (limited to 'audio/py-eyed3')
-rw-r--r--audio/py-eyed3/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/audio/py-eyed3/Makefile b/audio/py-eyed3/Makefile
index a1f2aa846bf5..de447af58cf8 100644
--- a/audio/py-eyed3/Makefile
+++ b/audio/py-eyed3/Makefile
@@ -3,6 +3,7 @@
PORTNAME= eyed3
PORTVERSION= 0.7.10
+PORTREVISION= 1
CATEGORIES= audio python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -26,7 +27,8 @@ PORTEXAMPLES= *
OPTIONS_DEFINE= DOCS EXAMPLES
post-patch:
- ${REINPLACE_CMD} -e 's/bash/sh/g' ${WRKSRC}/bin/eyeD3
+ ${REINPLACE_CMD} -e 's,bash,sh,g;s,python,${PYTHON_CMD},g' \
+ ${WRKSRC}/bin/eyeD3
post-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}