22 lines
779 B
Makefile
22 lines
779 B
Makefile
# Created by: Dmitry Sivachenko <mitya@yandex-team.ru>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= openfst
|
|
PORTVERSION= 1.4.1
|
|
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
|
|
|
|
USES= compiler:c++11-lang
|
|
USE_LDCONFIG= yes
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS+=--enable-compact-fsts --enable-const-fsts --enable-far --enable-linear-fsts --enable-ngram-fsts --enable-lookahead-fsts --enable-pdt
|
|
|
|
post-patch:
|
|
${REINPLACE_CMD} -e s#-ldl## ${WRKSRC}/src/extensions/far/Makefile.in ${WRKSRC}/src/extensions/pdt/Makefile.in ${WRKSRC}/src/bin/Makefile.in ${WRKSRC}/src/test/Makefile.in ${WRKSRC}/src/extensions/linear/Makefile.in
|
|
|
|
.include <bsd.port.mk>
|