summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Brinkmann <luckyduck@gentoo.org>2005-01-17 19:29:31 +0000
committerJan Brinkmann <luckyduck@gentoo.org>2005-01-17 19:29:31 +0000
commit7cf348bdbd12e16bf09b0ddeeb78ad61a5defa57 (patch)
tree99b320a91f11fca930857d3462ce0450405f00fa /dev-java/bluej-bin
parentMoved libtool/autoconf/automake to DEPEND (diff)
downloadgentoo-2-7cf348bdbd12e16bf09b0ddeeb78ad61a5defa57.tar.gz
gentoo-2-7cf348bdbd12e16bf09b0ddeeb78ad61a5defa57.tar.bz2
gentoo-2-7cf348bdbd12e16bf09b0ddeeb78ad61a5defa57.zip
some generall improvements, fixed some deps and rewrote the startup script. also removed a packed jar issue. version bump which fixes bug #78307.
(Portage version: 2.0.51-r12)
Diffstat (limited to 'dev-java/bluej-bin')
-rw-r--r--dev-java/bluej-bin/ChangeLog9
-rw-r--r--dev-java/bluej-bin/Manifest10
-rw-r--r--dev-java/bluej-bin/bluej-bin-2.0.4.ebuild66
-rw-r--r--dev-java/bluej-bin/files/bluej-bin-2.0.44
-rw-r--r--dev-java/bluej-bin/files/digest-bluej-bin-2.0.44
5 files changed, 88 insertions, 5 deletions
diff --git a/dev-java/bluej-bin/ChangeLog b/dev-java/bluej-bin/ChangeLog
index 1c4fabbcaccf..d080f36a79b3 100644
--- a/dev-java/bluej-bin/ChangeLog
+++ b/dev-java/bluej-bin/ChangeLog
@@ -1,6 +1,13 @@
# 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.8 2005/01/01 18:11:57 eradicator Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/bluej-bin/ChangeLog,v 1.9 2005/01/17 19:29:31 luckyduck Exp $
+
+*bluej-bin-2.0.4 (17 Jan 2005)
+
+ 17 Jan 2005; Jan Brinkmann <luckyduck@gentoo.org> +files/bluej-bin-2.0.4,
+ +bluej-bin-2.0.4.ebuild:
+ some generall improvements, fixed some deps and rewrote the startup script.
+ also removed a packed jar issue. version bump which fixes bug #78307.
23 Nov 2004; Sven Wegener <swegener@gentoo.org> :
Fixed digest.
diff --git a/dev-java/bluej-bin/Manifest b/dev-java/bluej-bin/Manifest
index 436337a9d357..21a4f054ef97 100644
--- a/dev-java/bluej-bin/Manifest
+++ b/dev-java/bluej-bin/Manifest
@@ -1,8 +1,10 @@
-MD5 69fd0fe6ddd6e528a344f4f74f09bf53 ChangeLog 2492
+MD5 b9fa6775ce5762b3f21527b81aeb9c92 bluej-bin-2.0.2.ebuild 1332
+MD5 b9fa6775ce5762b3f21527b81aeb9c92 bluej-bin-2.0.4.ebuild 1332
MD5 bc8c34133f2bafad44dd40386359272b bluej-bin-1.3.5.ebuild 1397
+MD5 69fd0fe6ddd6e528a344f4f74f09bf53 ChangeLog 2492
MD5 503ccb1138f9c49f0855884d830988a6 metadata.xml 253
-MD5 b9fa6775ce5762b3f21527b81aeb9c92 bluej-bin-2.0.2.ebuild 1332
-MD5 dc091e8adc602f493ddc2d222240133c files/bluej 115
-MD5 ac193d7badaaf8349132498c13ba3416 files/bluej.desktop 260
MD5 96b0da96c131cc5326e8f464fc7c9529 files/digest-bluej-bin-1.3.5 245
MD5 1003eeb273cd6c519302bf6cb93c7ef3 files/digest-bluej-bin-2.0.2 245
+MD5 1c7558be7cd285e1978311bb1d2ac5fc files/digest-bluej-bin-2.0.4 245
+MD5 dc091e8adc602f493ddc2d222240133c files/bluej 115
+MD5 ac193d7badaaf8349132498c13ba3416 files/bluej.desktop 260
diff --git a/dev-java/bluej-bin/bluej-bin-2.0.4.ebuild b/dev-java/bluej-bin/bluej-bin-2.0.4.ebuild
new file mode 100644
index 000000000000..0add5c004d67
--- /dev/null
+++ b/dev-java/bluej-bin/bluej-bin-2.0.4.ebuild
@@ -0,0 +1,66 @@
+# 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.4.ebuild,v 1.1 2005/01/17 19:29:31 luckyduck 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"
+
+
+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}/${P} 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/bluej-bin-2.0.4 b/dev-java/bluej-bin/files/bluej-bin-2.0.4
new file mode 100644
index 000000000000..957d80bde8ed
--- /dev/null
+++ b/dev-java/bluej-bin/files/bluej-bin-2.0.4
@@ -0,0 +1,4 @@
+#!/bin/sh
+APPBASE="/usr/share/bluej-bin"
+CP=`java-config -p bluej-bin`:`java-config -p antlr`
+`java-config --java` -cp "${CP}" bluej.Boot $*
diff --git a/dev-java/bluej-bin/files/digest-bluej-bin-2.0.4 b/dev-java/bluej-bin/files/digest-bluej-bin-2.0.4
new file mode 100644
index 000000000000..aa521548eed5
--- /dev/null
+++ b/dev-java/bluej-bin/files/digest-bluej-bin-2.0.4
@@ -0,0 +1,4 @@
+MD5 bda224a8a9d209941fa187b577c15a97 bluej-204.jar 2200221
+MD5 dfd6d4787764ea5ea6b15098a391365f tutorial.pdf 442394
+MD5 f6b3c305a69dcce1f37bceb9bb4f0566 BlueJ-reference.pdf 666599
+MD5 cbee912298325ebc6689b4f23a6e80aa testing-tutorial.pdf 269284