Update to version 3.13.0.
This commit is contained in:
parent
80c3c1dfa0
commit
6444c879b1
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=450583
6 changed files with 82 additions and 44 deletions
|
@ -2,22 +2,19 @@
|
|||
# $FreeBSD$
|
||||
|
||||
PORTNAME= hfst
|
||||
PORTVERSION= 3.8.2
|
||||
PORTREVISION= 5
|
||||
PORTVERSION= 3.13.0
|
||||
CATEGORIES= math
|
||||
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/source
|
||||
|
||||
PATCH_SITES= https://github.com/${PORTNAME}/${PORTNAME}/commit/
|
||||
PATCHFILES= 134d5a5aac3f.patch:-p1
|
||||
|
||||
MAINTAINER= demon@FreeBSD.org
|
||||
COMMENT= A toolkit for for processing natural language morphologies
|
||||
COMMENT= Toolkit for for processing natural language morphologies
|
||||
|
||||
USES= libtool pathfix pkgconfig python:2 readline shebangfix
|
||||
USE_GNOME= glib20 libxml2
|
||||
USE_GITHUB= yes
|
||||
GH_TAGNAME= c187d5a
|
||||
|
||||
USES= autoreconf libtool pathfix pkgconfig python:2 readline shebangfix
|
||||
USE_GCC= yes
|
||||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_ARGS= --with-readline --with-unicode-handler=glib --enable-calculate --enable-edit-metadata --enable-lexc-wrapper --enable-proc --enable-tagger --enable-xfst --enable-shuffle --enable-traverse
|
||||
CONFIGURE_ARGS= --with-readline --enable-lexc-wrapper --enable-proc --enable-tagger --enable-train-tagger --enable-xfst --enable-shuffle --enable-traverse
|
||||
CPPFLAGS+= -I${LOCALBASE}/include -I${LOCALBASE}/include/libxml2
|
||||
LDFLAGS+= -L${LOCALBASE}/lib
|
||||
SHEBANG_FILES= tools/src/hfst-tagger/src/hfst_tagger_compute_data_statistics.py
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
SHA256 (hfst-3.8.2.tar.gz) = bdae235271368a8d13db4a224fe8a53cf7266b8fce194cf63c96031e007e3d63
|
||||
SIZE (hfst-3.8.2.tar.gz) = 3158251
|
||||
TIMESTAMP = 1506332455
|
||||
SHA256 (hfst-hfst-3.13.0-c187d5a_GH0.tar.gz) = 5d90d1d7e6ebdf6010532a097ae1d7e170be9ab82a43d3d6018e42fb0c51cc90
|
||||
SIZE (hfst-hfst-3.13.0-c187d5a_GH0.tar.gz) = 23840495
|
||||
SHA256 (134d5a5aac3f.patch) = 9f7eacf517002af2cb1eb3d48d095d0f5d2f3100adfc4edf24279245f7d7d542
|
||||
SIZE (134d5a5aac3f.patch) = 1027
|
||||
|
|
10
math/hfst/files/patch-libhfst-src-parsers-XfstCompiler.cc
Normal file
10
math/hfst/files/patch-libhfst-src-parsers-XfstCompiler.cc
Normal file
|
@ -0,0 +1,10 @@
|
|||
--- libhfst/src/parsers/XfstCompiler.cc.orig 2014-07-04 18:26:59.000000000 +0400
|
||||
+++ libhfst/src/parsers/XfstCompiler.cc 2014-07-04 18:27:09.000000000 +0400
|
||||
@@ -18,6 +18,7 @@
|
||||
# include <config.h>
|
||||
#endif
|
||||
|
||||
+#define _WITH_GETLINE
|
||||
#include <string>
|
||||
#include <map>
|
||||
#include <list>
|
|
@ -1,10 +1,11 @@
|
|||
--- tools/src/hfst-commandline.cc.orig 2014-07-04 18:13:51.000000000 +0400
|
||||
+++ tools/src/hfst-commandline.cc 2014-07-04 18:14:35.000000000 +0400
|
||||
@@ -21,6 +21,7 @@
|
||||
# include <config.h>
|
||||
--- tools/src/hfst-commandline.cc.orig 2017-09-25 13:48:38.560155000 +0300
|
||||
+++ tools/src/hfst-commandline.cc 2017-09-25 13:48:46.814581000 +0300
|
||||
@@ -24,6 +24,8 @@
|
||||
# define PACKAGE_BUGREPORT ""
|
||||
#endif
|
||||
|
||||
+#define _WITH_GETLINE
|
||||
+
|
||||
#include <cassert>
|
||||
#include <climits>
|
||||
#include <cmath>
|
||||
|
|
|
@ -1,10 +0,0 @@
|
|||
--- tools/src/parsers/XfstCompiler.cc.orig 2014-07-04 18:26:59.000000000 +0400
|
||||
+++ tools/src/parsers/XfstCompiler.cc 2014-07-04 18:27:09.000000000 +0400
|
||||
@@ -18,6 +18,7 @@
|
||||
# include <config.h>
|
||||
#endif
|
||||
|
||||
+#define _WITH_GETLINE
|
||||
#include <string>
|
||||
#include <map>
|
||||
#include <list>
|
|
@ -12,6 +12,7 @@ bin/hfst-determinize
|
|||
bin/hfst-disjunct
|
||||
bin/hfst-edit-metadata
|
||||
bin/hfst-expand
|
||||
bin/hfst-flookup
|
||||
bin/hfst-format
|
||||
bin/hfst-fst2fst
|
||||
bin/hfst-fst2strings
|
||||
|
@ -58,20 +59,17 @@ bin/hfst-summarise
|
|||
bin/hfst-summarize
|
||||
bin/hfst-tag
|
||||
bin/hfst-tail
|
||||
bin/hfst-tokenise
|
||||
bin/hfst-tokenize
|
||||
bin/hfst-train-tagger
|
||||
bin/hfst-train-tagger-loc
|
||||
bin/hfst-train-tagger-system
|
||||
bin/hfst-traverse
|
||||
bin/hfst-twolc
|
||||
bin/hfst-twolc-loc
|
||||
bin/hfst-twolc-system
|
||||
bin/hfst-txt2fst
|
||||
bin/hfst-union
|
||||
bin/hfst-xfst
|
||||
bin/hfst_tagger_compute_data_statistics.py
|
||||
bin/htwolcpre1
|
||||
bin/htwolcpre2
|
||||
bin/htwolcpre3
|
||||
include/hfst/ComposeIntersectFst.h
|
||||
include/hfst/ComposeIntersectLexicon.h
|
||||
include/hfst/ComposeIntersectRule.h
|
||||
|
@ -80,16 +78,20 @@ include/hfst/ConvertTransducerFormat.h
|
|||
include/hfst/FomaTransducer.h
|
||||
include/hfst/FormatSpecifiers.h
|
||||
include/hfst/HarmonizeUnknownAndIdentitySymbols.h
|
||||
include/hfst/HfstBasicTransducer.h
|
||||
include/hfst/HfstBasicTransition.h
|
||||
include/hfst/HfstDataTypes.h
|
||||
include/hfst/HfstEpsilonHandler.h
|
||||
include/hfst/HfstExceptionDefs.h
|
||||
include/hfst/HfstExtractStrings.h
|
||||
include/hfst/HfstFastTransitionData.h
|
||||
include/hfst/HfstFlagDiacritics.h
|
||||
include/hfst/HfstInputStream.h
|
||||
include/hfst/HfstLookupFlagDiacritics.h
|
||||
include/hfst/HfstOlTransducer.h
|
||||
include/hfst/HfstOutputStream.h
|
||||
include/hfst/HfstPrintDot.h
|
||||
include/hfst/HfstPrintPCKimmo.h
|
||||
include/hfst/HfstStrings2FstTokenizer.h
|
||||
include/hfst/HfstSymbolDefs.h
|
||||
include/hfst/HfstTokenizer.h
|
||||
include/hfst/HfstTransducer.h
|
||||
|
@ -103,8 +105,10 @@ include/hfst/PmatchCompiler.h
|
|||
include/hfst/SfstTransducer.h
|
||||
include/hfst/TropicalWeightTransducer.h
|
||||
include/hfst/XreCompiler.h
|
||||
include/hfst/hfst-string-conversions.h
|
||||
include/hfst/hfst.h
|
||||
include/hfst/hfst_apply_schemas.h
|
||||
include/hfst/hfstdll.h
|
||||
include/hfst/implementations/ComposeIntersectFst.h
|
||||
include/hfst/implementations/ComposeIntersectLexicon.h
|
||||
include/hfst/implementations/ComposeIntersectRule.h
|
||||
|
@ -112,7 +116,8 @@ include/hfst/implementations/ComposeIntersectRulePair.h
|
|||
include/hfst/implementations/ComposeIntersectUtilities.h
|
||||
include/hfst/implementations/ConvertTransducerFormat.h
|
||||
include/hfst/implementations/FomaTransducer.h
|
||||
include/hfst/implementations/HfstFastTransitionData.h
|
||||
include/hfst/implementations/HfstBasicTransducer.h
|
||||
include/hfst/implementations/HfstBasicTransition.h
|
||||
include/hfst/implementations/HfstOlTransducer.h
|
||||
include/hfst/implementations/HfstTransition.h
|
||||
include/hfst/implementations/HfstTransitionGraph.h
|
||||
|
@ -120,6 +125,7 @@ include/hfst/implementations/HfstTropicalTransducerTransitionData.h
|
|||
include/hfst/implementations/LogWeightTransducer.h
|
||||
include/hfst/implementations/SfstTransducer.h
|
||||
include/hfst/implementations/TropicalWeightTransducer.h
|
||||
include/hfst/implementations/XfsmTransducer.h
|
||||
include/hfst/implementations/compose_intersect/ComposeIntersectFst.h
|
||||
include/hfst/implementations/compose_intersect/ComposeIntersectLexicon.h
|
||||
include/hfst/implementations/compose_intersect/ComposeIntersectRule.h
|
||||
|
@ -127,17 +133,57 @@ include/hfst/implementations/compose_intersect/ComposeIntersectRulePair.h
|
|||
include/hfst/implementations/compose_intersect/ComposeIntersectUtilities.h
|
||||
include/hfst/implementations/optimized-lookup/convert.h
|
||||
include/hfst/implementations/optimized-lookup/pmatch.h
|
||||
include/hfst/implementations/optimized-lookup/pmatch_tokenize.h
|
||||
include/hfst/implementations/optimized-lookup/transducer.h
|
||||
include/hfst/parsers/Alphabet.h
|
||||
include/hfst/parsers/CommandLine.h
|
||||
include/hfst/parsers/ConflictResolvingLeftArrowRule.h
|
||||
include/hfst/parsers/ConflictResolvingRightArrowRule.h
|
||||
include/hfst/parsers/ConstContainerIterator.h
|
||||
include/hfst/parsers/HfstTwolcDefs.h
|
||||
include/hfst/parsers/InputReader.h
|
||||
include/hfst/parsers/LeftArrowRule.h
|
||||
include/hfst/parsers/LeftArrowRuleContainer.h
|
||||
include/hfst/parsers/LeftRestrictionArrowRule.h
|
||||
include/hfst/parsers/LexcCompiler.h
|
||||
include/hfst/parsers/MatchedConstContainerIterator.h
|
||||
include/hfst/parsers/MixedConstContainerIterator.h
|
||||
include/hfst/parsers/OtherSymbolTransducer.h
|
||||
include/hfst/parsers/PmatchCompiler.h
|
||||
include/hfst/parsers/RightArrowRule.h
|
||||
include/hfst/parsers/RightArrowRuleContainer.h
|
||||
include/hfst/parsers/Rule.h
|
||||
include/hfst/parsers/RuleContainer.h
|
||||
include/hfst/parsers/RuleSymbolVector.h
|
||||
include/hfst/parsers/RuleVariables.h
|
||||
include/hfst/parsers/RuleVariablesConstIterator.h
|
||||
include/hfst/parsers/SfstAlphabet.h
|
||||
include/hfst/parsers/SfstBasic.h
|
||||
include/hfst/parsers/SfstCompiler.h
|
||||
include/hfst/parsers/SfstUtf8.h
|
||||
include/hfst/parsers/TwolCGrammar.h
|
||||
include/hfst/parsers/TwolcCompiler.h
|
||||
include/hfst/parsers/VariableBlock.h
|
||||
include/hfst/parsers/VariableBlockContainer.h
|
||||
include/hfst/parsers/VariableContainer.h
|
||||
include/hfst/parsers/VariableContainerBase.h
|
||||
include/hfst/parsers/VariableDefs.h
|
||||
include/hfst/parsers/VariableValueIterator.h
|
||||
include/hfst/parsers/VariableValues.h
|
||||
include/hfst/parsers/XfstCompiler.h
|
||||
include/hfst/parsers/XreCompiler.h
|
||||
include/hfst/parsers/grammar_defs.h
|
||||
include/hfst/parsers/lexc-utils.h
|
||||
include/hfst/parsers/pmatch_utils.h
|
||||
include/hfst/parsers/string_manipulation.h
|
||||
include/hfst/parsers/xfst-utils.h
|
||||
include/hfst/parsers/xfst_help_message.h
|
||||
include/hfst/parsers/xre_utils.h
|
||||
include/hfst/string-utils.h
|
||||
lib/libhfst.a
|
||||
lib/libhfst.so
|
||||
lib/libhfst.so.40
|
||||
lib/libhfst.so.40.0.0
|
||||
lib/libhfst.so.50
|
||||
lib/libhfst.so.50.0.0
|
||||
%%PYTHON_SITELIBDIR%%/hfst_tagger_compute_data_statistics.py
|
||||
%%PYTHON_SITELIBDIR%%/hfst_tagger_compute_data_statistics.pyc
|
||||
%%PYTHON_SITELIBDIR%%/hfst_tagger_compute_data_statistics.pyo
|
||||
|
@ -160,8 +206,6 @@ man/man1/hfst-disjunct.1.gz
|
|||
man/man1/hfst-edit-metadata.1.gz
|
||||
man/man1/hfst-expand-equivalences.1.gz
|
||||
man/man1/hfst-expand.1.gz
|
||||
man/man1/hfst-foma-wrapper.1.gz
|
||||
man/man1/hfst-foma.1.gz
|
||||
man/man1/hfst-format.1.gz
|
||||
man/man1/hfst-fst2fst.1.gz
|
||||
man/man1/hfst-fst2strings.1.gz
|
||||
|
@ -208,18 +252,13 @@ man/man1/hfst-summarise.1.gz
|
|||
man/man1/hfst-summarize.1.gz
|
||||
man/man1/hfst-tag.1.gz
|
||||
man/man1/hfst-tail.1.gz
|
||||
man/man1/hfst-train-tagger-loc.1.gz
|
||||
man/man1/hfst-train-tagger-system.1.gz
|
||||
man/man1/hfst-tokenise.1.gz
|
||||
man/man1/hfst-tokenize.1.gz
|
||||
man/man1/hfst-train-tagger.1.gz
|
||||
man/man1/hfst-traverse.1.gz
|
||||
man/man1/hfst-twolc-loc.1.gz
|
||||
man/man1/hfst-twolc-system.1.gz
|
||||
man/man1/hfst-twolc.1.gz
|
||||
man/man1/hfst-txt2fst.1.gz
|
||||
man/man1/hfst-union.1.gz
|
||||
man/man1/hfst-xfst.1.gz
|
||||
man/man1/hfst_tagger_compute_data_statistics.py.1.gz
|
||||
man/man1/htwolcpre1.1.gz
|
||||
man/man1/htwolcpre2.1.gz
|
||||
man/man1/htwolcpre3.1.gz
|
||||
share/aclocal/hfst.m4
|
||||
|
|
Loading…
Reference in a new issue