blob: 7cf7f7d812b22d43a5f0c0e718d46124350eb7af (
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
|
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-misc/mindterm/mindterm-3.0.1.ebuild,v 1.6 2007/05/18 19:03:25 welp Exp $
inherit eutils java-pkg-2 java-ant-2
DESCRIPTION="A Java SSH Client"
HOMEPAGE="http://www.appgate.com/products/80_MindTerm/"
SRC_URI="http://www.appgate.com/products/80_MindTerm/110_MindTerm_Download/${P/-/_}-src.zip"
LICENSE="mindterm"
SLOT="0"
KEYWORDS="amd64 ppc x86"
IUSE="doc examples"
RDEPEND=">=virtual/jre-1.3"
DEPEND=">=virtual/jdk-1.3
app-arch/unzip
|| ( dev-java/ant-nodeps dev-java/ant-tasks )"
S=${WORKDIR}/${P/-/_}
src_compile() {
ANT_TASKS="ant-nodeps" eant mindterm.jar lite $(use_doc doc)
}
src_install() {
java-pkg_dojar *.jar
java-pkg_dolauncher ${PN} --main com.mindbright.application.MindTerm
dodoc README.txt || die
use doc && java-pkg_dojavadoc javadoc
use examples && java-pkg_doexamples "${S}/examples/"
}
|