# Created by: ijliao # $FreeBSD: head/audio/sonice/Makefile 371170 2014-10-19 07:33:09Z mva $ PORTNAME= sonice PORTVERSION= 2.0 PORTREVISION= 3 CATEGORIES= audio MASTER_SITES= http://freebsd.t-hosting.hu/${PORTNAME}/ MAINTAINER= ports@FreeBSD.org COMMENT= Sonice eases reencoding of .ogg files RUN_DEPENDS= oggenc:${PORTSDIR}/audio/vorbis-tools \ flac:${PORTSDIR}/audio/flac \ vorbisgain:${PORTSDIR}/audio/vorbisgain \ ${PYTHON_PKGNAMEPREFIX}yaml>0:${PORTSDIR}/devel/py-yaml USES= python:2 USE_PYTHON= distutils autoplist WRKSRC= ${WRKDIR}/sonice post-patch: @${MV} ${WRKSRC}/bin/sonice.py ${WRKSRC}/bin/sonice @${REINPLACE_CMD} '/binify/ s|\.py||' ${WRKSRC}/setup.py .include