summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetteri Räty <betelgeuse@gentoo.org>2007-06-09 10:28:25 +0000
committerPetteri Räty <betelgeuse@gentoo.org>2007-06-09 10:28:25 +0000
commitf88d441b736da79889fa97b4797bc83f638c8181 (patch)
tree232e0fedf2c7c25b6f8b30e7f59df43f6e61ef60 /dev-java/prefuse
parentmove Gnome 2.18 mask to arm/alpha/bsd profiles, unmask for all other arches (diff)
downloadgentoo-2-f88d441b736da79889fa97b4797bc83f638c8181.tar.gz
gentoo-2-f88d441b736da79889fa97b4797bc83f638c8181.tar.bz2
gentoo-2-f88d441b736da79889fa97b4797bc83f638c8181.zip
Use java-pkg_dojavadoc and java-pkg_doexamples.
(Portage version: 2.1.2.9)
Diffstat (limited to 'dev-java/prefuse')
-rw-r--r--dev-java/prefuse/ChangeLog6
-rw-r--r--dev-java/prefuse/prefuse-20060715_beta.ebuild21
2 files changed, 14 insertions, 13 deletions
diff --git a/dev-java/prefuse/ChangeLog b/dev-java/prefuse/ChangeLog
index 011d4314c6e2..14cdd405da2e 100644
--- a/dev-java/prefuse/ChangeLog
+++ b/dev-java/prefuse/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-java/prefuse
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/prefuse/ChangeLog,v 1.9 2007/05/23 17:27:44 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/prefuse/ChangeLog,v 1.10 2007/06/09 10:28:25 betelgeuse Exp $
+
+ 09 Jun 2007; Petteri Räty <betelgeuse@gentoo.org>
+ prefuse-20060715_beta.ebuild:
+ Use java-pkg_dojavadoc and java-pkg_doexamples.
23 May 2007; Diego Pettenò <flameeyes@gentoo.org> ChangeLog:
Add ~x86-fbsd keyword. Bug #176906.
diff --git a/dev-java/prefuse/prefuse-20060715_beta.ebuild b/dev-java/prefuse/prefuse-20060715_beta.ebuild
index 3dd89b32622e..088e6b9a46a4 100644
--- a/dev-java/prefuse/prefuse-20060715_beta.ebuild
+++ b/dev-java/prefuse/prefuse-20060715_beta.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/prefuse/prefuse-20060715_beta.ebuild,v 1.4 2007/04/28 22:19:06 betelgeuse Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/prefuse/prefuse-20060715_beta.ebuild,v 1.5 2007/06/09 10:28:25 betelgeuse Exp $
+
+JAVA_PKG_IUSE="doc examples source"
inherit java-pkg-2 java-ant-2
@@ -12,15 +14,13 @@ HOMEPAGE="http://prefuse.org"
LICENSE="BSD"
SLOT="2006"
KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd"
-IUSE="doc examples source"
+IUSE=""
COMMON_DEP="=dev-java/lucene-1*"
DEPEND=">=virtual/jdk-1.4
${COMMON_DEP}
- >=dev-java/ant-core-1.4
- >=app-arch/unzip-5.50-r1
- source? ( app-arch/zip )"
+ >=app-arch/unzip-5.50-r1"
RDEPEND=">=virtual/jre-1.4
${COMMON_DEP}"
@@ -28,7 +28,7 @@ S=${WORKDIR}/${PN}-beta
src_unpack() {
unpack ${A}
- cd ${S}
+ cd "${S}"
find lib/ -name "*.jar" | xargs rm -v
}
@@ -44,11 +44,8 @@ src_compile() {
src_install() {
java-pkg_dojar build/*.jar
- dodoc readme.txt
- use doc && java-pkg_dohtml -r doc/api
+ dodoc readme.txt || die
+ use doc && java-pkg_dojavadoc doc/api
use source && java-pkg_dosrc src/*
- if use examples; then
- insinto /usr/share/doc/${PF}/examples
- doins -r demos/*
- fi
+ use examples && java-pkg_doexamples demos/*
}