aboutsummaryrefslogtreecommitdiff
blob: 524b6a08924f3796871bde29f29199e56d7b9494 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# Copyright 1999-2013 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
}