summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-java')
-rw-r--r--dev-java/jdictrayapi/ChangeLog6
-rw-r--r--dev-java/jdictrayapi/jdictrayapi-0.9.1-r2.ebuild23
2 files changed, 18 insertions, 11 deletions
diff --git a/dev-java/jdictrayapi/ChangeLog b/dev-java/jdictrayapi/ChangeLog
index d878c4a936bb..50867f89db92 100644
--- a/dev-java/jdictrayapi/ChangeLog
+++ b/dev-java/jdictrayapi/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-java/jdictrayapi
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/jdictrayapi/ChangeLog,v 1.10 2007/02/18 18:15:49 betelgeuse Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jdictrayapi/ChangeLog,v 1.11 2007/04/11 14:59:31 betelgeuse Exp $
+
+ 11 Apr 2007; Petteri Räty <betelgeuse@gentoo.org>
+ jdictrayapi-0.9.1-r2.ebuild:
+ inherit java-ant-2 and use java-pkg_dojavadoc.
18 Feb 2007; Petteri Räty <betelgeuse@gentoo.org>
-jdictrayapi-0.9.1.ebuild, -jdictrayapi-0.9.1-r1.ebuild:
diff --git a/dev-java/jdictrayapi/jdictrayapi-0.9.1-r2.ebuild b/dev-java/jdictrayapi/jdictrayapi-0.9.1-r2.ebuild
index 9a98d851144e..0d1ab0887632 100644
--- a/dev-java/jdictrayapi/jdictrayapi-0.9.1-r2.ebuild
+++ b/dev-java/jdictrayapi/jdictrayapi-0.9.1-r2.ebuild
@@ -1,8 +1,10 @@
-# 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/jdictrayapi/jdictrayapi-0.9.1-r2.ebuild,v 1.1 2006/08/04 03:52:50 nichoj Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jdictrayapi/jdictrayapi-0.9.1-r2.ebuild,v 1.2 2007/04/11 14:59:31 betelgeuse Exp $
-inherit eutils java-pkg-2
+JAVA_PKG_IUSE="doc source"
+
+inherit eutils java-pkg-2 java-ant-2
MY_PN="jdic"
MY_P=${MY_PN}-${PV}
@@ -13,21 +15,22 @@ SRC_URI="https://jdic.dev.java.net/files/documents/880/16466/${MY_P}-src.zip"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
-IUSE="doc examples source"
+IUSE="examples"
DEPEND=">=virtual/jdk-1.4
- dev-java/ant-core
- app-arch/unzip
- source? ( app-arch/zip )"
+ app-arch/unzip"
RDEPEND=">=virtual/jre-1.4"
S="${WORKDIR}/${MY_P}-src/${MY_PN}"
+#Patch takes care of it
+JAVA_PKG_BSFIX="off"
+
src_unpack() {
unpack ${A}
- cd ${S}
+ cd "${S}"
- epatch ${FILESDIR}/0.8.7-gentoo.patch
+ epatch "${FILESDIR}/0.8.7-gentoo.patch"
find -type d -name CVS -exec rm -r {} \; >/dev/null 2>&1
}
@@ -39,7 +42,7 @@ src_install() {
cd ${S}/dist/linux
java-pkg_dojar jdic.jar
java-pkg_doso libtray.so
- use doc && java-pkg_dohtml -r ${S}/../docs/*
+ use doc && java-pkg_dojavadoc ${S}/../docs
use source && java-pkg_dosrc ${S}/src/share/classes/* ${S}/src/unix/classes/*
if use examples; then
dodir /usr/share/doc/${PF}/examples