summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetteri Räty <betelgeuse@gentoo.org>2007-04-20 15:43:03 +0000
committerPetteri Räty <betelgeuse@gentoo.org>2007-04-20 15:43:03 +0000
commit20d7f09ac86813b7f39551125526b6c25720048b (patch)
tree887564153cf412042b122f18d71644e88e4de1e4
parentAdd dev-java/ant-core to RDEPEND. (diff)
downloadgentoo-2-20d7f09ac86813b7f39551125526b6c25720048b.tar.gz
gentoo-2-20d7f09ac86813b7f39551125526b6c25720048b.tar.bz2
gentoo-2-20d7f09ac86813b7f39551125526b6c25720048b.zip
Switch to java-pkg_dojavadoc.
(Portage version: 2.1.2.4)
-rw-r--r--dev-java/jaxme/ChangeLog5
-rw-r--r--dev-java/jaxme/jaxme-0.3.1-r3.ebuild15
2 files changed, 14 insertions, 6 deletions
diff --git a/dev-java/jaxme/ChangeLog b/dev-java/jaxme/ChangeLog
index 94458bbbd8f2..78556dceaef3 100644
--- a/dev-java/jaxme/ChangeLog
+++ b/dev-java/jaxme/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-java/jaxme
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/jaxme/ChangeLog,v 1.18 2007/04/20 15:39:43 betelgeuse Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jaxme/ChangeLog,v 1.19 2007/04/20 15:43:03 betelgeuse Exp $
+
+ 20 Apr 2007; Petteri Räty <betelgeuse@gentoo.org> jaxme-0.3.1-r3.ebuild:
+ Switch to java-pkg_dojavadoc.
20 Apr 2007; Petteri Räty <betelgeuse@gentoo.org> jaxme-0.3.1-r3.ebuild:
Add dev-java/ant-core to RDEPEND.
diff --git a/dev-java/jaxme/jaxme-0.3.1-r3.ebuild b/dev-java/jaxme/jaxme-0.3.1-r3.ebuild
index 42c11355e84e..15c4269685e7 100644
--- a/dev-java/jaxme/jaxme-0.3.1-r3.ebuild
+++ b/dev-java/jaxme/jaxme-0.3.1-r3.ebuild
@@ -1,6 +1,8 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/jaxme/jaxme-0.3.1-r3.ebuild,v 1.4 2007/04/20 15:39:43 betelgeuse Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jaxme/jaxme-0.3.1-r3.ebuild,v 1.5 2007/04/20 15:43:03 betelgeuse Exp $
+
+JAVA_PKG_IUSE="doc source"
inherit java-pkg-2 java-ant-2 eutils
@@ -13,7 +15,7 @@ SRC_URI="http://mirrors.combose.com/apache/ws/jaxme/source/${MY_P}-src.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd"
-IUSE="doc source"
+IUSE=""
COMMON_DEP="
dev-db/hsqldb
@@ -40,7 +42,7 @@ JAVA_PKG_BSFIX="off"
src_unpack() {
unpack ${A}
- cd ${S}
+ cd "${S}"
# Fix the build.xml so we can build jars and javadoc easily
epatch ${FILESDIR}/${P}-gentoo.patch
# Use gnu-crypto instead of com.sun.* stuff
@@ -75,8 +77,11 @@ src_compile() {
src_install() {
java-pkg_dojar dist/*.jar
- dodoc NOTICE
+ dodoc NOTICE || die
- use doc && java-pkg_dohtml -r dist/doc/api src/documentation/manual
+ if use doc; then
+ java-pkg_dojavadoc dist/doc/api
+ java-pkg_dohtml src/documentation/manual
+ fi
use source && java-pkg_dosrc src/*/*
}