mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-19 00:13:33 +00:00
b1ecad53b0
Bump PORTREVISION on consumers. Sponsored by: Serenity Cybersecurity, LLC PR: 262713
32 lines
974 B
Makefile
32 lines
974 B
Makefile
PORTNAME= pocketsphinx
|
|
PORTVERSION= 0.1.15
|
|
PORTREVISION= 2
|
|
CATEGORIES= audio python
|
|
MASTER_SITES= PYPI
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= DtxdF@disroot.org
|
|
COMMENT= Python interface to CMU Sphinxbase and Pocketsphinx libraries
|
|
WWW= https://github.com/bambocher/pocketsphinx-python
|
|
|
|
LICENSE= BSD2CLAUSE
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
BUILD_DEPENDS= swig>0:devel/swig
|
|
LIB_DEPENDS= libasound.so:audio/alsa-lib \
|
|
libpulse-simple.so:audio/pulseaudio \
|
|
libpulse.so:audio/pulseaudio
|
|
|
|
USES= python
|
|
USE_PYTHON= distutils
|
|
|
|
CFLAGS+= -I${LOCALBASE}/include
|
|
|
|
post-install:
|
|
${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/pocketsphinx/_pocketsphinx${PYTHON_EXT_SUFFIX}.so
|
|
${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/sphinxbase/_ad_alsa${PYTHON_EXT_SUFFIX}.so
|
|
${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/sphinxbase/_ad_pulse${PYTHON_EXT_SUFFIX}.so
|
|
${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/sphinxbase/_sphinxbase${PYTHON_EXT_SUFFIX}.so
|
|
|
|
.include <bsd.port.mk>
|