Import lttoolbox-3.3.1.
lttoolbox is a toolbox for lexical processing, morphological analysis and generation of words. Analysis is the process of splitting a word (e.g., cats) into its lemma 'cat' and the grammatical information <n><pl>. Generation is the opposite process. The package is split into three programs: lt-comp, the compiler; lt-proc, the processor; and lt-expand, which generates all possible mappings between surface forms and lexical forms in the dictionary. ok jasper@
This commit is contained in:
parent
aaefb533cb
commit
42d5579574
29
textproc/lttoolbox/Makefile
Normal file
29
textproc/lttoolbox/Makefile
Normal file
@ -0,0 +1,29 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2016/01/01 11:53:04 bentley Exp $
|
||||
|
||||
COMMENT = finite-state lexical processing toolkit
|
||||
|
||||
V = 3.3
|
||||
DISTNAME = lttoolbox-3.3.1
|
||||
|
||||
SHARED_LIBS += lttoolbox3-$V 0.0 # 0.0
|
||||
SHARED_LIBS += lttoolbox3 0.0 # 0.0
|
||||
|
||||
CATEGORIES = textproc
|
||||
|
||||
HOMEPAGE = http://wiki.apertium.org/wiki/Lttoolbox
|
||||
|
||||
# GPLv2+
|
||||
PERMIT_PACKAGE_CDROM = Yes
|
||||
|
||||
WANTLIB += c m stdc++ xml2 z
|
||||
|
||||
MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=apertium/}
|
||||
|
||||
MODULES = converters/libiconv
|
||||
LIB_DEPENDS = textproc/libxml
|
||||
|
||||
CONFIGURE_STYLE = gnu
|
||||
|
||||
SUBST_VARS = V
|
||||
|
||||
.include <bsd.port.mk>
|
2
textproc/lttoolbox/distinfo
Normal file
2
textproc/lttoolbox/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
SHA256 (lttoolbox-3.3.1.tar.gz) = VeqhFZlR14O7W0LzL7lHJ/oZMDt0CbcgomosUmD77DY=
|
||||
SIZE (lttoolbox-3.3.1.tar.gz) = 450529
|
33
textproc/lttoolbox/patches/patch-configure
Normal file
33
textproc/lttoolbox/patches/patch-configure
Normal file
@ -0,0 +1,33 @@
|
||||
$OpenBSD: patch-configure,v 1.1.1.1 2016/01/01 11:53:04 bentley Exp $
|
||||
--- configure.orig Sun Dec 20 14:43:52 2015
|
||||
+++ configure Sun Dec 20 14:43:56 2015
|
||||
@@ -3363,8 +3363,8 @@ else
|
||||
then
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: i686" >&5
|
||||
$as_echo "i686" >&6; }
|
||||
- CFLAGS="-Wall -march=i686 -O3 -fomit-frame-pointer -funroll-loops $CFLAGS"
|
||||
- CXXFLAGS="-Wall -march=i686 -O3 \
|
||||
+ CFLAGS="-Wall -march=i686 -fomit-frame-pointer -funroll-loops $CFLAGS"
|
||||
+ CXXFLAGS="-Wall -march=i686 \
|
||||
-fomit-frame-pointer -funroll-loops $CXXFLAGS"
|
||||
|
||||
else
|
||||
@@ -3372,14 +3372,14 @@ $as_echo "i686" >&6; }
|
||||
then
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: x86_64" >&5
|
||||
$as_echo "x86_64" >&6; }
|
||||
- CFLAGS="-Wall -O3 -mtune=nocona -fomit-frame-pointer -funroll-loops $CFLAGS"
|
||||
- CXXFLAGS="-Wall -O3 -mtune=nocona \
|
||||
+ CFLAGS="-Wall -mtune=nocona -fomit-frame-pointer -funroll-loops $CFLAGS"
|
||||
+ CXXFLAGS="-Wall -mtune=nocona \
|
||||
-fomit-frame-pointer -funroll-loops $CXXFLAGS"
|
||||
else
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Other" >&5
|
||||
$as_echo "Other" >&6; }
|
||||
- CFLAGS="-Wall -O3 $CFLAGS"
|
||||
- CXXFLAGS="-Wall -O3 $CXXFLAGS"
|
||||
+ CFLAGS="-Wall $CFLAGS"
|
||||
+ CXXFLAGS="-Wall $CXXFLAGS"
|
||||
fi
|
||||
fi
|
||||
fi
|
8
textproc/lttoolbox/pkg/DESCR
Normal file
8
textproc/lttoolbox/pkg/DESCR
Normal file
@ -0,0 +1,8 @@
|
||||
lttoolbox is a toolbox for lexical processing, morphological analysis
|
||||
and generation of words. Analysis is the process of splitting a word
|
||||
(e.g., cats) into its lemma 'cat' and the grammatical information
|
||||
<n><pl>. Generation is the opposite process.
|
||||
|
||||
The package is split into three programs: lt-comp, the compiler;
|
||||
lt-proc, the processor; and lt-expand, which generates all possible
|
||||
mappings between surface forms and lexical forms in the dictionary.
|
52
textproc/lttoolbox/pkg/PLIST
Normal file
52
textproc/lttoolbox/pkg/PLIST
Normal file
@ -0,0 +1,52 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2016/01/01 11:53:04 bentley Exp $
|
||||
@bin bin/lt-comp
|
||||
@bin bin/lt-expand
|
||||
@bin bin/lt-print
|
||||
@bin bin/lt-proc
|
||||
@bin bin/lt-tmxcomp
|
||||
@bin bin/lt-tmxproc
|
||||
@bin bin/lt-trim
|
||||
include/lttoolbox-${V}/
|
||||
include/lttoolbox-${V}/lttoolbox/
|
||||
include/lttoolbox-${V}/lttoolbox/alphabet.h
|
||||
include/lttoolbox-${V}/lttoolbox/att_compiler.h
|
||||
include/lttoolbox-${V}/lttoolbox/buffer.h
|
||||
include/lttoolbox-${V}/lttoolbox/compiler.h
|
||||
include/lttoolbox-${V}/lttoolbox/compression.h
|
||||
include/lttoolbox-${V}/lttoolbox/entry_token.h
|
||||
include/lttoolbox-${V}/lttoolbox/exception.h
|
||||
include/lttoolbox-${V}/lttoolbox/expander.h
|
||||
include/lttoolbox-${V}/lttoolbox/fst_processor.h
|
||||
include/lttoolbox-${V}/lttoolbox/lt_locale.h
|
||||
include/lttoolbox-${V}/lttoolbox/ltstr.h
|
||||
include/lttoolbox-${V}/lttoolbox/match_exe.h
|
||||
include/lttoolbox-${V}/lttoolbox/match_node.h
|
||||
include/lttoolbox-${V}/lttoolbox/match_state.h
|
||||
include/lttoolbox-${V}/lttoolbox/my_stdio.h
|
||||
include/lttoolbox-${V}/lttoolbox/node.h
|
||||
include/lttoolbox-${V}/lttoolbox/pattern_list.h
|
||||
include/lttoolbox-${V}/lttoolbox/regexp_compiler.h
|
||||
include/lttoolbox-${V}/lttoolbox/sorted_vector.h
|
||||
include/lttoolbox-${V}/lttoolbox/state.h
|
||||
include/lttoolbox-${V}/lttoolbox/tmx_compiler.h
|
||||
include/lttoolbox-${V}/lttoolbox/trans_exe.h
|
||||
include/lttoolbox-${V}/lttoolbox/transducer.h
|
||||
include/lttoolbox-${V}/lttoolbox/xml_parse_util.h
|
||||
@lib lib/liblttoolbox3-${V}.so.${LIBlttoolbox3-3.3_VERSION}
|
||||
lib/liblttoolbox3.a
|
||||
lib/liblttoolbox3.la
|
||||
@lib lib/liblttoolbox3.so.${LIBlttoolbox3_VERSION}
|
||||
lib/pkgconfig/lttoolbox.pc
|
||||
@man man/man1/lt-comp.1
|
||||
@man man/man1/lt-expand.1
|
||||
@man man/man1/lt-print.1
|
||||
@man man/man1/lt-proc.1
|
||||
@man man/man1/lt-tmxcomp.1
|
||||
@man man/man1/lt-tmxproc.1
|
||||
@man man/man1/lt-trim.1
|
||||
share/lttoolbox/
|
||||
share/lttoolbox/acx.rng
|
||||
share/lttoolbox/acx.xsd
|
||||
share/lttoolbox/dix.dtd
|
||||
share/lttoolbox/dix.rng
|
||||
share/lttoolbox/dix.xsd
|
Loading…
x
Reference in New Issue
Block a user