Changeset View
Changeset View
Standalone View
Standalone View
audio/py-speex/Makefile
Show All 10 Lines | |||||
DIST_SUBDIR= python | DIST_SUBDIR= python | ||||
MAINTAINER= ports@FreeBSD.org | MAINTAINER= ports@FreeBSD.org | ||||
COMMENT= Python bindings for the Speex compressor/decompressor audio codec | COMMENT= Python bindings for the Speex compressor/decompressor audio codec | ||||
BUILD_DEPENDS= pyrex>=0.9.6.2:devel/pyrex | BUILD_DEPENDS= pyrex>=0.9.6.2:devel/pyrex | ||||
LIB_DEPENDS= libspeex.so:audio/speex | LIB_DEPENDS= libspeex.so:audio/speex | ||||
USES= python | USES= python:2.7 | ||||
USE_PYTHON= autoplist distutils | USE_PYTHON= autoplist distutils | ||||
post-patch: | post-patch: | ||||
@${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \ | @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \ | ||||
${WRKSRC}/setup.py | ${WRKSRC}/setup.py | ||||
post-install: | post-install: | ||||
${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/speex.so | ${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/speex.so | ||||
.include <bsd.port.mk> | .include <bsd.port.mk> |