freebsd-ports/audio/py-speex/Makefile
Cheng-Lung Sung 891f50bfc0 Add py-speex 0.2, python bindings for the Speex compressor/decompressor
audio codec.

PR:		ports/111032
Submitted by:	Carl Johan Gustavsson <cjg at bsdmail.org>
2007-04-02 07:18:13 +00:00

30 lines
796 B
Makefile

# New ports collection makefile for: py-speex
# Date created: 3 March 2007
# Whom: Carl Johan Gustavsson <cjg@bsdmail.org>
#
# $FreeBSD$
#
PORTNAME= speex
PORTVERSION= 0.2
CATEGORIES= audio python
MASTER_SITES= http://www.freenet.org.nz/python/pySpeex/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= pySpeex-${DISTVERSIONPREFIX}${DISTVERSION}${DISTVERSIONSUFFIX}
DIST_SUBDIR= python
MAINTAINER= cjg@bsdmail.org
COMMENT= Python bindings for the Speex compressor/decompressor audio codec
BUILD_DEPENDS= pyrexc:${PORTSDIR}/devel/pyrex
LIB_DEPENDS= speex.1:${PORTSDIR}/audio/speex
PLIST_FILES= lib/%%PYTHON_VERSION%%/site-packages/speex.so
USE_PYTHON= yes
USE_PYDISTUTILS=yes
post-patch:
@${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \
${WRKSRC}/setup.py
.include <bsd.port.mk>