diff options
author | jkim <jkim@FreeBSD.org> | 2016-02-12 06:51:46 +0800 |
---|---|---|
committer | jkim <jkim@FreeBSD.org> | 2016-02-12 06:51:46 +0800 |
commit | f51540830f36774d5a442537dde6ce2a2a0585f0 (patch) | |
tree | 5d65fef091ecc35cc40db2e9dd8dd502ec89b5fe /textproc | |
parent | d6a379d053c5d5c3d18cdfaeacd54c214f027eb7 (diff) | |
download | freebsd-ports-gnome-f51540830f36774d5a442537dde6ce2a2a0585f0.tar.gz freebsd-ports-gnome-f51540830f36774d5a442537dde6ce2a2a0585f0.tar.zst freebsd-ports-gnome-f51540830f36774d5a442537dde6ce2a2a0585f0.zip |
TagSoup - Just Keep On Truckin'
TagSoup is a SAX-compliant parser written in Java that, instead of parsing
well-formed or valid XML, parses HTML as it is found in the wild: poor,
nasty and brutish, though quite often far from short. TagSoup is designed
for people who have to process this stuff using some semblance of a rational
application design. By providing a SAX interface, it allows standard XML
tools to be applied to even the worst HTML. TagSoup also includes
a command-line processor that reads HTML files and can generate either
clean HTML or well-formed XML that is a close approximation to XHTML.
WWW: http://home.ccil.org/~cowan/tagsoup
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/Makefile | 1 | ||||
-rw-r--r-- | textproc/tagsoup/Makefile | 32 | ||||
-rw-r--r-- | textproc/tagsoup/distinfo | 2 | ||||
-rw-r--r-- | textproc/tagsoup/pkg-descr | 12 |
4 files changed, 47 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile index 540dbc77536f..55d24b699f06 100644 --- a/textproc/Makefile +++ b/textproc/Makefile @@ -1574,6 +1574,7 @@ SUBDIR += sxml SUBDIR += syck SUBDIR += ta-aspell + SUBDIR += tagsoup SUBDIR += tclExpat SUBDIR += tdhkit SUBDIR += te-aspell diff --git a/textproc/tagsoup/Makefile b/textproc/tagsoup/Makefile new file mode 100644 index 000000000000..9d9f5755f1c8 --- /dev/null +++ b/textproc/tagsoup/Makefile @@ -0,0 +1,32 @@ +# $FreeBSD$ + +PORTNAME= tagsoup +PORTVERSION= 1.2.1 +CATEGORIES= textproc java +MASTER_SITES= http://home.ccil.org/~cowan/tagsoup/ +EXTRACT_SUFX= .jar + +MAINTAINER= java@FreeBSD.org +COMMENT= SAX-compliant parser written in Java + +LICENSE= APACHE20 + +USE_JAVA= yes +JAVA_RUN= jre + +NO_BUILD= yes + +PLIST_FILES= ${JAVAJARDIR}/${PORTNAME}.jar \ + ${JAVAJARDIR}/${PORTNAME}-${PORTVERSION}.jar + +do-extract: + @${DO_NADA} + +do-install: + @${MKDIR} ${STAGEDIR}${JAVAJARDIR} + ${INSTALL_DATA} ${DISTDIR}/${PORTNAME}-${PORTVERSION}.jar \ + ${STAGEDIR}${JAVAJARDIR} + ${LN} -fs ${JAVAJARDIR}/${PORTNAME}-${PORTVERSION}.jar \ + ${STAGEDIR}${JAVAJARDIR}/${PORTNAME}.jar + +.include <bsd.port.mk> diff --git a/textproc/tagsoup/distinfo b/textproc/tagsoup/distinfo new file mode 100644 index 000000000000..a9fb2d15d04d --- /dev/null +++ b/textproc/tagsoup/distinfo @@ -0,0 +1,2 @@ +SHA256 (tagsoup-1.2.1.jar) = ac97f7b4b1d8e9337edfa0e34044f8d0efe7223f6ad8f3a85d54cc1018ea2e04 +SIZE (tagsoup-1.2.1.jar) = 90722 diff --git a/textproc/tagsoup/pkg-descr b/textproc/tagsoup/pkg-descr new file mode 100644 index 000000000000..af120570eb65 --- /dev/null +++ b/textproc/tagsoup/pkg-descr @@ -0,0 +1,12 @@ +TagSoup - Just Keep On Truckin' + +TagSoup is a SAX-compliant parser written in Java that, instead of parsing +well-formed or valid XML, parses HTML as it is found in the wild: poor, +nasty and brutish, though quite often far from short. TagSoup is designed +for people who have to process this stuff using some semblance of a rational +application design. By providing a SAX interface, it allows standard XML +tools to be applied to even the worst HTML. TagSoup also includes +a command-line processor that reads HTML files and can generate either +clean HTML or well-formed XML that is a close approximation to XHTML. + +WWW: http://home.ccil.org/~cowan/tagsoup |