diff options
author | Julian Ospald <hasufell@gentoo.org> | 2013-06-23 13:02:40 +0000 |
---|---|---|
committer | Julian Ospald <hasufell@gentoo.org> | 2013-06-23 13:02:40 +0000 |
commit | e6a94ab1775df73d9ced6e1b77085d0771f4e963 (patch) | |
tree | 0b4004a8971cdf498a2aa55694cfd0257c51f141 /dev-util/bluej | |
parent | Add USE=+deprecated for gtk2 dependency, add live ebuild for gtk3 development. (diff) | |
download | gentoo-2-e6a94ab1775df73d9ced6e1b77085d0771f4e963.tar.gz gentoo-2-e6a94ab1775df73d9ced6e1b77085d0771f4e963.tar.bz2 gentoo-2-e6a94ab1775df73d9ced6e1b77085d0771f4e963.zip |
version bump
(Portage version: 2.2.0_alpha184/cvs/Linux x86_64, signed Manifest commit with key E73C35B3)
Diffstat (limited to 'dev-util/bluej')
-rw-r--r-- | dev-util/bluej/ChangeLog | 7 | ||||
-rw-r--r-- | dev-util/bluej/bluej-3.1.0.ebuild | 59 |
2 files changed, 65 insertions, 1 deletions
diff --git a/dev-util/bluej/ChangeLog b/dev-util/bluej/ChangeLog index 1b3ea81176e3..e667be09d6d4 100644 --- a/dev-util/bluej/ChangeLog +++ b/dev-util/bluej/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-util/bluej # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/bluej/ChangeLog,v 1.6 2013/04/15 08:51:10 ago Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-util/bluej/ChangeLog,v 1.7 2013/06/23 13:02:40 hasufell Exp $ + +*bluej-3.1.0 (23 Jun 2013) + + 23 Jun 2013; Julian Ospald <hasufell@gentoo.org> +bluej-3.1.0.ebuild: + version bump 15 Apr 2013; Agostino Sarubbo <ago@gentoo.org> bluej-3.0.9.ebuild: Stable for x86, wrt bug #464438 diff --git a/dev-util/bluej/bluej-3.1.0.ebuild b/dev-util/bluej/bluej-3.1.0.ebuild new file mode 100644 index 000000000000..c068c9dfddb7 --- /dev/null +++ b/dev-util/bluej/bluej-3.1.0.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-util/bluej/bluej-3.1.0.ebuild,v 1.1 2013/06/23 13:02:40 hasufell Exp $ + +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 +} |