git: d3fbfd7cc077 - main - math/openfst: update 1.8.1 → 1.8.2-20221207

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Sat, 16 Dec 2023 02:57:27 UTC
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=d3fbfd7cc077819c0fb0f21893da46ab7568512c

commit d3fbfd7cc077819c0fb0f21893da46ab7568512c
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2023-12-16 02:56:19 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2023-12-16 02:57:24 +0000

    math/openfst: update 1.8.1 → 1.8.2-20221207
    
    PR:     275786
---
 math/openfst/Makefile  |  29 +++++---------
 math/openfst/distinfo  |   6 +--
 math/openfst/pkg-plist | 107 +++++++++++++++++++++----------------------------
 3 files changed, 58 insertions(+), 84 deletions(-)

diff --git a/math/openfst/Makefile b/math/openfst/Makefile
index f994702f2da4..df1b91da6597 100644
--- a/math/openfst/Makefile
+++ b/math/openfst/Makefile
@@ -1,32 +1,23 @@
 PORTNAME=	openfst
-PORTVERSION=	1.8.1
+DISTVERSION=	1.8.2-20221207
 CATEGORIES=	math
-MASTER_SITES=	http://www.openfst.org/twiki/pub/FST/FstDownload/
+#MASTER_SITES=	http://www.openfst.org/twiki/pub/FST/FstDownload/
 
-MAINTAINER=	ports@FreeBSD.org
+MAINTAINER=	yuri@FreeBSD.org
 COMMENT=	Library for working with weighted finite-state transducers
 WWW=		https://www.openfst.org/
 
 LICENSE=	APACHE20
 
-USES=		compiler:c++17-lang libtool python
+USES=		cmake compiler:c++17-lang
 USE_LDCONFIG=	yes
-GNU_CONFIGURE=	yes
-INSTALL_TARGET=	install-strip
-CONFIGURE_ARGS=	--enable-bin \
-		--enable-compact-fsts \
-		--enable-compress \
-		--enable-const-fsts \
-		--enable-far \
-		--enable-fsts \
-		--enable-linear-fsts \
-		--enable-lookahead-fsts \
-		--enable-mpdt \
-		--enable-ngram-fsts \
-		--enable-pdt \
-		--enable-python \
-		--enable-special
 
 CXXFLAGS_i386=	-msse -msse2 -mfpmath=sse
 
+CMAKE_ON=	HAVE_COMPRESS
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	kkm000
+GH_TAGNAME=	8058417
+
 .include <bsd.port.mk>
diff --git a/math/openfst/distinfo b/math/openfst/distinfo
index c6047344dd34..b1971759ff3f 100644
--- a/math/openfst/distinfo
+++ b/math/openfst/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1629778485
-SHA256 (openfst-1.8.1.tar.gz) = 24fb53b72bb687e3fa8ee96c72a31ff2920d99b980a0a8f61dda426fca6713f0
-SIZE (openfst-1.8.1.tar.gz) = 1333532
+TIMESTAMP = 1702689497
+SHA256 (kkm000-openfst-1.8.2-20221207-8058417_GH0.tar.gz) = 80c64f392680acdb02018d2360adfcaf9dda974aed282c102f0c06a91371ad71
+SIZE (kkm000-openfst-1.8.2-20221207-8058417_GH0.tar.gz) = 1305413
diff --git a/math/openfst/pkg-plist b/math/openfst/pkg-plist
index b86ce1a49591..db7f4bb19f0a 100644
--- a/math/openfst/pkg-plist
+++ b/math/openfst/pkg-plist
@@ -1,5 +1,4 @@
 bin/farcompilestrings
-bin/farconvert
 bin/farcreate
 bin/farequal
 bin/farextract
@@ -35,6 +34,7 @@ bin/fstproject
 bin/fstprune
 bin/fstpush
 bin/fstrandgen
+bin/fstrandmod
 bin/fstrelabel
 bin/fstreplace
 bin/fstreverse
@@ -85,15 +85,14 @@ include/fst/encode.h
 include/fst/epsnormalize.h
 include/fst/equal.h
 include/fst/equivalent.h
-include/fst/error-weight.h
 include/fst/expanded-fst.h
-include/fst/expander-cache.h
 include/fst/expectation-weight.h
+include/fst/extensions/compress/compress-script.h
 include/fst/extensions/compress/compress.h
-include/fst/extensions/compress/compressscript.h
 include/fst/extensions/compress/elias.h
+include/fst/extensions/compress/gzfile.h
+include/fst/extensions/compress/randmod.h
 include/fst/extensions/far/compile-strings.h
-include/fst/extensions/far/convert.h
 include/fst/extensions/far/create.h
 include/fst/extensions/far/equal.h
 include/fst/extensions/far/extract.h
@@ -169,7 +168,6 @@ include/fst/minimize.h
 include/fst/mutable-fst.h
 include/fst/pair-weight.h
 include/fst/partition.h
-include/fst/power-weight-mappers.h
 include/fst/power-weight.h
 include/fst/product-weight.h
 include/fst/project.h
@@ -228,6 +226,7 @@ include/fst/script/prune.h
 include/fst/script/push.h
 include/fst/script/randequivalent.h
 include/fst/script/randgen.h
+include/fst/script/register.h
 include/fst/script/relabel.h
 include/fst/script/replace.h
 include/fst/script/reverse.h
