diff options
author | Dylan Carlson <absinthe@gentoo.org> | 2003-05-24 10:45:50 +0000 |
---|---|---|
committer | Dylan Carlson <absinthe@gentoo.org> | 2003-05-24 10:45:50 +0000 |
commit | 7bef9976188fde620f153df3a662bae3b66d08dd (patch) | |
tree | ef833d10823c496aa86a8e78a33e6a5214697485 /dev-java/jswat | |
parent | Initial import of 1.7.1 to support JDK 1.3. Fixed package descriptions as ap... (diff) | |
download | historical-7bef9976188fde620f153df3a662bae3b66d08dd.tar.gz historical-7bef9976188fde620f153df3a662bae3b66d08dd.tar.bz2 historical-7bef9976188fde620f153df3a662bae3b66d08dd.zip |
Initial import of 1.7.1 to support JDK 1.3. Fixed package descriptions as appropriate.
Diffstat (limited to 'dev-java/jswat')
-rw-r--r-- | dev-java/jswat/Manifest | 8 | ||||
-rw-r--r-- | dev-java/jswat/files/digest-jswat-1.7.1 | 1 | ||||
-rw-r--r-- | dev-java/jswat/files/jswat | 48 | ||||
-rw-r--r-- | dev-java/jswat/jswat-1.7.1.ebuild | 33 | ||||
-rw-r--r-- | dev-java/jswat/jswat-2.17-r1.ebuild | 4 |
5 files changed, 88 insertions, 6 deletions
diff --git a/dev-java/jswat/Manifest b/dev-java/jswat/Manifest index 7208b1d479af..28188ad4c382 100644 --- a/dev-java/jswat/Manifest +++ b/dev-java/jswat/Manifest @@ -1,7 +1,7 @@ -MD5 6832ea3df6e5d1c43d37aae716306834 jswat-1.7.1.ebuild 876 -MD5 33149f9d1d3b6c4f957da931444f3d5b jswat-2.17-r1.ebuild 1412 -MD5 7e7cef68c8c47bbb0dc4db116f4a466f ChangeLog 1770 -MD5 669098a547fc8bba8ef46f9152a94e64 files/jswat 1421 +MD5 904c915f8fa543ecd1eac23dab88618a jswat-1.7.1.ebuild 874 +MD5 17529a79fb3863c37c560e1357003af1 jswat-2.17-r1.ebuild 1412 +MD5 cfee037d09cf83c5a3ee000fefc31f32 ChangeLog 1770 +MD5 cd73b809ca54bfad49d364a277bcf1ae files/jswat 1420 MD5 c52b5e917a5ec237a0b62111506885ca files/jswat2 1258 MD5 b7b3e490432793c593c9694f882a2163 files/digest-jswat-1.7.1 64 MD5 118ed7a87e5e670070676eaaa139f77a files/digest-jswat-2.17-r1 67 diff --git a/dev-java/jswat/files/digest-jswat-1.7.1 b/dev-java/jswat/files/digest-jswat-1.7.1 new file mode 100644 index 000000000000..3ac8034b783f --- /dev/null +++ b/dev-java/jswat/files/digest-jswat-1.7.1 @@ -0,0 +1 @@ +MD5 26e2792f7faee7ae4ededc2485d0277f jswat-1.7.1.tar.gz 1167433 diff --git a/dev-java/jswat/files/jswat b/dev-java/jswat/files/jswat new file mode 100644 index 000000000000..50e63921c2ec --- /dev/null +++ b/dev-java/jswat/files/jswat @@ -0,0 +1,48 @@ +#!/bin/sh +# jswat Launch Script +# Author: Dylan Carlson +# May 2003 +# $Header: /var/cvsroot/gentoo-x86/dev-java/jswat/files/jswat,v 1.1 2003/05/24 10:45:47 absinthe Exp $ + +JSWAT_VER="1.7.1" + +JAVA_HOME=`/usr/bin/java-config --jdk-home` +if [ -z "${JAVA_HOME}" ] ; then + JAVA_HOME=`/usr/bin/java-config --jre-home` +fi +CLASSPATH="${JAVA_HOME}/lib/tools.jar:`/usr/bin/java-config --classpath=jswat-${JSWAT_VER}`:${CLASSPATH}" + +if [ ! -f ${JAVA_HOME}/bin/java ] ; then + echo " " + echo "I tried using the following Java Runtime:" + echo "${JAVA_HOME}/bin/java" + echo " " + echo "Java Runtime missing. Please run java-config(1) and ensure" + echo "your environment is configured properly." + exit 1 +else + echo " " + echo "Using Java Runtime:" + echo "${JAVA_HOME}/bin/java" + echo " " + echo "Using CLASSPATH:" + echo "${CLASSPATH}" + echo " " +fi + +# Make sure we're using 1.3 JDK + +if [ -z `echo ${JAVA_HOME} | grep "1.3"` ] ; then + echo "!!! JDK 1.2 or 1.3 is required for this " + echo "!!! version of jswat (${JSWAT_VER}). " + echo "!!! " + echo "!!! Please run java-config(1) and configure " + echo "!!! your system to use a 1.2 or 1.3 JDK. " + echo "!!! " + echo "!!! Emerge jswat-2.* for 1.4 JDKs, and use " + echo "!!! jswat2 to launch. " + echo " " + exit 1 +fi + +${JAVA_HOME}/bin/java com.bluemarsh.jswat.Main $@ diff --git a/dev-java/jswat/jswat-1.7.1.ebuild b/dev-java/jswat/jswat-1.7.1.ebuild new file mode 100644 index 000000000000..4366bdd09646 --- /dev/null +++ b/dev-java/jswat/jswat-1.7.1.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/jswat/jswat-1.7.1.ebuild,v 1.1 2003/05/24 10:45:47 absinthe Exp $ + +inherit java-pkg + +S="${WORKDIR}/${PN}-${PV}" +DESCRIPTION="Extensible graphical Java debugger for JDK 1.3" +HOMEPAGE="http://www.bluemarsh.com/java/jswat" +SRC_URI="mirror://sourceforge/jswat/${P}.tar.gz" +LICENSE="GPL-2" +SLOT="1" +KEYWORDS="x86 sparc ppc" +DEPEND="" +RDEPEND=">=virtual/jdk-1.3" +IUSE="doc" + +src_compile() { + einfo " This is a binary (bytecode) only ebuild." +} + +src_install () { + # install jswat classes + java-pkg_dojar jswat.jar parser.jar + + # prepare and install jswat script + dobin ${FILESDIR}/jswat + + # install documents + dodoc AUTHORS.txt BUGS.txt HISTORY.txt LICENSE.txt TODO.txt + dohtml README.html + use doc && dohtml -r docs +} diff --git a/dev-java/jswat/jswat-2.17-r1.ebuild b/dev-java/jswat/jswat-2.17-r1.ebuild index 72cd7fc4c6eb..639b9c3c8b69 100644 --- a/dev-java/jswat/jswat-2.17-r1.ebuild +++ b/dev-java/jswat/jswat-2.17-r1.ebuild @@ -1,11 +1,11 @@ # Copyright 1999-2002 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/jswat/jswat-2.17-r1.ebuild,v 1.1 2003/05/24 10:24:45 absinthe Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/jswat/jswat-2.17-r1.ebuild,v 1.2 2003/05/24 10:45:47 absinthe Exp $ inherit java-pkg S="${WORKDIR}/${PN}-${PV}" -DESCRIPTION="Extensible graphical Java debugger" +DESCRIPTION="Extensible graphical Java debugger for JDK 1.4" HOMEPAGE="http://www.bluemarsh.com/java/jswat" SRC_URI="mirror://sourceforge/jswat/${PN}-src-${PV}.tar.gz" LICENSE="GPL-2" |