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="a 100% Java PDF renderer and viewer"
11 HOMEPAGE="https://pdf-renderer.dev.java.net/"
12 SRC_URI="http://java.net/projects/${PN}/downloads/download/PDFRenderer-full-${PV}.zip"
16 KEYWORDS="amd64 ppc64 x86"
28 find -name '*.jar' -exec rm -v {} + || die
31 # There is a test target (default from Netbeans)
35 java-pkg_dojar dist/*.jar
37 use doc && java-pkg_dojavadoc dist/javadoc
38 use source && java-pkg_dosrc src/com