summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-java/prefuse/ChangeLog8
-rw-r--r--dev-java/prefuse/prefuse-20071021_beta.ebuild52
2 files changed, 59 insertions, 1 deletions
diff --git a/dev-java/prefuse/ChangeLog b/dev-java/prefuse/ChangeLog
index ddc0f3923adb..cf79ed827180 100644
--- a/dev-java/prefuse/ChangeLog
+++ b/dev-java/prefuse/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-java/prefuse
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/prefuse/ChangeLog,v 1.16 2008/01/17 21:31:45 betelgeuse Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/prefuse/ChangeLog,v 1.17 2008/10/22 01:48:11 fordfrog Exp $
+
+*prefuse-20071021_beta (22 Oct 2008)
+
+ 22 Oct 2008; Miroslav Šulc <fordfrog@gentoo.org>
+ +prefuse-20071021_beta.ebuild:
+ Version bump
17 Jan 2008; Petteri Räty <betelgeuse@gentoo.org> metadata.xml,
prefuse-20060715_beta.ebuild:
diff --git a/dev-java/prefuse/prefuse-20071021_beta.ebuild b/dev-java/prefuse/prefuse-20071021_beta.ebuild
new file mode 100644
index 000000000000..7cce9b095a31
--- /dev/null
+++ b/dev-java/prefuse/prefuse-20071021_beta.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/prefuse/prefuse-20071021_beta.ebuild,v 1.1 2008/10/22 01:48:11 fordfrog Exp $
+
+EAPI=1
+JAVA_PKG_IUSE="doc examples source"
+
+inherit java-pkg-2 java-ant-2
+
+MY_PV=${PV/_beta/}
+MY_P=${PN}-beta-${MY_PV}
+DESCRIPTION="UI toolkit for building highly interactive visualizations of structured and unstructured data."
+SRC_URI="mirror://sourceforge/prefuse/${MY_P}.zip"
+HOMEPAGE="http://prefuse.org"
+LICENSE="BSD"
+SLOT="2006"
+KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd"
+IUSE=""
+
+COMMON_DEP="dev-java/lucene:1"
+
+DEPEND=">=virtual/jdk-1.4
+ ${COMMON_DEP}
+ >=app-arch/unzip-5.50-r1"
+RDEPEND=">=virtual/jre-1.4
+ ${COMMON_DEP}"
+
+S=${WORKDIR}/${PN}-beta
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ find lib/ -name "*.jar" | xargs rm -v
+}
+
+src_compile() {
+ java-pkg_filter-compiler jikes
+ local targets="prefuse"
+ use examples && targets="${targets} demos"
+ eant $(use_doc api) ${targets} \
+ -Dlucene.lib=$(java-pkg_getjars lucene-1)
+}
+
+src_install() {
+ java-pkg_dojar build/${PN}.jar
+
+ dodoc readme.txt || die
+ use doc && java-pkg_dojavadoc doc/api
+ use source && java-pkg_dosrc src/*
+ use examples && java-pkg_doexamples demos/*
+}