freebsd-ports/audio/py-speechrecognition/Makefile

35 lines
740 B
Makefile
Raw Normal View History

# $FreeBSD$
PORTNAME= SpeechRecognition
2017-12-17 09:29:52 +01:00
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
2017-10-15 13:04:59 +02:00
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
2017-10-15 13:04:59 +02:00
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>