freebsd-ports/audio/py-speechrecognition/Makefile

35 lines
734 B
Makefile
Raw Normal View History

# $FreeBSD$
PORTNAME= SpeechRecognition
2017-10-15 13:04:59 +02:00
PORTVERSION= 3.7.1
CATEGORIES= audio python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= kevlo@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@${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@${FLAVOR}
.endif
.include <bsd.port.post.mk>