1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00
freebsd-ports/audio/py-vorbis/Makefile
2010-06-06 20:44:03 +00:00

36 lines
919 B
Makefile

# New ports collection makefile for: pyvorbis
# Date created: 23 Sep 2002
# Whom: makeport.pl
#
# $FreeBSD$
#
PORTNAME= vorbis
PORTVERSION= 1.4
PORTREVISION= 3
CATEGORIES= audio python
MASTER_SITES= http://www.andrewchatham.com/pyogg/download/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= pyvorbis-${PORTVERSION}
MAINTAINER= xride@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= vorbis.4:${PORTSDIR}/audio/libvorbis
PLIST_FILES= lib/%%PYTHON_VERSION%%/site-packages/ogg/vorbis.so
USE_PYTHON= yes
USE_PYDISTUTILS= 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>