4376dbbb58
FLAVOR is the current port's flavor, it should not be used outside of this scope. Sponsored by: Absolight
29 lines
799 B
Makefile
29 lines
799 B
Makefile
# Created by: Carl Johan Gustavsson <cjg@bsdmail.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= speex
|
|
PORTVERSION= 0.2
|
|
PORTREVISION= 2
|
|
CATEGORIES= audio python
|
|
MASTER_SITES= http://freenet.mcnabhosting.com/python/pySpeex/
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
DISTNAME= pySpeex-${DISTVERSIONPREFIX}${DISTVERSION}${DISTVERSIONSUFFIX}
|
|
DIST_SUBDIR= python
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Python bindings for the Speex compressor/decompressor audio codec
|
|
|
|
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pyrex>=0.9.6.2:devel/pyrex@${PY_FLAVOR}
|
|
LIB_DEPENDS= libspeex.so:audio/speex
|
|
|
|
USES= python:2.7
|
|
USE_PYTHON= autoplist distutils
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \
|
|
${WRKSRC}/setup.py
|
|
|
|
post-install:
|
|
${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/speex.so
|
|
|
|
.include <bsd.port.mk>
|