summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Aniszczyk <zx@gentoo.org>2004-05-16 18:37:58 +0000
committerChris Aniszczyk <zx@gentoo.org>2004-05-16 18:37:58 +0000
commit253027a448e4212d1aa20e653cc045402fbf6be2 (patch)
tree14d3685496fc9251d500be9786d96c59ec1b31a7 /dev-java/commons-fileupload/commons-fileupload-1.0.ebuild
parentMore clean up (diff)
downloadhistorical-253027a448e4212d1aa20e653cc045402fbf6be2.tar.gz
historical-253027a448e4212d1aa20e653cc045402fbf6be2.tar.bz2
historical-253027a448e4212d1aa20e653cc045402fbf6be2.zip
Closes #49797
Diffstat (limited to 'dev-java/commons-fileupload/commons-fileupload-1.0.ebuild')
-rw-r--r--dev-java/commons-fileupload/commons-fileupload-1.0.ebuild7
1 files changed, 5 insertions, 2 deletions
diff --git a/dev-java/commons-fileupload/commons-fileupload-1.0.ebuild b/dev-java/commons-fileupload/commons-fileupload-1.0.ebuild
index 46d9a0ac0fa7..3dfc885fc070 100644
--- a/dev-java/commons-fileupload/commons-fileupload-1.0.ebuild
+++ b/dev-java/commons-fileupload/commons-fileupload-1.0.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-fileupload/commons-fileupload-1.0.ebuild,v 1.6 2004/05/05 16:42:59 sejo Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-fileupload/commons-fileupload-1.0.ebuild,v 1.7 2004/05/16 18:37:57 zx Exp $
inherit eutils java-pkg
@@ -28,9 +28,12 @@ src_unpack() {
src_compile() {
local antflags="jar"
use jikes && antflags="${antflags} -Dbuild.compiler=jikes"
+ use doc && antflags="${antflags} javadoc"
ant ${antflags} || die "compilation error"
}
src_install() {
- java-pkg_dojar target/${P}.jar
+ mv ${S}/target/${P}.jar ${S}/target/${PN}.jar
+ java-pkg_dojar target/${PN}.jar
+ use doc && dohtml -r dist/docs/
}