Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Feb 2016 22:51:47 +0000 (UTC)
From:      Jung-uk Kim <jkim@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r408700 - in head/textproc: . tagsoup
Message-ID:  <201602112251.u1BMplCK043103@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jkim
Date: Thu Feb 11 22:51:46 2016
New Revision: 408700
URL: https://svnweb.freebsd.org/changeset/ports/408700

Log:
  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

Added:
  head/textproc/tagsoup/
  head/textproc/tagsoup/Makefile   (contents, props changed)
  head/textproc/tagsoup/distinfo   (contents, props changed)
  head/textproc/tagsoup/pkg-descr   (contents, props changed)
Modified:
  head/textproc/Makefile

Modified: head/textproc/Makefile
==============================================================================
--- head/textproc/Makefile	Thu Feb 11 21:17:39 2016	(r408699)
+++ head/textproc/Makefile	Thu Feb 11 22:51:46 2016	(r408700)
@@ -1574,6 +1574,7 @@
     SUBDIR += sxml
     SUBDIR += syck
     SUBDIR += ta-aspell
+    SUBDIR += tagsoup
     SUBDIR += tclExpat
     SUBDIR += tdhkit
     SUBDIR += te-aspell

Added: head/textproc/tagsoup/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/textproc/tagsoup/Makefile	Thu Feb 11 22:51:46 2016	(r408700)
@@ -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>

Added: head/textproc/tagsoup/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/textproc/tagsoup/distinfo	Thu Feb 11 22:51:46 2016	(r408700)
@@ -0,0 +1,2 @@
+SHA256 (tagsoup-1.2.1.jar) = ac97f7b4b1d8e9337edfa0e34044f8d0efe7223f6ad8f3a85d54cc1018ea2e04
+SIZE (tagsoup-1.2.1.jar) = 90722

Added: head/textproc/tagsoup/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/textproc/tagsoup/pkg-descr	Thu Feb 11 22:51:46 2016	(r408700)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201602112251.u1BMplCK043103>