summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-misc/mindterm')
-rw-r--r--net-misc/mindterm/ChangeLog7
-rw-r--r--net-misc/mindterm/files/digest-mindterm-3.1.23
-rw-r--r--net-misc/mindterm/mindterm-3.1.2.ebuild51
3 files changed, 60 insertions, 1 deletions
diff --git a/net-misc/mindterm/ChangeLog b/net-misc/mindterm/ChangeLog
index 874c8124f27f..d23b1985e7f4 100644
--- a/net-misc/mindterm/ChangeLog
+++ b/net-misc/mindterm/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-misc/mindterm
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/mindterm/ChangeLog,v 1.9 2007/04/29 10:57:43 betelgeuse Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/mindterm/ChangeLog,v 1.10 2007/04/29 13:30:25 betelgeuse Exp $
+
+*mindterm-3.1.2 (29 Apr 2007)
+
+ 29 Apr 2007; Petteri Räty <betelgeuse@gentoo.org> +mindterm-3.1.2.ebuild:
+ Version bump. Uses system installed copy of jzlib now.
29 Apr 2007; Petteri Räty <betelgeuse@gentoo.org> mindterm-3.0.1.ebuild:
Only ant-core is not enough, mindterm needs ant-nodeps. Use
diff --git a/net-misc/mindterm/files/digest-mindterm-3.1.2 b/net-misc/mindterm/files/digest-mindterm-3.1.2
new file mode 100644
index 000000000000..2071ab0ac027
--- /dev/null
+++ b/net-misc/mindterm/files/digest-mindterm-3.1.2
@@ -0,0 +1,3 @@
+MD5 25daf1235dd9b250df59a2d78f86e106 mindterm_3.1.2-src.zip 1185108
+RMD160 c5dcdd522b9078d6890fd76e2bf47c0a312907fd mindterm_3.1.2-src.zip 1185108
+SHA256 c03227cd578b9230e68f1c4e95880b74fb575724bfa674f258c854808971e116 mindterm_3.1.2-src.zip 1185108
diff --git a/net-misc/mindterm/mindterm-3.1.2.ebuild b/net-misc/mindterm/mindterm-3.1.2.ebuild
new file mode 100644
index 000000000000..89bd12d8b80d
--- /dev/null
+++ b/net-misc/mindterm/mindterm-3.1.2.ebuild
@@ -0,0 +1,51 @@
+# 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.1.2.ebuild,v 1.1 2007/04/29 13:30:25 betelgeuse Exp $
+
+WANT_ANT_TASKS="ant-nodeps"
+
+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="~x86 ~ppc ~amd64"
+IUSE="doc examples"
+COMMON_DEP="dev-java/jzlib"
+RDEPEND=">=virtual/jre-1.4
+ ${COMMON_DEP}"
+DEPEND=">=virtual/jdk-1.4
+ app-arch/unzip
+ ${COMMON_DEP}"
+S=${WORKDIR}/${P/-/_}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ java-ant_rewrite-classpath
+ rm -vr com/jcraft || die "Failed to remove bundled jcraft"
+}
+
+EANT_BUILD_TARGET="mindterm.jar lite"
+EANT_DOC_TARGET="doc"
+EANT_GENTOO_CLASSPATH="jzlib"
+
+# 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/"
+}