@@ -260,7 +259,6 @@ include/fst/symbol-table.h
 include/fst/synchronize.h
 include/fst/test-properties.h
 include/fst/test/algo_test.h
-include/fst/test/compactors.h
 include/fst/test/fst_test.h
 include/fst/test/rand-fst.h
 include/fst/test/weight-tester.h
@@ -275,71 +273,56 @@ include/fst/vector-fst.h
 include/fst/verify.h
 include/fst/visit.h
 include/fst/weight.h
-include/fst/windows_defs.inc
-lib/fst/arc_lookahead-fst.so
-lib/fst/compact16_acceptor-fst.so
-lib/fst/compact16_string-fst.so
-lib/fst/compact16_unweighted-fst.so
-lib/fst/compact16_unweighted_acceptor-fst.so
-lib/fst/compact16_weighted_string-fst.so
-lib/fst/compact64_acceptor-fst.so
-lib/fst/compact64_string-fst.so
-lib/fst/compact64_unweighted-fst.so
-lib/fst/compact64_unweighted_acceptor-fst.so
-lib/fst/compact64_weighted_string-fst.so
-lib/fst/compact8_acceptor-fst.so
-lib/fst/compact8_string-fst.so
-lib/fst/compact8_unweighted-fst.so
-lib/fst/compact8_unweighted_acceptor-fst.so
-lib/fst/compact8_weighted_string-fst.so
-lib/fst/const16-fst.so
-lib/fst/const64-fst.so
-lib/fst/const8-fst.so
-lib/fst/ilabel_lookahead-fst.so
-lib/fst/linear_classifier-fst.so
-lib/fst/linear_tagger-fst.so
-lib/fst/ngram-fst.so
-lib/fst/olabel_lookahead-fst.so
-lib/fst/phi-fst.so
-lib/fst/rho-fst.so
-lib/fst/sigma-fst.so
+lib/fst/libarc_lookahead-fst.so
+lib/fst/libcompact16_acceptor-fst.so
+lib/fst/libcompact16_string-fst.so
+lib/fst/libcompact16_unweighted-fst.so
+lib/fst/libcompact16_unweighted_acceptor-fst.so
+lib/fst/libcompact16_weighted_string-fst.so
+lib/fst/libcompact64_acceptor-fst.so
+lib/fst/libcompact64_string-fst.so
+lib/fst/libcompact64_unweighted-fst.so
+lib/fst/libcompact64_unweighted_acceptor-fst.so
+lib/fst/libcompact64_weighted_string-fst.so
+lib/fst/libcompact8_acceptor-fst.so
+lib/fst/libcompact8_string-fst.so
+lib/fst/libcompact8_unweighted-fst.so
+lib/fst/libcompact8_unweighted_acceptor-fst.so
+lib/fst/libcompact8_weighted_string-fst.so
+lib/fst/libconst16-fst.so
+lib/fst/libconst64-fst.so
+lib/fst/libconst8-fst.so
+lib/fst/libilabel_lookahead-fst.so
+lib/fst/liblinear-classifier-fst.so
+lib/fst/liblinear-tagger-fst.so
+lib/fst/libngram_fst.so
+lib/fst/libolabel_lookahead-fst.so
+lib/fst/libphi-fst.so
+lib/fst/librho-fst.so
+lib/fst/libsigma-fst.so
 lib/libfst.so
-lib/libfst.so.24
-lib/libfst.so.24.0.0
+lib/libfst.so.16
 lib/libfstcompact.so
-lib/libfstcompact.so.24
-lib/libfstcompact.so.24.0.0
+lib/libfstcompact.so.16
 lib/libfstcompressscript.so
-lib/libfstcompressscript.so.24
-lib/libfstcompressscript.so.24.0.0
+lib/libfstcompressscript.so.16
 lib/libfstconst.so
-lib/libfstconst.so.24
-lib/libfstconst.so.24.0.0
+lib/libfstconst.so.16
 lib/libfstfar.so
-lib/libfstfar.so.24
-lib/libfstfar.so.24.0.0
+lib/libfstfar.so.16
 lib/libfstfarscript.so
-lib/libfstfarscript.so.24
-lib/libfstfarscript.so.24.0.0
+lib/libfstfarscript.so.16
 lib/libfstlinearscript.so
-lib/libfstlinearscript.so.24
-lib/libfstlinearscript.so.24.0.0
+lib/libfstlinearscript.so.16
 lib/libfstlookahead.so
-lib/libfstlookahead.so.24
-lib/libfstlookahead.so.24.0.0
+lib/libfstlookahead.so.16
 lib/libfstmpdtscript.so
-lib/libfstmpdtscript.so.24
-lib/libfstmpdtscript.so.24.0.0
+lib/libfstmpdtscript.so.16
 lib/libfstngram.so
-lib/libfstngram.so.24
-lib/libfstngram.so.24.0.0
+lib/libfstngram.so.16
 lib/libfstpdtscript.so
-lib/libfstpdtscript.so.24
-lib/libfstpdtscript.so.24.0.0
+lib/libfstpdtscript.so.16
 lib/libfstscript.so
-lib/libfstscript.so.24
-lib/libfstscript.so.24.0.0
+lib/libfstscript.so.16
 lib/libfstspecial.so
-lib/libfstspecial.so.24
-lib/libfstspecial.so.24.0.0
-%%PYTHON_SITELIBDIR%%/pywrapfst.so
+lib/libfstspecial.so.16