summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetteri Räty <betelgeuse@gentoo.org>2007-04-13 09:14:58 +0000
committerPetteri Räty <betelgeuse@gentoo.org>2007-04-13 09:14:58 +0000
commitac364ed61439a08fc69a2c31c1d4e56192425d42 (patch)
tree96cbca1bd274a5a6856606732c778baba6bbd66d /dev-java
parentEbuild cleanup. Use java-pkg_dojavadoc and fix typo that prevented ChangeLog.... (diff)
downloadgentoo-2-ac364ed61439a08fc69a2c31c1d4e56192425d42.tar.gz
gentoo-2-ac364ed61439a08fc69a2c31c1d4e56192425d42.tar.bz2
gentoo-2-ac364ed61439a08fc69a2c31c1d4e56192425d42.zip
Ebuild cleanup.
(Portage version: 2.1.2.3)
Diffstat (limited to 'dev-java')
-rw-r--r--dev-java/jsr173/ChangeLog7
-rw-r--r--dev-java/jsr173/jsr173-1.0-r1.ebuild23
2 files changed, 16 insertions, 14 deletions
diff --git a/dev-java/jsr173/ChangeLog b/dev-java/jsr173/ChangeLog
index 1ef0f7b6fdcc..5990b62f2242 100644
--- a/dev-java/jsr173/ChangeLog
+++ b/dev-java/jsr173/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-java/jsr173
-# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/jsr173/ChangeLog,v 1.12 2007/01/04 05:51:44 tgall Exp $
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jsr173/ChangeLog,v 1.13 2007/04/13 09:14:58 betelgeuse Exp $
+
+ 13 Apr 2007; Petteri Räty <betelgeuse@gentoo.org> jsr173-1.0-r1.ebuild:
+ Ebuild cleanup.
03 Jan 2007; Tom Gall <tgall@gentoo.org> jsr173-1.0.ebuild:
stable on ppc64
diff --git a/dev-java/jsr173/jsr173-1.0-r1.ebuild b/dev-java/jsr173/jsr173-1.0-r1.ebuild
index 90ae3458627e..70039bc21ec4 100644
--- a/dev-java/jsr173/jsr173-1.0-r1.ebuild
+++ b/dev-java/jsr173/jsr173-1.0-r1.ebuild
@@ -1,6 +1,8 @@
-# Copyright 1999-2006 Gentoo Foundation
+# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/jsr173/jsr173-1.0-r1.ebuild,v 1.3 2006/12/09 09:21:47 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jsr173/jsr173-1.0-r1.ebuild,v 1.4 2007/04/13 09:14:58 betelgeuse Exp $
+
+JAVA_PKG_IUSE="doc source"
inherit java-pkg-2 java-ant-2
@@ -11,39 +13,36 @@ SRC_URI="http://ftpna2.bea.com/pub/downloads/${PN}.jar"
LICENSE="bea.ri.jsr173"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd"
-IUSE="doc source"
+IUSE=""
RDEPEND=">=virtual/jre-1.3
dev-java/jaxme"
DEPEND=">=virtual/jdk-1.3
- dev-java/ant-core
${RDEPEND}"
S=${WORKDIR}
src_unpack() {
- cd ${S}
+ cd "${S}"
jar xvf ${DISTDIR}/${A} || die "failed to unpack"
- cp ${FILESDIR}/build-${PVR}.xml build.xml
+ cp "${FILESDIR}/build-${PVR}.xml" build.xml
jar xvf ${P//-/_}_src.jar || die "failed to unpack"
- rm *.jar
+ rm -v *.jar || die
cd lib
- rm *.jar
+ rm -v *.jar || die
java-pkg_jarfrom jaxme
}
src_compile() {
local antflags="-Dproject.name=${PN} jar"
- use doc && antflags="${antflags} javadoc"
-
- eant ${antflags} || die "Compilation failed"
+ eant ${antflags} $(use_doc) || die "Compilation failed"
}
src_install() {
java-pkg_dojar dist/${PN}.jar
- use doc && java-pkg_dohtml -r dist/doc/api
+ use doc && java-pkg_dojavadoc dist/doc/api
use source && java-pkg_dosrc src/*
}