diff options
author | wiz <wiz@pkgsrc.org> | 2006-08-11 15:44:33 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2006-08-11 15:44:33 +0000 |
commit | 86a1ae9133a71fb3380a7d5a074af25bb12e9da3 (patch) | |
tree | 5580b72d61099fee38acd25eda7be2eba65966c6 | |
parent | eaf4ccf609ffc15c5299eb44cc833f1039f3fee5 (diff) | |
download | pkgsrc-86a1ae9133a71fb3380a7d5a074af25bb12e9da3.tar.gz |
Initial import of pxp-1.1.6:
PXP is a validating XML parser for O'Caml. It strictly complies to
the XML-1.0 standard.
The parser is simple to call, usually only one statement (function
call) is sufficient to parse an XML document and to represent it
as object tree.
Once the document is parsed, it can be accessed using a class
interface. The interface allows arbitrary access including
transformations. One of the features of the document representation
is its polymorphic nature; it is simple to add custom methods to
the document classes. Furthermore, the parser can be configured
such that different XML elements are represented by objects created
from different classes. This is a very powerful feature, because
it simplifies the structure of programs processing XML documents.
Note that the class interface does not comply to the DOM standard.
It was not a development goal to realize a standard API (industrial
developers can this much better than I); however, the API is powerful
enough to be considered as equivalent with DOM. More important,
the interface is compatible with the XML information model required
by many XML-related standards.
-rw-r--r-- | textproc/pxp/DESCR | 22 | ||||
-rw-r--r-- | textproc/pxp/Makefile | 21 | ||||
-rw-r--r-- | textproc/pxp/PLIST | 73 | ||||
-rw-r--r-- | textproc/pxp/PLIST.opt | 11 | ||||
-rw-r--r-- | textproc/pxp/distinfo | 5 |
5 files changed, 132 insertions, 0 deletions
diff --git a/textproc/pxp/DESCR b/textproc/pxp/DESCR new file mode 100644 index 00000000000..226bec7afae --- /dev/null +++ b/textproc/pxp/DESCR @@ -0,0 +1,22 @@ +PXP is a validating XML parser for O'Caml. It strictly complies to +the XML-1.0 standard. + +The parser is simple to call, usually only one statement (function +call) is sufficient to parse an XML document and to represent it +as object tree. + +Once the document is parsed, it can be accessed using a class +interface. The interface allows arbitrary access including +transformations. One of the features of the document representation +is its polymorphic nature; it is simple to add custom methods to +the document classes. Furthermore, the parser can be configured +such that different XML elements are represented by objects created +from different classes. This is a very powerful feature, because +it simplifies the structure of programs processing XML documents. + +Note that the class interface does not comply to the DOM standard. +It was not a development goal to realize a standard API (industrial +developers can this much better than I); however, the API is powerful +enough to be considered as equivalent with DOM. More important, +the interface is compatible with the XML information model required +by many XML-related standards. diff --git a/textproc/pxp/Makefile b/textproc/pxp/Makefile new file mode 100644 index 00000000000..38f34c9e2bc --- /dev/null +++ b/textproc/pxp/Makefile @@ -0,0 +1,21 @@ +# $NetBSD: Makefile,v 1.1.1.1 2006/08/11 15:44:33 wiz Exp $ +# + +DISTNAME= pxp-1.1.6 +CATEGORIES= textproc +MASTER_SITES= http://www.ocaml-programming.de/packages/ + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= http://www.ocaml-programming.de/packages/ +COMMENT= Polymorphic XML parser, a validating XML-1.0 parser (OCaml) + +DEPENDS+= ocaml-findlib-[0-9]*:../../devel/ocaml-findlib +DEPENDS+= ocamlnet-[0-9]*:../../zzz/ocamlnet + +USE_TOOLS+= gmake +BUILD_TARGET= all opt +HAS_CONFIGURE= yes +PLIST_SRC= PLIST.opt PLIST + +.include "../../lang/ocaml/buildlink3.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/textproc/pxp/PLIST b/textproc/pxp/PLIST new file mode 100644 index 00000000000..abe331c3643 --- /dev/null +++ b/textproc/pxp/PLIST @@ -0,0 +1,73 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2006/08/11 15:44:33 wiz Exp $ +@unexec %D/libexec/ocaml-findlib-register del %D/lib/ocaml/site-lib/pxp +@unexec %D/libexec/ocaml-findlib-register del %D/lib/ocaml/site-lib/pxp-lex-utf8 +@unexec %D/libexec/ocaml-findlib-register del %D/lib/ocaml/site-lib/pxp-lex-iso88591 +@unexec %D/libexec/ocaml-findlib-register del %D/lib/ocaml/site-lib/pxp-engine +lib/ocaml/site-lib/pxp-engine/META +lib/ocaml/site-lib/pxp-engine/pxp_aux.cmi +lib/ocaml/site-lib/pxp-engine/pxp_codewriter.cmi +lib/ocaml/site-lib/pxp-engine/pxp_codewriter.mli +lib/ocaml/site-lib/pxp-engine/pxp_dfa.cmi +lib/ocaml/site-lib/pxp-engine/pxp_dfa.mli +lib/ocaml/site-lib/pxp-engine/pxp_document.cmi +lib/ocaml/site-lib/pxp-engine/pxp_document.mli +lib/ocaml/site-lib/pxp-engine/pxp_dtd.cmi +lib/ocaml/site-lib/pxp-engine/pxp_dtd.mli +lib/ocaml/site-lib/pxp-engine/pxp_engine.cma +lib/ocaml/site-lib/pxp-engine/pxp_entity.cmi +lib/ocaml/site-lib/pxp-engine/pxp_lexer_types.cmi +lib/ocaml/site-lib/pxp-engine/pxp_lexer_types.mli +lib/ocaml/site-lib/pxp-engine/pxp_lexers.cmi +lib/ocaml/site-lib/pxp-engine/pxp_lexers.mli +lib/ocaml/site-lib/pxp-engine/pxp_lexing.cmi +lib/ocaml/site-lib/pxp-engine/pxp_lexing.mli +lib/ocaml/site-lib/pxp-engine/pxp_lib.cmi +lib/ocaml/site-lib/pxp-engine/pxp_lib.mli +lib/ocaml/site-lib/pxp-engine/pxp_marshal.cmi +lib/ocaml/site-lib/pxp-engine/pxp_marshal.mli +lib/ocaml/site-lib/pxp-engine/pxp_reader.cmi +lib/ocaml/site-lib/pxp-engine/pxp_reader.mli +lib/ocaml/site-lib/pxp-engine/pxp_top.cmi +lib/ocaml/site-lib/pxp-engine/pxp_top.cmo +lib/ocaml/site-lib/pxp-engine/pxp_top.mli +lib/ocaml/site-lib/pxp-engine/pxp_types.cmi +lib/ocaml/site-lib/pxp-engine/pxp_types.mli +lib/ocaml/site-lib/pxp-engine/pxp_yacc.cmi +lib/ocaml/site-lib/pxp-engine/pxp_yacc.mli +lib/ocaml/site-lib/pxp-lex-iso88591/META +lib/ocaml/site-lib/pxp-lex-iso88591/pxp_lex_aux_iso88591.cmi +lib/ocaml/site-lib/pxp-lex-iso88591/pxp_lex_content_iso88591.cmi +lib/ocaml/site-lib/pxp-lex-iso88591/pxp_lex_content_string_iso88591.cmi +lib/ocaml/site-lib/pxp-lex-iso88591/pxp_lex_declaration_iso88591.cmi +lib/ocaml/site-lib/pxp-lex-iso88591/pxp_lex_document_iso88591.cmi +lib/ocaml/site-lib/pxp-lex-iso88591/pxp_lex_document_type_iso88591.cmi +lib/ocaml/site-lib/pxp-lex-iso88591/pxp_lex_dtd_string_iso88591.cmi +lib/ocaml/site-lib/pxp-lex-iso88591/pxp_lex_iso88591.cma +lib/ocaml/site-lib/pxp-lex-iso88591/pxp_lex_link_iso88591.cmi +lib/ocaml/site-lib/pxp-lex-iso88591/pxp_lex_link_iso88591.cmo +lib/ocaml/site-lib/pxp-lex-iso88591/pxp_lex_misc_iso88591.cmi +lib/ocaml/site-lib/pxp-lex-iso88591/pxp_lex_name_string_iso88591.cmi +lib/ocaml/site-lib/pxp-lex-iso88591/pxp_lex_within_tag_iso88591.cmi +lib/ocaml/site-lib/pxp-lex-utf8/META +lib/ocaml/site-lib/pxp-lex-utf8/pxp_lex_aux_utf8.cmi +lib/ocaml/site-lib/pxp-lex-utf8/pxp_lex_content_string_utf8.cmi +lib/ocaml/site-lib/pxp-lex-utf8/pxp_lex_content_utf8.cmi +lib/ocaml/site-lib/pxp-lex-utf8/pxp_lex_declaration_utf8.cmi +lib/ocaml/site-lib/pxp-lex-utf8/pxp_lex_document_type_utf8.cmi +lib/ocaml/site-lib/pxp-lex-utf8/pxp_lex_document_utf8.cmi +lib/ocaml/site-lib/pxp-lex-utf8/pxp_lex_dtd_string_utf8.cmi +lib/ocaml/site-lib/pxp-lex-utf8/pxp_lex_link_utf8.cmi +lib/ocaml/site-lib/pxp-lex-utf8/pxp_lex_link_utf8.cmo +lib/ocaml/site-lib/pxp-lex-utf8/pxp_lex_misc_utf8.cmi +lib/ocaml/site-lib/pxp-lex-utf8/pxp_lex_name_string_utf8.cmi +lib/ocaml/site-lib/pxp-lex-utf8/pxp_lex_utf8.cma +lib/ocaml/site-lib/pxp-lex-utf8/pxp_lex_within_tag_utf8.cmi +lib/ocaml/site-lib/pxp/META +@exec %D/libexec/ocaml-findlib-register add %D/lib/ocaml/site-lib/pxp-engine +@exec %D/libexec/ocaml-findlib-register add %D/lib/ocaml/site-lib/pxp-lex-iso88591 +@exec %D/libexec/ocaml-findlib-register add %D/lib/ocaml/site-lib/pxp-lex-utf8 +@exec %D/libexec/ocaml-findlib-register add %D/lib/ocaml/site-lib/pxp +@dirrm lib/ocaml/site-lib/pxp-lex-utf8 +@dirrm lib/ocaml/site-lib/pxp-lex-iso88591 +@dirrm lib/ocaml/site-lib/pxp-engine +@dirrm lib/ocaml/site-lib/pxp diff --git a/textproc/pxp/PLIST.opt b/textproc/pxp/PLIST.opt new file mode 100644 index 00000000000..bbfccbe31d9 --- /dev/null +++ b/textproc/pxp/PLIST.opt @@ -0,0 +1,11 @@ +@comment $NetBSD: PLIST.opt,v 1.1.1.1 2006/08/11 15:44:33 wiz Exp $ +lib/ocaml/site-lib/pxp-engine/pxp_engine.a +lib/ocaml/site-lib/pxp-engine/pxp_engine.cmxa +lib/ocaml/site-lib/pxp-lex-iso88591/pxp_lex_iso88591.a +lib/ocaml/site-lib/pxp-lex-iso88591/pxp_lex_iso88591.cmxa +lib/ocaml/site-lib/pxp-lex-iso88591/pxp_lex_link_iso88591.cmx +lib/ocaml/site-lib/pxp-lex-iso88591/pxp_lex_link_iso88591.o +lib/ocaml/site-lib/pxp-lex-utf8/pxp_lex_link_utf8.cmx +lib/ocaml/site-lib/pxp-lex-utf8/pxp_lex_link_utf8.o +lib/ocaml/site-lib/pxp-lex-utf8/pxp_lex_utf8.a +lib/ocaml/site-lib/pxp-lex-utf8/pxp_lex_utf8.cmxa diff --git a/textproc/pxp/distinfo b/textproc/pxp/distinfo new file mode 100644 index 00000000000..5d75a732098 --- /dev/null +++ b/textproc/pxp/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1.1.1 2006/08/11 15:44:33 wiz Exp $ + +SHA1 (pxp-1.1.6.tar.gz) = 49ca3cc02f87eb6c6cf26a6cc0ed386f86161c72 +RMD160 (pxp-1.1.6.tar.gz) = d4569f9e40b151f494a5e8744ba0713ad740b8ad +Size (pxp-1.1.6.tar.gz) = 615236 bytes |