initial import of ocaml-text-0.6, a library for dealing with unicode characters
From Christopher Zimmermann <madroach@gmerlin.de> -- OCaml-Text is a library for dealing with ``text'', i.e. sequence of unicode characters, in a convenient way It supports: - character encoding/decoding using iconv - manipulation of text as UTF-8 encoded strings - localised text functions such as compare, upper, ... - human readable regular expression inside patterns
This commit is contained in:
parent
dda70b738c
commit
2a6e96791c
33
textproc/ocaml-text/Makefile
Normal file
33
textproc/ocaml-text/Makefile
Normal file
@ -0,0 +1,33 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2012/08/18 22:49:29 avsm Exp $
|
||||
|
||||
COMMENT = library for dealing with unicode text
|
||||
CATEGORIES = devel textproc
|
||||
|
||||
NAME = ocaml-text
|
||||
DISTNAME = ${NAME}-0.6
|
||||
MASTER_SITES = https://forge.ocamlcore.org/frs/download.php/937/
|
||||
|
||||
HOMEPAGE = http://ocaml-text.forge.ocamlcore.org/
|
||||
|
||||
|
||||
# BSD3
|
||||
PERMIT_PACKAGE_FTP = Yes
|
||||
PERMIT_PACKAGE_CDROM = Yes
|
||||
PERMIT_DISTFILES_FTP = Yes
|
||||
PERMIT_DISTFILES_CDROM = Yes
|
||||
|
||||
MODULES = lang/ocaml
|
||||
|
||||
RUN_DEPENDS = lang/ocaml devel/ocaml-pcre
|
||||
BUILD_DEPENDS = sysutils/findlib devel/ocaml-pcre
|
||||
LIB_DEPENDS = converters/libiconv
|
||||
WANTLIB = iconv
|
||||
|
||||
CONFIGURE_STYLE = oasis
|
||||
CONFIGURE_ARGS = --enable-pcre
|
||||
|
||||
post-install:
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/${NAME}
|
||||
${INSTALL_DATA} ${WRKDIST}/examples/* ${PREFIX}/share/examples/${NAME}/
|
||||
|
||||
.include <bsd.port.mk>
|
2
textproc/ocaml-text/distinfo
Normal file
2
textproc/ocaml-text/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
SHA256 (ocaml-text-0.6.tar.gz) = z9TSJOwLd2zkYsW6XLbk6ujPOX7ebTuRrdRKBaZSD0k=
|
||||
SIZE (ocaml-text-0.6.tar.gz) = 253162
|
30
textproc/ocaml-text/patches/patch-setup_ml
Normal file
30
textproc/ocaml-text/patches/patch-setup_ml
Normal file
@ -0,0 +1,30 @@
|
||||
$OpenBSD: patch-setup_ml,v 1.1.1.1 2012/08/18 22:49:29 avsm Exp $
|
||||
--- setup.ml.orig Thu Aug 16 19:20:12 2012
|
||||
+++ setup.ml Thu Aug 16 19:20:29 2012
|
||||
@@ -5577,7 +5577,7 @@ let setup_t =
|
||||
CustomPlugin.cmd_main =
|
||||
[
|
||||
(OASISExpr.EBool true,
|
||||
- ("make", ["-C"; "manual"; "manual.pdf"]))
|
||||
+ ("gmake", ["-C"; "manual"; "manual.pdf"]))
|
||||
];
|
||||
cmd_clean = [(OASISExpr.EBool true, None)];
|
||||
cmd_distclean = [(OASISExpr.EBool true, None)];
|
||||
@@ -5606,7 +5606,7 @@ let setup_t =
|
||||
CustomPlugin.cmd_main =
|
||||
[
|
||||
(OASISExpr.EBool true,
|
||||
- ("make", ["-C"; "manual"; "manual.pdf"]))
|
||||
+ ("gmake", ["-C"; "manual"; "manual.pdf"]))
|
||||
];
|
||||
cmd_clean = [(OASISExpr.EBool true, None)];
|
||||
cmd_distclean = [(OASISExpr.EBool true, None)];
|
||||
@@ -5633,7 +5633,7 @@ let setup_t =
|
||||
CustomPlugin.cmd_main =
|
||||
[
|
||||
(OASISExpr.EBool true,
|
||||
- ("make", ["-C"; "manual"; "manual.pdf"]))
|
||||
+ ("gmake", ["-C"; "manual"; "manual.pdf"]))
|
||||
];
|
||||
cmd_clean = [(OASISExpr.EBool true, None)];
|
||||
cmd_distclean = [(OASISExpr.EBool true, None)];
|
12
textproc/ocaml-text/pkg/DESCR
Normal file
12
textproc/ocaml-text/pkg/DESCR
Normal file
@ -0,0 +1,12 @@
|
||||
OCaml-Text is a library for dealing with ``text'', i.e. sequence of
|
||||
unicode characters, in a convenient way
|
||||
|
||||
It supports:
|
||||
|
||||
- character encoding/decoding using iconv
|
||||
- manipulation of text as UTF-8 encoded strings
|
||||
- localised text functions such as compare, upper, ...
|
||||
- human readable regular expression inside patterns
|
||||
|
||||
In order to be the compatible with other ocaml library without pain,
|
||||
OCaml-Text choose to use only regular strings for dealing with text.
|
5
textproc/ocaml-text/pkg/PFRAG.dynlink-native
Normal file
5
textproc/ocaml-text/pkg/PFRAG.dynlink-native
Normal file
@ -0,0 +1,5 @@
|
||||
@comment $OpenBSD: PFRAG.dynlink-native,v 1.1.1.1 2012/08/18 22:49:29 avsm Exp $
|
||||
@bin lib/ocaml/text/text-bigarray.cmxs
|
||||
@bin lib/ocaml/text/text-pcre-syntax.cmxs
|
||||
@bin lib/ocaml/text/text-pcre.cmxs
|
||||
@bin lib/ocaml/text/text.cmxs
|
20
textproc/ocaml-text/pkg/PFRAG.native
Normal file
20
textproc/ocaml-text/pkg/PFRAG.native
Normal file
@ -0,0 +1,20 @@
|
||||
@comment $OpenBSD: PFRAG.native,v 1.1.1.1 2012/08/18 22:49:29 avsm Exp $
|
||||
%%dynlink%%
|
||||
lib/ocaml/text/encoding.cmx
|
||||
lib/ocaml/text/encoding_bigarray.cmx
|
||||
lib/ocaml/text/pa_text_env.cmx
|
||||
lib/ocaml/text/pa_text_main.cmx
|
||||
lib/ocaml/text/pa_text_parse.cmx
|
||||
lib/ocaml/text/pa_text_regexp.cmx
|
||||
lib/ocaml/text/pa_text_types.cmx
|
||||
lib/ocaml/text/pa_text_util.cmx
|
||||
lib/ocaml/text/text-bigarray.a
|
||||
lib/ocaml/text/text-bigarray.cmxa
|
||||
lib/ocaml/text/text-pcre-syntax.a
|
||||
lib/ocaml/text/text-pcre-syntax.cmxa
|
||||
lib/ocaml/text/text-pcre.a
|
||||
lib/ocaml/text/text-pcre.cmxa
|
||||
lib/ocaml/text/text.a
|
||||
lib/ocaml/text/text.cmx
|
||||
lib/ocaml/text/text.cmxa
|
||||
lib/ocaml/text/text_pcre.cmx
|
3
textproc/ocaml-text/pkg/PFRAG.shared
Normal file
3
textproc/ocaml-text/pkg/PFRAG.shared
Normal file
@ -0,0 +1,3 @@
|
||||
@comment $OpenBSD: PFRAG.shared,v 1.1.1.1 2012/08/18 22:49:29 avsm Exp $
|
||||
lib/ocaml/stublibs/dlltext-bigarray_stubs.so
|
||||
lib/ocaml/stublibs/dlltext_stubs.so
|
42
textproc/ocaml-text/pkg/PLIST
Normal file
42
textproc/ocaml-text/pkg/PLIST
Normal file
@ -0,0 +1,42 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2012/08/18 22:49:29 avsm Exp $
|
||||
%%SHARED%%
|
||||
%%native%%
|
||||
@comment lib/ocaml/stublibs/dlltext-bigarray_stubs.so.owner
|
||||
@comment lib/ocaml/stublibs/dlltext_stubs.so.owner
|
||||
lib/ocaml/text/
|
||||
lib/ocaml/text/META
|
||||
lib/ocaml/text/encoding.cmi
|
||||
lib/ocaml/text/encoding.mli
|
||||
lib/ocaml/text/encoding_bigarray.cmi
|
||||
lib/ocaml/text/encoding_bigarray.mli
|
||||
lib/ocaml/text/libtext-bigarray_stubs.a
|
||||
lib/ocaml/text/libtext_stubs.a
|
||||
lib/ocaml/text/text-bigarray.cma
|
||||
lib/ocaml/text/text-pcre-syntax.cma
|
||||
lib/ocaml/text/text-pcre.cma
|
||||
lib/ocaml/text/text.cma
|
||||
lib/ocaml/text/text.cmi
|
||||
lib/ocaml/text/text.mli
|
||||
lib/ocaml/text/text_pcre.cmi
|
||||
lib/ocaml/text/text_pcre.mli
|
||||
share/doc/ocaml-text/
|
||||
share/doc/ocaml-text/api/
|
||||
share/doc/ocaml-text/api/Encoding.html
|
||||
share/doc/ocaml-text/api/Text.html
|
||||
share/doc/ocaml-text/api/index.html
|
||||
share/doc/ocaml-text/api/index_attributes.html
|
||||
share/doc/ocaml-text/api/index_class_types.html
|
||||
share/doc/ocaml-text/api/index_classes.html
|
||||
share/doc/ocaml-text/api/index_exceptions.html
|
||||
share/doc/ocaml-text/api/index_methods.html
|
||||
share/doc/ocaml-text/api/index_module_types.html
|
||||
share/doc/ocaml-text/api/index_modules.html
|
||||
share/doc/ocaml-text/api/index_types.html
|
||||
share/doc/ocaml-text/api/index_values.html
|
||||
share/doc/ocaml-text/api/style.css
|
||||
share/doc/ocaml-text/api/type_Encoding.html
|
||||
share/doc/ocaml-text/api/type_Text.html
|
||||
share/doc/ocaml-text/manual.pdf
|
||||
share/examples/ocaml-text/
|
||||
share/examples/ocaml-text/Makefile
|
||||
share/examples/ocaml-text/regexp.ml
|
Loading…
x
Reference in New Issue
Block a user