From 033babe916ca87ad2463965e643037398d27b8ea Mon Sep 17 00:00:00 2001 From: Petteri Räty Date: Wed, 20 Dec 2006 21:11:53 +0000 Subject: Moved the very long description to metadata.xml and cleaned up the ebuild. (Portage version: 2.1.2_rc3-r6) --- dev-java/tagsoup/ChangeLog | 6 +++++- dev-java/tagsoup/metadata.xml | 6 ++++++ dev-java/tagsoup/tagsoup-0.10.2-r1.ebuild | 14 +++++++------- 3 files changed, 18 insertions(+), 8 deletions(-) (limited to 'dev-java/tagsoup') diff --git a/dev-java/tagsoup/ChangeLog b/dev-java/tagsoup/ChangeLog index bf736f14fc6a..484b9529a28a 100644 --- a/dev-java/tagsoup/ChangeLog +++ b/dev-java/tagsoup/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-java/tagsoup # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/tagsoup/ChangeLog,v 1.11 2006/12/09 09:25:49 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/tagsoup/ChangeLog,v 1.12 2006/12/20 21:11:53 betelgeuse Exp $ + + 20 Dec 2006; Petteri Räty metadata.xml, + tagsoup-0.10.2-r1.ebuild: + Moved the very long description to metadata.xml and cleaned up the ebuild. 09 Dec 2006; Diego Pettenò tagsoup-0.10.2-r1.ebuild: diff --git a/dev-java/tagsoup/metadata.xml b/dev-java/tagsoup/metadata.xml index 7303cef96964..4618b26cc2d8 100644 --- a/dev-java/tagsoup/metadata.xml +++ b/dev-java/tagsoup/metadata.xml @@ -2,4 +2,10 @@ java + + This is the home page of TagSoup, 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: nasty and brutish, though quite + often far from short. + diff --git a/dev-java/tagsoup/tagsoup-0.10.2-r1.ebuild b/dev-java/tagsoup/tagsoup-0.10.2-r1.ebuild index 78ed2a5fb4ff..a5d7fd1f8501 100644 --- a/dev-java/tagsoup/tagsoup-0.10.2-r1.ebuild +++ b/dev-java/tagsoup/tagsoup-0.10.2-r1.ebuild @@ -1,10 +1,10 @@ # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/tagsoup/tagsoup-0.10.2-r1.ebuild,v 1.3 2006/12/09 09:25:49 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/tagsoup/tagsoup-0.10.2-r1.ebuild,v 1.4 2006/12/20 21:11:53 betelgeuse Exp $ inherit java-pkg-2 java-ant-2 -DESCRIPTION="This is the home page of TagSoup, 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: nasty and brutish, though quite often far from short." +DESCRIPTION="A SAX-compliant parser written in Java." HOMEPAGE="http://mercury.ccil.org/~cowan/XML/tagsoup/" SRC_URI="http://mercury.ccil.org/~cowan/XML/tagsoup/${P}-src.zip" @@ -12,6 +12,8 @@ LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd" IUSE="doc source" + +# Needs the xslt task so full ant here DEPEND=">=virtual/jdk-1.4 app-arch/unzip dev-java/ant @@ -19,15 +21,13 @@ DEPEND=">=virtual/jdk-1.4 RDEPEND=">=virtual/jre-1.4" src_compile() { - local antflags="dist" - use doc && antflags="${antflags} docs-api" - eant ${antflags} || die "compile failed" + eant $(use_doc docs-api) dist } src_install() { java-pkg_newjar dist/lib/${P}.jar ${PN}.jar dodoc CHANGES README TODO - use doc && java-pkg_dohtml -r docs/* - use source && java-pkg_dosrc src/java/* + use doc && java-pkg_dojavadoc docs/api + use source && java-pkg_dosrc src/{java,templates}/* } -- cgit v1.2.3-65-gdbad