summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-java/commons-httpclient')
-rw-r--r--dev-java/commons-httpclient/ChangeLog6
-rw-r--r--dev-java/commons-httpclient/commons-httpclient-3.1.ebuild7
2 files changed, 10 insertions, 3 deletions
diff --git a/dev-java/commons-httpclient/ChangeLog b/dev-java/commons-httpclient/ChangeLog
index 04b76ca9d51a..d9ccd8a32856 100644
--- a/dev-java/commons-httpclient/ChangeLog
+++ b/dev-java/commons-httpclient/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-java/commons-httpclient
# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-httpclient/ChangeLog,v 1.55 2008/02/06 14:33:27 fordfrog Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-httpclient/ChangeLog,v 1.56 2008/02/06 14:58:35 fordfrog Exp $
+
+ 06 Feb 2008; Miroslav Šulc <fordfrog@gentoo.org>
+ commons-httpclient-3.1.ebuild:
+ Fixed installation of javadocs
*commons-httpclient-3.1 (06 Feb 2008)
diff --git a/dev-java/commons-httpclient/commons-httpclient-3.1.ebuild b/dev-java/commons-httpclient/commons-httpclient-3.1.ebuild
index 1f4d5fbb04ff..79c083d0724d 100644
--- a/dev-java/commons-httpclient/commons-httpclient-3.1.ebuild
+++ b/dev-java/commons-httpclient/commons-httpclient-3.1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-httpclient/commons-httpclient-3.1.ebuild,v 1.1 2008/02/06 14:33:27 fordfrog Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-httpclient/commons-httpclient-3.1.ebuild,v 1.2 2008/02/06 14:58:35 fordfrog Exp $
JAVA_PKG_IUSE="doc examples source test"
inherit java-pkg-2 java-ant-2
@@ -52,7 +52,10 @@ src_install() {
java-pkg_dojar dist/${PN}.jar
# contains both html docs and javadoc in correct subdir
- use doc && java-pkg_dohtml -r dist/docs/*
+ if use doc ; then
+ java-pkg_dojavadoc dist/docs/api
+ java-pkg_dohtml -r dist/docs/*
+ fi
use source && java-pkg_dosrc src/java/*
use examples && java-pkg_doexamples src/examples
}