aboutsummaryrefslogtreecommitdiffstats
path: root/audio/sonice
diff options
context:
space:
mode:
authorpawel <pawel@FreeBSD.org>2014-03-19 21:08:09 +0800
committerpawel <pawel@FreeBSD.org>2014-03-19 21:08:09 +0800
commit7b3dc3361ba6b0000d35e2abb2a6df5fca2af140 (patch)
tree432b1bff60faab6282e4bf38da64807ceda5c659 /audio/sonice
parentbc7845129fa8820268fa407f1fc396869f5c008d (diff)
downloadfreebsd-ports-gnome-7b3dc3361ba6b0000d35e2abb2a6df5fca2af140.tar.gz
freebsd-ports-gnome-7b3dc3361ba6b0000d35e2abb2a6df5fca2af140.tar.zst
freebsd-ports-gnome-7b3dc3361ba6b0000d35e2abb2a6df5fca2af140.zip
- Switch to path independent RUN_DEPENDS
- Staging support
Diffstat (limited to 'audio/sonice')
-rw-r--r--audio/sonice/Makefile8
1 files 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 <bsd.port.mk>