summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSerkan Kaba <serkan@gentoo.org>2011-03-12 13:16:06 +0000
committerSerkan Kaba <serkan@gentoo.org>2011-03-12 13:16:06 +0000
commit6bc42051fa268b641d41b76452bf8635ba1d9625 (patch)
tree48c69950f55f84df98cd88d695f1d7347a1a8b9a /net-misc/mindterm
parentversion bump, thanks to Olivier Huber in bug 357473 (diff)
downloadgentoo-2-6bc42051fa268b641d41b76452bf8635ba1d9625.tar.gz
gentoo-2-6bc42051fa268b641d41b76452bf8635ba1d9625.tar.bz2
gentoo-2-6bc42051fa268b641d41b76452bf8635ba1d9625.zip
Version bump.
(Portage version: 2.2.0_alpha25/cvs/Linux x86_64)
Diffstat (limited to 'net-misc/mindterm')
-rw-r--r--net-misc/mindterm/ChangeLog9
-rw-r--r--net-misc/mindterm/mindterm-3.4.ebuild56
2 files changed, 63 insertions, 2 deletions
diff --git a/net-misc/mindterm/ChangeLog b/net-misc/mindterm/ChangeLog
index bc6c371993f8..12151554f8f4 100644
--- a/net-misc/mindterm/ChangeLog
+++ b/net-misc/mindterm/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-misc/mindterm
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/mindterm/ChangeLog,v 1.24 2009/02/01 09:13:03 serkan Exp $
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/mindterm/ChangeLog,v 1.25 2011/03/12 13:16:06 serkan Exp $
+
+*mindterm-3.4 (12 Mar 2011)
+
+ 12 Mar 2011; Serkan Kaba <serkan@gentoo.org> +mindterm-3.4.ebuild:
+ Version bump.
*mindterm-3.2-r1 (01 Feb 2009)
diff --git a/net-misc/mindterm/mindterm-3.4.ebuild b/net-misc/mindterm/mindterm-3.4.ebuild
new file mode 100644
index 000000000000..159dc84c4564
--- /dev/null
+++ b/net-misc/mindterm/mindterm-3.4.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/mindterm/mindterm-3.4.ebuild,v 1.1 2011/03/12 13:16:06 serkan Exp $
+
+EAPI="2"
+WANT_ANT_TASKS="ant-nodeps"
+JAVA_PKG_IUSE="doc test examples"
+inherit eutils java-pkg-2 java-ant-2
+
+MY_P=${P/-/_}
+
+DESCRIPTION="A Java SSH Client"
+HOMEPAGE="http://www.appgate.com/products/80_MindTerm/"
+SRC_URI="http://www.appgate.com/downloads/MindTerm-${PV}/${MY_P}-src.zip"
+
+LICENSE="mindterm"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE=""
+COMMON_DEP="dev-java/jzlib:0"
+RDEPEND=">=virtual/jre-1.4
+ ${COMMON_DEP}"
+DEPEND=">=virtual/jdk-1.4
+ app-arch/unzip
+ ${COMMON_DEP}"
+
+S=${WORKDIR}/${MY_P}
+
+JAVA_PKG_FILTER_COMPILER="jikes"
+EANT_BUILD_TARGET="mindterm.jar lite"
+EANT_DOC_TARGET="doc"
+EANT_GENTOO_CLASSPATH="jzlib"
+JAVA_ANT_CLASSPATH_TAGS+=" javadoc"
+
+src_prepare() {
+ java-pkg-2_src_prepare
+ java-ant_rewrite-classpath
+ rm -vr com/jcraft || die "Failed to remove bundled jcraft"
+}
+
+# Don't even compile
+RESTRICT="test"
+src_test() {
+ ANT_TASKS="ant-junit ant-nodeps" eant test \
+ -Dgentoo.classpath="$(java-pkg_getjars jzlib,junit):mindterm.jar"
+}
+
+src_install() {
+ java-pkg_dojar *.jar
+
+ java-pkg_dolauncher ${PN} --main com.mindbright.application.MindTerm
+
+ dodoc README.txt RELEASE_NOTES.txt CHANGES || die
+ use doc && java-pkg_dojavadoc javadoc
+ use examples && java-pkg_doexamples "${S}/examples/"
+}