summaryrefslogtreecommitdiff
path: root/textproc/hs-tagsoup
diff options
context:
space:
mode:
authorszptvlfn <szptvlfn@pkgsrc.org>2014-08-03 21:30:48 +0000
committerszptvlfn <szptvlfn@pkgsrc.org>2014-08-03 21:30:48 +0000
commit5342e9101fb910ef78c538b64f75e96f70ed0b4f (patch)
tree87356deef6984f7af90e423245e7a4091e102c74 /textproc/hs-tagsoup
parentf6859231005ada1b5bb1af8c5b228e31e1448515 (diff)
downloadpkgsrc-5342e9101fb910ef78c538b64f75e96f70ed0b4f.tar.gz
Import tagsoup-0.13.1 as textproc/hs-tagsoup,
packaged for wip by pho. TagSoup is a library for parsing HTML/XML. It supports the HTML 5 specification, and can be used to parse either well-formed XML, or unstructured and malformed HTML from the web. The library also provides useful functions to extract information from an HTML document, making it ideal for screen-scraping. Users should start from the Text.HTML.TagSoup module.
Diffstat (limited to 'textproc/hs-tagsoup')
-rw-r--r--textproc/hs-tagsoup/DESCR7
-rw-r--r--textproc/hs-tagsoup/Makefile12
-rw-r--r--textproc/hs-tagsoup/PLIST39
-rw-r--r--textproc/hs-tagsoup/buildlink3.mk14
-rw-r--r--textproc/hs-tagsoup/distinfo5
5 files changed, 77 insertions, 0 deletions
diff --git a/textproc/hs-tagsoup/DESCR b/textproc/hs-tagsoup/DESCR
new file mode 100644
index 00000000000..e1ab2427747
--- /dev/null
+++ b/textproc/hs-tagsoup/DESCR
@@ -0,0 +1,7 @@
+TagSoup is a library for parsing HTML/XML. It supports the HTML 5
+specification, and can be used to parse either well-formed XML, or
+unstructured and malformed HTML from the web. The library also provides
+useful functions to extract information from an HTML document, making it
+ideal for screen-scraping.
+
+Users should start from the Text.HTML.TagSoup module.
diff --git a/textproc/hs-tagsoup/Makefile b/textproc/hs-tagsoup/Makefile
new file mode 100644
index 00000000000..f74a02d0536
--- /dev/null
+++ b/textproc/hs-tagsoup/Makefile
@@ -0,0 +1,12 @@
+# $NetBSD: Makefile,v 1.1 2014/08/03 21:30:48 szptvlfn Exp $
+
+DISTNAME= tagsoup-0.13.1
+CATEGORIES= textproc
+
+MAINTAINER= pho@cielonegro.org
+COMMENT= Parsing and extracting information from HTML/XML documents
+LICENSE= modified-bsd
+
+.include "../../mk/haskell.mk"
+.include "../../devel/hs-text/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/textproc/hs-tagsoup/PLIST b/textproc/hs-tagsoup/PLIST
new file mode 100644
index 00000000000..2db0c51a322
--- /dev/null
+++ b/textproc/hs-tagsoup/PLIST
@@ -0,0 +1,39 @@
+@comment $NetBSD: PLIST,v 1.1 2014/08/03 21:30:48 szptvlfn Exp $
+lib/tagsoup-${PKGVERSION}/${HASKELL_VERSION}/HStagsoup-${PKGVERSION}.o
+lib/tagsoup-${PKGVERSION}/${HASKELL_VERSION}/Text/HTML/TagSoup.hi
+lib/tagsoup-${PKGVERSION}/${HASKELL_VERSION}/Text/HTML/TagSoup/Entity.hi
+lib/tagsoup-${PKGVERSION}/${HASKELL_VERSION}/Text/HTML/TagSoup/Generated.hi
+lib/tagsoup-${PKGVERSION}/${HASKELL_VERSION}/Text/HTML/TagSoup/Implementation.hi
+lib/tagsoup-${PKGVERSION}/${HASKELL_VERSION}/Text/HTML/TagSoup/Manual.hi
+lib/tagsoup-${PKGVERSION}/${HASKELL_VERSION}/Text/HTML/TagSoup/Match.hi
+lib/tagsoup-${PKGVERSION}/${HASKELL_VERSION}/Text/HTML/TagSoup/Options.hi
+lib/tagsoup-${PKGVERSION}/${HASKELL_VERSION}/Text/HTML/TagSoup/Parser.hi
+lib/tagsoup-${PKGVERSION}/${HASKELL_VERSION}/Text/HTML/TagSoup/Render.hi
+lib/tagsoup-${PKGVERSION}/${HASKELL_VERSION}/Text/HTML/TagSoup/Specification.hi
+lib/tagsoup-${PKGVERSION}/${HASKELL_VERSION}/Text/HTML/TagSoup/Tree.hi
+lib/tagsoup-${PKGVERSION}/${HASKELL_VERSION}/Text/HTML/TagSoup/Type.hi
+lib/tagsoup-${PKGVERSION}/${HASKELL_VERSION}/Text/StringLike.hi
+lib/tagsoup-${PKGVERSION}/${HASKELL_VERSION}/libHStagsoup-${PKGVERSION}.a
+lib/tagsoup-${PKGVERSION}/${HASKELL_VERSION}/package-description
+share/doc/tagsoup-${PKGVERSION}/LICENSE
+${PLIST.doc}share/doc/tagsoup-${PKGVERSION}/html/Text-HTML-TagSoup-Entity.html
+${PLIST.doc}share/doc/tagsoup-${PKGVERSION}/html/Text-HTML-TagSoup-Match.html
+${PLIST.doc}share/doc/tagsoup-${PKGVERSION}/html/Text-HTML-TagSoup-Tree.html
+${PLIST.doc}share/doc/tagsoup-${PKGVERSION}/html/Text-HTML-TagSoup.html
+${PLIST.doc}share/doc/tagsoup-${PKGVERSION}/html/Text-StringLike.html
+${PLIST.doc}share/doc/tagsoup-${PKGVERSION}/html/doc-index.html
+${PLIST.doc}share/doc/tagsoup-${PKGVERSION}/html/frames.html
+${PLIST.doc}share/doc/tagsoup-${PKGVERSION}/html/haddock-util.js
+${PLIST.doc}share/doc/tagsoup-${PKGVERSION}/html/hslogo-16.png
+${PLIST.doc}share/doc/tagsoup-${PKGVERSION}/html/index-frames.html
+${PLIST.doc}share/doc/tagsoup-${PKGVERSION}/html/index.html
+${PLIST.doc}share/doc/tagsoup-${PKGVERSION}/html/mini_Text-HTML-TagSoup-Entity.html
+${PLIST.doc}share/doc/tagsoup-${PKGVERSION}/html/mini_Text-HTML-TagSoup-Match.html
+${PLIST.doc}share/doc/tagsoup-${PKGVERSION}/html/mini_Text-HTML-TagSoup-Tree.html
+${PLIST.doc}share/doc/tagsoup-${PKGVERSION}/html/mini_Text-HTML-TagSoup.html
+${PLIST.doc}share/doc/tagsoup-${PKGVERSION}/html/mini_Text-StringLike.html
+${PLIST.doc}share/doc/tagsoup-${PKGVERSION}/html/minus.gif
+${PLIST.doc}share/doc/tagsoup-${PKGVERSION}/html/ocean.css
+${PLIST.doc}share/doc/tagsoup-${PKGVERSION}/html/plus.gif
+${PLIST.doc}share/doc/tagsoup-${PKGVERSION}/html/synopsis.png
+${PLIST.doc}share/doc/tagsoup-${PKGVERSION}/html/tagsoup.haddock
diff --git a/textproc/hs-tagsoup/buildlink3.mk b/textproc/hs-tagsoup/buildlink3.mk
new file mode 100644
index 00000000000..6edd183babe
--- /dev/null
+++ b/textproc/hs-tagsoup/buildlink3.mk
@@ -0,0 +1,14 @@
+# $NetBSD: buildlink3.mk,v 1.1 2014/08/03 21:30:48 szptvlfn Exp $
+
+BUILDLINK_TREE+= hs-tagsoup
+
+.if !defined(HS_TAGSOUP_BUILDLINK3_MK)
+HS_TAGSOUP_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.hs-tagsoup+= hs-tagsoup>=0.13.1
+BUILDLINK_PKGSRCDIR.hs-tagsoup?= ../../textproc/hs-tagsoup
+
+.include "../../devel/hs-text/buildlink3.mk"
+.endif # HS_TAGSOUP_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -hs-tagsoup
diff --git a/textproc/hs-tagsoup/distinfo b/textproc/hs-tagsoup/distinfo
new file mode 100644
index 00000000000..5faccbe6191
--- /dev/null
+++ b/textproc/hs-tagsoup/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2014/08/03 21:30:48 szptvlfn Exp $
+
+SHA1 (tagsoup-0.13.1.tar.gz) = 4066f9e949dacf8111fb187bf01b1f214f5ee7d8
+RMD160 (tagsoup-0.13.1.tar.gz) = 612408151a172be0a461c0d773355073896b9dfd
+Size (tagsoup-0.13.1.tar.gz) = 42756 bytes