summaryrefslogtreecommitdiff
path: root/dev-util/bluej
diff options
context:
space:
mode:
Diffstat (limited to 'dev-util/bluej')
-rw-r--r--dev-util/bluej/Manifest9
-rw-r--r--dev-util/bluej/bluej-3.1.1.ebuild58
-rw-r--r--dev-util/bluej/files/bluej.wrapper6
-rw-r--r--dev-util/bluej/metadata.xml5
4 files changed, 78 insertions, 0 deletions
diff --git a/dev-util/bluej/Manifest b/dev-util/bluej/Manifest
new file mode 100644
index 000000000000..8218b8359698
--- /dev/null
+++ b/dev-util/bluej/Manifest
@@ -0,0 +1,9 @@
+AUX bluej.wrapper 167 SHA256 2b64a8705a82a057430e058950c673dd5162eccde754452262010d4c2e8947e6 SHA512 fb2ed5d87687f9e64c23871f4dbbb510771fbca97ea787b7da52346848b48bc038199153c3f1a554a609daf38e5458ea81a187ce6deaf408f1088c088a30c7d2 WHIRLPOOL 600c53af1a973eb0144d33cf03762deab1829a3db3e2731aba01938ebf3814d6a5e48edea403a987e83a1d97614b4b8b4e5461cea66e7578faebf29eb18451e6
+DIST BlueJ-source-311.zip 15564184 SHA256 a46df90291d1a7ae1d3088ea090def6b077d837c9d177c4d7582fe4ec6b26442 SHA512 60515f8564f0edf96ffba69ff43c199c024da12ac5601cba5f163c5682c9466717e2048593582ad2fe5d61988380e3fb9205825ec8967e99983c8a2a02f5144a WHIRLPOOL 156435663fef87052199d2aae8c4010b75f9ccb7c53ac5a7907d9e4c0346534d93011e0bf0f88303826c8d507974028664729f43c508893cff26b272206cfa0e
+DIST bluej-ref-manual.pdf 768751 SHA256 a6c514fcc79ffa1450c6313bae8b92ebe6c6939580cdf1a38e885a4cf71cffc3 SHA512 7f7e8cc2eab6402722eb8f94c878b506f595eee280cdfa85497d926cb06aa229defb0c8fbe5353dbbf6587e36a99ad5dae0a50fca21c1c80c88a92647d9b5319 WHIRLPOOL 476cc9058ecb4f79d9e4f3ccbec3a299f0f3deb357245bac0ab64e3bf0ce4e49f8aedfd5cbfe389b31c6d99e21491b6a002383bfa284eb0b9b4282545dbad6fe
+DIST bluej-testing-tutorial.pdf 269284 SHA256 07605ab6dd9743b6c971aaa932a3e8218057034af08d24ac90a09a74a5eb5599 SHA512 015da66cbf4940ca4bcab535023608a8497e7c6df1e06988393f8f0c7300a4521025474bf828e7889ff717e988968a2e973330758bf6dd570c057a837c78a9b5 WHIRLPOOL 472cbda358804a809ef61b8d1be947cba637e56068f3b0365f6ce808c0d076208b4b4430dfd6bb81eca987de407556e9bf83e019057f95320681a69ef2abe9b9
+DIST bluej-tutorial-2.0.1.pdf 1205655 SHA256 a6587a178ac7c071696884d9318aa33ade543898c5722caf61308acd77092db2 SHA512 410acbb75091d14b5ee7f5d56c01441a9611ed1f8b583c0301e1badf3d01bd2bb284da77d422c38ace283e7fe066b7975c772859697d25d6e9b334053d2f4833 WHIRLPOOL 27b1f934e2d08c261d32f385aa65ee826add4cb056257c6ab5e8c2e2b54a9f0fc884882bc4f611a1d87fe423706b8c4578b7c40060cceb46571924ee5d64b30d
+EBUILD bluej-3.1.1.ebuild 1467 SHA256 7f1836cbd61039bc1185e876b826669bc8d86039546ef543db21ff9facb49b5d SHA512 8c577cc0408653bd9a72d91b9b83e91dcf458a9f0d54698ad941ad403612ed1fe91f50b651f51ce7ede57f3209b025b61cf742fd2b2dc50fd6b880359fc772a7 WHIRLPOOL cea907e2029128d6b50f3da4641a49277cecfddb44780ae5c187201556dda77ec5215724a4b1a4c5e59742cbbbffabe6cd55efee58cc24b1b621599f2cd6c6d2
+MISC ChangeLog 2538 SHA256 6a0a3d613e1bc28183f6f2cbf71eda3405bdc20d463e6bbff9b9ba2739ce5993 SHA512 7013c239f3768f73a9e402fb71512b4fc9a866910d47417bf72959f4430663e31a06b929bda58350ec6f9464f0fd4cc137990f1eda18be8340bb4050bcdc8245 WHIRLPOOL 539c7fde1c403dc825f5acc2722719eac6e5813bfbc39e198b9bff4a635180cf51f17b9d04a39bdf650e9d068f25f1286f78475c0913fcebf12bc08727965499
+MISC ChangeLog-2015 1772 SHA256 2fec17f10cbbddd89c583af6859ff0882123b0c570b4d14742ba87676262528c SHA512 73b6a61ee4093a4b4d52317290d28da52d54ab7bfce2bcbe70bc2c80d37538a920e56a9646edb5ca6c9eafc6f5eb99edb0c3781a131d433f49f16a9a29cb7e5a WHIRLPOOL 83be09328e4a2883f0159f84cb7c66c38c9a0bbd6f3c8c57bdcda463e38061b782eaf19d1e644cbab026dbb89589c589a7598a18cdb178d52eda84ab6d6f41cf
+MISC metadata.xml 166 SHA256 2caff447f5bd2701d8456ada5cc633c41ef4373fa4bfeabeb73599d40bcc941b SHA512 a56648c974a1d14dd4c18237532773c72057a13ab90c58b5da04f185e3c12a8bd8d5c21fb06053507f31766291a82dc7d87b34cd65fd94cfe2af7295c813ef84 WHIRLPOOL 1ff70497eca6531f0e0614c72a19f4b8e5ff486a58d369f4f0b36308d1d6b01168f9da887740e3b9f536236be251d3fe05f904d27a9233a7cf613416ba882968
diff --git a/dev-util/bluej/bluej-3.1.1.ebuild b/dev-util/bluej/bluej-3.1.1.ebuild
new file mode 100644
index 000000000000..b38d355a8265
--- /dev/null
+++ b/dev-util/bluej/bluej-3.1.1.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+JAVA_PKG_IUSE="doc examples source"
+EANT_BUILD_TARGET="ready-to-run"
+EANT_DOC_TARGET="doc-core"
+
+inherit eutils java-pkg-2 java-ant-2
+
+DOC_PV="2.0.1"
+
+DESCRIPTION="An integrated Java environment for introductory teaching"
+HOMEPAGE="http://bluej.org/"
+SRC_URI="http://www.bluej.org/download/files/source/BlueJ-source-${PV//./}.zip
+doc? ( http://bluej.org/download/files/${PN}-ref-manual.pdf
+ http://bluej.org/tutorial/tutorial-${DOC_PV//.}.pdf -> ${PN}-tutorial-${DOC_PV}.pdf
+ http://bluej.org/tutorial/testing-tutorial.pdf -> ${PN}-testing-tutorial.pdf )"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 x86"
+
+RDEPEND=">=virtual/jdk-1.5.0"
+DEPEND="${RDEPEND}
+ app-arch/unzip"
+
+S=${WORKDIR}
+
+java_prepare() {
+ sed -i \
+ -e "s:^build_java_home=.*$:build_java_home=$(java-config -O):" \
+ -e "/^bluej_home/d" \
+ build.properties || die
+}
+
+src_install() {
+ insinto /usr/share/${PN}
+ doins -r lib icons
+
+ # fix config location and set symlink
+ dodir /etc
+ mv "${D}"/{usr/share/${PN}/lib,etc}/${PN}.defs
+ dosym /{etc,usr/share/${PN}/lib}/${PN}.defs
+
+ use source && java-pkg_dosrc src/${PN}/*
+
+ insinto /usr/share/doc/${PF}
+ use examples && { doins -r examples
+ docompress -x /usr/share/doc/${P}/examples ; }
+ use doc && { doins "${DISTDIR}"/${PN}-*.pdf
+ dohtml -r doc/all/* ; }
+
+ newbin "${FILESDIR}"/${PN}.wrapper ${PN}
+
+ make_desktop_entry ${PN} Blue-J
+}
diff --git a/dev-util/bluej/files/bluej.wrapper b/dev-util/bluej/files/bluej.wrapper
new file mode 100644
index 000000000000..8d5fe5278092
--- /dev/null
+++ b/dev-util/bluej/files/bluej.wrapper
@@ -0,0 +1,6 @@
+#!/bin/sh
+APPBASE="/usr/share/bluej"
+JAVAPATH="$(java-config -O)"
+CP="$APPBASE/lib/bluej.jar:$JAVAPATH/lib/tools.jar"
+"$JAVAPATH/bin/java" -cp "$CP" bluej.Boot "$@"
+
diff --git a/dev-util/bluej/metadata.xml b/dev-util/bluej/metadata.xml
new file mode 100644
index 000000000000..6f49eba8f496
--- /dev/null
+++ b/dev-util/bluej/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<!-- maintainer-needed -->
+</pkgmetadata>