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-ant-2
10 DESCRIPTION="JFreeSVG is a fast, light-weight, vector graphics library for the Java platform"
11 HOMEPAGE="http://www.jfree.org/jfreesvg/"
12 SRC_URI="mirror://sourceforge/jfreegraphics2d/${P}.zip"
32 antflags="-Dbuild.debug=false -Dbuild.optimize=true"
34 eant -f ant/build.xml compile $(use_doc) $antflags
38 java-pkg_newjar "./lib/${P}.jar" ${PN}.jar
40 use doc && java-pkg_dojavadoc javadoc
41 use source && java-pkg_dosrc src/main/java