summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDylan Carlson <absinthe@gentoo.org>2004-02-25 08:08:08 +0000
committerDylan Carlson <absinthe@gentoo.org>2004-02-25 08:08:08 +0000
commit94a6ec9e99c5109b19304cecc428859e023551d2 (patch)
tree35a4b04ccb2606b09b49c6a0a23dbe410f75755e /dev-java/jswat/jswat-2.21.ebuild
parentMoving to app-sci (diff)
downloadgentoo-2-94a6ec9e99c5109b19304cecc428859e023551d2.tar.gz
gentoo-2-94a6ec9e99c5109b19304cecc428859e023551d2.tar.bz2
gentoo-2-94a6ec9e99c5109b19304cecc428859e023551d2.zip
Version bump, and header fixes. Keyword change -ppc on jswat-2* due to dependency problems.
Diffstat (limited to 'dev-java/jswat/jswat-2.21.ebuild')
-rw-r--r--dev-java/jswat/jswat-2.21.ebuild51
1 files changed, 51 insertions, 0 deletions
diff --git a/dev-java/jswat/jswat-2.21.ebuild b/dev-java/jswat/jswat-2.21.ebuild
new file mode 100644
index 000000000000..cc2c98f553d9
--- /dev/null
+++ b/dev-java/jswat/jswat-2.21.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jswat/jswat-2.21.ebuild,v 1.1 2004/02/25 08:08:08 absinthe Exp $
+
+inherit java-pkg
+
+S="${WORKDIR}/${PN}-${PV}"
+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"
+DEPEND=">=dev-java/ant-1.5"
+RDEPEND=">=virtual/jdk-1.4"
+IUSE="doc jikes junit"
+
+src_compile() {
+ epatch ${FILESDIR}/${P}.diff
+ # antopts="-Dversion=${PV}"
+ use jikes && antopts="${antopts} -Dbuild.compiler=jikes"
+ ant ${antopts} dist || die "Compile failed"
+
+ # Make sure junit tasks get built if we have junit
+ if [ -f "/usr/share/junit/lib/junit.jar" ] ; then
+ export CLASSPATH="/usr/share/junit/lib/junit.jar"
+ export DEP_APPEND="junit"
+ if [ `use junit` ]
+ then
+ einfo "Running JUnit tests, this may take awhile ..."
+ ant ${antopts} test || die "Junit test failed"
+ fi
+ fi
+
+}
+
+src_install () {
+ # install jswat classes
+ java-pkg_dojar \
+ build/dist/${P}/*.jar \
+ classes/ext/parser.jar \
+ classes/ext/jclasslib.jar
+
+ # prepare and install jswat script
+ dobin ${FILESDIR}/jswat2
+
+ # install documents
+ dodoc AUTHORS.txt BUGS.txt HISTORY.txt LICENSE.txt OLD_HISTORY.txt TODO.txt
+ dohtml README.html
+ use doc && dohtml -r docs
+}