summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetteri Räty <betelgeuse@gentoo.org>2008-04-26 12:09:06 +0000
committerPetteri Räty <betelgeuse@gentoo.org>2008-04-26 12:09:06 +0000
commit7f55335268d4c1da60451d3e9d164b5f2b427945 (patch)
treeb5c22cc60fe62ac36ba5e4198023049d3e1b42c5 /dev-java
parentRemoved unversioned kde-base/kdelibs dependency since the kde.eclass already ... (diff)
downloadgentoo-2-7f55335268d4c1da60451d3e9d164b5f2b427945.tar.gz
gentoo-2-7f55335268d4c1da60451d3e9d164b5f2b427945.tar.bz2
gentoo-2-7f55335268d4c1da60451d3e9d164b5f2b427945.zip
Switch to slot deps and use java-pkg_doexamples.
(Portage version: 2.1.5_rc3)
Diffstat (limited to 'dev-java')
-rw-r--r--dev-java/jcharts/ChangeLog5
-rw-r--r--dev-java/jcharts/jcharts-0.7.5.ebuild20
2 files changed, 12 insertions, 13 deletions
diff --git a/dev-java/jcharts/ChangeLog b/dev-java/jcharts/ChangeLog
index 685a5906499e..bfbc06d638d5 100644
--- a/dev-java/jcharts/ChangeLog
+++ b/dev-java/jcharts/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-java/jcharts
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/jcharts/ChangeLog,v 1.3 2008/04/25 10:00:26 ali_bush Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jcharts/ChangeLog,v 1.4 2008/04/26 12:09:06 betelgeuse Exp $
+
+ 26 Apr 2008; Petteri Räty <betelgeuse@gentoo.org> jcharts-0.7.5.ebuild:
+ Switch to slot deps and use java-pkg_doexamples.
25 Apr 2008; Alistair Bush <ali_bush@gentoo.org> jcharts-0.7.5.ebuild:
Fix depend on batik, was too specific.
diff --git a/dev-java/jcharts/jcharts-0.7.5.ebuild b/dev-java/jcharts/jcharts-0.7.5.ebuild
index 4119c4ecca25..3698413dac61 100644
--- a/dev-java/jcharts/jcharts-0.7.5.ebuild
+++ b/dev-java/jcharts/jcharts-0.7.5.ebuild
@@ -1,8 +1,10 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/jcharts/jcharts-0.7.5.ebuild,v 1.3 2008/04/25 10:00:26 ali_bush Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jcharts/jcharts-0.7.5.ebuild,v 1.4 2008/04/26 12:09:06 betelgeuse Exp $
EAPI="1"
+JAVA_PKG_IUSE="doc examples source"
+
inherit java-pkg-2 java-ant-2
MY_P="jCharts-${PV}"
@@ -14,19 +16,17 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-IUSE="doc examples source"
+IUSE=""
-COMMON_DEP="dev-java/batik
- =dev-java/servletapi-2.4*"
+COMMON_DEP="dev-java/batik:1.6
+ dev-java/servletapi:2.4"
RDEPEND=">=virtual/jre-1.4
${COMMON_DEP}"
DEPEND=">=virtual/jdk-1.4
${COMMON_DEP}
- dev-java/ant-core
- app-arch/unzip
- source? ( app-arch/zip )"
+ app-arch/unzip"
S="${WORKDIR}/${MY_P}"
@@ -60,9 +60,5 @@ src_install() {
dohtml docs/*.html
use doc && java-pkg_dojavadoc javadocs
use source && java-pkg_dosrc src/org
- if use examples; then
- dodir /usr/share/doc/${PF}/examples
- insinto /usr/share/doc/${PF}/examples
- doins -r demo/*
- fi
+ use examples && java-pkg_doexamples demo
}