freebsd-ports/audio/sonice/Makefile
Marcus von Appen 715852b561 - Convert ports from audio/ to new USES=python
Reviewed by:	portmgr (implicit)
2014-10-19 07:33:09 +00:00

26 lines
646 B
Makefile

# Created by: ijliao
# $FreeBSD$
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 <bsd.port.mk>