summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohann Schmitz <ercpe@gentoo.org>2014-10-27 06:00:40 +0000
committerJohann Schmitz <ercpe@gentoo.org>2014-10-27 06:00:40 +0000
commitc28a281f6ee351b3f563a5e90c37d5ce9540696c (patch)
tree05d64a0999e3f2dd01ce1c8ab18f6a5c4e416f4b /dev-java
parentVersion bump; with a patch for new PyQt4 build system; with Python 3.x support. (diff)
downloadgentoo-2-c28a281f6ee351b3f563a5e90c37d5ce9540696c.tar.gz
gentoo-2-c28a281f6ee351b3f563a5e90c37d5ce9540696c.tar.bz2
gentoo-2-c28a281f6ee351b3f563a5e90c37d5ce9540696c.zip
Fixed broken doc installation (bug #526898)
(Portage version: 2.2.8-r2/cvs/Linux x86_64, signed Manifest commit with key 77C501ED)
Diffstat (limited to 'dev-java')
-rw-r--r--dev-java/nekohtml/ChangeLog7
-rw-r--r--dev-java/nekohtml/nekohtml-1.9.18-r1.ebuild58
2 files changed, 64 insertions, 1 deletions
diff --git a/dev-java/nekohtml/ChangeLog b/dev-java/nekohtml/ChangeLog
index 4b690dd69668..56cd6f856c9c 100644
--- a/dev-java/nekohtml/ChangeLog
+++ b/dev-java/nekohtml/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-java/nekohtml
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/nekohtml/ChangeLog,v 1.17 2014/10/18 14:31:43 ago Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/nekohtml/ChangeLog,v 1.18 2014/10/27 06:00:40 ercpe Exp $
+
+*nekohtml-1.9.18-r1 (27 Oct 2014)
+
+ 27 Oct 2014; Johann Schmitz <ercpe@gentoo.org> +nekohtml-1.9.18-r1.ebuild:
+ Fixed broken doc installation (bug #526898)
18 Oct 2014; Agostino Sarubbo <ago@gentoo.org> nekohtml-1.9.18.ebuild:
Stable for ppc, wrt bug #518952
diff --git a/dev-java/nekohtml/nekohtml-1.9.18-r1.ebuild b/dev-java/nekohtml/nekohtml-1.9.18-r1.ebuild
new file mode 100644
index 000000000000..6f97f318bc60
--- /dev/null
+++ b/dev-java/nekohtml/nekohtml-1.9.18-r1.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/nekohtml/nekohtml-1.9.18-r1.ebuild,v 1.1 2014/10/27 06:00:40 ercpe Exp $
+
+EAPI="5"
+
+JAVA_PKG_IUSE="doc examples source test"
+
+inherit java-pkg-2 java-ant-2 eutils
+
+DESCRIPTION="A simple HTML scanner and tag balancer using standard XML interfaces"
+
+HOMEPAGE="http://nekohtml.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+LICENSE="Apache-2.0"
+
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+
+COMMON_DEP=">=dev-java/xerces-2.7"
+DEPEND=">=virtual/jdk-1.4
+ test? (
+ dev-java/junit:0
+ dev-java/ant-junit:0
+ )
+ ${COMMON_DEP}"
+RDEPEND=">=virtual/jre-1.4
+ ${COMMON_DEP}"
+
+JAVA_ANT_CLASSPATH_TAGS="${JAVA_ANT_CLASSPATH_TAGS} taskdef"
+JAVA_ANT_REWRITE_CLASSPATH="yes"
+
+EANT_GENTOO_CLASSPATH="xerces-2"
+EANT_TEST_GENTOO_CLASSPATH="ant-junit,junit,xerces-2"
+
+# Do not generate docs, use bundled.
+EANT_DOC_TARGET=""
+
+java_prepare() {
+ find . -iname '*.jar' -delete || die
+ epatch "${FILESDIR}"/${P}-remove-obsolete-xerces-bridges.patch
+}
+
+src_test() {
+ java-pkg-2_src_test
+}
+
+src_install() {
+ java-pkg_dojar build/lib/${PN}.jar
+
+ if use doc; then
+ java-pkg_dojavadoc doc/javadoc
+ java-pkg_dohtml -r doc/*
+ fi
+
+ use source && java-pkg_dosrc src/org
+ use examples && java-pkg_doexamples src/sample
+}