diff options
author | Todd Berman <tberman@gentoo.org> | 2003-05-25 00:28:44 +0000 |
---|---|---|
committer | Todd Berman <tberman@gentoo.org> | 2003-05-25 00:28:44 +0000 |
commit | 8d55c363538b69c52124ef97b0e52a0a6f336dde (patch) | |
tree | 4dbd6577c42054e715ebe33615704afa48d4174a /app-misc | |
parent | Initial Import. (diff) | |
download | historical-8d55c363538b69c52124ef97b0e52a0a6f336dde.tar.gz historical-8d55c363538b69c52124ef97b0e52a0a6f336dde.tar.bz2 historical-8d55c363538b69c52124ef97b0e52a0a6f336dde.zip |
Initial Import.
Diffstat (limited to 'app-misc')
-rw-r--r-- | app-misc/bluej/Manifest | 3 | ||||
-rw-r--r-- | app-misc/bluej/bluej-1.2.2.ebuild | 53 | ||||
-rw-r--r-- | app-misc/bluej/files/bluej | 6 | ||||
-rw-r--r-- | app-misc/bluej/files/digest-bluej-1.2.2 | 3 |
4 files changed, 64 insertions, 1 deletions
diff --git a/app-misc/bluej/Manifest b/app-misc/bluej/Manifest index cf9e76243877..a8de7923288f 100644 --- a/app-misc/bluej/Manifest +++ b/app-misc/bluej/Manifest @@ -1,3 +1,4 @@ -MD5 c13e017b838a90f12095333108fb1061 bluej-1.2.2.ebuild 1120 +MD5 996a6764bde16368bd45a38b43897e36 bluej-1.2.2.ebuild 1217 +MD5 106db78f3b5ddecc998eeaa75da5a123 ChangeLog 412 MD5 6b734eba94ec8da27887f6cf38c109fe files/bluej 260 MD5 7ae514074352749242eaad65fc86619d files/digest-bluej-1.2.2 169 diff --git a/app-misc/bluej/bluej-1.2.2.ebuild b/app-misc/bluej/bluej-1.2.2.ebuild new file mode 100644 index 000000000000..fa63de6e6349 --- /dev/null +++ b/app-misc/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/app-misc/bluej/bluej-1.2.2.ebuild,v 1.1 2003/05/25 00:28:38 tberman 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=">=dev-java/sun-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/app-misc/bluej/files/bluej b/app-misc/bluej/files/bluej new file mode 100644 index 000000000000..27ad856d6079 --- /dev/null +++ b/app-misc/bluej/files/bluej @@ -0,0 +1,6 @@ +#!/bin/sh +if [ "`java-config --javac | grep sun `" ]; then + `java-config --java` -cp "`java-config --classpath=bluej`:`java-config --jdk-home`/lib/tools.jar" bluej.Main $* +else + echo "You must be running the sun jdk for this application to work properly." +fi diff --git a/app-misc/bluej/files/digest-bluej-1.2.2 b/app-misc/bluej/files/digest-bluej-1.2.2 new file mode 100644 index 000000000000..fb8ec3392507 --- /dev/null +++ b/app-misc/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 |