diff --git a/lang/ghc/bsd.hackage.mk b/lang/ghc/bsd.hackage.mk index 83c38645d962..f122d9852116 100644 --- a/lang/ghc/bsd.hackage.mk +++ b/lang/ghc/bsd.hackage.mk @@ -315,6 +315,7 @@ X11_port= x11/hs-X11 # lib_depends X11-xft_port= x11/hs-X11-xft xhtml_port= textproc/hs-xhtml xml_port= textproc/hs-xml +xml-conduit_port= textproc/hs-xml-conduit xml-enumerator_port= textproc/hs-xml-enumerator xml-types_port= textproc/hs-xml-types xmlhtml_port= textproc/hs-xmlhtml diff --git a/textproc/hs-xml-conduit/Makefile b/textproc/hs-xml-conduit/Makefile new file mode 100644 index 000000000000..165001d4377b --- /dev/null +++ b/textproc/hs-xml-conduit/Makefile @@ -0,0 +1,24 @@ +# New ports collection makefile for: hs-xml-conduit +# Date created: December 30, 2011 +# Whom: haskell@FreeBSD.org +# +# $FreeBSD$ +# + +PORTNAME= xml-conduit +PORTVERSION= 0.7.0.3 +CATEGORIES= textproc haskell + +MAINTAINER= haskell@FreeBSD.org +COMMENT= Pure-Haskell utilities for dealing with XML with the conduit package + +LICENSE= BSD + +USE_CABAL= attoparsec>=0.10 attoparsec-conduit>=0.4 blaze-builder>=0.2 \ + blaze-builder-conduit>=0.4 conduit>=0.4 data-default>=0.2 \ + failure>=0.1 monad-control>=0.3 resourcet>=0.3 \ + system-filepath>=0.4 text>=0.7 transformers>=0.2 \ + xml-types>=0.3.1 + +.include "${.CURDIR}/../../lang/ghc/bsd.cabal.mk" +.include diff --git a/textproc/hs-xml-conduit/distinfo b/textproc/hs-xml-conduit/distinfo new file mode 100644 index 000000000000..0be5183d52a5 --- /dev/null +++ b/textproc/hs-xml-conduit/distinfo @@ -0,0 +1,2 @@ +SHA256 (cabal/xml-conduit-0.7.0.3.tar.gz) = 7bef1e2a5e5b1c2dcc994b0c6eaf4f88e73b8cadec88a13eb573b22e2b6a6c90 +SIZE (cabal/xml-conduit-0.7.0.3.tar.gz) = 26522 diff --git a/textproc/hs-xml-conduit/pkg-descr b/textproc/hs-xml-conduit/pkg-descr new file mode 100644 index 000000000000..516e508c72ea --- /dev/null +++ b/textproc/hs-xml-conduit/pkg-descr @@ -0,0 +1,21 @@ +This package provides parsing and rendering functions for XML. It is +based on the datatypes found in the xml-types package. This package is +broken up into the following modules: + + * Text.XML: DOM-based parsing and rendering. This is the most commonly + used module. + + * Text.XML.Cursor: A wrapper around Text.XML which allows bidirectional + traversing of the DOM, similar to XPath. + + * Text.XML.Unresolved: A slight modification to Text.XML which does not + require all entities to be resolved at parsing. The datatypes are + slightly more complicated here, and therefore this module is only + recommended when you need to deal directly with raw entities. + + * Text.XML.Stream.Parse: Streaming parser, including some streaming + parser combinators. + + * Text.XML.Stream.Render: Streaming renderer. + +WWW: http://github.com/snoyberg/xml