summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeinrich Wendel <lanius@gentoo.org>2003-10-10 22:48:52 +0000
committerHeinrich Wendel <lanius@gentoo.org>2003-10-10 22:48:52 +0000
commitc5eef69f4099554a2db714e2b81a32bea43c0d8e (patch)
treed3d80f952b8385d71964719d500e19ee10e6339f /dev-java/bluej
parentVersion bump. (diff)
downloadgentoo-2-c5eef69f4099554a2db714e2b81a32bea43c0d8e.tar.gz
gentoo-2-c5eef69f4099554a2db714e2b81a32bea43c0d8e.tar.bz2
gentoo-2-c5eef69f4099554a2db714e2b81a32bea43c0d8e.zip
moved bluej from app-misc to dev-java
Diffstat (limited to 'dev-java/bluej')
-rw-r--r--dev-java/bluej/ChangeLog31
-rw-r--r--dev-java/bluej/Manifest8
-rw-r--r--dev-java/bluej/bluej-1.2.2.ebuild53
-rw-r--r--dev-java/bluej/bluej-1.3.0.ebuild63
-rw-r--r--dev-java/bluej/files/bluej4
-rw-r--r--dev-java/bluej/files/bluej.desktop12
-rw-r--r--dev-java/bluej/files/digest-bluej-1.2.23
-rw-r--r--dev-java/bluej/files/digest-bluej-1.3.03
-rw-r--r--dev-java/bluej/metadata.xml9
9 files changed, 186 insertions, 0 deletions
diff --git a/dev-java/bluej/ChangeLog b/dev-java/bluej/ChangeLog
new file mode 100644
index 000000000000..a0e1a62b7a54
--- /dev/null
+++ b/dev-java/bluej/ChangeLog
@@ -0,0 +1,31 @@
+# ChangeLog for app-misc/bluej
+# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/bluej/ChangeLog,v 1.1 2003/10/10 22:48:46 lanius Exp $
+
+*bluej-1.2.2 (11 Oct 2003)
+
+ 11 Oct 2003; Heinrich Wendel <lanius@gentoo.org> bluej-1.2.2.ebuild,
+ bluej-1.3.0.ebuild, metadata.xml, files/bluej, files/bluej.desktop:
+ moved from app-misc to dev-java
+
+ 10 Oct 2003; Heinrich Wendel <lanius@gentoo.org> bluej-1.3.0.ebuild,
+ metadata.xml:
+ bug #30766
+
+*bluej-1.3.0 (06 Oct 2003)
+
+ 06 Oct 2003; Heinrich Wendel <lanius@gentoo.org> bluej-1.3.0.ebuild,
+ files/bluej:
+ version bump
+
+ 25 May 2003; Todd Berman <tberman@gentoo.org> bluej-1.2.2.ebuild,
+ files/bluej:
+ blackdown is a valid jdk for this too.
+
+*bluej-1.2.2 (24 May 2003)
+
+ 24 May 2003; Todd Berman <tberman@gentoo.org> bluej-1.2.2.ebuild,
+ files/bluej:
+ Initial Import, thanks to Heinrich Wendel for the ebuild submission this is
+ based on
+
diff --git a/dev-java/bluej/Manifest b/dev-java/bluej/Manifest
new file mode 100644
index 000000000000..67e93810e2ed
--- /dev/null
+++ b/dev-java/bluej/Manifest
@@ -0,0 +1,8 @@
+MD5 7c7e0c1bf663a730286dd0e4f33a2330 bluej-1.3.0.ebuild 1441
+MD5 22c9ada846d5fe8d0bb3e758134b471b ChangeLog 971
+MD5 503ccb1138f9c49f0855884d830988a6 metadata.xml 253
+MD5 0146688f14ddccfc40814da864f9f102 bluej-1.2.2.ebuild 1209
+MD5 dc091e8adc602f493ddc2d222240133c files/bluej 115
+MD5 ac193d7badaaf8349132498c13ba3416 files/bluej.desktop 260
+MD5 7ae514074352749242eaad65fc86619d files/digest-bluej-1.2.2 169
+MD5 0236435bbde2b04789397bc4476bccf7 files/digest-bluej-1.3.0 170
diff --git a/dev-java/bluej/bluej-1.2.2.ebuild b/dev-java/bluej/bluej-1.2.2.ebuild
new file mode 100644
index 000000000000..55c7ad0eaa17
--- /dev/null
+++ b/dev-java/bluej/bluej-1.2.2.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/bluej/bluej-1.2.2.ebuild,v 1.1 2003/10/10 22:48:46 lanius Exp $
+
+inherit java-pkg
+
+IUSE="doc"
+
+MY_P="bluej-122"
+
+DESCRIPTION="BlueJ is an integrated Java environment specifically designed for introductory teaching."
+SRC_URI="ftp://ftp.bluej.org/pub/bluej/${MY_P}.jar
+ doc? ( http://www.bluej.org/tutorial/tutorial.pdf
+ http://www.bluej.org/reference/manual.pdf )"
+HOMEPAGE="http://www.bluej.org"
+
+LICENSE="freedist"
+SLOT="0"
+KEYWORDS="x86 ~ppc ~sparc"
+
+DEPEND=">=virtual/jdk-1.4*"
+
+src_unpack()
+{
+ unzip ${DISTDIR}/${MY_P}.jar -d ${S}
+ if [ "`use doc`" ]; then
+ cp ${DISTDIR}/manual.pdf ${S}
+ cp ${DISTDIR}/tutorial.pdf ${S}
+ fi
+ unzip ${S}/Installer.class -d ${S}
+}
+
+src_compile() {
+ einfo "No compilation required"
+}
+
+src_install()
+{
+ dodir /usr/share/bluej/
+ cp -R lib ${D}/usr/share/bluej/
+ java-pkg_dojar lib/*.jar
+ java-pkg_dojar lib/*.zip
+ cp -R examples ${D}/usr/share/bluej/
+
+ dobin ${FILESDIR}/bluej
+
+ dodir /etc
+ dosym /usr/share/bluej/lib/bluej.defs /etc/bluej.defs
+
+ if [ "`use doc`" ]; then
+ dodoc tutorial.pdf manual.pdf
+ fi
+}
diff --git a/dev-java/bluej/bluej-1.3.0.ebuild b/dev-java/bluej/bluej-1.3.0.ebuild
new file mode 100644
index 000000000000..fa80610570a0
--- /dev/null
+++ b/dev-java/bluej/bluej-1.3.0.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/bluej/bluej-1.3.0.ebuild,v 1.1 2003/10/10 22:48:46 lanius Exp $
+
+inherit java-pkg
+
+IUSE="doc gnome kde"
+
+MY_P=`echo ${P}|sed -e 's/\.//g'`
+
+DESCRIPTION="BlueJ is an integrated Java environment specifically designed for introductory teaching."
+SRC_URI="ftp://ftp.bluej.org/pub/bluej/${MY_P}.jar
+ doc? ( http://www.bluej.org/tutorial/tutorial.pdf
+ http://www.bluej.org/reference/manual.pdf )"
+HOMEPAGE="http://www.bluej.org"
+
+LICENSE="freedist"
+SLOT="0"
+KEYWORDS="~x86 ~ppc ~sparc"
+
+DEPEND=">=virtual/jdk-1.4*"
+
+src_unpack()
+{
+ unzip ${DISTDIR}/${MY_P}.jar -d ${S}
+ if [ "`use doc`" ]; then
+ cp ${DISTDIR}/manual.pdf ${S}
+ cp ${DISTDIR}/tutorial.pdf ${S}
+ fi
+ unzip ${S}/Installer.class -d ${S}
+}
+
+src_compile() {
+ einfo "No compilation required"
+}
+
+src_install()
+{
+ dodir /usr/share/bluej/
+ cp -R lib ${D}/usr/share/bluej/
+ java-pkg_dojar lib/*.jar
+ java-pkg_dojar lib/*.zip
+ cp -R examples ${D}/usr/share/bluej/
+
+ dobin ${FILESDIR}/bluej
+
+ dodir /etc
+ dosym /usr/share/bluej/lib/bluej.defs /etc/bluej.defs
+
+ if [ "`use doc`" ]; then
+ dodoc tutorial.pdf manual.pdf
+ fi
+
+ if [ "`use gnome`" ]; then
+ insinto /usr/share/applications
+ doins ${FILESDIR}/bluej.desktop
+ fi
+
+ if [ "`use kde`" ]; then
+ insinto /usr/share/applnk/Development
+ doins ${FILESDIR}/bluej.desktop
+ fi
+}
diff --git a/dev-java/bluej/files/bluej b/dev-java/bluej/files/bluej
new file mode 100644
index 000000000000..7f5e63ad746f
--- /dev/null
+++ b/dev-java/bluej/files/bluej
@@ -0,0 +1,4 @@
+#!/bin/sh
+APPBASE="/usr/share/bluej"
+CP="${APPBASE}/lib/bluej.jar"
+`java-config --java` -jar "${CP}" bluej.Main $*
diff --git a/dev-java/bluej/files/bluej.desktop b/dev-java/bluej/files/bluej.desktop
new file mode 100644
index 000000000000..a6fbbfbcab33
--- /dev/null
+++ b/dev-java/bluej/files/bluej.desktop
@@ -0,0 +1,12 @@
+[Desktop Entry]
+Encoding=UTF-8
+Type=Application
+Exec=bluej
+TryExec=
+Icon=/usr/share/bluej/lib/images/bluej-icon.gif
+X-GNOME-DocPath=
+Terminal=false
+Name=BlueJ
+GenericName=
+Comment=Integrated Development Environment for Java
+Categories=Application;Development;
diff --git a/dev-java/bluej/files/digest-bluej-1.2.2 b/dev-java/bluej/files/digest-bluej-1.2.2
new file mode 100644
index 000000000000..fb8ec3392507
--- /dev/null
+++ b/dev-java/bluej/files/digest-bluej-1.2.2
@@ -0,0 +1,3 @@
+MD5 ec480c16a3aa2cb61db9cebcf3653841 bluej-122.jar 840926
+MD5 dfd6d4787764ea5ea6b15098a391365f tutorial.pdf 442394
+MD5 6ab122a0ff6b7eeab62e34bf8de8df0b manual.pdf 80133
diff --git a/dev-java/bluej/files/digest-bluej-1.3.0 b/dev-java/bluej/files/digest-bluej-1.3.0
new file mode 100644
index 000000000000..431b9cbfe6d6
--- /dev/null
+++ b/dev-java/bluej/files/digest-bluej-1.3.0
@@ -0,0 +1,3 @@
+MD5 687588dd5629fcebf49c7987d88620ad bluej-130.jar 1849392
+MD5 dfd6d4787764ea5ea6b15098a391365f tutorial.pdf 442394
+MD5 6ab122a0ff6b7eeab62e34bf8de8df0b manual.pdf 80133
diff --git a/dev-java/bluej/metadata.xml b/dev-java/bluej/metadata.xml
new file mode 100644
index 000000000000..c3504b40c506
--- /dev/null
+++ b/dev-java/bluej/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>no-herd</herd>
+<maintainer>
+ <email>lanius@gentoo.org</email>
+ <name>Heinrich Wendel</name>
+</maintainer>
+</pkgmetadata>