1 # Copyright 1999-2016 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
6 JAVA_PKG_IUSE="doc source"
8 inherit java-pkg-2 java-pkg-simple
10 DESCRIPTION="Java library for treemapping data"
11 HOMEPAGE="http://jtreemap.sourceforge.net/"
12 SRC_URI="mirror://sourceforge/${PN}/${P}-src.zip -> ${P}.zip"
15 KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
23 source? ( app-arch/zip )"
25 S="${WORKDIR}/${PN}-site-${PV}/JTreeMap"
27 JAVA_SRC_DIR="src/main"
29 JAVA_ENCODING="ISO-8859-1"
32 pushd .. > /dev/null || die
34 popd > /dev/null || die
38 java-pkg-simple_src_install
39 java-pkg_dolauncher ${PN}-demo --main net.sf.jtreemap.swing.example.JTreeMapExample