1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00
freebsd-ports/audio/py-vorbis/Makefile
Rene Ladan 50f8eaece1 Python cleanup:
- USE_PYTHON* = 2.X -> USE_PYTHON* = 2
- USE_PYTHON* = 2.X+ -> USE_PYTHON* = yes
Reviewed by:	python (mva, rm)
Approved by:	portmgr-lurkers (mat)
2014-01-13 21:00:02 +00:00

32 lines
802 B
Makefile

# Created by: makeport.pl
# $FreeBSD$
PORTNAME= vorbis
PORTVERSION= 1.4
PORTREVISION= 4
CATEGORIES= audio python
MASTER_SITES= http://ekyo.nerim.net/software/pyogg/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= pyvorbis-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Object-oriented Python bindings for the vorbis library
BUILD_DEPENDS= ${PYTHON_SITELIBDIR}/ogg/_ogg.so:${PORTSDIR}/audio/py-ogg
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/ogg/_ogg.so:${PORTSDIR}/audio/py-ogg
LIB_DEPENDS= libvorbis.so:${PORTSDIR}/audio/libvorbis
USE_PYTHON= 2
USE_PYDISTUTILS= yes
PYDISTUTILS_AUTOPLIST= yes
PYDISTUTILS_PKGNAME= pyvorbis
post-patch:
@${REINPLACE_CMD} -e 's|/usr/local|${PREFIX}|' \
${WRKSRC}/config_unix.py
do-configure:
@cd ${WRKSRC} && ${PYTHON_CMD} config_unix.py
.include <bsd.port.mk>