# Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ EAPI=5 PYTHON_COMPAT=( python{2_6,2_7} ) JAVA_PKG_OPT_USE="gui" inherit java-pkg-opt-2 python-single-r1 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" KEYWORDS="~amd64" DESCRIPTION="A Network Correctness and Performance Testing Language" HOMEPAGE="http://conceptual.sourceforge.net/" SLOT="0" LICENSE="BSD-2" IUSE="gui test" RDEPEND="virtual/mpi ${PYTHON_DEPS} gui? ( virtual/jdk dev-java/jython:0 )" DEPEND="${RDEPEND}" src_compile() { default use gui && emake gui } src_install () { default if use gui; then java-pkg_newjar gui/ncptlGUI-1.4.jar ${PN}.jar java-pkg_dolauncher fi }