4376dbbb58
FLAVOR is the current port's flavor, it should not be used outside of this scope. Sponsored by: Absolight
34 lines
740 B
Makefile
34 lines
740 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= SpeechRecognition
|
|
PORTVERSION= 3.8.1
|
|
CATEGORIES= audio python
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Python Library for performing speech recognition
|
|
|
|
LICENSE= BSD3CLAUSE
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= Uberi
|
|
GH_PROJECT= speech_recognition
|
|
|
|
RUN_DEPENDS= flac:audio/flac \
|
|
${PYTHON_PKGNAMEPREFIX}pyaudio>0:audio/py-pyaudio@${PY_FLAVOR}
|
|
|
|
NO_ARCH= yes
|
|
USES= python
|
|
USE_PYTHON= distutils autoplist
|
|
|
|
post-extract:
|
|
@cd ${WRKSRC}/speech_recognition && ${RM} flac-*
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${PYTHON_REL} < 3000
|
|
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}monotonic>=0.3:devel/py-monotonic@${PY_FLAVOR}
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|