pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/textproc/ocaml-markup
Module Name: pkgsrc
Committed By: jaapb
Date: Mon Jun 20 11:08:31 UTC 2016
Added Files:
pkgsrc/textproc/ocaml-markup: DESCR Makefile PLIST buildlink3.mk
distinfo
Log Message:
Added package textproc/ocaml-markup, a pair of parsers for XML and HTML5.
To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/textproc/ocaml-markup/DESCR \
pkgsrc/textproc/ocaml-markup/Makefile pkgsrc/textproc/ocaml-markup/PLIST \
pkgsrc/textproc/ocaml-markup/buildlink3.mk \
pkgsrc/textproc/ocaml-markup/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Added files:
Index: pkgsrc/textproc/ocaml-markup/DESCR
diff -u /dev/null pkgsrc/textproc/ocaml-markup/DESCR:1.1
--- /dev/null Mon Jun 20 11:08:31 2016
+++ pkgsrc/textproc/ocaml-markup/DESCR Mon Jun 20 11:08:31 2016
@@ -0,0 +1,13 @@
+Markup.ml is a pair of best-effort parsers implementing the HTML5 and XML
+specifications.
+
+In addition to being error-correcting, the parsers are:
+* streaming: capable of parsing partial input and emitting signals while more
+ input is still being received;
+* lazy: not parsing input unless you have requested the next parsing signal,
+ so you can easily stop parsing partway through a document;
+* non-blocking: they can be used with Lwt, but still provide a straightforward
+ synchronous interface for simple usage; and
+* one-pass: memory consumption is limited since the parsers don't build up a
+ document representation, nor buffer input beyond a small amount of
+ lookahead.
Index: pkgsrc/textproc/ocaml-markup/Makefile
diff -u /dev/null pkgsrc/textproc/ocaml-markup/Makefile:1.1
--- /dev/null Mon Jun 20 11:08:31 2016
+++ pkgsrc/textproc/ocaml-markup/Makefile Mon Jun 20 11:08:31 2016
@@ -0,0 +1,28 @@
+# $NetBSD: Makefile,v 1.1 2016/06/20 11:08:31 jaapb Exp $
+
+VERSION= 0.7.2
+GITHUB_PROJECT= markup.ml
+DISTNAME= markup-${VERSION}
+PKGNAME= ${GITHUB_PROJECT}-${DISTNAME}
+PKGNAME= ocaml-${DISTNAME}
+CATEGORIES= textproc
+MASTER_SITES= ${MASTER_SITE_GITHUB:=aantron/}
+
+MAINTAINER= jaapb%NetBSD.org@localhost
+HOMEPAGE= https://github.com/aantron/markup.ml/
+COMMENT= Error-recovering streaming HTML5 and XML parsers for OCaml
+LICENSE= 2-clause-bsd
+
+WRKSRC= ${WRKDIR}/${GITHUB_PROJECT}-${VERSION}
+USE_LANGUAGES= # none
+USE_TOOLS+= gmake
+OCAML_USE_FINDLIB= yes
+
+BUILD_TARGET= build
+INSTALL_TARGET= ocamlfind-install
+
+.include "../../devel/ocaml-lwt/buildlink3.mk"
+.include "../../devel/ocamlbuild/buildlink3.mk"
+.include "../../textproc/ocaml-uutf/buildlink3.mk"
+.include "../../mk/ocaml.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/textproc/ocaml-markup/PLIST
diff -u /dev/null pkgsrc/textproc/ocaml-markup/PLIST:1.1
--- /dev/null Mon Jun 20 11:08:31 2016
+++ pkgsrc/textproc/ocaml-markup/PLIST Mon Jun 20 11:08:31 2016
@@ -0,0 +1,26 @@
+@comment $NetBSD: PLIST,v 1.1 2016/06/20 11:08:31 jaapb Exp $
+${OCAML_SITELIB}/markup/META
+${PLIST.ocaml-opt}${OCAML_SITELIB}/markup/markup.a
+${OCAML_SITELIB}/markup/markup.cma
+${OCAML_SITELIB}/markup/markup.cmi
+${OCAML_SITELIB}/markup/markup.cmt
+${OCAML_SITELIB}/markup/markup.cmti
+${PLIST.ocaml-opt}${OCAML_SITELIB}/markup/markup.cmx
+${PLIST.ocaml-opt}${OCAML_SITELIB}/markup/markup.cmxa
+${OCAML_SITELIB}/markup/markup.mli
+${PLIST.ocaml-opt}${OCAML_SITELIB}/markup/markup_lwt.a
+${OCAML_SITELIB}/markup/markup_lwt.cma
+${OCAML_SITELIB}/markup/markup_lwt.cmi
+${OCAML_SITELIB}/markup/markup_lwt.cmt
+${OCAML_SITELIB}/markup/markup_lwt.cmti
+${PLIST.ocaml-opt}${OCAML_SITELIB}/markup/markup_lwt.cmx
+${PLIST.ocaml-opt}${OCAML_SITELIB}/markup/markup_lwt.cmxa
+${OCAML_SITELIB}/markup/markup_lwt.mli
+${PLIST.ocaml-opt}${OCAML_SITELIB}/markup/markup_lwt_unix.a
+${OCAML_SITELIB}/markup/markup_lwt_unix.cma
+${OCAML_SITELIB}/markup/markup_lwt_unix.cmi
+${OCAML_SITELIB}/markup/markup_lwt_unix.cmt
+${OCAML_SITELIB}/markup/markup_lwt_unix.cmti
+${PLIST.ocaml-opt}${OCAML_SITELIB}/markup/markup_lwt_unix.cmx
+${PLIST.ocaml-opt}${OCAML_SITELIB}/markup/markup_lwt_unix.cmxa
+${OCAML_SITELIB}/markup/markup_lwt_unix.mli
Index: pkgsrc/textproc/ocaml-markup/buildlink3.mk
diff -u /dev/null pkgsrc/textproc/ocaml-markup/buildlink3.mk:1.1
--- /dev/null Mon Jun 20 11:08:31 2016
+++ pkgsrc/textproc/ocaml-markup/buildlink3.mk Mon Jun 20 11:08:31 2016
@@ -0,0 +1,13 @@
+# $NetBSD: buildlink3.mk,v 1.1 2016/06/20 11:08:31 jaapb Exp $
+
+BUILDLINK_TREE+= ocaml-markup
+
+.if !defined(OCAML_MARKUP_BUILDLINK3_MK)
+OCAML_MARKUP_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.ocaml-markup+= ocaml-markup>=0.7.2
+BUILDLINK_PKGSRCDIR.ocaml-markup?= ../../textproc/ocaml-markup
+
+.endif # OCAML_MARKUP_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -ocaml-markup
Index: pkgsrc/textproc/ocaml-markup/distinfo
diff -u /dev/null pkgsrc/textproc/ocaml-markup/distinfo:1.1
--- /dev/null Mon Jun 20 11:08:31 2016
+++ pkgsrc/textproc/ocaml-markup/distinfo Mon Jun 20 11:08:31 2016
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2016/06/20 11:08:31 jaapb Exp $
+
+SHA1 (markup-0.7.2.tar.gz) = e4f7c378a4e4fd69a3b1ad947a1c7b3a81b8a605
+RMD160 (markup-0.7.2.tar.gz) = e8071516331af8b1c33ec6c0e675611b0cfb2a75
+SHA512 (markup-0.7.2.tar.gz) = 72a87f54692a0b751c23e6b52bc4ecaa68334b0c6c067793cbf5b011b7d06ce7563f9aa2daeef3553ab48bb6cb9e592587b5a4f37279eaef7b45e19e5b372f73
+Size (markup-0.7.2.tar.gz) = 275010 bytes
Home |
Main Index |
Thread Index |
Old Index