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.

ok jasper@
This commit is contained in:
kili 2011-11-16 14:15:19 +00:00
parent d91f251cd2
commit 82b32ef0f2
4 changed files with 89 additions and 0 deletions

View File

@ -0,0 +1,28 @@
# $OpenBSD: Makefile,v 1.1.1.1 2011/11/16 14:15:19 kili Exp $
COMMENT = HTML/XML parsing library
DISTNAME = tagsoup-0.12.4
CATEGORIES = devel textproc
HOMEPAGE = http://community.haskell.org/~ndm/tagsoup/
MAINTAINER = Matthias Kilian <kili@openbsd.org>
# BSD3
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM =Yes
PERMIT_DISTFILES_FTP = Yes
MODULES = lang/ghc
MODGHC_BUILD = cabal hackage haddock register
MODGHC_SETUP_CONF_ARGS = -f download
BUILD_DEPENDS = ${RUN_DEPENDS}
RUN_DEPENDS = devel/hs-mtl \
devel/hs-network \
devel/hs-text
.include <bsd.port.mk>

View File

@ -0,0 +1,5 @@
MD5 (ghc/tagsoup-0.12.4.tar.gz) = LwtKQs825LnNZMroN2YlUg==
RMD160 (ghc/tagsoup-0.12.4.tar.gz) = 03xJG/1/e1anSjPIYSAKMDXGJCo=
SHA1 (ghc/tagsoup-0.12.4.tar.gz) = vkL6I2GqV7eAI3dAHGrG2rtw6Ug=
SHA256 (ghc/tagsoup-0.12.4.tar.gz) = nOhoUc/c2b3sQJtEMnjAuafr6kH7na7aHidI+TRA9Ws=
SIZE (ghc/tagsoup-0.12.4.tar.gz) = 30320

View File

@ -0,0 +1,5 @@
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.

View File

@ -0,0 +1,51 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2011/11/16 14:15:19 kili Exp $
lib/ghc/${DISTNAME}/
lib/ghc/${DISTNAME}/HS${DISTNAME}.o
lib/ghc/${DISTNAME}/Text/
lib/ghc/${DISTNAME}/Text/HTML/
lib/ghc/${DISTNAME}/Text/HTML/Download.hi
lib/ghc/${DISTNAME}/Text/HTML/TagSoup/
lib/ghc/${DISTNAME}/Text/HTML/TagSoup.hi
lib/ghc/${DISTNAME}/Text/HTML/TagSoup/Entity.hi
lib/ghc/${DISTNAME}/Text/HTML/TagSoup/Generated.hi
lib/ghc/${DISTNAME}/Text/HTML/TagSoup/Implementation.hi
lib/ghc/${DISTNAME}/Text/HTML/TagSoup/Manual.hi
lib/ghc/${DISTNAME}/Text/HTML/TagSoup/Match.hi
lib/ghc/${DISTNAME}/Text/HTML/TagSoup/Options.hi
lib/ghc/${DISTNAME}/Text/HTML/TagSoup/Parser.hi
lib/ghc/${DISTNAME}/Text/HTML/TagSoup/Render.hi
lib/ghc/${DISTNAME}/Text/HTML/TagSoup/Specification.hi
lib/ghc/${DISTNAME}/Text/HTML/TagSoup/Tree.hi
lib/ghc/${DISTNAME}/Text/HTML/TagSoup/Type.hi
lib/ghc/${DISTNAME}/Text/StringLike.hi
lib/ghc/${DISTNAME}/libHS${DISTNAME}.a
lib/ghc/${DISTNAME}/register.sh
@exec /usr/bin/env HOME=/nonexistent %D/lib/ghc/${DISTNAME}/register.sh -v0
@unexec /usr/bin/env HOME=/nonexistent %D/lib/ghc/${DISTNAME}/unregister.sh -v0 --force
lib/ghc/${DISTNAME}/unregister.sh
share/doc/hs-${DISTNAME}/
share/doc/hs-${DISTNAME}/LICENSE
share/doc/hs-${DISTNAME}/html/
share/doc/hs-${DISTNAME}/html/Text-HTML-Download.html
share/doc/hs-${DISTNAME}/html/Text-HTML-TagSoup-Entity.html
share/doc/hs-${DISTNAME}/html/Text-HTML-TagSoup-Match.html
share/doc/hs-${DISTNAME}/html/Text-HTML-TagSoup-Tree.html
share/doc/hs-${DISTNAME}/html/Text-HTML-TagSoup.html
share/doc/hs-${DISTNAME}/html/Text-StringLike.html
share/doc/hs-${DISTNAME}/html/doc-index.html
share/doc/hs-${DISTNAME}/html/frames.html
share/doc/hs-${DISTNAME}/html/haddock-util.js
share/doc/hs-${DISTNAME}/html/hslogo-16.png
share/doc/hs-${DISTNAME}/html/index-frames.html
share/doc/hs-${DISTNAME}/html/index.html
share/doc/hs-${DISTNAME}/html/mini_Text-HTML-Download.html
share/doc/hs-${DISTNAME}/html/mini_Text-HTML-TagSoup-Entity.html
share/doc/hs-${DISTNAME}/html/mini_Text-HTML-TagSoup-Match.html
share/doc/hs-${DISTNAME}/html/mini_Text-HTML-TagSoup-Tree.html
share/doc/hs-${DISTNAME}/html/mini_Text-HTML-TagSoup.html
share/doc/hs-${DISTNAME}/html/mini_Text-StringLike.html
share/doc/hs-${DISTNAME}/html/minus.gif
share/doc/hs-${DISTNAME}/html/ocean.css
share/doc/hs-${DISTNAME}/html/plus.gif
share/doc/hs-${DISTNAME}/html/synopsis.png
share/doc/hs-${DISTNAME}/html/tagsoup.haddock