aboutsummaryrefslogtreecommitdiff
path: root/math/openfst-vosk/Makefile
blob: 19f30e64fa2ea8afa2fd5e863c8c0e2308231bb3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
PORTNAME=	openfst # openfst-vosk is for audio/vosk-api
DISTVERSION=	20210207
CATEGORIES=	math
PKGNAMESUFFIX=	-vosk

MAINTAINER=	yuri@FreeBSD.org
COMMENT=	Library for working with weighted finite-state transducers
WWW=		https://www.openfst.org/

LICENSE=	APACHE20

USES=		autoreconf compiler:c++17-lang gmake libtool
USE_LDCONFIG=	yes

GNU_CONFIGURE=	yes
CONFIGURE_ARGS=	--enable-shared \
		--enable-far \
		--enable-ngram-fsts \
		--enable-lookahead-fsts \
		--with-pic \
		--disable-bin

CXXFLAGS_i386=	-msse -msse2 -mfpmath=sse

USE_GITHUB=	yes
GH_ACCOUNT=	alphacep
GH_TAGNAME=	7dfd808

.include <bsd.port.mk>