diff --git a/textproc/Makefile b/textproc/Makefile index 9ded24084cf3..434d486bd217 100644 --- a/textproc/Makefile +++ b/textproc/Makefile @@ -151,6 +151,7 @@ SUBDIR += nl-ispell SUBDIR += no-aspell SUBDIR += no-ispell + SUBDIR += ocaml-pxp SUBDIR += ocaml-yaxpo SUBDIR += openjade SUBDIR += opensched diff --git a/textproc/ocaml-pxp/Makefile b/textproc/ocaml-pxp/Makefile new file mode 100644 index 000000000000..4696d6dab4b4 --- /dev/null +++ b/textproc/ocaml-pxp/Makefile @@ -0,0 +1,28 @@ +# New ports collection makefile for: ocaml-pxp +# Date created: 29 March 2003 +# Whom: Stephane Legrand +# +# $FreeBSD$ +# + +PORTNAME= pxp +PORTVERSION= 1.1.5 +CATEGORIES= textproc +MASTER_SITES= http://www.ocaml-programming.de/packages/ +PKGNAMEPREFIX= ocaml- +DISTNAME= ${PORTNAME}-${PORTVERSION} + +MAINTAINER= stephane@freebsd.org +COMMENT= Validating XML parser for OCaml + +BUILD_DEPENDS= ocamlc:${PORTSDIR}/lang/ocaml \ + ocamlfind:${PORTSDIR}/devel/ocaml-findlib \ + ${LOCALBASE}/lib/ocaml/site-lib/netstring/netstring.a:${PORTSDIR}/www/ocaml-net + +USE_GMAKE= yes + +HAS_CONFIGURE= yes + +ALL_TARGET= all opt + +.include diff --git a/textproc/ocaml-pxp/distinfo b/textproc/ocaml-pxp/distinfo new file mode 100644 index 000000000000..b82a3d5da4ac --- /dev/null +++ b/textproc/ocaml-pxp/distinfo @@ -0,0 +1 @@ +MD5 (pxp-1.1.5.tar.gz) = d462c59148db685309bf9a05f939c184 diff --git a/textproc/ocaml-pxp/pkg-descr b/textproc/ocaml-pxp/pkg-descr new file mode 100644 index 000000000000..28c12d11ed2d --- /dev/null +++ b/textproc/ocaml-pxp/pkg-descr @@ -0,0 +1,21 @@ +PXP is a validating XML parser for OCaml. 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. + + +WWW: http://www.ocaml-programming.de/programming/pxp.html + +- Stephane Legrand + diff --git a/textproc/ocaml-pxp/pkg-plist b/textproc/ocaml-pxp/pkg-plist new file mode 100644 index 000000000000..dc06cca8ec0f --- /dev/null +++ b/textproc/ocaml-pxp/pkg-plist @@ -0,0 +1,74 @@ +lib/ocaml/site-lib/pxp/META +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.a +lib/ocaml/site-lib/pxp-engine/pxp_engine.cma +lib/ocaml/site-lib/pxp-engine/pxp_engine.cmxa +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.a +lib/ocaml/site-lib/pxp-lex-iso88591/pxp_lex_iso88591.cma +lib/ocaml/site-lib/pxp-lex-iso88591/pxp_lex_iso88591.cmxa +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_link_iso88591.cmx +lib/ocaml/site-lib/pxp-lex-iso88591/pxp_lex_link_iso88591.o +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_link_utf8.cmx +lib/ocaml/site-lib/pxp-lex-utf8/pxp_lex_link_utf8.o +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.a +lib/ocaml/site-lib/pxp-lex-utf8/pxp_lex_utf8.cma +lib/ocaml/site-lib/pxp-lex-utf8/pxp_lex_utf8.cmxa +lib/ocaml/site-lib/pxp-lex-utf8/pxp_lex_within_tag_utf8.cmi +@dirrm lib/ocaml/site-lib/pxp +@dirrm lib/ocaml/site-lib/pxp-engine +@dirrm lib/ocaml/site-lib/pxp-lex-iso88591 +@dirrm lib/ocaml/site-lib/pxp-lex-utf8