From 18fadfbd94c505b24077424e9f40aea7860132dc Mon Sep 17 00:00:00 2001 From: Pawel Pekala Date: Wed, 19 Mar 2014 13:08:09 +0000 Subject: [PATCH] - Switch to path independent RUN_DEPENDS - Staging support --- audio/sonice/Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/audio/sonice/Makefile b/audio/sonice/Makefile index 9b632993e8ab..90ef598e3ecc 100644 --- a/audio/sonice/Makefile +++ b/audio/sonice/Makefile @@ -13,15 +13,15 @@ COMMENT= Sonice eases reencoding of .ogg files 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