diff options
author | Jason Wever <weeve@gentoo.org> | 2005-04-03 18:25:41 +0000 |
---|---|---|
committer | Jason Wever <weeve@gentoo.org> | 2005-04-03 18:25:41 +0000 |
commit | 2d11ffa3de26949f260bdbf49f6b9aecfedbb236 (patch) | |
tree | c20e2a4644ae954308dd964e8698479ca2a8b258 /dev-java/jswat/jswat-2.25.ebuild | |
parent | new version (diff) | |
download | gentoo-2-2d11ffa3de26949f260bdbf49f6b9aecfedbb236.tar.gz gentoo-2-2d11ffa3de26949f260bdbf49f6b9aecfedbb236.tar.bz2 gentoo-2-2d11ffa3de26949f260bdbf49f6b9aecfedbb236.zip |
Re-added jswat-2.25 as it was the latest ~sparc version and was mistakenly removed.
(Portage version: 2.0.51.19)
Diffstat (limited to 'dev-java/jswat/jswat-2.25.ebuild')
-rw-r--r-- | dev-java/jswat/jswat-2.25.ebuild | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/dev-java/jswat/jswat-2.25.ebuild b/dev-java/jswat/jswat-2.25.ebuild new file mode 100644 index 000000000000..64701a958358 --- /dev/null +++ b/dev-java/jswat/jswat-2.25.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/jswat/jswat-2.25.ebuild,v 1.7 2005/04/03 18:25:41 weeve Exp $ + +inherit java-pkg eutils + +DESCRIPTION="Extensible graphical Java debugger" +HOMEPAGE="http://www.bluemarsh.com/java/jswat" +SRC_URI="mirror://sourceforge/jswat/${PN}-src-${PV}.tar.gz" + +LICENSE="GPL-2" +SLOT="2" +KEYWORDS="~x86 ~sparc -ppc ~amd64" +IUSE="doc jikes" #junit" + +DEPEND=">=virtual/jdk-1.4 + >=dev-java/ant-1.5 + app-arch/unzip + jikes? ( dev-java/jikes )" + #junit? ( dev-java/junit )" +RDEPEND=">=virtual/jdk-1.4" + +src_unpack() { + unpack ${A} + cd ${S} + epatch ${FILESDIR}/build.xml.patch +} + +src_compile() { + local antopts="-Dversion=${PV}" + use jikes && antopts="${antopts} -Dbuild.compiler=jikes" + ant ${antopts} dist || die "Compile failed" + + # Junits tests run inside a X window, disable. + #if use junit ; then + # addwrite /root/.java/ + # einfo "Running JUnit tests, this may take awhile ..." + # ant ${antopts} test || die "Junit test failed" + #fi +} + +src_install() { + # install jswat classes + java-pkg_dojar build/dist/*/*.jar + + # prepare and install jswat script + dobin ${FILESDIR}/jswat2 + + # install documents + dodoc BUGS.txt HISTORY.txt LICENSE.txt OLD_HISTORY.txt TODO.txt + dohtml README.html + use doc && java-pkg_dohtml -r docs +} |