svn commit: r439226 - head/audio/py-eyed3

Ruslan Makhmatkhanov rm at FreeBSD.org
Sun Apr 23 16:09:11 UTC 2017


Author: rm
Date: Sun Apr 23 16:09:09 2017
New Revision: 439226
URL: https://svnweb.freebsd.org/changeset/ports/439226

Log:
  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 at zahemszky.hu> (by email)
  MFH:		2017Q1

Modified:
  head/audio/py-eyed3/Makefile

Modified: head/audio/py-eyed3/Makefile
==============================================================================
--- head/audio/py-eyed3/Makefile	Sun Apr 23 14:55:17 2017	(r439225)
+++ head/audio/py-eyed3/Makefile	Sun Apr 23 16:09:09 2017	(r439226)
@@ -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}


More information about the svn-ports-head mailing list