summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeinrich Wendel <lanius@gentoo.org>2005-09-19 20:49:05 +0000
committerHeinrich Wendel <lanius@gentoo.org>2005-09-19 20:49:05 +0000
commit50ca172e39cec854b44884b7b35ef8c81f9a8190 (patch)
treef765e82c058c95738130d3d5665e10bc365f83a1 /dev-java/bluej-bin
parent1.6-r3 x86 stable (diff)
downloadgentoo-2-50ca172e39cec854b44884b7b35ef8c81f9a8190.tar.gz
gentoo-2-50ca172e39cec854b44884b7b35ef8c81f9a8190.tar.bz2
gentoo-2-50ca172e39cec854b44884b7b35ef8c81f9a8190.zip
version bump
(Portage version: 2.0.51.22-r2)
Diffstat (limited to 'dev-java/bluej-bin')
-rw-r--r--dev-java/bluej-bin/ChangeLog8
-rw-r--r--dev-java/bluej-bin/bluej-bin-2.0.5.ebuild67
-rw-r--r--dev-java/bluej-bin/files/digest-bluej-bin-2.0.54
3 files changed, 78 insertions, 1 deletions
diff --git a/dev-java/bluej-bin/ChangeLog b/dev-java/bluej-bin/ChangeLog
index 5fad2e8c0dd7..43b0c4633432 100644
--- a/dev-java/bluej-bin/ChangeLog
+++ b/dev-java/bluej-bin/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-java/bluej-bin
# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/bluej-bin/ChangeLog,v 1.13 2005/05/06 09:51:50 swegener Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/bluej-bin/ChangeLog,v 1.14 2005/09/19 20:49:05 lanius Exp $
+
+*bluej-bin-2.0.5 (20 Sep 2005)
+
+ 20 Sep 2005; Heinrich Wendel <lanius@gentoo.org> files/bluej-bin-2.0.4,
+ +bluej-bin-2.0.5.ebuild:
+ version bump
06 May 2005; Sven Wegener <swegener@gentoo.org> bluej-bin-1.3.5.ebuild:
Removed * postfix from <, <=, >= and > dependencies.
diff --git a/dev-java/bluej-bin/bluej-bin-2.0.5.ebuild b/dev-java/bluej-bin/bluej-bin-2.0.5.ebuild
new file mode 100644
index 000000000000..35a00bc7ade8
--- /dev/null
+++ b/dev-java/bluej-bin/bluej-bin-2.0.5.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/bluej-bin/bluej-bin-2.0.5.ebuild,v 1.1 2005/09/19 20:49:05 lanius Exp $
+
+inherit java-pkg
+
+IUSE="doc"
+
+MY_P=${P//.}
+MY_P=${MY_P/-bin}
+DESCRIPTION="BlueJ is an integrated Java environment specifically designed for introductory teaching."
+SRC_URI="http://www.bluej.org/download/files/${MY_P}.jar
+ doc? ( http://www.bluej.org/tutorial/tutorial.pdf
+ http://www.bluej.org/reference/BlueJ-reference.pdf
+ http://www.bluej.org/tutorial/testing-tutorial.pdf )"
+HOMEPAGE="http://www.bluej.org"
+
+LICENSE="freedist"
+SLOT="0"
+KEYWORDS="~x86 ~sparc ~ppc ~amd64"
+
+DEPEND="app-arch/unzip"
+RDEPEND=">=virtual/jre-1.4
+ dev-java/antlr
+ dev-java/junit"
+
+
+src_unpack()
+{
+ unzip -qq ${DISTDIR}/${MY_P}.jar -d ${S}
+ if use doc; then
+ cp ${DISTDIR}/manual.pdf ${S}
+ cp ${DISTDIR}/*tutorial.pdf ${S}
+ fi
+ unzip -qq ${S}/Installer.class -d ${S}
+
+ cd ${S}/lib
+ rm junit.jar antlr.jar
+}
+
+src_compile() { :; }
+
+src_install()
+{
+ dodir /usr/share/${PN}
+ cp -R lib ${D}/usr/share/${PN}/
+ java-pkg_dojar lib/*.jar
+ cp -R examples ${D}/usr/share/${PN}/
+
+ newbin ${FILESDIR}/${PN}-2.0.4 bluej
+
+ dodir /etc
+ mv ${D}/usr/share/${PN}/lib/bluej.defs ${D}/etc
+ dosym /etc/bluej.defs /usr/share/${PN}/lib/bluej.defs
+
+ # TODO: replace this with an better solution
+ # works for the moment, though
+ ln -s `java-config -p antlr` ${D}/usr/share/${PN}/lib
+ ln -s `java-config -p junit` ${D}/usr/share/${PN}/lib
+
+ if use doc; then
+ dodoc *.pdf
+ fi
+
+ insinto /usr/share/applications
+ doins ${FILESDIR}/bluej.desktop
+}
diff --git a/dev-java/bluej-bin/files/digest-bluej-bin-2.0.5 b/dev-java/bluej-bin/files/digest-bluej-bin-2.0.5
new file mode 100644
index 000000000000..6007a5f761d8
--- /dev/null
+++ b/dev-java/bluej-bin/files/digest-bluej-bin-2.0.5
@@ -0,0 +1,4 @@
+MD5 0ad560803c6fb8f4aa25e9eedfacf27e bluej-205.jar 2213521
+MD5 dfd6d4787764ea5ea6b15098a391365f tutorial.pdf 442394
+MD5 f6b3c305a69dcce1f37bceb9bb4f0566 BlueJ-reference.pdf 666599
+MD5 cbee912298325ebc6689b4f23a6e80aa testing-tutorial.pdf 269284