svn commit: r348618 - head/audio/sonice

Pawel Pekala pawel at FreeBSD.org
Wed Mar 19 13:08:10 UTC 2014


Author: pawel
Date: Wed Mar 19 13:08:09 2014
New Revision: 348618
URL: http://svnweb.freebsd.org/changeset/ports/348618
QAT: https://qat.redports.org/buildarchive/r348618/

Log:
  - Switch to path independent RUN_DEPENDS
  - Staging support

Modified:
  head/audio/sonice/Makefile

Modified: head/audio/sonice/Makefile
==============================================================================
--- head/audio/sonice/Makefile	Wed Mar 19 12:36:57 2014	(r348617)
+++ head/audio/sonice/Makefile	Wed Mar 19 13:08:09 2014	(r348618)
@@ -13,15 +13,15 @@ COMMENT=	Sonice eases reencoding of .ogg
 RUN_DEPENDS=	oggenc:${PORTSDIR}/audio/vorbis-tools \
 		flac:${PORTSDIR}/audio/flac \
 		vorbisgain:${PORTSDIR}/audio/vorbisgain \
-		${PYTHON_SITELIBDIR}/yaml/__init__.py:${PORTSDIR}/devel/py-yaml
+		${PYTHON_PKGNAMEPREFIX}yaml>0:${PORTSDIR}/devel/py-yaml
 
-NO_STAGE=	yes
 USE_PYTHON=		2
 USE_PYDISTUTILS=	yes
 PYDISTUTILS_AUTOPLIST=	yes
 WRKSRC=		${WRKDIR}/sonice
 
-post-install:
-	@${MV} ${PREFIX}/bin/sonice.py ${PREFIX}/bin/sonice
+post-patch:
+	@${MV} ${WRKSRC}/bin/sonice.py ${WRKSRC}/bin/sonice
+	@${REINPLACE_CMD} '/binify/ s|\.py||' ${WRKSRC}/setup.py
 
 .include <bsd.port.mk>


More information about the svn-ports-all mailing list