1 # Copyright 1999-2019 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
6 JAVA_PKG_IUSE="doc examples source test"
8 inherit java-pkg-2 java-ant-2
12 DESCRIPTION="JGoodies Animation Library"
13 HOMEPAGE="http://www.jgoodies.com/"
14 SRC_URI="mirror://gentoo/${P}.zip"
23 test? ( dev-java/ant-junit:0 )"
28 >=dev-java/jgoodies-binding-1.1:1.0
29 >=dev-java/jgoodies-forms-1.0:0
32 S="${WORKDIR}/animation-${PV}"
34 EANT_FILTER_COMPILER="jikes"
37 DOCS=( RELEASE-NOTES.txt README.html )
46 eant test -Djunit.jar.present=true \
47 -Djunit.jar=$(java-pkg_getjar junit junit.jar)
51 java-pkg_dojar build/animation.jar
53 use doc && java-pkg_dohtml -r docs/*
54 use source && java-pkg_dosrc src/core/*
55 use examples && java-pkg_doexamples src/tutorial