aboutsummaryrefslogtreecommitdiffstats
path: root/math/openfst/Makefile
blob: 1e14c1e7ef715b3d5d34d9cbac740b06fd8da9e4 (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
# Created by: Dmitry Sivachenko <mitya@yandex-team.ru>
# $FreeBSD$

PORTNAME=   openfst
PORTVERSION=    1.5.4
CATEGORIES= math
MASTER_SITES=   http://www.openfst.org/twiki/pub/FST/FstDownload/

MAINTAINER= demon@FreeBSD.org
COMMENT=    Library for working with weighted finite-state transducers (FSTs)

LICENSE=    APACHE20

BROKEN_powerpc64=   Does not build
BROKEN_sparc64= Does not build: fails to compile symbol-table-ops.cc

USES=       compiler:c++11-lib libtool python:2
USE_LDCONFIG=   ${LOCALBASE}/lib/fst
GNU_CONFIGURE=  yes
CONFIGURE_ARGS+=--enable-bin --enable-compact-fsts --enable-compress --enable-const-fsts --enable-far --enable-linear-fsts --enable-lookahead-fsts --enable-mpdt --enable-ngram-fsts --enable-pdt --enable-python
LDFLAGS+=   "-L${LOCALBASE}/lib"
MAKE_ENV+=  PYTHON=${PYTHON_CMD}

.include <bsd.port.mk>