summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKrzysztof Pawlik <nelchael@gentoo.org>2007-03-18 18:06:26 +0000
committerKrzysztof Pawlik <nelchael@gentoo.org>2007-03-18 18:06:26 +0000
commit701a53a64367c20a44d9f431abd9556d14ade037 (patch)
tree2b681b338f173d72d3e41039affa50f6565a89b8 /dev-java/jsr181
parentVersion bump, yay 0.5.0 (diff)
downloadgentoo-2-701a53a64367c20a44d9f431abd9556d14ade037.tar.gz
gentoo-2-701a53a64367c20a44d9f431abd9556d14ade037.tar.bz2
gentoo-2-701a53a64367c20a44d9f431abd9556d14ade037.zip
Fix ebuild to work with strict Java settings.
(Portage version: 2.1.2.2)
Diffstat (limited to 'dev-java/jsr181')
-rw-r--r--dev-java/jsr181/ChangeLog5
-rw-r--r--dev-java/jsr181/jsr181-0.7.ebuild31
2 files changed, 17 insertions, 19 deletions
diff --git a/dev-java/jsr181/ChangeLog b/dev-java/jsr181/ChangeLog
index bbb2e25141f5..f66abd477b68 100644
--- a/dev-java/jsr181/ChangeLog
+++ b/dev-java/jsr181/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-java/jsr181
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/jsr181/ChangeLog,v 1.3 2007/01/21 18:07:55 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jsr181/ChangeLog,v 1.4 2007/03/18 18:06:26 nelchael Exp $
+
+ 18 Mar 2007; Krzysiek Pawlik <nelchael@gentoo.org> jsr181-0.7.ebuild:
+ Fix ebuild to work with strict Java settings.
21 Jan 2007; Diego Pettenò <flameeyes@gentoo.org> jsr181-0.7.ebuild:
Add ~x86-fbsd keyword (see the various bugs for netbeans 5.5-r2).
diff --git a/dev-java/jsr181/jsr181-0.7.ebuild b/dev-java/jsr181/jsr181-0.7.ebuild
index 6897a246da29..b268f7298791 100644
--- a/dev-java/jsr181/jsr181-0.7.ebuild
+++ b/dev-java/jsr181/jsr181-0.7.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/jsr181/jsr181-0.7.ebuild,v 1.3 2007/01/21 18:07:55 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jsr181/jsr181-0.7.ebuild,v 1.4 2007/03/18 18:06:26 nelchael Exp $
+
+JAVA_PKG_IUSE="doc source"
inherit java-pkg-2 java-ant-2
@@ -11,8 +13,8 @@ SRC_URI="web_svcs_md-0_7-erd-spec.zip"
LICENSE="bea.jsr181"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd"
-IUSE="doc source"
-RESTRICT="fetch nostrip"
+IUSE=""
+RESTRICT="fetch"
DEPEND=">=virtual/jdk-1.5"
RDEPEND=">=virtual/jre-1.5"
@@ -32,32 +34,25 @@ src_unpack() {
unpack "${A}"
cd "${S}"
- unzip -qq jsr181-src.jar || die "unzip failed"
- mkdir src lib
- mv javax src
+ unpack ./jsr181-src.jar
+ rm -f jsr181-src.jar
+ mkdir src lib || die
+ mv javax src || die
- cp "${FILESDIR}/build.xml" "${S}/"
+ cp -i "${FILESDIR}/build.xml" "${S}/" || die
}
-src_compile() {
-
- cd "${S}"
- local antflags="jar"
- use doc && antflags="${antflags} doc"
- eant ${antflags}
-
-}
+EANT_DOC_TARGET="doc"
src_install() {
- cd "${S}"
java-pkg_dojar jsr181.jar
use doc && {
- java-pkg_dohtml -r api
+ java-pkg_dojavadoc api
dodoc JSR181-ERD4.pdf
}
- use source && java-pkg_dosrc "src/*"
+ use source && java-pkg_dosrc src/*
}