1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-26 00:55:14 +00:00
freebsd-ports/audio/py-vorbis/Makefile
Marcus von Appen 4bef5c9aab - Enable stage support
- Convert to PYDISTUTILS_AUTOPLIST
- Limit to the supported python versions
- Change to new LIB_DEPENDS where necessary
2013-09-27 22:36:11 +00:00

32 lines
805 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.7
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>