summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Brinkmann <luckyduck@gentoo.org>2005-01-27 18:39:52 +0000
committerJan Brinkmann <luckyduck@gentoo.org>2005-01-27 18:39:52 +0000
commita9cb0bbf23ee6795409066bcdef01ab01fa8ef28 (patch)
treebe7353e0d00712dc5ba7201faecc17eea2f13c02 /net-misc/mindterm
parentadded examples useflag to net-misc/mindterm (diff)
downloadgentoo-2-a9cb0bbf23ee6795409066bcdef01ab01fa8ef28.tar.gz
gentoo-2-a9cb0bbf23ee6795409066bcdef01ab01fa8ef28.tar.bz2
gentoo-2-a9cb0bbf23ee6795409066bcdef01ab01fa8ef28.zip
moved from app-misc to net-misc, also now build from source. fixes bug #79610 and #79611.
(Portage version: 2.0.51-r15)
Diffstat (limited to 'net-misc/mindterm')
-rw-r--r--net-misc/mindterm/ChangeLog11
-rw-r--r--net-misc/mindterm/Manifest4
-rw-r--r--net-misc/mindterm/files/2.4.2-buildxml.patch38
-rw-r--r--net-misc/mindterm/files/digest-mindterm-2.4.21
-rw-r--r--net-misc/mindterm/metadata.xml5
-rw-r--r--net-misc/mindterm/mindterm-2.4.2.ebuild54
6 files changed, 113 insertions, 0 deletions
diff --git a/net-misc/mindterm/ChangeLog b/net-misc/mindterm/ChangeLog
new file mode 100644
index 000000000000..763aec16b109
--- /dev/null
+++ b/net-misc/mindterm/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for net-misc/mindterm
+# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/mindterm/ChangeLog,v 1.1 2005/01/27 18:39:52 luckyduck Exp $
+
+*mindterm-2.4.2 (27 Jan 2005)
+
+ 27 Jan 2005; Jan Brinkmann <luckyduck@gentoo.org> +metadata.xml,
+ +files/2.4.2-buildxml.patch, +mindterm-2.4.2.ebuild:
+ moved from app-misc to net-misc, also now build from source. fixes bug #79610
+ and #79611.
+
diff --git a/net-misc/mindterm/Manifest b/net-misc/mindterm/Manifest
new file mode 100644
index 000000000000..5cbbe894a889
--- /dev/null
+++ b/net-misc/mindterm/Manifest
@@ -0,0 +1,4 @@
+MD5 4127fabcedf0386c8ba54696930fdc4e mindterm-2.4.2.ebuild 821
+MD5 26c0b1cebcbecee86d841d777d59f8b1 2.4.2-buildxml.patch 1225
+MD5 a6ec7d7724fbd068ffb39b5be56134ed metadata.xml 157
+MD5 dadd3c7dad54c71db8facb7891677489 files/digest-mindterm-2.4.2 67
diff --git a/net-misc/mindterm/files/2.4.2-buildxml.patch b/net-misc/mindterm/files/2.4.2-buildxml.patch
new file mode 100644
index 000000000000..13ce76a74b6a
--- /dev/null
+++ b/net-misc/mindterm/files/2.4.2-buildxml.patch
@@ -0,0 +1,38 @@
+--- build.xml.orig 2005-01-27 16:49:47.297475504 +0100
++++ build.xml 2005-01-27 16:55:55.893440400 +0100
+@@ -15,9 +15,6 @@
+ <property name="doc" location="javadoc"/>
+ <property name="src" location="."/>
+
+- <taskdef name="javamake"
+- classname="com.sun.tools.javamake.ant.JavaMake"/>
+-
+ &filesets;
+
+ <target name="init">
+@@ -31,20 +28,18 @@
+
+ <target name="compile" depends="init"
+ description="Compile all classes except examples">
+- <javamake destdir="${build.mindterm}" srcdir="." target="1.1"
+- pdbFilename="${build.mindterm}/mindterm.pdb">
++ <javac destdir="${build.mindterm}" srcdir="." target="1.1">
+ <include name="com/**"/>
+ <include name="netscape/**"/>
+- </javamake>
++ </javac>
+ </target>
+
+ <target name="compile_examples" depends="init, mindterm.jar"
+ description="Compile examples">
+- <javamake destdir="${build.examples}" srcdir="."
+- classpath="mindterm.jar"
+- pdbFilename="${build.examples}/examples.pdb">
++ <javac destdir="${build.examples}" srcdir="."
++ classpath="mindterm.jar">
+ <include name="examples/**"/>
+- </javamake>
++ </javac>
+ </target>
+
+ <target name="mindterm.jar" depends="compile"
diff --git a/net-misc/mindterm/files/digest-mindterm-2.4.2 b/net-misc/mindterm/files/digest-mindterm-2.4.2
new file mode 100644
index 000000000000..88732c215616
--- /dev/null
+++ b/net-misc/mindterm/files/digest-mindterm-2.4.2
@@ -0,0 +1 @@
+MD5 23acda5be4785f821b58b0e04da8f918 mindterm_2.4.2-src.zip 878872
diff --git a/net-misc/mindterm/metadata.xml b/net-misc/mindterm/metadata.xml
new file mode 100644
index 000000000000..838c00a4a448
--- /dev/null
+++ b/net-misc/mindterm/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>java</herd>
+</pkgmetadata>
diff --git a/net-misc/mindterm/mindterm-2.4.2.ebuild b/net-misc/mindterm/mindterm-2.4.2.ebuild
new file mode 100644
index 000000000000..6ad2ef0e64dc
--- /dev/null
+++ b/net-misc/mindterm/mindterm-2.4.2.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/mindterm/mindterm-2.4.2.ebuild,v 1.1 2005/01/27 18:39:52 luckyduck Exp $
+
+inherit eutils java-pkg
+
+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 ~sparc ~alpha ~amd64"
+IUSE="doc examples jikes"
+RDEPEND="virtual/x11
+ >=virtual/jre-1.1"
+DEPEND=">=virtual/jdk-1.1
+ app-arch/unzip
+ jikes? ( dev-java/jikes )"
+S=${WORKDIR}/${P/-/_}
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+
+ epatch ${FILESDIR}/${PV}-buildxml.patch
+}
+
+src_compile() {
+ local antflags="mindterm.jar lite"
+ use doc && antflags="${antflags} doc"
+ use jikes && antflags="${antflags} -Dbuild.compiler=jikes"
+ ant ${antflags} || die "ant failed"
+}
+
+src_install() {
+ java-pkg_dojar *.jar
+
+ echo "#!/bin/sh" > ${PN}
+ echo "cp=\`java-config -p mindterm\`" >> ${PN}
+ echo "\`java-config -J\` -cp \${cp} com.mindbright.application.MindTerm \$*" >> ${PN}
+
+ into /usr
+ dobin ${PN}
+
+ dodoc README.txt LICENSE.txt
+ use doc && java-pkg_dohtml -r javadoc/*
+
+ if use examples; then
+ dodir /usr/share/doc/${PF}/examples
+ cp -r ${S}/examples/* ${D}/usr/share/doc/${PF}/examples
+ fi
+}
+