summaryrefslogtreecommitdiff
blob: be5b3c127c4ed9e76f1ca91b5af158b7512700ae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$

EAPI=5

inherit java-pkg-2 java-ant-2

DESCRIPTION="Generator of classes for accessing the attributes and extensions of JPF plug-ins"
HOMEPAGE="http://jabref.sourceforge.net/"

SRC_URI="mirror://gentoo/${P}.tar.bz2"
LICENSE="LGPL-3"

SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE=""

CDEPEND="dev-java/velocity:0
	dev-java/jpf:1.5"
DEPEND=">=virtual/jdk-1.6
	app-arch/unzip
	${CDEPEND}"
RDEPEND=">=virtual/jre-1.6
	${CDEPEND}"

# doc target is name="-javadoc" and would need a patch, on demand
EANT_BUILD_TARGET="jars"
EANT_GENTOO_CLASSPATH="jpf-1.5,velocity"
JAVA_ANT_REWRITE_CLASSPATH="true"

src_install() {
	java-pkg_newjar JPFCodeGenerator-${PV}.jar JPFCodeGenerator.jar
	java-pkg_newjar JPFCodeGenerator-${PV}-rt.jar JPFCodeGenerator-rt.jar
	dohtml index.html
}