# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 JAVA_PKG_IUSE="doc source test" inherit desktop java-pkg-2 java-ant-2 prefix virtualx DESCRIPTION="Fully functional LDAP browser written in Java" HOMEPAGE="http://jxplorer.org/" SRC_URI="mirror://sourceforge/${PN}/${P}-project.zip" S="${WORKDIR}/${PN}" LICENSE="CAOSL" SLOT="0" IUSE="" KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux" RESTRICT="test" COMMON_DEPEND=" >=dev-java/javahelp-2.0.02_p46:0 " RDEPEND="${COMMON_DEPEND} >=virtual/jre-1.5 " DEPEND="${COMMON_DEPEND} virtual/jdk:1.8 test? ( dev-java/junit:0 ) " JAVA_ANT_REWRITE_CLASSPATH="yes" EANT_GENTOO_CLASSPATH="javahelp" EANT_TEST_ANT_TASKS="ant-junit" PATCHES=( "${FILESDIR}"/3.3-disable-jxworkbench.patch ) src_prepare() { default rm -v jars/*.jar || die sed -i -e 's/