1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-04 06:15:24 +00:00
freebsd-ports/audio/py-speex/Makefile
Mathieu Arnold 7f4572eae4 Remove ${PORTSDIR}/ from dependencies, Mk and categories a, b, and c.
With hat:	portmgr
Sponsored by:	Absolight
2016-04-01 13:29:15 +00:00

30 lines
759 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= pyrex>=0.9.6.2:devel/pyrex
LIB_DEPENDS= libspeex.so:audio/speex
USES= python
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>