/[gentoo-x86]/dev-java/prefuse/prefuse-20071021_beta.ebuild
Gentoo

Contents of /dev-java/prefuse/prefuse-20071021_beta.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Wed Oct 22 01:48:11 2008 UTC (5 years, 5 months ago) by fordfrog
Branch: MAIN
CVS Tags: HEAD
Version bump
(Portage version: 2.2_rc12/cvs/Linux 2.6.27-gentoo x86_64)

1 # Copyright 1999-2008 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-java/prefuse/prefuse-20060715_beta.ebuild,v 1.10 2008/01/17 21:31:45 betelgeuse Exp $
4
5 EAPI=1
6 JAVA_PKG_IUSE="doc examples source"
7
8 inherit java-pkg-2 java-ant-2
9
10 MY_PV=${PV/_beta/}
11 MY_P=${PN}-beta-${MY_PV}
12 DESCRIPTION="UI toolkit for building highly interactive visualizations of structured and unstructured data."
13 SRC_URI="mirror://sourceforge/prefuse/${MY_P}.zip"
14 HOMEPAGE="http://prefuse.org"
15 LICENSE="BSD"
16 SLOT="2006"
17 KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd"
18 IUSE=""
19
20 COMMON_DEP="dev-java/lucene:1"
21
22 DEPEND=">=virtual/jdk-1.4
23 ${COMMON_DEP}
24 >=app-arch/unzip-5.50-r1"
25 RDEPEND=">=virtual/jre-1.4
26 ${COMMON_DEP}"
27
28 S=${WORKDIR}/${PN}-beta
29
30 src_unpack() {
31 unpack ${A}
32 cd "${S}"
33
34 find lib/ -name "*.jar" | xargs rm -v
35 }
36
37 src_compile() {
38 java-pkg_filter-compiler jikes
39 local targets="prefuse"
40 use examples && targets="${targets} demos"
41 eant $(use_doc api) ${targets} \
42 -Dlucene.lib=$(java-pkg_getjars lucene-1)
43 }
44
45 src_install() {
46 java-pkg_dojar build/${PN}.jar
47
48 dodoc readme.txt || die
49 use doc && java-pkg_dojavadoc doc/api
50 use source && java-pkg_dosrc src/*
51 use examples && java-pkg_doexamples demos/*
52 }

  ViewVC Help
Powered by ViewVC 1.1.20