/[gentoo-x86]/net-misc/mindterm/mindterm-3.4.ebuild
Gentoo

Contents of /net-misc/mindterm/mindterm-3.4.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Fri Feb 3 22:51:56 2012 UTC (7 years, 10 months ago) by ranger
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +2 -2 lines
Marking mindterm-3.4 ppc for bug 397173

(Portage version: 2.1.10.11/cvs/Linux ppc64)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-misc/mindterm/mindterm-3.4.ebuild,v 1.3 2012/01/28 15:18:41 phajdan.jr Exp $
4
5 EAPI="2"
6 WANT_ANT_TASKS="ant-nodeps"
7 JAVA_PKG_IUSE="doc test examples"
8 inherit eutils java-pkg-2 java-ant-2
9
10 MY_P=${P/-/_}
11
12 DESCRIPTION="A Java SSH Client"
13 HOMEPAGE="http://www.appgate.com/products/80_MindTerm/"
14 SRC_URI="http://www.appgate.com/downloads/MindTerm-${PV}/${MY_P}-src.zip"
15
16 LICENSE="mindterm"
17 SLOT="0"
18 KEYWORDS="amd64 ppc x86"
19 IUSE=""
20 COMMON_DEP="dev-java/jzlib:0"
21 RDEPEND=">=virtual/jre-1.4
22 ${COMMON_DEP}"
23 DEPEND=">=virtual/jdk-1.4
24 app-arch/unzip
25 ${COMMON_DEP}"
26
27 S=${WORKDIR}/${MY_P}
28
29 JAVA_PKG_FILTER_COMPILER="jikes"
30 EANT_BUILD_TARGET="mindterm.jar lite"
31 EANT_DOC_TARGET="doc"
32 EANT_GENTOO_CLASSPATH="jzlib"
33 JAVA_ANT_CLASSPATH_TAGS+=" javadoc"
34
35 src_prepare() {
36 java-pkg-2_src_prepare
37 java-ant_rewrite-classpath
38 rm -vr com/jcraft || die "Failed to remove bundled jcraft"
39 }
40
41 # Don't even compile
42 RESTRICT="test"
43 src_test() {
44 ANT_TASKS="ant-junit ant-nodeps" eant test \
45 -Dgentoo.classpath="$(java-pkg_getjars jzlib,junit):mindterm.jar"
46 }
47
48 src_install() {
49 java-pkg_dojar *.jar
50
51 java-pkg_dolauncher ${PN} --main com.mindbright.application.MindTerm
52
53 dodoc README.txt RELEASE_NOTES.txt CHANGES || die
54 use doc && java-pkg_dojavadoc javadoc
55 use examples && java-pkg_doexamples "${S}/examples/"
56 }

  ViewVC Help
Powered by ViewVC 1.1.20