public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] dev/fordfrog:master commit in: dev-java/netbeans-groovy/, dev-java/netbeans-cnd/, dev-java/netbeans-php/, ...
@ 2014-10-03  8:59 Miroslav Šulc
  0 siblings, 0 replies; only message in thread
From: Miroslav Šulc @ 2014-10-03  8:59 UTC (permalink / raw
  To: gentoo-commits

commit:     843f3dcc35c016e7241bcb113240bf2afc26d3a0
Author:     Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
AuthorDate: Fri Oct  3 08:59:52 2014 +0000
Commit:     Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
CommitDate: Fri Oct  3 08:59:52 2014 +0000
URL:        http://sources.gentoo.org/gitweb/?p=dev/fordfrog.git;a=commit;h=843f3dcc

netbeans: bumped to the latest sources

---
 dev-java/netbeans-apisupport/ChangeLog             |   6 +
 dev-java/netbeans-apisupport/Manifest              |   4 +-
 .../netbeans-apisupport-9999_p20141003.ebuild      | 111 ++++++
 dev-java/netbeans-cnd/ChangeLog                    |   6 +
 dev-java/netbeans-cnd/Manifest                     |   4 +-
 .../netbeans-cnd-9999_p20141003.ebuild             | 125 +++++++
 dev-java/netbeans-dlight/ChangeLog                 |   6 +
 dev-java/netbeans-dlight/Manifest                  |   4 +-
 .../netbeans-dlight-9999_p20141003.ebuild          | 101 ++++++
 dev-java/netbeans-enterprise/ChangeLog             |   6 +
 dev-java/netbeans-enterprise/Manifest              |   4 +-
 .../netbeans-enterprise-9999_p20141003.ebuild      | 249 ++++++++++++++
 dev-java/netbeans-ergonomics/ChangeLog             |   6 +
 dev-java/netbeans-ergonomics/Manifest              |   4 +-
 .../netbeans-ergonomics-9999_p20141003.ebuild      | 101 ++++++
 dev-java/netbeans-extide/ChangeLog                 |   6 +
 dev-java/netbeans-extide/Manifest                  |   4 +-
 .../netbeans-extide-9999_p20141003.ebuild          | 108 ++++++
 dev-java/netbeans-groovy/ChangeLog                 |   6 +
 dev-java/netbeans-groovy/Manifest                  |   4 +-
 .../netbeans-groovy-9999_p20141003.ebuild          | 111 ++++++
 dev-java/netbeans-harness/ChangeLog                |   6 +
 dev-java/netbeans-harness/Manifest                 |   4 +-
 .../netbeans-harness-9999_p20141003.ebuild         | 114 +++++++
 dev-java/netbeans-ide/ChangeLog                    |   6 +
 dev-java/netbeans-ide/Manifest                     |   4 +-
 .../netbeans-ide-9999_p20141003.ebuild             | 371 +++++++++++++++++++++
 dev-java/netbeans-java/ChangeLog                   |   6 +
 dev-java/netbeans-java/Manifest                    |   4 +-
 .../netbeans-java-9999_p20141003.ebuild            | 253 ++++++++++++++
 dev-java/netbeans-javacard/ChangeLog               |   6 +
 dev-java/netbeans-javacard/Manifest                |   4 +-
 .../netbeans-javacard-9999_p20141003.ebuild        | 134 ++++++++
 dev-java/netbeans-javadoc/ChangeLog                |   6 +
 dev-java/netbeans-javadoc/Manifest                 |   4 +-
 .../netbeans-javadoc-9999_p20141003.ebuild         | 168 ++++++++++
 dev-java/netbeans-javafx/ChangeLog                 |   6 +
 dev-java/netbeans-javafx/Manifest                  |   4 +-
 .../netbeans-javafx-9999_p20141003.ebuild          | 124 +++++++
 dev-java/netbeans-mobility/ChangeLog               |   6 +
 dev-java/netbeans-mobility/Manifest                |   4 +-
 .../netbeans-mobility-9999_p20141003.ebuild        | 126 +++++++
 dev-java/netbeans-nb/ChangeLog                     |   6 +
 dev-java/netbeans-nb/Manifest                      |   4 +-
 .../netbeans-nb/netbeans-nb-9999_p20141003.ebuild  | 148 ++++++++
 dev-java/netbeans-php/ChangeLog                    |   6 +
 dev-java/netbeans-php/Manifest                     |   4 +-
 .../netbeans-php-9999_p20141003.ebuild             | 127 +++++++
 dev-java/netbeans-platform/ChangeLog               |   6 +
 dev-java/netbeans-platform/Manifest                |   4 +-
 .../netbeans-platform-9999_p20141003.ebuild        | 153 +++++++++
 dev-java/netbeans-profiler/ChangeLog               |   6 +
 dev-java/netbeans-profiler/Manifest                |   4 +-
 .../netbeans-profiler-9999_p20141003.ebuild        | 121 +++++++
 dev-java/netbeans-webcommon/ChangeLog              |   6 +
 dev-java/netbeans-webcommon/Manifest               |   4 +-
 .../netbeans-webcommon-9999_p20141003.ebuild       | 125 +++++++
 dev-java/netbeans-websvccommon/ChangeLog           |   6 +
 dev-java/netbeans-websvccommon/Manifest            |   4 +-
 .../netbeans-websvccommon-9999_p20141003.ebuild    |  94 ++++++
 dev-util/netbeans/ChangeLog                        |   6 +
 dev-util/netbeans/Manifest                         |   4 +-
 dev-util/netbeans/netbeans-9999_p20141003.ebuild   | 264 +++++++++++++++
 63 files changed, 3417 insertions(+), 21 deletions(-)

diff --git a/dev-java/netbeans-apisupport/ChangeLog b/dev-java/netbeans-apisupport/ChangeLog
index e38b1a9..5f1c61c 100644
--- a/dev-java/netbeans-apisupport/ChangeLog
+++ b/dev-java/netbeans-apisupport/ChangeLog
@@ -2,6 +2,12 @@
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+*netbeans-apisupport-9999_p20141003 (03 Oct 2014)
+
+  03 Oct 2014; Miroslav Šulc <fordfrog@gentoo.org>
+  +netbeans-apisupport-9999_p20141003.ebuild:
+  bumped to the latest sources
+
 *netbeans-apisupport-9999_p20141001 (01 Oct 2014)
 
   01 Oct 2014; Miroslav Šulc <fordfrog@gentoo.org>

diff --git a/dev-java/netbeans-apisupport/Manifest b/dev-java/netbeans-apisupport/Manifest
index 06757d1..cf75128 100644
--- a/dev-java/netbeans-apisupport/Manifest
+++ b/dev-java/netbeans-apisupport/Manifest
@@ -20,6 +20,7 @@ DIST netbeans-trunk-nightly-201409260001-src.zip 197125028 SHA256 0b2e8f0b10eb02
 DIST netbeans-trunk-nightly-201409280001-src.zip 197332446 SHA256 eac6b2e0b19817527b56f73f188b53b3f297ce5c20a01be3ccc6902ff2f94ed4 SHA512 fbf694a7138146ceb96ccf0d172b9f8031fd2eb3e06aa438386912bf7ea458874ee7041e25e672db2f297875e03fd75f48e8f4410d2e5153f090e2c09d62bc86 WHIRLPOOL a33730b5f76c4aa67476f70961c0ff5fa1916b9caa87173f1c8a57715fd414c65d77ac9d91cf9a1aacd1c6b6ae070595e7becb4394efcaf14759e10d83aaf4de
 DIST netbeans-trunk-nightly-201409300001-src.zip 197332445 SHA256 c306ca40b2bb2ca3f3a4d3ea10fea43b0bcdaaba31291ec5bdb4dbc7d3e67e34 SHA512 91d56515b70db2c2e0deb22938c38e6b45011eeb74083b474fdad64f7851911fcd93612cf08cfc0e5e03ca0e2a79530c59232dbf865853630640c26cc3105d48 WHIRLPOOL 29423713433df87c5f589742beb10682391dc8fea5b5512948709627b8a31cb802962e8845420fec19cde09672b823470f485c21ea85573fdb20af620b54ba55
 DIST netbeans-trunk-nightly-201410010001-src.zip 197355068 SHA256 0d284d68152ca0da1c8dfb7149e5b2638133fe3be6790f312c9959e59528144b SHA512 33ce5f22e9d3ac55d4f7b4b353956a39e030dee6380c5f379fba810f3ec86f8b36e88b773dbbf8bc3c430fc58caba9097764b7eac2d44ce2a25129f8f20fa4f2 WHIRLPOOL b4228286acec04cb321ca8aba60af42a7a1e2c20de1f657773166021a36e284b5ac4f49e9dbf8a51d81577b0d49d387707de3fcc0a622fd13b57c7d704b3da00
+DIST netbeans-trunk-nightly-201410030001-src.zip 197355085 SHA256 f915305ddfd881aaf161ca366c2af9eb29e954c971e73580aaab68cc0836f53e SHA512 d681dd706f0ca188fd5c8d055c88396e33a4e5b3f956017273e0834c755cb6905427c7a9f1dc12c05668580b2ce09caef1b5ea18e2f15384e06900f6cc197df5 WHIRLPOOL a93aa92eabd9120ec1923d6f7af586bead3915691a795d45e2929623b34c52d267091203c7b6d4e2bf0b1629624e6a49ad2d28bddce35ab9508bdc099aa511ed
 EBUILD netbeans-apisupport-7.0.1.ebuild 3134 SHA256 41c32033c9945a39c0aebb6b0271767031d53a47e5c8365d9e3a7c86712e24cd SHA512 dd4bdde9574a87b46b02fd7204b1e90394bd87dc572dfa015b601203b026b35571f20323db834a310f90aefe6e4a822044b0d71d535a7351137219b50ecb2aa8 WHIRLPOOL f3721521a33b337d7dc24d6b49b0b2fe723f5ec446a5a4befb085051140a41bfd2d3081876e9f02f8b9932a3a0997b92211cd964fe372e40b42813df5db5170e
 EBUILD netbeans-apisupport-7.1.2.ebuild 3143 SHA256 cf24048c0ecca98a7d6371624bb0ddfb78663bead073d515a7c84229dbec00a8 SHA512 ec44c263e786210fd64c9ebb253bc9d4fc34d3be9493157dad06007c19734672bfd767765c003393d1e5cc6755fd5d1eda956b00c2092e98592a73ec1af4e729 WHIRLPOOL d619c304a994a2b818d892fb6315d092588f2ebf95e566f7a909f92daf21bb368a28c4e1af876ae585980dc82996e62aba30b12c41461103c23620a215480b76
 EBUILD netbeans-apisupport-7.2.ebuild 3126 SHA256 b0d64795b8403a932e3e20721a116c755c4de66fc36f7191476fcb4a226bad13 SHA512 cea062a72a8e75a9c2fe91c323f83d542a70149336360e1c41479f401fcae5ead6a301c8a7d5704d5beb27f7810b5d1e3cff0196cce7a26890a001c570179f6a WHIRLPOOL c286f4e4d3a02cbeb1a6e13b2005dc5435a6e9ec026a98fcc00bb83222014b800cd83f437c69352b48d16bdf442a6c7ebbed6aff86f10b3c5e6cdfb7edd9e184
@@ -35,5 +36,6 @@ EBUILD netbeans-apisupport-9999_p20140926.ebuild 3390 SHA256 b94d6015336c06a8e4b
 EBUILD netbeans-apisupport-9999_p20140928.ebuild 3390 SHA256 55d07396308e51da180f07d799ebda666ae67ffad96552cfb0070bfb63437ea1 SHA512 dd003618a8a3ba8d1dc62b0c7f2cffbd002676813511f74a486a87cdfcf95ce57e0aedf56c8f85e968d15821a7be0202896f26385be28d98227fca23dc71a1cc WHIRLPOOL 6b41940bb6f9b36a91a192bd196015af29511e833fb9230597f6776e93a3870bef06d1a657649985d7a63407dc74ad985757c460397d7923ba387934c0badb17
 EBUILD netbeans-apisupport-9999_p20140930.ebuild 3390 SHA256 6d561e31ae98586f9e994a0654ea050264da09bf42cd1c367c32a2a92976fc92 SHA512 c493ce3cc69f2634a4a4983213f7540527525002973ff35b592cd02eeef4051ca6eb0baccc95412656a5125bc72b5d101d023a12ba61138ca11df0b05e2f944c WHIRLPOOL add2babe1dfdf11d78dbcc27d475db72a6d6acb6437e49765899e83dd2c677477708f03ce69857c3ee54769a30549d46118fb9c34807890b17e789a09d90a1d3
 EBUILD netbeans-apisupport-9999_p20141001.ebuild 3390 SHA256 46c3549206325a04343d0c7c76e23f82a13f02692df7e5de0de9febe9d920853 SHA512 e36ea1f68ede4c2ba59e4f9c0a0335ad6eb38e61b6fffe8ef6b265a0c163ac17ef9a3f96d3c1d01ba643d9cc5b6164943140fed8d2cd9972107bfbcd15134256 WHIRLPOOL bb9bd726b4944835ce6c9bcb09d1c5405bdd5f82f2abf4db97e03e501211d6e83edbe4e7ca874e9d27cebb2e28670c6eace6831adb53ace0787b7d35a7c8b9de
-MISC ChangeLog 136928 SHA256 be57dbd99070ac38e7ba8216ba734fd833e49a12c87e1dc5bbfa371bc8064a0f SHA512 2eefb82efc3fc26da71b898eb814581e2f7dd705aebbc3299f58e240f5a0400f69d2b58f8c2751eda5f5c56b18c555495d365fac32d9e154bf96fc9b8e6009bc WHIRLPOOL e03d303e406422b05bc63099ab24bd1db4b32d50cb4ba4bbdca451738c0031693cc09df344a072c6fe298b6e81e01adb55d8c9ec2b2eb92d272fba6adb96585e
+EBUILD netbeans-apisupport-9999_p20141003.ebuild 3390 SHA256 6edf085e19055d0ef12a11e58c394f839ea6e57b5e07445f8388ebf5e9a05c4c SHA512 8167382281979f6e1dc221dad3d30a60dbd98464b0af75af5ad427cb1c2eca6e7240600e79f456db087d6f2b31f6a944a672074a170f0d200ea37cf043b1dbc4 WHIRLPOOL 8cf94b58a3d4b2109e3c4f76689c42c755e11ada0a9a079d1cf66c093aa147388fd39af23d8d2a0782a632af65ce3042aff252444bb1dff12aea99bc0ae9a119
+MISC ChangeLog 137109 SHA256 7ef373defe8be95ffe056eb3831e11f4b21f9a7e398b06fd0551033a31608337 SHA512 ab810fe3d77477c52b7db7fb15eb65987e9f588ad6ed5427e081e8d110f33d18fb95e7b126a9917b27864bb39e06bed99ff9aa9d9dad969783279493b5f78157 WHIRLPOOL 710535212206cdfcc1d9e9e6f36e799f2195e4b021972fb977fb3c0a214097c841d9dfc2c64565169d6e6ec707e1e7fa08251705810cea2c42e0ba2db011ea9e
 MISC metadata.xml 251 SHA256 5a4ff53a9862390a48d45c79be24086646e7a6ff0c5bdf0fcb799d0871299003 SHA512 04153cbd9776ad56a94d6a47d043df15d082d8888df8658f18d0d4b659c6c0526ab3a9b22ccbe2471091bf2d8165f224854bc99c51f3664aaf350ccb93532a7c WHIRLPOOL 2ee8a646c6e23bc46c72cac0ecb5cfe43720ec42404ddaeed8ab1b59d139b3d5c1a94764de847f979da978c001c9f02f709d663a68eeea64d19e88f1fefbca43

diff --git a/dev-java/netbeans-apisupport/netbeans-apisupport-9999_p20141003.ebuild b/dev-java/netbeans-apisupport/netbeans-apisupport-9999_p20141003.ebuild
new file mode 100644
index 0000000..a1c96a9
--- /dev/null
+++ b/dev-java/netbeans-apisupport/netbeans-apisupport-9999_p20141003.ebuild
@@ -0,0 +1,111 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="4"
+inherit eutils java-pkg-2 java-ant-2
+
+DESCRIPTION="Netbeans API Support Cluster"
+HOMEPAGE="http://netbeans.org/projects/apisupport"
+SLOT="9999"
+SOURCE_URL="http://bits.netbeans.org/download/trunk/nightly/2014-10-03_00-01-50/zip/netbeans-trunk-nightly-201410030001-src.zip"
+SRC_URI="${SOURCE_URL}
+	http://dev.gentoo.org/~fordfrog/distfiles/netbeans-9999-r14-build.xml.patch.bz2"
+LICENSE="|| ( CDDL GPL-2-with-linking-exception )"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+S="${WORKDIR}"
+
+CDEPEND="~dev-java/netbeans-extide-${PV}
+	~dev-java/netbeans-harness-${PV}
+	~dev-java/netbeans-ide-${PV}
+	~dev-java/netbeans-java-${PV}
+	~dev-java/netbeans-platform-${PV}"
+DEPEND=">=virtual/jdk-1.7
+	app-arch/unzip
+	${CDEPEND}
+	dev-java/javahelp:0"
+RDEPEND=">=virtual/jdk-1.7
+	${CDEPEND}"
+
+INSTALL_DIR="/usr/share/${PN}-${SLOT}"
+
+EANT_BUILD_XML="nbbuild/build.xml"
+EANT_BUILD_TARGET="rebuild-cluster"
+EANT_EXTRA_ARGS="-Drebuild.cluster.name=nb.cluster.apisupport -Dext.binaries.downloaded=true -Dpermit.jdk8.builds=true"
+EANT_FILTER_COMPILER="ecj-3.3 ecj-3.4 ecj-3.5 ecj-3.6 ecj-3.7"
+JAVA_PKG_BSFIX="off"
+
+src_unpack() {
+	unpack $(basename ${SOURCE_URL})
+
+	einfo "Deleting bundled jars..."
+	find -name "*.jar" -type f -delete
+
+	unpack netbeans-9999-r14-build.xml.patch.bz2
+}
+
+src_prepare() {
+	einfo "Deleting bundled class files..."
+	find -name "*.class" -type f | xargs rm -vf
+
+	epatch netbeans-9999-r14-build.xml.patch
+
+	# Support for custom patches
+	if [ -n "${NETBEANS9999_PATCHES_DIR}" -a -d "${NETBEANS9999_PATCHES_DIR}" ] ; then
+		local files=`find "${NETBEANS9999_PATCHES_DIR}" -type f`
+
+		if [ -n "${files}" ] ; then
+			einfo "Applying custom patches:"
+
+			for file in ${files} ; do
+				epatch "${file}"
+			done
+		fi
+	fi
+
+	einfo "Symlinking external libraries..."
+	java-pkg_jar-from --build-only --into javahelp/external javahelp jhall.jar jhall-2.0_05.jar
+
+	einfo "Linking in other clusters..."
+	mkdir "${S}"/nbbuild/netbeans || die
+	pushd "${S}"/nbbuild/netbeans >/dev/null || die
+
+	ln -s /usr/share/netbeans-extide-${SLOT} extide || die
+	cat /usr/share/netbeans-extide-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+	touch nb.cluster.extide.built
+
+	ln -s /usr/share/netbeans-harness-${SLOT} harness || die
+	cat /usr/share/netbeans-harness-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+	touch nb.cluster.harness.built
+
+	ln -s /usr/share/netbeans-ide-${SLOT} ide || die
+	cat /usr/share/netbeans-ide-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+	touch nb.cluster.ide.built
+
+	ln -s /usr/share/netbeans-java-${SLOT} java || die
+	cat /usr/share/netbeans-java-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+	touch nb.cluster.java.built
+
+	ln -s /usr/share/netbeans-platform-${SLOT} platform || die
+	cat /usr/share/netbeans-platform-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+	touch nb.cluster.platform.built
+
+	popd >/dev/null || die
+
+	java-pkg-2_src_prepare
+}
+
+src_install() {
+	pushd nbbuild/netbeans/apisupport >/dev/null || die
+
+	insinto ${INSTALL_DIR}
+
+	grep -E "/apisupport$" ../moduleCluster.properties > "${D}"/${INSTALL_DIR}/moduleCluster.properties || die
+
+	doins -r *
+
+	popd >/dev/null || die
+
+	dosym ${INSTALL_DIR} /usr/share/netbeans-nb-${SLOT}/apisupport
+}

diff --git a/dev-java/netbeans-cnd/ChangeLog b/dev-java/netbeans-cnd/ChangeLog
index f34f51c..ac03f7b 100644
--- a/dev-java/netbeans-cnd/ChangeLog
+++ b/dev-java/netbeans-cnd/ChangeLog
@@ -2,6 +2,12 @@
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+*netbeans-cnd-9999_p20141003 (03 Oct 2014)
+
+  03 Oct 2014; Miroslav Šulc <fordfrog@gentoo.org>
+  +netbeans-cnd-9999_p20141003.ebuild:
+  bumped to the latest sources
+
 *netbeans-cnd-9999_p20141001 (01 Oct 2014)
 
   01 Oct 2014; Miroslav Šulc <fordfrog@gentoo.org>

diff --git a/dev-java/netbeans-cnd/Manifest b/dev-java/netbeans-cnd/Manifest
index b2792e5..cb87579 100644
--- a/dev-java/netbeans-cnd/Manifest
+++ b/dev-java/netbeans-cnd/Manifest
@@ -33,6 +33,7 @@ DIST netbeans-trunk-nightly-201409260001-src.zip 197125028 SHA256 0b2e8f0b10eb02
 DIST netbeans-trunk-nightly-201409280001-src.zip 197332446 SHA256 eac6b2e0b19817527b56f73f188b53b3f297ce5c20a01be3ccc6902ff2f94ed4 SHA512 fbf694a7138146ceb96ccf0d172b9f8031fd2eb3e06aa438386912bf7ea458874ee7041e25e672db2f297875e03fd75f48e8f4410d2e5153f090e2c09d62bc86 WHIRLPOOL a33730b5f76c4aa67476f70961c0ff5fa1916b9caa87173f1c8a57715fd414c65d77ac9d91cf9a1aacd1c6b6ae070595e7becb4394efcaf14759e10d83aaf4de
 DIST netbeans-trunk-nightly-201409300001-src.zip 197332445 SHA256 c306ca40b2bb2ca3f3a4d3ea10fea43b0bcdaaba31291ec5bdb4dbc7d3e67e34 SHA512 91d56515b70db2c2e0deb22938c38e6b45011eeb74083b474fdad64f7851911fcd93612cf08cfc0e5e03ca0e2a79530c59232dbf865853630640c26cc3105d48 WHIRLPOOL 29423713433df87c5f589742beb10682391dc8fea5b5512948709627b8a31cb802962e8845420fec19cde09672b823470f485c21ea85573fdb20af620b54ba55
 DIST netbeans-trunk-nightly-201410010001-src.zip 197355068 SHA256 0d284d68152ca0da1c8dfb7149e5b2638133fe3be6790f312c9959e59528144b SHA512 33ce5f22e9d3ac55d4f7b4b353956a39e030dee6380c5f379fba810f3ec86f8b36e88b773dbbf8bc3c430fc58caba9097764b7eac2d44ce2a25129f8f20fa4f2 WHIRLPOOL b4228286acec04cb321ca8aba60af42a7a1e2c20de1f657773166021a36e284b5ac4f49e9dbf8a51d81577b0d49d387707de3fcc0a622fd13b57c7d704b3da00
+DIST netbeans-trunk-nightly-201410030001-src.zip 197355085 SHA256 f915305ddfd881aaf161ca366c2af9eb29e954c971e73580aaab68cc0836f53e SHA512 d681dd706f0ca188fd5c8d055c88396e33a4e5b3f956017273e0834c755cb6905427c7a9f1dc12c05668580b2ce09caef1b5ea18e2f15384e06900f6cc197df5 WHIRLPOOL a93aa92eabd9120ec1923d6f7af586bead3915691a795d45e2929623b34c52d267091203c7b6d4e2bf0b1629624e6a49ad2d28bddce35ab9508bdc099aa511ed
 EBUILD netbeans-cnd-7.0.1.ebuild 4602 SHA256 1336b76de715719ef59a3601dd5ad3b24992f58096f874f0e37935ec0d088d8e SHA512 38745c3ad6364198516ebb64002185fd05c34dee75acdb3933221d772177d5d6fcda853bb63991f0d071b21079fdab0c090db93e59cddd8daeb8f8d571a18a41 WHIRLPOOL cc196275289a01c1168b8c2710e0be0c2483cc86dc47b8fb3383ce1141f7bc11565e2b2feb95436cf448c09aaac7ee8c8804316ce6782d8853c0742367c0963a
 EBUILD netbeans-cnd-7.1.2.ebuild 4218 SHA256 6c80020e4204226274f4a24413dad8bf134f5beb7aee4ecc53d6b4d709093bb2 SHA512 299c07f5e5d930045e8c8ef3d04009beee7035daa2022a803e6dcb16b380096bbf5014c2d684094705d06b4608afcf6925266ef609a483a86452b03505dcb67c WHIRLPOOL 6d6c8bddf3490282b9134315f9bc94ff55675160056fa4c98c302a59d943a9cb38f23ffb9ca313c82061d84d0ae86898ce72d16756d41c468737e319e68f06ce
 EBUILD netbeans-cnd-7.2.ebuild 4201 SHA256 0f77a1a343d437e2eb1236722b27b2f2f03901ecc1afde29e1d38e54aef7c81d SHA512 b5fc985d1280ab900cb5125691a0ff99bab075ff5e93ded9af256310a7dcbea87a28a52ba383875caa24fd0ff28bc8dff4fc0fa0242987a673fdc729f7234b58 WHIRLPOOL 19e79dc426fb05ffb48ff9b13de3bab40f483b6dd9d79514e8f819029c278ee47a09c9531b5b4dba2014f805d502e66745f3355e2932e24e0dd9b5e3e273d2c2
@@ -48,5 +49,6 @@ EBUILD netbeans-cnd-9999_p20140926.ebuild 4586 SHA256 8296666aef4ed25c4e144055fb
 EBUILD netbeans-cnd-9999_p20140928.ebuild 4586 SHA256 24e123bba8825ce5e590ea31097e82fbbab32eb9fbd953193227ab861b19fe88 SHA512 31238c4e13e14bf1dc4acfbc39d4b5e77a09f243b284ce75841f0baf4bed709ae5927deb4b2a2203d5321f580d0c43e6929b78fe03213c7df8e77164b19021af WHIRLPOOL 32835ef61b4d6b6375bcf5d5360beffd5a5c1a269e2d822648f39f287d26e7b5c8d87800778a21dbf16e4a5c340eb608f64cf5d665f3a8aad5279e0026e5e545
 EBUILD netbeans-cnd-9999_p20140930.ebuild 4586 SHA256 0fb0c2f25770c8157d301e37edfe5c70ffb0292808499e232c8e809101453914 SHA512 a7a9711155b515c410db9aef39ae9d8de556455826edb604d966193d5b6f5007b1290ee5e9ce14bbc0a4483309b483dc3480fea57f78e7c87b9081ede6c8d8c7 WHIRLPOOL 6ad7496e11670ae2220e86fac0909c70fe9234ece2fa94f3ed04cf4a455da0d68d50082fadd8186c2a28e572d0cfa49e8cd197360e2300a14b48c79d8fd1924a
 EBUILD netbeans-cnd-9999_p20141001.ebuild 4586 SHA256 0b652685289ee3dc32a200fced8a3d0242fa7c6faa62021e7acc9c7473adc8c7 SHA512 1b867f644234fa51a944e1b81808026819b9e95d79662c7f158141ba6da0185781862cad0a73ec2e7aa78a6225bedfecbf87b175d6a362c8098f92d30bfd11ec WHIRLPOOL 1afaf227dc2e1217c9e9061c10b315299f92ad9cf8d1da845282756967579c3506d0fd019768f905a0a0de4a873a54b59dfe70ce62b3a1ad507ab26fd5f99911
-MISC ChangeLog 125166 SHA256 d4e1e94a06b1d905d6805a7dbef566b0712b7034c729a09f0a518be8a3e47b5d SHA512 ddbb728828e1a5caccb8bb6055f5649f033d73ebc3d79cc6779d831605c456ac7898adecb57da8830bc03c61d30a3f74ce2f1dd088a52490710915d6ad340473 WHIRLPOOL 5bf0614a6eb52c3d9c7d45472cec3f3bf0464978150b78a78e12fc10aea46cb95d24c0963f8150c8426122f4e19f259714bde769e9b949094ffb56ba7575ff4c
+EBUILD netbeans-cnd-9999_p20141003.ebuild 4586 SHA256 fdc0437547a2ba1f85b46036dc9dfc0f33293889b9901d27be5b15d865480d6d SHA512 acf75d29c759454857d9cb96213af30f4c889a344fe7312cf27c28c3c5c06fa82010d2138357b6b66e9c73f542891f202b339a0888ea5851c72bffefd0387e3d WHIRLPOOL 51814136986581d6ac8669a5f4e453ef6e9e0e9d254c748ac055f3042142852229d53f177a33482a1ff49703825eb80b57581bf6dbae5c5a19fc5ef4e20a3c68
+MISC ChangeLog 125333 SHA256 87ba2353e19325a785702afd5cfb6480f89fe7e67209fb1222da75cb40fdb0a9 SHA512 591002d1a2c4b7f681b4910e4ad12851978ce35bbb7796204bf10973902b5e3c310261aef90209c558e5705259236d0f55788f9639f412b1b96ca29e570e058b WHIRLPOOL ed18afe44d89dc593789a4083167237fb88efa61e4493388034980e20de96576c6e4f88b680f165e9121e31e764d3069a34b69eeb7701f8ef32b1c4b9ab28690
 MISC metadata.xml 251 SHA256 5a4ff53a9862390a48d45c79be24086646e7a6ff0c5bdf0fcb799d0871299003 SHA512 04153cbd9776ad56a94d6a47d043df15d082d8888df8658f18d0d4b659c6c0526ab3a9b22ccbe2471091bf2d8165f224854bc99c51f3664aaf350ccb93532a7c WHIRLPOOL 2ee8a646c6e23bc46c72cac0ecb5cfe43720ec42404ddaeed8ab1b59d139b3d5c1a94764de847f979da978c001c9f02f709d663a68eeea64d19e88f1fefbca43

diff --git a/dev-java/netbeans-cnd/netbeans-cnd-9999_p20141003.ebuild b/dev-java/netbeans-cnd/netbeans-cnd-9999_p20141003.ebuild
new file mode 100644
index 0000000..0fd68a0
--- /dev/null
+++ b/dev-java/netbeans-cnd/netbeans-cnd-9999_p20141003.ebuild
@@ -0,0 +1,125 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="4"
+inherit eutils java-pkg-2 java-ant-2
+
+DESCRIPTION="Netbeans CND Cluster"
+HOMEPAGE="http://netbeans.org/projects/cnd"
+SLOT="9999"
+SOURCE_URL="http://bits.netbeans.org/download/trunk/nightly/2014-10-03_00-01-50/zip/netbeans-trunk-nightly-201410030001-src.zip"
+SRC_URI="${SOURCE_URL}
+	http://dev.gentoo.org/~fordfrog/distfiles/netbeans-9999-r14-build.xml.patch.bz2
+	http://hg.netbeans.org/binaries/5CAB59D859CAA6598E28131D30DD2E89806DB57F-antlr-3.4.jar
+	http://hg.netbeans.org/binaries/4E74C6BE42FE89871A878C7C4D6158F21A6D8010-antlr-runtime-3.4.jar
+	http://hg.netbeans.org/binaries/24C58A1D3C410AD3E23CD828871630C17068B238-cnd-build-trace-1.0.zip
+	http://hg.netbeans.org/binaries/2BCF2047382FB68A2F275677745C80E79B4046AB-cnd-rfs-1.0.zip
+	http://hg.netbeans.org/binaries/C51780D99464CBF45B0495C7646B442AB3C7B463-open-fortran-parser-0.7.1.2.zip"
+LICENSE="|| ( CDDL GPL-2-with-linking-exception )"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+S="${WORKDIR}"
+
+# These files are for remote development and debugging
+QA_PREBUILT="usr/share/netbeans-cnd-${SLOT}/bin/*"
+
+CDEPEND="~dev-java/netbeans-dlight-${PV}
+	~dev-java/netbeans-harness-${PV}
+	~dev-java/netbeans-ide-${PV}
+	~dev-java/netbeans-platform-${PV}"
+DEPEND=">=virtual/jdk-1.7
+	app-arch/unzip
+	>=dev-java/jna-3.4.0
+	${CDEPEND}
+	dev-java/javahelp:0"
+RDEPEND=">=virtual/jdk-1.7
+	${CDEPEND}"
+
+INSTALL_DIR="/usr/share/${PN}-${SLOT}"
+
+EANT_BUILD_XML="nbbuild/build.xml"
+EANT_BUILD_TARGET="rebuild-cluster"
+EANT_EXTRA_ARGS="-Drebuild.cluster.name=nb.cluster.cnd -Dext.binaries.downloaded=true -Dpermit.jdk8.builds=true"
+EANT_FILTER_COMPILER="ecj-3.3 ecj-3.4 ecj-3.5 ecj-3.6 ecj-3.7"
+JAVA_PKG_BSFIX="off"
+
+src_unpack() {
+	unpack $(basename ${SOURCE_URL})
+
+	einfo "Deleting bundled jars..."
+	find -name "*.jar" -type f -delete
+
+	unpack netbeans-9999-r14-build.xml.patch.bz2
+
+	pushd "${S}" >/dev/null || die
+	ln -s "${DISTDIR}"/5CAB59D859CAA6598E28131D30DD2E89806DB57F-antlr-3.4.jar libs.antlr3.devel/external/antlr-3.4.jar || die
+	ln -s "${DISTDIR}"/4E74C6BE42FE89871A878C7C4D6158F21A6D8010-antlr-runtime-3.4.jar libs.antlr3.runtime/external/antlr-runtime-3.4.jar || die
+	ln -s "${DISTDIR}"/24C58A1D3C410AD3E23CD828871630C17068B238-cnd-build-trace-1.0.zip cnd.discovery/external/cnd-build-trace-1.0.zip || die
+	ln -s "${DISTDIR}"/2BCF2047382FB68A2F275677745C80E79B4046AB-cnd-rfs-1.0.zip cnd.remote/external/cnd-rfs-1.0.zip || die
+	ln -s "${DISTDIR}"/C51780D99464CBF45B0495C7646B442AB3C7B463-open-fortran-parser-0.7.1.2.zip cnd.modelimpl/external/open-fortran-parser-0.7.1.2.zip || die
+	popd >/dev/null || die
+}
+
+src_prepare() {
+	einfo "Deleting bundled class files..."
+	find -name "*.class" -type f | xargs rm -vf
+
+	epatch netbeans-9999-r14-build.xml.patch
+
+	# Support for custom patches
+	if [ -n "${NETBEANS9999_PATCHES_DIR}" -a -d "${NETBEANS9999_PATCHES_DIR}" ] ; then
+		local files=`find "${NETBEANS9999_PATCHES_DIR}" -type f`
+
+		if [ -n "${files}" ] ; then
+			einfo "Applying custom patches:"
+
+			for file in ${files} ; do
+				epatch "${file}"
+			done
+		fi
+	fi
+
+	einfo "Symlinking external libraries..."
+	java-pkg_jar-from --build-only --into javahelp/external javahelp jhall.jar jhall-2.0_05.jar
+	java-pkg_jar-from --build-only --into libs.jna/external jna jna.jar jna-4.1.0.jar
+
+	einfo "Linking in other clusters..."
+	mkdir "${S}"/nbbuild/netbeans || die
+	pushd "${S}"/nbbuild/netbeans >/dev/null || die
+
+	ln -s /usr/share/netbeans-dlight-${SLOT} dlight || die
+	cat /usr/share/netbeans-dlight-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+	touch nb.cluster.dlight.built
+
+	ln -s /usr/share/netbeans-harness-${SLOT} harness || die
+	cat /usr/share/netbeans-harness-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+	touch nb.cluster.harness.built
+
+	ln -s /usr/share/netbeans-ide-${SLOT} ide || die
+	cat /usr/share/netbeans-ide-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+	touch nb.cluster.ide.built
+
+	ln -s /usr/share/netbeans-platform-${SLOT} platform || die
+	cat /usr/share/netbeans-platform-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+	touch nb.cluster.platform.built
+
+	popd >/dev/null || die
+
+	java-pkg-2_src_prepare
+}
+
+src_install() {
+	pushd nbbuild/netbeans/cnd >/dev/null || die
+
+	insinto ${INSTALL_DIR}
+
+	grep -E "/cnd$" ../moduleCluster.properties > "${D}"/${INSTALL_DIR}/moduleCluster.properties || die
+
+	doins -r *
+	fperms 755 bin/dorun.sh
+
+	popd >/dev/null || die
+
+	dosym ${INSTALL_DIR} /usr/share/netbeans-nb-${SLOT}/cnd
+}

diff --git a/dev-java/netbeans-dlight/ChangeLog b/dev-java/netbeans-dlight/ChangeLog
index 2eb383e..966d45b 100644
--- a/dev-java/netbeans-dlight/ChangeLog
+++ b/dev-java/netbeans-dlight/ChangeLog
@@ -2,6 +2,12 @@
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+*netbeans-dlight-9999_p20141003 (03 Oct 2014)
+
+  03 Oct 2014; Miroslav Šulc <fordfrog@gentoo.org>
+  +netbeans-dlight-9999_p20141003.ebuild:
+  bumped to the latest sources
+
 *netbeans-dlight-9999_p20141001 (01 Oct 2014)
 
   01 Oct 2014; Miroslav Šulc <fordfrog@gentoo.org>

diff --git a/dev-java/netbeans-dlight/Manifest b/dev-java/netbeans-dlight/Manifest
index bc969c7..aae2032 100644
--- a/dev-java/netbeans-dlight/Manifest
+++ b/dev-java/netbeans-dlight/Manifest
@@ -25,6 +25,7 @@ DIST netbeans-trunk-nightly-201409260001-src.zip 197125028 SHA256 0b2e8f0b10eb02
 DIST netbeans-trunk-nightly-201409280001-src.zip 197332446 SHA256 eac6b2e0b19817527b56f73f188b53b3f297ce5c20a01be3ccc6902ff2f94ed4 SHA512 fbf694a7138146ceb96ccf0d172b9f8031fd2eb3e06aa438386912bf7ea458874ee7041e25e672db2f297875e03fd75f48e8f4410d2e5153f090e2c09d62bc86 WHIRLPOOL a33730b5f76c4aa67476f70961c0ff5fa1916b9caa87173f1c8a57715fd414c65d77ac9d91cf9a1aacd1c6b6ae070595e7becb4394efcaf14759e10d83aaf4de
 DIST netbeans-trunk-nightly-201409300001-src.zip 197332445 SHA256 c306ca40b2bb2ca3f3a4d3ea10fea43b0bcdaaba31291ec5bdb4dbc7d3e67e34 SHA512 91d56515b70db2c2e0deb22938c38e6b45011eeb74083b474fdad64f7851911fcd93612cf08cfc0e5e03ca0e2a79530c59232dbf865853630640c26cc3105d48 WHIRLPOOL 29423713433df87c5f589742beb10682391dc8fea5b5512948709627b8a31cb802962e8845420fec19cde09672b823470f485c21ea85573fdb20af620b54ba55
 DIST netbeans-trunk-nightly-201410010001-src.zip 197355068 SHA256 0d284d68152ca0da1c8dfb7149e5b2638133fe3be6790f312c9959e59528144b SHA512 33ce5f22e9d3ac55d4f7b4b353956a39e030dee6380c5f379fba810f3ec86f8b36e88b773dbbf8bc3c430fc58caba9097764b7eac2d44ce2a25129f8f20fa4f2 WHIRLPOOL b4228286acec04cb321ca8aba60af42a7a1e2c20de1f657773166021a36e284b5ac4f49e9dbf8a51d81577b0d49d387707de3fcc0a622fd13b57c7d704b3da00
+DIST netbeans-trunk-nightly-201410030001-src.zip 197355085 SHA256 f915305ddfd881aaf161ca366c2af9eb29e954c971e73580aaab68cc0836f53e SHA512 d681dd706f0ca188fd5c8d055c88396e33a4e5b3f956017273e0834c755cb6905427c7a9f1dc12c05668580b2ce09caef1b5ea18e2f15384e06900f6cc197df5 WHIRLPOOL a93aa92eabd9120ec1923d6f7af586bead3915691a795d45e2929623b34c52d267091203c7b6d4e2bf0b1629624e6a49ad2d28bddce35ab9508bdc099aa511ed
 EBUILD netbeans-dlight-7.0.1.ebuild 3624 SHA256 499a9303a1972ee89dfa2685e1dc1e4511c7531ff3b29caadd1136ba25dee82e SHA512 ad60adc5d64f93d03e27170311ce7bd0a6952c8b41cdc51385f8efc9140593201064d162b3130bff7a003570de11963d375d3676476115b1129ac74632d4a227 WHIRLPOOL d68dcdba50b2565d40e1adc484b51c1ed0171c2fcf99fbee08a221e6d9767f96d161d45eda612eb4c4d62e0db6826e2cd124b83e11ee2f7c9bfb6a440ec6821d
 EBUILD netbeans-dlight-7.1.2.ebuild 2935 SHA256 dc7d110b80174b1baeaca9c005e2cc9167540f186c7794067cfb45d335251b9a SHA512 7dc2db63ee40a3e64375eb49e669c54f88cc532d7ac8c7320329f8378a3be15ebc4536208ea2975c7fe4a9b3f2ac60d0ec5b8c9a9da392587fb04838f101e0ec WHIRLPOOL 1801653d9e146eba02642dbdb0a39c235a40e5d3d5ac8d4d5b8d2a570aa62330638355ee8df76693db177c58bbf31271342215c70d7e198e4b6bd905984ed9c7
 EBUILD netbeans-dlight-7.2.ebuild 2650 SHA256 9b0c0049b7cf6894cd44327c3697d4ddfb0dba2aebd6aabc1821b550932cd69d SHA512 0584c2a1cc65193673bded284c454b430fa3f5774c33d704922977d25ed26bf88d090670e330299c85ada2e897e5f124ae9f635a6f8be7d7fd10740482df7eae WHIRLPOOL 1c27b0c84a34865cb8a84062127f49aefcd245fa16fb825d7ee57d24c3f5841935242c16b3250319078762ce4e8aa5bc8dbd8dbe497b39af8e027b9e39ee585f
@@ -40,5 +41,6 @@ EBUILD netbeans-dlight-9999_p20140926.ebuild 2995 SHA256 0b7ec034e56d3f4163af7f4
 EBUILD netbeans-dlight-9999_p20140928.ebuild 2995 SHA256 53ea2ed4f4de90336501a1ad983841064cd6a1d44636593964625158c66c5697 SHA512 45f75c01ed99c3afefba21b750f483e2bc43fb6b55bacb992aadf05cb1e2efed4b92ab89f8d9ab292c59b7e94733c76830f481fdbbc88e8fe657299b5f68053b WHIRLPOOL 4786b9018d4341c95927d07b5fefd290388dc5bcd15c33ff0c6ba0ffc549bdd4ead04f8436964cdfe3d500a18220b83e490fdddd7fc6092f82deeff5fbb03057
 EBUILD netbeans-dlight-9999_p20140930.ebuild 2995 SHA256 a8a1edcfb89c3bab8308c69f5bfb12e8015be9f31f854a02b61b5d37361aecda SHA512 1c228abfbf50e9d4e6173e22ac1a3ad5f7730b71426cf379fd09b73fa67fdccc9b9340ec663f8d9368f92148ae10e31e3583bd17d343ae962880d84cda874940 WHIRLPOOL d996d0146b3168f474addb6791bc4327e6e5d27a5a2fab11edc814bd7e653adb867614eb1112e11eb18867faf1271f71946f820c45a73fc52073d27d7ff62ef3
 EBUILD netbeans-dlight-9999_p20141001.ebuild 2995 SHA256 676d153a27b1f59cd617b01fe8b888b60ce8b584574d504cce939b632ed5f575 SHA512 8ec1fa034ec01838a38af0be74761aa5116c6a466a1e345f423013bd251a8103b36064fc3cad192474c758bab3eebb342bcf4225863bd19e865f254b4c304222 WHIRLPOOL abf49b2b3e8a46f58304059becf561cc340437ad7eb76289123e90191edb9dd046d81aa06693947e12d0183ace74e62ab5fe0713191d6c68187e87ee24f3cdef
-MISC ChangeLog 130455 SHA256 c2b29dea4dbe4cabda131db968d36db0fdfdd853bbadbc8e6acf5e5188bdf898 SHA512 887fc12a96e0c9cc472c6fcbd975b006523f95e212c02c5723991141ca351dcf9106e642addb0c6c3f76f37b684b35b97a2d2bda22e55032b6aebbcf3ce78bc2 WHIRLPOOL fcd512821f6b361bdafefc29b43ea2e21a6722a286a945e627d38ae266041e694d222cf19da3f4f6e09a52282f7b14c148be459c2464a82527e33c995fde6073
+EBUILD netbeans-dlight-9999_p20141003.ebuild 2995 SHA256 084cc9a6aea59013e478c08311ddc2d37b6ab0bb077f2a45b640397374c82638 SHA512 ebffff5fd5f19ea06420f5612ecae999533312af214abea7cff0d92cbd6758c2b14251ca1600466e07540f6ab9df918d04b3ae122a2fdad3c60367527a64a395 WHIRLPOOL 68283b8cb5d04c30b58703e44c21d6ad332052dcaedc34a8c63f213e01d3c7aa3f05c88c3a1ae2a5a89bc65a9f6f0f37485a9bfdda666a54671dddd52bb3810d
+MISC ChangeLog 130628 SHA256 8032ecdaf91ae303d08c0a1921096ccb2a1babcea3e6f507ff099a94cca259f8 SHA512 569a7e623fcbe3b1bf05eb878400073c72f1d24304c7a68cf2e14fa51d1a16b33b274046ba7ea8312bac4a415b9a556f65e18ff7e7b15e873ca7943bacd5360f WHIRLPOOL fcbdf4ef60251c4ec0d43254fd9757a960c112fc3b481570b0f3550277d8616b0c03d53fb5b850fcfbf746ca163c02c8a6d6967e921d0ec3d525204e15f40228
 MISC metadata.xml 251 SHA256 5a4ff53a9862390a48d45c79be24086646e7a6ff0c5bdf0fcb799d0871299003 SHA512 04153cbd9776ad56a94d6a47d043df15d082d8888df8658f18d0d4b659c6c0526ab3a9b22ccbe2471091bf2d8165f224854bc99c51f3664aaf350ccb93532a7c WHIRLPOOL 2ee8a646c6e23bc46c72cac0ecb5cfe43720ec42404ddaeed8ab1b59d139b3d5c1a94764de847f979da978c001c9f02f709d663a68eeea64d19e88f1fefbca43

diff --git a/dev-java/netbeans-dlight/netbeans-dlight-9999_p20141003.ebuild b/dev-java/netbeans-dlight/netbeans-dlight-9999_p20141003.ebuild
new file mode 100644
index 0000000..9c5ee02
--- /dev/null
+++ b/dev-java/netbeans-dlight/netbeans-dlight-9999_p20141003.ebuild
@@ -0,0 +1,101 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="4"
+inherit eutils java-pkg-2 java-ant-2
+
+DESCRIPTION="Netbeans D-Light Cluster"
+HOMEPAGE="http://netbeans.org/"
+SLOT="9999"
+SOURCE_URL="http://bits.netbeans.org/download/trunk/nightly/2014-10-03_00-01-50/zip/netbeans-trunk-nightly-201410030001-src.zip"
+SRC_URI="${SOURCE_URL}
+	http://dev.gentoo.org/~fordfrog/distfiles/netbeans-9999-r14-build.xml.patch.bz2
+	http://hg.netbeans.org/binaries/457A4C66AE33D1D5887BB1F359EEA41A10EBB2AB-fs_server-1.0.zip"
+LICENSE="|| ( CDDL GPL-2-with-linking-exception )"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+S="${WORKDIR}"
+
+CDEPEND="~dev-java/netbeans-ide-${PV}
+	~dev-java/netbeans-platform-${PV}"
+DEPEND=">=virtual/jdk-1.7
+	app-arch/unzip
+	${CDEPEND}
+	dev-java/javahelp:0"
+RDEPEND=">=virtual/jdk-1.7
+	${CDEPEND}"
+
+INSTALL_DIR="/usr/share/${PN}-${SLOT}"
+
+EANT_BUILD_XML="nbbuild/build.xml"
+EANT_BUILD_TARGET="rebuild-cluster"
+EANT_EXTRA_ARGS="-Drebuild.cluster.name=nb.cluster.dlight -Dext.binaries.downloaded=true -Dpermit.jdk8.builds=true"
+EANT_FILTER_COMPILER="ecj-3.3 ecj-3.4 ecj-3.5 ecj-3.6 ecj-3.7"
+JAVA_PKG_BSFIX="off"
+
+src_unpack() {
+	unpack $(basename ${SOURCE_URL})
+
+	einfo "Deleting bundled jars..."
+	find -name "*.jar" -type f -delete
+
+	unpack netbeans-9999-r14-build.xml.patch.bz2
+
+        pushd "${S}" >/dev/null || die
+        ln -s "${DISTDIR}"/457A4C66AE33D1D5887BB1F359EEA41A10EBB2AB-fs_server-1.0.zip dlight.remote.impl/external/fs_server-1.0.zip || die
+        popd >/dev/null || die
+}
+
+src_prepare() {
+	einfo "Deleting bundled class files..."
+	find -name "*.class" -type f | xargs rm -vf
+
+	epatch netbeans-9999-r14-build.xml.patch
+
+	# Support for custom patches
+	if [ -n "${NETBEANS9999_PATCHES_DIR}" -a -d "${NETBEANS9999_PATCHES_DIR}" ] ; then
+		local files=`find "${NETBEANS9999_PATCHES_DIR}" -type f`
+
+		if [ -n "${files}" ] ; then
+			einfo "Applying custom patches:"
+
+			for file in ${files} ; do
+				epatch "${file}"
+			done
+		fi
+	fi
+
+	einfo "Symlinking external libraries..."
+	java-pkg_jar-from --build-only --into javahelp/external javahelp jhall.jar jhall-2.0_05.jar
+
+	einfo "Linking in other clusters..."
+	mkdir "${S}"/nbbuild/netbeans || die
+	pushd "${S}"/nbbuild/netbeans >/dev/null || die
+
+	ln -s /usr/share/netbeans-ide-${SLOT} ide || die
+	cat /usr/share/netbeans-ide-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+	touch nb.cluster.ide.built
+
+	ln -s /usr/share/netbeans-platform-${SLOT} platform || die
+	cat /usr/share/netbeans-platform-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+	touch nb.cluster.platform.built
+
+	popd >/dev/null || die
+
+	java-pkg-2_src_prepare
+}
+
+src_install() {
+	pushd nbbuild/netbeans/dlight >/dev/null || die
+
+	insinto ${INSTALL_DIR}
+
+	grep -E "/dlight$" ../moduleCluster.properties > "${D}"/${INSTALL_DIR}/moduleCluster.properties || die
+
+	doins -r *
+
+	popd >/dev/null || die
+
+	dosym ${INSTALL_DIR} /usr/share/netbeans-nb-${SLOT}/dlight
+}

diff --git a/dev-java/netbeans-enterprise/ChangeLog b/dev-java/netbeans-enterprise/ChangeLog
index a29d1c8..9d14233 100644
--- a/dev-java/netbeans-enterprise/ChangeLog
+++ b/dev-java/netbeans-enterprise/ChangeLog
@@ -2,6 +2,12 @@
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+*netbeans-enterprise-9999_p20141003 (03 Oct 2014)
+
+  03 Oct 2014; Miroslav Šulc <fordfrog@gentoo.org>
+  +netbeans-enterprise-9999_p20141003.ebuild:
+  bumped to the latest sources
+
 *netbeans-enterprise-9999_p20141001 (01 Oct 2014)
 
   01 Oct 2014; Miroslav Šulc <fordfrog@gentoo.org>

diff --git a/dev-java/netbeans-enterprise/Manifest b/dev-java/netbeans-enterprise/Manifest
index 1df8716..75b7e53 100644
--- a/dev-java/netbeans-enterprise/Manifest
+++ b/dev-java/netbeans-enterprise/Manifest
@@ -109,6 +109,7 @@ DIST netbeans-trunk-nightly-201409260001-src.zip 197125028 SHA256 0b2e8f0b10eb02
 DIST netbeans-trunk-nightly-201409280001-src.zip 197332446 SHA256 eac6b2e0b19817527b56f73f188b53b3f297ce5c20a01be3ccc6902ff2f94ed4 SHA512 fbf694a7138146ceb96ccf0d172b9f8031fd2eb3e06aa438386912bf7ea458874ee7041e25e672db2f297875e03fd75f48e8f4410d2e5153f090e2c09d62bc86 WHIRLPOOL a33730b5f76c4aa67476f70961c0ff5fa1916b9caa87173f1c8a57715fd414c65d77ac9d91cf9a1aacd1c6b6ae070595e7becb4394efcaf14759e10d83aaf4de
 DIST netbeans-trunk-nightly-201409300001-src.zip 197332445 SHA256 c306ca40b2bb2ca3f3a4d3ea10fea43b0bcdaaba31291ec5bdb4dbc7d3e67e34 SHA512 91d56515b70db2c2e0deb22938c38e6b45011eeb74083b474fdad64f7851911fcd93612cf08cfc0e5e03ca0e2a79530c59232dbf865853630640c26cc3105d48 WHIRLPOOL 29423713433df87c5f589742beb10682391dc8fea5b5512948709627b8a31cb802962e8845420fec19cde09672b823470f485c21ea85573fdb20af620b54ba55
 DIST netbeans-trunk-nightly-201410010001-src.zip 197355068 SHA256 0d284d68152ca0da1c8dfb7149e5b2638133fe3be6790f312c9959e59528144b SHA512 33ce5f22e9d3ac55d4f7b4b353956a39e030dee6380c5f379fba810f3ec86f8b36e88b773dbbf8bc3c430fc58caba9097764b7eac2d44ce2a25129f8f20fa4f2 WHIRLPOOL b4228286acec04cb321ca8aba60af42a7a1e2c20de1f657773166021a36e284b5ac4f49e9dbf8a51d81577b0d49d387707de3fcc0a622fd13b57c7d704b3da00
+DIST netbeans-trunk-nightly-201410030001-src.zip 197355085 SHA256 f915305ddfd881aaf161ca366c2af9eb29e954c971e73580aaab68cc0836f53e SHA512 d681dd706f0ca188fd5c8d055c88396e33a4e5b3f956017273e0834c755cb6905427c7a9f1dc12c05668580b2ce09caef1b5ea18e2f15384e06900f6cc197df5 WHIRLPOOL a93aa92eabd9120ec1923d6f7af586bead3915691a795d45e2929623b34c52d267091203c7b6d4e2bf0b1629624e6a49ad2d28bddce35ab9508bdc099aa511ed
 EBUILD netbeans-enterprise-7.0.1.ebuild 16338 SHA256 03ea08daaf5d4c5592937929bac33b4af3bac00a23f2167a7ef7b3c172a72abe SHA512 4d24162c7920b9a1c65e6c6753900ead387a4941c2db98b522631bb09889c281bce048a74e2e584f8b5732cfaad1d7125e0cfd37aa2dc81fe85160b0e123ccd8 WHIRLPOOL 35eb648c37cb6e59aca7969c1074c2c280814529aa7ec3c3191b0d3f2a92fa24e1a8d981f343e4217fff52f6100b4884b970df734c45145759889aa6e6661ff2
 EBUILD netbeans-enterprise-7.1.2.ebuild 18060 SHA256 f63721b8ce5e1afbc58f783348f66f1e3501be519a1c9c1287ef860acc64ceda SHA512 2ca89ec8f89f106a284136d4d0ed52fe3bcf49c650d56ded6e62306c531e5e41f62b8aa923cb544842cf6e34e5f433fecb278bc1515abac987e2d00fb68ffa26 WHIRLPOOL 879067d72285aa6c7273e84ddc3dfef7d09c7cb9f9a6c279fddfbd3eea6439dea053d3c648fcd56d47ef2292db14d101307eb1aa8b3081dfcdbc3dac4d0c3ed9
 EBUILD netbeans-enterprise-7.2.ebuild 17752 SHA256 2f46916df731fe33c5d4626ae580a77686c392932a3388f755324bc3184bd636 SHA512 3543d033b971108fa2b8e6633ed640e812a83b34807e1cb5a69d425823d1fec1c13ecba3cc36fa4504fbfd6297e7eff1ecabe07d01725d9f13c99ffd70d220ba WHIRLPOOL 512753153bbf714ae3fbf9c580f350234d88bd5ce5690e7bc0fadd1c355bd38c2a5c1e9adb7993c3678d759661bbfb1654b0630e3535a2fb9198742fa7fd2c1e
@@ -124,5 +125,6 @@ EBUILD netbeans-enterprise-9999_p20140926.ebuild 15147 SHA256 0c2c791d1089eca0b7
 EBUILD netbeans-enterprise-9999_p20140928.ebuild 15147 SHA256 956d3fa740dce56d75f5eb8658e78a6558b6f68d9484cbde72a293d49701f6a4 SHA512 ff7556dac8e342f00d635ca1948819e6bad1af96ea3694e01d4a8f6796647b9a63ac8d96ab7fc8616883ebd25c55eb4ced595f351895816a6dc88176f2ea85b1 WHIRLPOOL cb7941f2d2672b85d49d33f2dfd0534df79d8dfa4aeebecd36618a1224f93dc3b96ea4694276bd8ced60e75146d8146507708a6173eba83f8915fa736b700bc5
 EBUILD netbeans-enterprise-9999_p20140930.ebuild 15147 SHA256 073877a0570f018bc43d17f6bc27062678787de23f5ccd297581e3c3a7c9527d SHA512 0403c2013dd42de734d2adce8717dede0d6b1abfba5def5c96a0c7576cc1ca5bcc5ea6dff0048fca1f09719cd0ac56738871e26a99e6fa71b9e811a55f63ff54 WHIRLPOOL 5b079b7868e5910e73c18f21951ea96b39dda1d5ced13e0cdbb718d7291115b77463c37de8b4ace07e2cc28f9bf1f3c62eb94c90eef4cd41a4610deb123401fa
 EBUILD netbeans-enterprise-9999_p20141001.ebuild 15147 SHA256 dff5533c0ad1050987c86eb4bdcebcb71a7804009ee66b725b4c6bd4f76d9ee3 SHA512 8ecc9d137cbced0d8f6f46cee3e18bf0744a005069e899453e2019b6bafd8e220aaae93859c0214c5ce5d7a8ddd0fb133f879d93327556b1f0a726f874edb619 WHIRLPOOL 3facaccef648be379274910cbea4fc943bfec92988a8a581a10c02b1e6722f0b70c68b7ae767dde185c18ea6fd227d2d8fb3bd0f365d8da43b1fbf876f324f88
-MISC ChangeLog 137453 SHA256 9cc6385ef680b2ef239145664313f34538302397227fdad068ee2a15da75d3c0 SHA512 a3a29995235de3f7cd85697b0813a916e73ab22ec0ff7bc2ed10b4732f3bed8ae055a3d98d26cf34bfa6a51aadf93ff9e70788f51ff7f451576565bd97df82df WHIRLPOOL e0ed94a13d3f72a7ff2ae9dee4faa9d7eaf470b7cb317628c29947fd6ffb851b4fd242cb09024a15eeaad601916878d6b27ea132d2a254dc31c9d40d3726d807
+EBUILD netbeans-enterprise-9999_p20141003.ebuild 15147 SHA256 b75c1e2f705a43fd496f390a50906e4e77538293fa5081e52071a28918a4f984 SHA512 d72ce164e0c3eedff48ddfbb27077e7e2854a58e68b090e37a3ceb8c68bd64624bf889ae9e65e9235db62edb860d67fe3aa6d491ff44443847c524d38745e298 WHIRLPOOL e95bf6f80b010885068227e9789de3ee087d1690ebdb69a6d11eaf4e778b41be9a72425ab44286fdb45dbb14b80322e84e1a4dc810b85e3f6f98721787744d25
+MISC ChangeLog 137634 SHA256 e380b45358bf12c4f87d954bbbf57f4876e6ceaf7aaddca3b6edd70841893225 SHA512 18577b37a81e42ce006d7351704fbb5cef5ee06abd366949f1bd514ff2a701b02e6e2e9ef61510bb16915e3ff720d5f212a1af06530066c9049ff04a64ef7825 WHIRLPOOL b80f5b76fc7738d40560cc6e2dc92b0f9fec2a96afc1cc6632057d42f1efe4647f174555e95aae79e9158af2428ebea58010632f368317b1367b717e1f94aceb
 MISC metadata.xml 251 SHA256 5a4ff53a9862390a48d45c79be24086646e7a6ff0c5bdf0fcb799d0871299003 SHA512 04153cbd9776ad56a94d6a47d043df15d082d8888df8658f18d0d4b659c6c0526ab3a9b22ccbe2471091bf2d8165f224854bc99c51f3664aaf350ccb93532a7c WHIRLPOOL 2ee8a646c6e23bc46c72cac0ecb5cfe43720ec42404ddaeed8ab1b59d139b3d5c1a94764de847f979da978c001c9f02f709d663a68eeea64d19e88f1fefbca43

diff --git a/dev-java/netbeans-enterprise/netbeans-enterprise-9999_p20141003.ebuild b/dev-java/netbeans-enterprise/netbeans-enterprise-9999_p20141003.ebuild
new file mode 100644
index 0000000..b47bb07
--- /dev/null
+++ b/dev-java/netbeans-enterprise/netbeans-enterprise-9999_p20141003.ebuild
@@ -0,0 +1,249 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="4"
+inherit eutils java-pkg-2 java-ant-2
+
+DESCRIPTION="Netbeans Enterprise cluster"
+HOMEPAGE="http://netbeans.org/"
+SLOT="9999"
+SOURCE_URL="http://bits.netbeans.org/download/trunk/nightly/2014-10-03_00-01-50/zip/netbeans-trunk-nightly-201410030001-src.zip"
+SRC_URI="${SOURCE_URL}
+	http://dev.gentoo.org/~fordfrog/distfiles/netbeans-9999-r14-build.xml.patch.bz2
+	http://hg.netbeans.org/binaries/8BFEBCD4B39B87BBE788B4EECED068C8DBE75822-aws-java-sdk-1.2.1.jar
+	http://hg.netbeans.org/binaries/BA8A45A96AFE07D914DE153E0BB137DCDC7734F6-el-impl.jar
+	http://hg.netbeans.org/binaries/33B0D0945555A06B74931DEACF9DB1A4AE2A3EC4-glassfish-jspparser-4.0.jar
+	http://hg.netbeans.org/binaries/D813E05A06B587CD0FE36B00442EAB03C1431AA9-glassfish-logging-2.0.jar
+	http://hg.netbeans.org/binaries/75C30C488AD2A18A82C7FE3829F4A33FC7841643-glassfish-tooling-sdk-0.3-b054-246345.jar
+	http://hg.netbeans.org/binaries/3D74BFB229C259E2398F2B383D5425CB81C643F0-httpclient-4.1.1.jar
+	http://hg.netbeans.org/binaries/33FC26C02F8043AB0EDE19EADC8C9885386B255C-httpcore-4.1.jar
+	http://hg.netbeans.org/binaries/D6F416983EA13C334D5C599A9045414ECAF5D66D-javaee-api-6.0.jar
+	http://hg.netbeans.org/binaries/51399F902CC27A808122EDCBEBFAA1AD989954BA-javaee-api-7.0.jar
+	http://hg.netbeans.org/binaries/EBEC44255251E6D3B8DDBAF701F732DAF0238CBF-javaee-web-api-6.0.jar
+	http://hg.netbeans.org/binaries/B1FCE45BA94108EBF7E1CACE6427EC8761CABEC1-javaee-web-api-7.0.jar
+	http://hg.netbeans.org/binaries/27E9711AA35C39EF455BFD900D544BACB99C0E89-javaee-doc-api.jar
+	http://hg.netbeans.org/binaries/B290091E71DEED6CE7F9EB40523D49C26399A2B4-javax.annotation.jar
+	http://hg.netbeans.org/binaries/1DEEA980904E39C3D7AA240B72CDBBEB8E4860F9-javax.annotation-api.jar
+	http://hg.netbeans.org/binaries/E11C0F07A92F6D02A347DD9C55EE56692A6D9F7E-javax.xml.soap-api.jar
+	http://hg.netbeans.org/binaries/EB77D3664EEA27D67B799ED28CB766B4D0971505-jaxb-api-osgi.jar
+	http://hg.netbeans.org/binaries/45EBA8B0520A70787D5DD2EA154ACE152F817C0D-jaxb-api-osgi.jar
+	http://hg.netbeans.org/binaries/C614ECF62381F88208D66D96146A8307781058DB-jaxrs-ri-2.5.1.zip
+	http://hg.netbeans.org/binaries/D4C96D968F87B1BFEF138E91E06C8FD4A1904208-jaxws-api.jar
+	http://hg.netbeans.org/binaries/B9DB1A789C301F1D31DD6CC524DA2EBD7F89190D-jsf-1.2.zip
+	http://hg.netbeans.org/binaries/99277566601C4D5C2598B0206B5DC071932F3641-jsf-2.2.zip
+	http://hg.netbeans.org/binaries/93A58E37BA1D014375B1578F3D904736CB2D408F-jsf-api-docs.zip
+	http://hg.netbeans.org/binaries/F072F63AB1689E885AC40C221DF3E6BB3E64A84A-jstl-api.jar
+	http://hg.netbeans.org/binaries/5B2E83EF42B4EEF0A7E41D43BB1D4B835F59AC7A-jstl-impl.jar
+	http://hg.netbeans.org/binaries/FDECFB78184C7D19E7E20130A7D7E88C1DF0BDD1-metro-1.4-doc.zip
+	http://hg.netbeans.org/binaries/F05AE8173BC750ECF1B52AD1F80050226458E490-metro-2.0.zip
+	http://hg.netbeans.org/binaries/065BDCE80509320280B3B5210FCDDAE9B7D50338-primefaces-5.0.jar
+	http://hg.netbeans.org/binaries/68C97A238A2143B616879E8C1EF5BF01EA25B11E-servlet3.1-jsp2.3-api.jar
+	http://hg.netbeans.org/binaries/9319FDBED11E0D2EB03E4BB9E94BAA439A1DA469-struts-1.3.10-javadoc.zip
+	http://hg.netbeans.org/binaries/9E226CFC08177A6666E5A2C535C25837A92C54C9-struts-1.3.10-lib.zip
+	http://hg.netbeans.org/binaries/F6E990DF59BD1FD2058320002A853A5411A45CD4-syntaxref20.zip
+	http://hg.netbeans.org/binaries/A5744971ACE1F44A0FC71CCB93DE530CB3022965-webservices-api-osgi.jar"
+LICENSE="|| ( CDDL GPL-2-with-linking-exception )"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+S="${WORKDIR}"
+
+CDEPEND="~dev-java/netbeans-ide-${PV}
+	~dev-java/netbeans-harness-${PV}
+	~dev-java/netbeans-ide-${PV}
+	~dev-java/netbeans-java-${PV}
+	~dev-java/netbeans-profiler-${PV}
+	~dev-java/netbeans-platform-${PV}
+	~dev-java/netbeans-webcommon-${PV}
+	~dev-java/netbeans-websvccommon-${PV}
+	dev-java/commons-codec:0
+	dev-java/commons-fileupload:0
+	dev-java/commons-logging:0
+	dev-java/glassfish-deployment-api:1.2"
+DEPEND=">=virtual/jdk-1.7
+	app-arch/unzip
+	${CDEPEND}
+	dev-java/javahelp:0
+	dev-java/jsr181:0
+	>=dev-java/junit-4.4:4
+	dev-java/tomcat-servlet-api:2.3"
+RDEPEND=">=virtual/jdk-1.7
+	${CDEPEND}
+	dev-java/antlr:0[java]
+	dev-java/bsf:2.3
+	dev-java/commons-beanutils:1.7
+	dev-java/commons-collections:0
+	dev-java/commons-digester:0
+	dev-java/commons-io:1
+	dev-java/commons-validator:0
+	dev-java/jakarta-oro:2.0"
+#	dev-java/commons-chain:1.1 in overlay
+
+INSTALL_DIR="/usr/share/${PN}-${SLOT}"
+
+EANT_BUILD_XML="nbbuild/build.xml"
+EANT_BUILD_TARGET="rebuild-cluster"
+EANT_EXTRA_ARGS="-Drebuild.cluster.name=nb.cluster.enterprise -Dext.binaries.downloaded=true -Dpermit.jdk8.builds=true"
+EANT_FILTER_COMPILER="ecj-3.3 ecj-3.4 ecj-3.5 ecj-3.6 ecj-3.7"
+JAVA_PKG_BSFIX="off"
+
+src_unpack() {
+	unpack $(basename ${SOURCE_URL})
+
+	einfo "Deleting bundled jars..."
+	find -name "*.jar" -type f -delete
+
+	unpack netbeans-9999-r14-build.xml.patch.bz2
+
+	pushd "${S}" >/dev/null || die
+	ln -s "${DISTDIR}"/8BFEBCD4B39B87BBE788B4EECED068C8DBE75822-aws-java-sdk-1.2.1.jar libs.amazon/external/aws-java-sdk-1.2.1.jar || die
+	ln -s "${DISTDIR}"/BA8A45A96AFE07D914DE153E0BB137DCDC7734F6-el-impl.jar libs.elimpl/external/el-impl.jar || die
+	ln -s "${DISTDIR}"/33B0D0945555A06B74931DEACF9DB1A4AE2A3EC4-glassfish-jspparser-4.0.jar web.jspparser/external/glassfish-jspparser-4.0.jar || die
+	ln -s "${DISTDIR}"/D813E05A06B587CD0FE36B00442EAB03C1431AA9-glassfish-logging-2.0.jar libs.glassfish_logging/external/glassfish-logging-2.0.jar || die
+	ln -s "${DISTDIR}"/75C30C488AD2A18A82C7FE3829F4A33FC7841643-glassfish-tooling-sdk-0.3-b054-246345.jar libs.glassfish.sdk/external/glassfish-tooling-sdk-0.3-b054-246345.jar || die
+	ln -s "${DISTDIR}"/3D74BFB229C259E2398F2B383D5425CB81C643F0-httpclient-4.1.1.jar libs.amazon/external/httpclient-4.1.1.jar || die
+	ln -s "${DISTDIR}"/33FC26C02F8043AB0EDE19EADC8C9885386B255C-httpcore-4.1.jar libs.amazon/external/httpcore-4.1.jar || die
+	ln -s "${DISTDIR}"/D6F416983EA13C334D5C599A9045414ECAF5D66D-javaee-api-6.0.jar javaee.api/external/javaee-api-6.0.jar || die
+	ln -s "${DISTDIR}"/51399F902CC27A808122EDCBEBFAA1AD989954BA-javaee-api-7.0.jar javaee7.api/external/javaee-api-7.0.jar || die
+	ln -s "${DISTDIR}"/EBEC44255251E6D3B8DDBAF701F732DAF0238CBF-javaee-web-api-6.0.jar javaee.api/external/javaee-web-api-6.0.jar || die
+	ln -s "${DISTDIR}"/B1FCE45BA94108EBF7E1CACE6427EC8761CABEC1-javaee-web-api-7.0.jar javaee7.api/external/javaee-web-api-7.0.jar || die
+	ln -s "${DISTDIR}"/27E9711AA35C39EF455BFD900D544BACB99C0E89-javaee-doc-api.jar j2ee.platform/external/javaee-doc-api.jar || die
+	ln -s "${DISTDIR}"/B290091E71DEED6CE7F9EB40523D49C26399A2B4-javax.annotation.jar javaee.api/external/javax.annotation.jar || die
+	ln -s "${DISTDIR}"/1DEEA980904E39C3D7AA240B72CDBBEB8E4860F9-javax.annotation-api.jar javaee7.api/external/javax.annotation-api.jar || die
+	ln -s "${DISTDIR}"/E11C0F07A92F6D02A347DD9C55EE56692A6D9F7E-javax.xml.soap-api.jar javaee7.api/external/javax.xml.soap-api.jar || die
+	ln -s "${DISTDIR}"/EB77D3664EEA27D67B799ED28CB766B4D0971505-jaxb-api-osgi.jar javaee.api/external/jaxb-api-osgi.jar || die
+	ln -s "${DISTDIR}"/45EBA8B0520A70787D5DD2EA154ACE152F817C0D-jaxb-api-osgi.jar javaee7.api/external/jaxb-api-osgi.jar || die
+	ln -s "${DISTDIR}"/C614ECF62381F88208D66D96146A8307781058DB-jaxrs-ri-2.5.1.zip websvc.restlib/external/jaxrs-ri-2.5.1.zip || die
+	ln -s "${DISTDIR}"/D4C96D968F87B1BFEF138E91E06C8FD4A1904208-jaxws-api.jar javaee7.api/external/jaxws-api.jar || die
+	ln -s "${DISTDIR}"/B9DB1A789C301F1D31DD6CC524DA2EBD7F89190D-jsf-1.2.zip web.jsf12/external/jsf-1.2.zip || die
+	ln -s "${DISTDIR}"/99277566601C4D5C2598B0206B5DC071932F3641-jsf-2.2.zip web.jsf20/external/jsf-2.2.zip || die
+	ln -s "${DISTDIR}"/93A58E37BA1D014375B1578F3D904736CB2D408F-jsf-api-docs.zip web.jsf.editor/external/jsf-api-docs.zip || die
+	ln -s "${DISTDIR}"/F072F63AB1689E885AC40C221DF3E6BB3E64A84A-jstl-api.jar libs.jstl/external/jstl-api.jar || die
+	ln -s "${DISTDIR}"/5B2E83EF42B4EEF0A7E41D43BB1D4B835F59AC7A-jstl-impl.jar libs.jstl/external/jstl-impl.jar || die
+	ln -s "${DISTDIR}"/FDECFB78184C7D19E7E20130A7D7E88C1DF0BDD1-metro-1.4-doc.zip websvc.metro.lib/external/metro-1.4-doc.zip || die
+	ln -s "${DISTDIR}"/F05AE8173BC750ECF1B52AD1F80050226458E490-metro-2.0.zip websvc.metro.lib/external/metro-2.0.zip || die
+	ln -s "${DISTDIR}"/065BDCE80509320280B3B5210FCDDAE9B7D50338-primefaces-5.0.jar web.primefaces/external/primefaces-5.0.jar || die
+	ln -s "${DISTDIR}"/68C97A238A2143B616879E8C1EF5BF01EA25B11E-servlet3.1-jsp2.3-api.jar servletjspapi/external/servlet3.1-jsp2.3-api.jar || die
+	ln -s "${DISTDIR}"/9319FDBED11E0D2EB03E4BB9E94BAA439A1DA469-struts-1.3.10-javadoc.zip web.struts/external/struts-1.3.10-javadoc.zip || die
+	ln -s "${DISTDIR}"/9E226CFC08177A6666E5A2C535C25837A92C54C9-struts-1.3.10-lib.zip web.struts/external/struts-1.3.10-lib.zip || die
+	ln -s "${DISTDIR}"/F6E990DF59BD1FD2058320002A853A5411A45CD4-syntaxref20.zip web.core.syntax/external/syntaxref20.zip || die
+	ln -s "${DISTDIR}"/A5744971ACE1F44A0FC71CCB93DE530CB3022965-webservices-api-osgi.jar javaee.api/external/webservices-api-osgi.jar || die
+	popd >/dev/null || die
+}
+
+src_prepare() {
+	einfo "Deleting bundled class files..."
+	find -name "*.class" -type f | xargs rm -vf
+
+	epatch netbeans-9999-r14-build.xml.patch
+
+	# Support for custom patches
+	if [ -n "${NETBEANS9999_PATCHES_DIR}" -a -d "${NETBEANS9999_PATCHES_DIR}" ] ; then
+		local files=`find "${NETBEANS9999_PATCHES_DIR}" -type f`
+
+		if [ -n "${files}" ] ; then
+			einfo "Applying custom patches:"
+
+			for file in ${files} ; do
+				epatch "${file}"
+			done
+		fi
+	fi
+
+	einfo "Symlinking external libraries..."
+	java-pkg_jar-from --build-only --into javahelp/external javahelp jhall.jar jhall-2.0_05.jar
+	java-pkg_jar-from --into j2eeapis/external glassfish-deployment-api-1.2 glassfish-deployment-api.jar jsr88javax.jar
+	java-pkg_jar-from --into libs.amazon/external commons-codec commons-codec.jar commons-codec-1.3.jar
+	java-pkg_jar-from --into libs.amazon/external commons-logging commons-logging.jar commons-logging-1.1.1.jar
+	java-pkg_jar-from --into libs.commons_fileupload/external commons-fileupload commons-fileupload.jar commons-fileupload-1.3.jar
+	java-pkg_jar-from --build-only --into javaee7.api/external jsr181 jsr181.jar jsr181-api.jar
+	java-pkg_jar-from --build-only --into libs.junit4/external junit-4 junit.jar junit-4.10.jar
+	java-pkg_jar-from --build-only --into web.monitor/external tomcat-servlet-api-2.3 servlet.jar servlet-2.3.jar
+
+	einfo "Linking in other clusters..."
+	mkdir "${S}"/nbbuild/netbeans || die
+	pushd "${S}"/nbbuild/netbeans >/dev/null || die
+
+	ln -s /usr/share/netbeans-extide-${SLOT} extide || die
+	cat /usr/share/netbeans-extide-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+	touch nb.cluster.extide.built
+
+	ln -s /usr/share/netbeans-harness-${SLOT} harness || die
+	cat /usr/share/netbeans-harness-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+	touch nb.cluster.harness.built
+
+	ln -s /usr/share/netbeans-ide-${SLOT} ide || die
+	cat /usr/share/netbeans-ide-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+	touch nb.cluster.ide.built
+
+	ln -s /usr/share/netbeans-java-${SLOT} java || die
+	cat /usr/share/netbeans-java-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+	touch nb.cluster.java.built
+
+	ln -s /usr/share/netbeans-profiler-${SLOT} profiler || die
+	cat /usr/share/netbeans-profiler-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+	touch nb.cluster.profiler.built
+
+	ln -s /usr/share/netbeans-platform-${SLOT} platform || die
+	cat /usr/share/netbeans-platform-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+	touch nb.cluster.platform.built
+
+	ln -s /usr/share/netbeans-webcommon-${SLOT} webcommon || die
+	cat /usr/share/netbeans-webcommon-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+	touch nb.cluster.webcommon.built
+
+	ln -s /usr/share/netbeans-websvccommon-${SLOT} websvccommon || die
+	cat /usr/share/netbeans-websvccommon-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+	touch nb.cluster.websvccommon.built
+
+	popd >/dev/null || die
+
+	java-pkg-2_src_prepare
+}
+
+src_install() {
+	pushd nbbuild/netbeans/enterprise >/dev/null || die
+
+	insinto ${INSTALL_DIR}
+
+	grep -E "/enterprise$" ../moduleCluster.properties > "${D}"/${INSTALL_DIR}/moduleCluster.properties || die
+
+	doins -r *
+
+	popd >/dev/null || die
+
+	local instdir=${INSTALL_DIR}/modules/ext
+	pushd "${D}"/${instdir} >/dev/null || die
+	rm commons-fileupload-1.3.jar && dosym /usr/share/commons-fileupload/lib/commons-fileupload.jar ${instdir}/commons-fileupload-1.3.jar || die
+	rm jsr88javax.jar && dosym /usr/share/glassfish-deployment-api-1.2/lib/glassfish-deployment-api.jar ${instdir}/jsr88javax.jar || die
+	popd >/dev/null || die
+
+	local instdir=${INSTALL_DIR}/modules/ext/aws-sdk
+	pushd "${D}"/${instdir} >/dev/null || die
+	rm commons-codec-1.3.jar && dosym /usr/share/commons-codec/lib/commons-codec.jar ${instdir}/commons-codec-1.3.jar || die
+	rm commons-logging-1.1.1.jar && dosym /usr/share/commons-logging/lib/commons-logging.jar ${instdir}/commons-logging-1.1.1.jar || die
+	popd >/dev/null || die
+
+	local instdir=${INSTALL_DIR}/modules/ext/jsf-1_2
+	pushd "${D}"/${instdir} >/dev/null || die
+	rm commons-beanutils.jar && dosym /usr/share/commons-beanutils-1.7/lib/commons-beanutils.jar ${instdir}/commons-beanutils.jar || die
+	rm commons-collections.jar && dosym /usr/share/commons-collections/lib/commons-collections.jar ${instdir}/commons-collections.jar || die
+	rm commons-digester.jar && dosym /usr/share/commons-digester/lib/commons-digester.jar ${instdir}/commons-digester.jar || die
+	rm commons-logging.jar && dosym /usr/share/commons-logging/lib/commons-logging.jar ${instdir}/commons-logging.jar || die
+	popd >/dev/null || die
+
+	local instdir=${INSTALL_DIR}/modules/ext/struts
+	pushd "${D}"/${instdir} >/dev/null || die
+	rm antlr-2.7.2.jar && dosym /usr/share/antlr/lib/antlr.jar ${instdir}/antlr-2.7.2.jar || die
+	rm bsf-2.3.0.jar && dosym /usr/share/bsf-2.3/lib/bsf.jar ${instdir}/bsf-2.3.0.jar || die
+	rm commons-beanutils-1.8.0.jar && dosym /usr/share/commons-beanutils-1.7/lib/commons-beanutils.jar ${instdir}/commons-beanutils-1.8.0.jar || die
+	rm commons-digester-1.8.jar && dosym /usr/share/commons-digester/lib/commons-digester.jar ${instdir}/commons-digester-1.8.jar || die
+	rm commons-fileupload-1.1.1.jar && dosym /usr/share/commons-fileupload/lib/commons-fileupload.jar ${instdir}/commons-fileupload-1.1.1.jar || die
+	rm commons-io-1.1.jar && dosym /usr/share/commons-io-1/lib/commons-io.jar ${instdir}/commons-io-1.1.jar || die
+	rm commons-logging-1.0.4.jar && dosym /usr/share/commons-logging/lib/commons-logging.jar ${instdir}/commons-logging-1.0.4.jar || die
+	rm commons-validator-1.3.1.jar && dosym /usr/share/commons-validator/lib/commons-validator.jar ${instdir}/commons-validator-1.3.1.jar || die
+	rm oro-2.0.8.jar && dosym /usr/share/jakarta-oro-2.0/lib/jakarta-oro.jar ${instdir}/oro-2.0.8.jar || die
+	popd >/dev/null || die
+
+	dosym ${INSTALL_DIR} /usr/share/netbeans-nb-${SLOT}/enterprise
+}

diff --git a/dev-java/netbeans-ergonomics/ChangeLog b/dev-java/netbeans-ergonomics/ChangeLog
index 7ef2e06..844d75e 100644
--- a/dev-java/netbeans-ergonomics/ChangeLog
+++ b/dev-java/netbeans-ergonomics/ChangeLog
@@ -2,6 +2,12 @@
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+*netbeans-ergonomics-9999_p20141003 (03 Oct 2014)
+
+  03 Oct 2014; Miroslav Šulc <fordfrog@gentoo.org>
+  +netbeans-ergonomics-9999_p20141003.ebuild:
+  bumped to the latest sources
+
 *netbeans-ergonomics-9999_p20141001 (01 Oct 2014)
 
   01 Oct 2014; Miroslav Šulc <fordfrog@gentoo.org>

diff --git a/dev-java/netbeans-ergonomics/Manifest b/dev-java/netbeans-ergonomics/Manifest
index e4c7510..bf244f6 100644
--- a/dev-java/netbeans-ergonomics/Manifest
+++ b/dev-java/netbeans-ergonomics/Manifest
@@ -20,6 +20,7 @@ DIST netbeans-trunk-nightly-201409260001-src.zip 197125028 SHA256 0b2e8f0b10eb02
 DIST netbeans-trunk-nightly-201409280001-src.zip 197332446 SHA256 eac6b2e0b19817527b56f73f188b53b3f297ce5c20a01be3ccc6902ff2f94ed4 SHA512 fbf694a7138146ceb96ccf0d172b9f8031fd2eb3e06aa438386912bf7ea458874ee7041e25e672db2f297875e03fd75f48e8f4410d2e5153f090e2c09d62bc86 WHIRLPOOL a33730b5f76c4aa67476f70961c0ff5fa1916b9caa87173f1c8a57715fd414c65d77ac9d91cf9a1aacd1c6b6ae070595e7becb4394efcaf14759e10d83aaf4de
 DIST netbeans-trunk-nightly-201409300001-src.zip 197332445 SHA256 c306ca40b2bb2ca3f3a4d3ea10fea43b0bcdaaba31291ec5bdb4dbc7d3e67e34 SHA512 91d56515b70db2c2e0deb22938c38e6b45011eeb74083b474fdad64f7851911fcd93612cf08cfc0e5e03ca0e2a79530c59232dbf865853630640c26cc3105d48 WHIRLPOOL 29423713433df87c5f589742beb10682391dc8fea5b5512948709627b8a31cb802962e8845420fec19cde09672b823470f485c21ea85573fdb20af620b54ba55
 DIST netbeans-trunk-nightly-201410010001-src.zip 197355068 SHA256 0d284d68152ca0da1c8dfb7149e5b2638133fe3be6790f312c9959e59528144b SHA512 33ce5f22e9d3ac55d4f7b4b353956a39e030dee6380c5f379fba810f3ec86f8b36e88b773dbbf8bc3c430fc58caba9097764b7eac2d44ce2a25129f8f20fa4f2 WHIRLPOOL b4228286acec04cb321ca8aba60af42a7a1e2c20de1f657773166021a36e284b5ac4f49e9dbf8a51d81577b0d49d387707de3fcc0a622fd13b57c7d704b3da00
+DIST netbeans-trunk-nightly-201410030001-src.zip 197355085 SHA256 f915305ddfd881aaf161ca366c2af9eb29e954c971e73580aaab68cc0836f53e SHA512 d681dd706f0ca188fd5c8d055c88396e33a4e5b3f956017273e0834c755cb6905427c7a9f1dc12c05668580b2ce09caef1b5ea18e2f15384e06900f6cc197df5 WHIRLPOOL a93aa92eabd9120ec1923d6f7af586bead3915691a795d45e2929623b34c52d267091203c7b6d4e2bf0b1629624e6a49ad2d28bddce35ab9508bdc099aa511ed
 EBUILD netbeans-ergonomics-7.0.1.ebuild 2884 SHA256 e8e4a785fc11b6d0d3c722826761581b8c9c779c5460dc7d1487b3154f4402ab SHA512 3ba2810e650726f48fbdb1bc0c58b6ee1e7d9d29d4be3b27c00bc981b773f26d979fd90154184276e044eafd1d4d8940b47d6f0f58589f9cff7fbadef5fbb05f WHIRLPOOL 5fab7fe6492f91bd0e97a8a95c0652266d771e9b60957e16ce6ff683c1e38081372151cd8c7bea44ee1f1dd7bf435f8b00b9a1a23e4c6106c990794c6093ba10
 EBUILD netbeans-ergonomics-7.1.2.ebuild 2893 SHA256 cd56250980429160b8fa9deb17f15050d016394d5fdef19bf772cf29988c86d8 SHA512 32d4556218791a32efb8cf8ec8303f7e8f27bfb03b97af0c66cee717563c7e02fcd9e350b0425ec0cec28ab09865d4815aba1471ee958e05e7c42e421a7f71c2 WHIRLPOOL 318c8528c2338c1e2f6e342c263be52753fa74c9ac934b0ee60fe0fff2146e86d1761fef8eaeca8eab844709bea2196fbe181fad1f689a9d5b9994da3271b4db
 EBUILD netbeans-ergonomics-7.2.ebuild 2876 SHA256 ca7184ac24c255941c4ec3e686c4237ef0af4be7242c44417fa799813083515e SHA512 c6537bedf2fed4ea914c74a208124fe692af837ab2c81c98b8aa0347cb9d5af496378a8c042437facced26d3b42b101225dfa8b81dfc3d6ec4e3e5613e359f72 WHIRLPOOL c7e4c08ace118690f454dbf6a9040bff3e7013c646947fd02b05bca2b4d802393b6eca3234c6228f8e4df4da1ed193ecfd93c848038e4dd9ae3f50959692aa15
@@ -35,5 +36,6 @@ EBUILD netbeans-ergonomics-9999_p20140926.ebuild 2919 SHA256 4a50baf56b8652e8ef5
 EBUILD netbeans-ergonomics-9999_p20140928.ebuild 2919 SHA256 58b2b270cac0369769e2cbb8fe65091a89ef94c6a926970a79ab95b14625f06d SHA512 1a4a3e4746f243918b4d43ffd39e3c55e0f7a88f610750ec1e676a6c9fb6aecd0b3cfbdf8be018a8955e2bb10410b6081283ae4b13b17f7a302772cc6be3e9fd WHIRLPOOL 51eee6f05cf64a219cae2e39e830e3f28b345051db2286041e15b62c19bbcf22a4458000f5c923d562aebb59a85aee23264215852ef42b3f2e65c28577d53995
 EBUILD netbeans-ergonomics-9999_p20140930.ebuild 2919 SHA256 0e6db51668f78c25affc6e4b96f1e44f9e9a00620819c6d76acffb79b539e440 SHA512 6abfe77d789b33bbb243efff648ff844f9893bbef118cfe7be0ad1909aa350d382daf838b6d2c557f1de898428662d4690bf1020f877bca081c9e8722778fb85 WHIRLPOOL aa87cbf0ca08c0db7dc9900c14273df3d3e63ad650a98ac00b4d77bd71dc6b6567b4a41bb527ecf1a59ec3343fb4580817c51a988f3a6285b4be33f9d522018f
 EBUILD netbeans-ergonomics-9999_p20141001.ebuild 2919 SHA256 875a593a0edb74898cc1cfcb038b592cad12ce053d30cb2a94f4f8f2cb1c9d2f SHA512 d2a2b6013a2aeb5ad8b3a1d9b03bd7445a90579ea154b9e21f640f7cb3980fe9341346833466b5a362dbcf08bc53d33c8cc3881462edc1ba6eac8ba47fce5c5a WHIRLPOOL 3ae85ca0927765b1f9817473f563249335a2e3333e191fe728b088b4cf73613b19066dbcb6d353230e40addb5ea64cd58fd742df85476485f05578e5e787c26a
-MISC ChangeLog 136928 SHA256 b83d117269249941b7c328e9f74b0b8ae337b75877950c8946b78e43479d7b76 SHA512 8ba5e6357ce3396cad181e1135b14170da5870b28841d7e93de7267dcceafe7fbfee849bab1c7716ce762058fdf104f826f358d169098b4464cf34e7cfd4b932 WHIRLPOOL b57f9fc157f7e5bbe3a7522160b9d62f3f00609459f02aa19872a1391cf8d853795ef1d407767243735b90bc58780a8121ae0f51cf79314169db48f2a301c192
+EBUILD netbeans-ergonomics-9999_p20141003.ebuild 2919 SHA256 b05593c12331531fd3ab2d4b1e87279f6b9d9c05f2828915f516c8bda0efb31e SHA512 3e72726530fb9f6f70da8fe6946539e85049538269173d5096620ed056e4832166a1627ea9879062b73d466f5a013b53bb565db652e016d3791521b84d091e8e WHIRLPOOL 63dbd30aaa1f861cfb14254f407bfe6b1aa1199f56571b16180d23e437e892696b61f57694b9d6c7a69d8094059835580fd8074d3e633dc54f159799d19ab09a
+MISC ChangeLog 137109 SHA256 ca7378227268d048a19a45bfb2e4b8ababc276690b4057474c13cf2443dfcdb0 SHA512 413ffcee4791010334969400877c5896c69526f2ab440a657e2a81a8009a07487f7573283cad2faa1381549a8e74791f0c6a2bbfb61af23063741633e6b4a088 WHIRLPOOL a1ec0404c9aca35f5a08a8fca4585bb2a93f5de639d8aafdf4c86abea14fe1ee66a99a6bb0fe0a150092e79409bdf128ac5cfd302b7668d725d9cb9a3bed0afa
 MISC metadata.xml 251 SHA256 5a4ff53a9862390a48d45c79be24086646e7a6ff0c5bdf0fcb799d0871299003 SHA512 04153cbd9776ad56a94d6a47d043df15d082d8888df8658f18d0d4b659c6c0526ab3a9b22ccbe2471091bf2d8165f224854bc99c51f3664aaf350ccb93532a7c WHIRLPOOL 2ee8a646c6e23bc46c72cac0ecb5cfe43720ec42404ddaeed8ab1b59d139b3d5c1a94764de847f979da978c001c9f02f709d663a68eeea64d19e88f1fefbca43

diff --git a/dev-java/netbeans-ergonomics/netbeans-ergonomics-9999_p20141003.ebuild b/dev-java/netbeans-ergonomics/netbeans-ergonomics-9999_p20141003.ebuild
new file mode 100644
index 0000000..325a17a
--- /dev/null
+++ b/dev-java/netbeans-ergonomics/netbeans-ergonomics-9999_p20141003.ebuild
@@ -0,0 +1,101 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="4"
+inherit eutils java-pkg-2 java-ant-2
+
+DESCRIPTION="Netbeans Ergonomics Cluster"
+HOMEPAGE="http://netbeans.org/"
+SLOT="9999"
+SOURCE_URL="http://bits.netbeans.org/download/trunk/nightly/2014-10-03_00-01-50/zip/netbeans-trunk-nightly-201410030001-src.zip"
+SRC_URI="${SOURCE_URL}
+	http://dev.gentoo.org/~fordfrog/distfiles/netbeans-9999-r14-build.xml.patch.bz2"
+LICENSE="|| ( CDDL GPL-2-with-linking-exception )"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+S="${WORKDIR}"
+
+CDEPEND="~dev-java/netbeans-ide-${PV}
+	~dev-java/netbeans-nb-${PV}
+	~dev-java/netbeans-platform-${PV}"
+DEPEND=">=virtual/jdk-1.7
+	app-arch/unzip
+	${CDEPEND}
+	dev-java/javahelp:0"
+RDEPEND=">=virtual/jdk-1.7
+	${CDEPEND}"
+
+INSTALL_DIR="/usr/share/${PN}-${SLOT}"
+
+EANT_BUILD_XML="nbbuild/build.xml"
+EANT_BUILD_TARGET="rebuild-cluster"
+EANT_EXTRA_ARGS="-Drebuild.cluster.name=nb.cluster.ergonomics -Dext.binaries.downloaded=true -Dpermit.jdk8.builds=true"
+EANT_FILTER_COMPILER="ecj-3.3 ecj-3.4 ecj-3.5 ecj-3.6 ecj-3.7"
+JAVA_PKG_BSFIX="off"
+
+src_unpack() {
+	unpack $(basename ${SOURCE_URL})
+
+	einfo "Deleting bundled jars..."
+	find -name "*.jar" -type f -delete
+
+	unpack netbeans-9999-r14-build.xml.patch.bz2
+}
+
+src_prepare() {
+	einfo "Deleting bundled class files..."
+	find -name "*.class" -type f | xargs rm -vf
+
+	epatch netbeans-9999-r14-build.xml.patch
+
+	# Support for custom patches
+	if [ -n "${NETBEANS9999_PATCHES_DIR}" -a -d "${NETBEANS9999_PATCHES_DIR}" ] ; then
+		local files=`find "${NETBEANS9999_PATCHES_DIR}" -type f`
+
+		if [ -n "${files}" ] ; then
+			einfo "Applying custom patches:"
+
+			for file in ${files} ; do
+				epatch "${file}"
+			done
+		fi
+	fi
+
+	einfo "Symlinking external libraries..."
+	java-pkg_jar-from --build-only --into javahelp/external javahelp jhall.jar jhall-2.0_05.jar
+
+	einfo "Linking in other clusters..."
+	mkdir "${S}"/nbbuild/netbeans || die
+	pushd "${S}"/nbbuild/netbeans >/dev/null || die
+
+	ln -s /usr/share/netbeans-ide-${SLOT} ide || die
+	cat /usr/share/netbeans-ide-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+	touch nb.cluster.ide.built
+
+	ln -s /usr/share/netbeans-nb-${SLOT}/nb nb || die
+	cat /usr/share/netbeans-nb-${SLOT}/nb/moduleCluster.properties >> moduleCluster.properties || die
+	touch nb.cluster.nb.built
+
+	ln -s /usr/share/netbeans-platform-${SLOT} platform || die
+	cat /usr/share/netbeans-platform-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+	touch nb.cluster.platform.built
+
+	popd >/dev/null || die
+
+	java-pkg-2_src_prepare
+}
+
+src_install() {
+	pushd nbbuild/netbeans/ergonomics >/dev/null || die
+
+	insinto ${INSTALL_DIR}
+
+	grep -E "/ergonomics$" ../moduleCluster.properties > "${D}"/${INSTALL_DIR}/moduleCluster.properties || die
+
+	doins -r *
+
+	popd >/dev/null || die
+
+	dosym ${INSTALL_DIR} /usr/share/netbeans-nb-${SLOT}/ergonomics
+}

diff --git a/dev-java/netbeans-extide/ChangeLog b/dev-java/netbeans-extide/ChangeLog
index 4683264..09f4426 100644
--- a/dev-java/netbeans-extide/ChangeLog
+++ b/dev-java/netbeans-extide/ChangeLog
@@ -2,6 +2,12 @@
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+*netbeans-extide-9999_p20141003 (03 Oct 2014)
+
+  03 Oct 2014; Miroslav Šulc <fordfrog@gentoo.org>
+  +netbeans-extide-9999_p20141003.ebuild:
+  bumped to the latest sources
+
 *netbeans-extide-9999_p20141001 (01 Oct 2014)
 
   01 Oct 2014; Miroslav Šulc <fordfrog@gentoo.org>

diff --git a/dev-java/netbeans-extide/Manifest b/dev-java/netbeans-extide/Manifest
index 423b404..925b93e 100644
--- a/dev-java/netbeans-extide/Manifest
+++ b/dev-java/netbeans-extide/Manifest
@@ -18,6 +18,7 @@ DIST netbeans-trunk-nightly-201409260001-src.zip 197125028 SHA256 0b2e8f0b10eb02
 DIST netbeans-trunk-nightly-201409280001-src.zip 197332446 SHA256 eac6b2e0b19817527b56f73f188b53b3f297ce5c20a01be3ccc6902ff2f94ed4 SHA512 fbf694a7138146ceb96ccf0d172b9f8031fd2eb3e06aa438386912bf7ea458874ee7041e25e672db2f297875e03fd75f48e8f4410d2e5153f090e2c09d62bc86 WHIRLPOOL a33730b5f76c4aa67476f70961c0ff5fa1916b9caa87173f1c8a57715fd414c65d77ac9d91cf9a1aacd1c6b6ae070595e7becb4394efcaf14759e10d83aaf4de
 DIST netbeans-trunk-nightly-201409300001-src.zip 197332445 SHA256 c306ca40b2bb2ca3f3a4d3ea10fea43b0bcdaaba31291ec5bdb4dbc7d3e67e34 SHA512 91d56515b70db2c2e0deb22938c38e6b45011eeb74083b474fdad64f7851911fcd93612cf08cfc0e5e03ca0e2a79530c59232dbf865853630640c26cc3105d48 WHIRLPOOL 29423713433df87c5f589742beb10682391dc8fea5b5512948709627b8a31cb802962e8845420fec19cde09672b823470f485c21ea85573fdb20af620b54ba55
 DIST netbeans-trunk-nightly-201410010001-src.zip 197355068 SHA256 0d284d68152ca0da1c8dfb7149e5b2638133fe3be6790f312c9959e59528144b SHA512 33ce5f22e9d3ac55d4f7b4b353956a39e030dee6380c5f379fba810f3ec86f8b36e88b773dbbf8bc3c430fc58caba9097764b7eac2d44ce2a25129f8f20fa4f2 WHIRLPOOL b4228286acec04cb321ca8aba60af42a7a1e2c20de1f657773166021a36e284b5ac4f49e9dbf8a51d81577b0d49d387707de3fcc0a622fd13b57c7d704b3da00
+DIST netbeans-trunk-nightly-201410030001-src.zip 197355085 SHA256 f915305ddfd881aaf161ca366c2af9eb29e954c971e73580aaab68cc0836f53e SHA512 d681dd706f0ca188fd5c8d055c88396e33a4e5b3f956017273e0834c755cb6905427c7a9f1dc12c05668580b2ce09caef1b5ea18e2f15384e06900f6cc197df5 WHIRLPOOL a93aa92eabd9120ec1923d6f7af586bead3915691a795d45e2929623b34c52d267091203c7b6d4e2bf0b1629624e6a49ad2d28bddce35ab9508bdc099aa511ed
 EBUILD netbeans-extide-7.4.ebuild 3311 SHA256 8585e0b9eac3b9bb35d5b5e0152936f84708a824d76831930a3dfd3d196556b0 SHA512 19eceec7a634923b4712eb277a1ff9900a2eb4d9ac0a2c699175333c263f0c02baaf24eb30bd7919444f5c9df751186689b2d4359ca1c88dca02884d7c18c3cd WHIRLPOOL e64509f198c4d09851f98d5bd2ddd5b469b0a7c0f3122f391c17833e5d6d77b7a6c2fd9e942e34f2df42047504ad40593f97af9b2898450e769c7b012355c316
 EBUILD netbeans-extide-8.0.ebuild 3305 SHA256 b2d57e2e2d92760ead3d383fe4dd5b4fb9fc2807a9b58c6f40b44fc24072b8bb SHA512 6e7f12758188a564ef6b5cf8b0ffdf79e30d1021172d10f215d04e727bc4001e4385fd0961a26a6bb42638089e0919b1d4628a13ba11a3deac94d4693c7210d5 WHIRLPOOL adac8461de43669b7bb98ea8920c0a2944837211a37503b957221149d4b91c4bd92b6db160191990b838c474495c65f62c8a4bb9fdbcaa371b4648a335b1afa9
 EBUILD netbeans-extide-9999_p20140901.ebuild 3357 SHA256 f1e680c4d7b5db49ff5c23f89d701d9ab06839796a411c3948eb295330616846 SHA512 35dff65de8980505a93c33b4fc759c1bcb3cf05f8b2d2f41d563ae7e36823525b43cff48c20c4e78f3b32286ca19801c9114f7823cfa748fa3d6f6fde834ebcb WHIRLPOOL f8ec526281e498ec6bad90f0d35fe0f75ea1505baa9a356d7ad189b4df80eea043f0031ddf3885943e7f20a1be79ae6c829735045f173f4b1c7ebbd3c0ad5871
@@ -29,5 +30,6 @@ EBUILD netbeans-extide-9999_p20140926.ebuild 3383 SHA256 1b5beb8039e9c64ae131999
 EBUILD netbeans-extide-9999_p20140928.ebuild 3383 SHA256 0acf6136e5f31ce22ce1692c57a1fe25ce2b2392c3ab2620f7525cecd3db5ba6 SHA512 ff9cbb55817e2acaf61e9d8268779bdd53cf1915cf8d84fc6aa51eec995fcb1ff6e3e75e5fff3cce86b7975e15b1af85ff22089b7d106dc25cba6a46c01735b8 WHIRLPOOL 96a8e0861a26a259d2ef1fb17c061c866169168c4528d53b3135929dad9ad87006d96b487726cd498333021799f4685920ca74460fbabce711c4ed480f75464c
 EBUILD netbeans-extide-9999_p20140930.ebuild 3383 SHA256 9a303046528b286e37b1d64fe1bcb36b541ba63f84b2fb2a414a51dc23b4a85e SHA512 c9451d50c85a87e1c1bb5fdcbb4d6f6d7d9b9240306f4ff77918cbef6083eb0de068d8b69bdf66f05b7a11c2bb74f4184a64abe75eeee2ec97c1bbb1bdc144ec WHIRLPOOL a11908630ec4bd7888f092f9454b423fab338fc9a455c28c17d9da1073bb5312b26c761da68d9d7326600f79746bf4c320dfae907202c1d0b2a6d292bb659446
 EBUILD netbeans-extide-9999_p20141001.ebuild 3383 SHA256 28f0df3cf47d0c1a73e413fc7bd1d8768a1d9c26d5cc5a32f57fdcf9f7784ff9 SHA512 889799daeb6b82a9565861ad26ed3b79ed10014cf8d47720e64647101796a17956341ee6c539acbf8b50215145dc0cb705cfc7464400e07c6a736f765a1a7429 WHIRLPOOL 10936cf6eeca831be05e4163056c0297f5bd919a2c09c43d8331f5cd3741603db4013594f56ea551c8a2980b5210c61403ff485acb7afff961f0309984aa830f
-MISC ChangeLog 62467 SHA256 c15b518e17778077e280534526820846054514124a63b5cc108455b83596346d SHA512 8e4bab293b01f71ae98f912ef2964caf77f1d219495272acf7d342fba09ac5ce0c7ab6f3a4522b0e82b3575b64ce386fd886135234a6ab401acf49ceb7499d10 WHIRLPOOL d5da89d0d4038a476df41a0c2de46c9a1416e9643ea8eff69c629562997ca20ad906a76e4377b428033feccc1bd34620bb568dd370d946cdd53d0e456196dde5
+EBUILD netbeans-extide-9999_p20141003.ebuild 3383 SHA256 0dd7a89f137d63bd328687b2448cb3fdfa25402b561d836a3e76b14a1c220eee SHA512 1d7b22650a640e380f8074cd88a6ee3ecd268cf19bc7a95a1b2db17af70a6a02e78e37810797693769f819d9c3536cdb4e4a4046328c5d576439fd041bbc48f5 WHIRLPOOL 992412f3d025f933af159d54b1191e6d038a82deec295460b6b5bef43d82e21128887efcc34c039b87bcac1d1d9911a808467d6788ae0b6e4af6c734b47ec451
+MISC ChangeLog 62640 SHA256 c7315fbaf660d96b4c537f82cef27c9d802dbd7f725345229f25f4970936f7d9 SHA512 1708429e0f1c7ad28f9891633a7aab3b4e7a6cdd94c6e00fded5b9a1946ea909b8bab6d8ecabe54cf312964b2fad254c6ed97a8fdc8917fb2936bebb1afd7064 WHIRLPOOL edd5354a5892f9b6bda0a411bb3a745271c4b0c22eea0375cc42b16602c4a8be52edb4e15a2ce26ca6b1e86a4fdcc8c839569f0a3b68887410392cb46a9459f5
 MISC metadata.xml 251 SHA256 5a4ff53a9862390a48d45c79be24086646e7a6ff0c5bdf0fcb799d0871299003 SHA512 04153cbd9776ad56a94d6a47d043df15d082d8888df8658f18d0d4b659c6c0526ab3a9b22ccbe2471091bf2d8165f224854bc99c51f3664aaf350ccb93532a7c WHIRLPOOL 2ee8a646c6e23bc46c72cac0ecb5cfe43720ec42404ddaeed8ab1b59d139b3d5c1a94764de847f979da978c001c9f02f709d663a68eeea64d19e88f1fefbca43

diff --git a/dev-java/netbeans-extide/netbeans-extide-9999_p20141003.ebuild b/dev-java/netbeans-extide/netbeans-extide-9999_p20141003.ebuild
new file mode 100644
index 0000000..d100e74
--- /dev/null
+++ b/dev-java/netbeans-extide/netbeans-extide-9999_p20141003.ebuild
@@ -0,0 +1,108 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="4"
+inherit eutils java-pkg-2 java-ant-2
+
+DESCRIPTION="Netbeans ExtIDE Cluster"
+HOMEPAGE="http://netbeans.org/projects/ide"
+SLOT="9999"
+SOURCE_URL="http://bits.netbeans.org/download/trunk/nightly/2014-10-03_00-01-50/zip/netbeans-trunk-nightly-201410030001-src.zip"
+SRC_URI="${SOURCE_URL}
+	http://dev.gentoo.org/~fordfrog/distfiles/netbeans-9999-r14-build.xml.patch.bz2
+	http://hg.netbeans.org/binaries/22CB933E3A1450B092C45785C187837E97523F5C-ant-libs-1.9.4.zip
+	http://hg.netbeans.org/binaries/95CCE237B1E9390FBED0440B601822813DB220E6-ant-misc-1.9.4.zip"
+LICENSE="|| ( CDDL GPL-2-with-linking-exception )"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+S="${WORKDIR}"
+
+CDEPEND="~dev-java/netbeans-ide-${PV}
+	~dev-java/netbeans-platform-${PV}"
+DEPEND=">=virtual/jdk-1.7
+	app-arch/unzip
+	dev-java/javahelp:0
+	${CDEPEND}"
+RDEPEND=">=virtual/jdk-1.7
+	${CDEPEND}"
+
+INSTALL_DIR="/usr/share/${PN}-${SLOT}"
+
+EANT_BUILD_XML="nbbuild/build.xml"
+EANT_BUILD_TARGET="rebuild-cluster"
+EANT_EXTRA_ARGS="-Drebuild.cluster.name=nb.cluster.extide -Dext.binaries.downloaded=true -Djava.awt.headless=true -Dpermit.jdk8.builds=true"
+EANT_FILTER_COMPILER="ecj-3.3 ecj-3.4 ecj-3.5 ecj-3.6 ecj-3.7"
+JAVA_PKG_BSFIX="off"
+
+src_unpack() {
+	unpack $(basename ${SOURCE_URL})
+
+	einfo "Deleting bundled jars..."
+	find -name "*.jar" -type f -delete
+
+	unpack netbeans-9999-r14-build.xml.patch.bz2
+
+	pushd "${S}" >/dev/null || die
+	ln -s "${DISTDIR}"/22CB933E3A1450B092C45785C187837E97523F5C-ant-libs-1.9.4.zip o.apache.tools.ant.module/external/ant-libs-1.9.4.zip || die
+	ln -s "${DISTDIR}"/95CCE237B1E9390FBED0440B601822813DB220E6-ant-misc-1.9.4.zip o.apache.tools.ant.module/external/ant-misc-1.9.4.zip || die
+	popd >/dev/null || die
+}
+
+src_prepare() {
+	einfo "Deleting bundled class files..."
+	find -name "*.class" -type f | xargs rm -vf
+
+	epatch netbeans-9999-r14-build.xml.patch
+
+	# Support for custom patches
+	if [ -n "${NETBEANS9999_PATCHES_DIR}" -a -d "${NETBEANS9999_PATCHES_DIR}" ] ; then
+		local files=`find "${NETBEANS9999_PATCHES_DIR}" -type f`
+
+		if [ -n "${files}" ] ; then
+			einfo "Applying custom patches:"
+
+			for file in ${files} ; do
+				epatch "${file}"
+			done
+		fi
+	fi
+
+	einfo "Symlinking external libraries..."
+	java-pkg_jar-from --build-only --into javahelp/external javahelp jhall.jar jhall-2.0_05.jar
+
+	einfo "Linking in other clusters..."
+	mkdir "${S}"/nbbuild/netbeans || die
+	pushd "${S}"/nbbuild/netbeans >/dev/null || die
+
+	ln -s /usr/share/netbeans-ide-${SLOT} ide || die
+	cat /usr/share/netbeans-ide-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+	touch nb.cluster.ide.built
+
+	ln -s /usr/share/netbeans-platform-${SLOT} platform || die
+	cat /usr/share/netbeans-platform-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+	touch nb.cluster.platform.built
+
+	popd >/dev/null || die
+
+	java-pkg-2_src_prepare
+}
+
+src_compile() {
+	unset DISPLAY
+	eant -f ${EANT_BUILD_XML} ${EANT_EXTRA_ARGS} ${EANT_BUILD_TARGET} || die "Compilation failed"
+}
+
+src_install() {
+	pushd nbbuild/netbeans/extide >/dev/null || die
+
+	insinto ${INSTALL_DIR}
+
+	grep -E "/extide$" ../moduleCluster.properties > "${D}"/${INSTALL_DIR}/moduleCluster.properties || die
+
+	doins -r *
+
+	popd >/dev/null || die
+
+	dosym ${INSTALL_DIR} /usr/share/netbeans-nb-${SLOT}/extide
+}

diff --git a/dev-java/netbeans-groovy/ChangeLog b/dev-java/netbeans-groovy/ChangeLog
index 2061faa..567f193 100644
--- a/dev-java/netbeans-groovy/ChangeLog
+++ b/dev-java/netbeans-groovy/ChangeLog
@@ -2,6 +2,12 @@
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+*netbeans-groovy-9999_p20141003 (03 Oct 2014)
+
+  03 Oct 2014; Miroslav Šulc <fordfrog@gentoo.org>
+  +netbeans-groovy-9999_p20141003.ebuild:
+  bumped to the latest sources
+
 *netbeans-groovy-9999_p20141001 (01 Oct 2014)
 
   01 Oct 2014; Miroslav Šulc <fordfrog@gentoo.org>

diff --git a/dev-java/netbeans-groovy/Manifest b/dev-java/netbeans-groovy/Manifest
index cfc6574..adb910f 100644
--- a/dev-java/netbeans-groovy/Manifest
+++ b/dev-java/netbeans-groovy/Manifest
@@ -24,6 +24,7 @@ DIST netbeans-trunk-nightly-201409260001-src.zip 197125028 SHA256 0b2e8f0b10eb02
 DIST netbeans-trunk-nightly-201409280001-src.zip 197332446 SHA256 eac6b2e0b19817527b56f73f188b53b3f297ce5c20a01be3ccc6902ff2f94ed4 SHA512 fbf694a7138146ceb96ccf0d172b9f8031fd2eb3e06aa438386912bf7ea458874ee7041e25e672db2f297875e03fd75f48e8f4410d2e5153f090e2c09d62bc86 WHIRLPOOL a33730b5f76c4aa67476f70961c0ff5fa1916b9caa87173f1c8a57715fd414c65d77ac9d91cf9a1aacd1c6b6ae070595e7becb4394efcaf14759e10d83aaf4de
 DIST netbeans-trunk-nightly-201409300001-src.zip 197332445 SHA256 c306ca40b2bb2ca3f3a4d3ea10fea43b0bcdaaba31291ec5bdb4dbc7d3e67e34 SHA512 91d56515b70db2c2e0deb22938c38e6b45011eeb74083b474fdad64f7851911fcd93612cf08cfc0e5e03ca0e2a79530c59232dbf865853630640c26cc3105d48 WHIRLPOOL 29423713433df87c5f589742beb10682391dc8fea5b5512948709627b8a31cb802962e8845420fec19cde09672b823470f485c21ea85573fdb20af620b54ba55
 DIST netbeans-trunk-nightly-201410010001-src.zip 197355068 SHA256 0d284d68152ca0da1c8dfb7149e5b2638133fe3be6790f312c9959e59528144b SHA512 33ce5f22e9d3ac55d4f7b4b353956a39e030dee6380c5f379fba810f3ec86f8b36e88b773dbbf8bc3c430fc58caba9097764b7eac2d44ce2a25129f8f20fa4f2 WHIRLPOOL b4228286acec04cb321ca8aba60af42a7a1e2c20de1f657773166021a36e284b5ac4f49e9dbf8a51d81577b0d49d387707de3fcc0a622fd13b57c7d704b3da00
+DIST netbeans-trunk-nightly-201410030001-src.zip 197355085 SHA256 f915305ddfd881aaf161ca366c2af9eb29e954c971e73580aaab68cc0836f53e SHA512 d681dd706f0ca188fd5c8d055c88396e33a4e5b3f956017273e0834c755cb6905427c7a9f1dc12c05668580b2ce09caef1b5ea18e2f15384e06900f6cc197df5 WHIRLPOOL a93aa92eabd9120ec1923d6f7af586bead3915691a795d45e2929623b34c52d267091203c7b6d4e2bf0b1629624e6a49ad2d28bddce35ab9508bdc099aa511ed
 EBUILD netbeans-groovy-7.0.1.ebuild 3296 SHA256 29c3d304eca5999e78550fd715dbcbef9d15639d4e4f17fa0e45a46803080729 SHA512 43a0ddb43354bb3c0b8e29004ab547da508662d037b0006dfd24250c49470ddc0384bfffb6423f1e3eeaca98410c5de8b314a69970189306869a16380ab098a1 WHIRLPOOL bf626cecf6dec0c51e7e0b95ac4ff26a795e44a5dabd25719eeb2244742d96d33cb20ebbd9a68728dc27d28b8e558a7e2a3ee318c2e4fde234e0b5e8d32e6a58
 EBUILD netbeans-groovy-7.1.2.ebuild 3305 SHA256 1e00f335b8cc1e90deec3c3251629ba699286b25be5b6945d135d271004dc34b SHA512 3a1d67d02054478ed15e11789292fcce3fcfd343b8feebde5e07a9463c380c644310603a3f9f984e8071b0b097075809dce423b888e1f2aed316cb90a562d20e WHIRLPOOL a790c1e186c4d1949de6b4dd975b929c132e3e7b7c455c7867bd1445f59fb6ace72b5c9adf09d0c6079718fdc6c34a0c5f0c9c437517b55b7ae109ce3e20b064
 EBUILD netbeans-groovy-7.2.ebuild 3160 SHA256 6d709b7cc07d7ebb59c3ede0a19c9890ca3230144d7f455cf24d984ac2f633b0 SHA512 e30c8d58165b87a39a356f8b813c593910cd2c247de41420369fee21157c2f2881db34612711f77c9ecd9501aa6d7235ab7bc41d4092be1e68fab778c16d8288 WHIRLPOOL 4a6495ca077f3c374105b25698c8251aaa89daf56c2749bdc73867b0ea1ae404cfc7b2a8b435ef7b19f00aee8128be051c04d6a24fb631379fbe98d6854a507b
@@ -39,5 +40,6 @@ EBUILD netbeans-groovy-9999_p20140926.ebuild 3422 SHA256 a596d65a42474e15de7ede3
 EBUILD netbeans-groovy-9999_p20140928.ebuild 3422 SHA256 abe476071edf2f6bbcb8cc3bb99c018f25ec901606529224ccaea4dbb8249705 SHA512 be33ef6e586032fc406848a38257443bd632c65708e04f25d4a31722e19974390ffac265017cc889f1acf82ce18ce0f24ee237e3f1726792216f7365a5dfcbab WHIRLPOOL 93a68856606d38bedebe5d35f48c9778ac88ba946d69fdcc341144e4ccdc466ef23d39098610cdf947e8b21304896d3826a66209f5ba09bddaaf4f419264716e
 EBUILD netbeans-groovy-9999_p20140930.ebuild 3422 SHA256 e0c0b6dd7bc693b3bd2015c11494e3be0b52b20501c2374a93a52b642f9c68f7 SHA512 c20ee1c9516b016da963c5b5625ac051f86f24a46e5c2be25432b62d7713c75107472e237bad19ad750b28b6e455433e04dcf8a7c7c488375f6d31986b5a2828 WHIRLPOOL 01c9916cbc8099cb8eb417b0afe223373efed8769dab473673b715f453cc03e571141f7e7f3dd0155ba65f4ebb4f4f94e95f8e70f59ee5dc5249e3b23ef0ed96
 EBUILD netbeans-groovy-9999_p20141001.ebuild 3422 SHA256 f974c982f8939514f2710dbf832730ff2a72aeac6ec09601486eefc70c8d1c2a SHA512 ef980e2cc823898fbece0d754d1cead9510ab7c5acb22f95916818c1aa412341388834181a0913a0d3c79c6985e5e178535c3a9c5918f19c0e7a20d5e0b5d92d WHIRLPOOL fc997ac324f691a1174655e41630a6b07cbf08fb822c0dedf83e728b38a5a05b8321c82ed7eb6075f6dc217fc1441887438e6d3ac34ee2a2814e76a6ab4ba3b7
-MISC ChangeLog 130447 SHA256 512404f5e4504f8b9c5a8b98c379940c1bc5481dbd87de8d544bdf55bb3dcb84 SHA512 7a5010b31817e2ba65b4889b3040d7882eb803760dc50362a5780e536721450e70715c3b2a7701afb13a88291dd9cc62efaf3b6bfa22341f2f31686a969701b5 WHIRLPOOL a593e12e66c9114a6742ba1df70457297d51cb484959f9dfcda1d43a25d3aeff614daefbcb7bd01daa96bd98915ab8dbce0f54ce28fbd4cdaf5fdb0d697841af
+EBUILD netbeans-groovy-9999_p20141003.ebuild 3422 SHA256 3e74b0e7fe607564c387e3f091f88e82dfc3e98febe4e7c9d9874270d2657aa1 SHA512 246235fe9b3734c53a3c29c5c39b3fc8bbf4d02e411e65893eba6d83abafa9b0a28774bce39e63fbdae32ffc5a19d0279a8bbbcfc63acab3e274c4fdd4a73b46 WHIRLPOOL 2a8836e74f375912f178ff4bb3beee8cc977906642dbd569694f33d6e6effc8ec436b1554cc2dd99266243c020613f8719ccdc125cb203b4407a17529ccdec0a
+MISC ChangeLog 130620 SHA256 8bbe94a7243ad10f81ae78bbb28d85f0430b521aa6fc0e690c7d64aab9a2fb80 SHA512 f384071377c4aa0a10b993f3fabdbee2cde3e6669e9e21565911488559abab96dd7242ceb12fd6424cac8949a58d6333ce09a6595cf35bd6b5ec0baf655b2af5 WHIRLPOOL 58a2e1d98cd677aeb734aaaf28c7822419d942527feaeaabc339deeb80b109aa892a3dbae70abd6a1f3187547665e6c211d802c221034627e7c84bc8a53d0243
 MISC metadata.xml 251 SHA256 5a4ff53a9862390a48d45c79be24086646e7a6ff0c5bdf0fcb799d0871299003 SHA512 04153cbd9776ad56a94d6a47d043df15d082d8888df8658f18d0d4b659c6c0526ab3a9b22ccbe2471091bf2d8165f224854bc99c51f3664aaf350ccb93532a7c WHIRLPOOL 2ee8a646c6e23bc46c72cac0ecb5cfe43720ec42404ddaeed8ab1b59d139b3d5c1a94764de847f979da978c001c9f02f709d663a68eeea64d19e88f1fefbca43

diff --git a/dev-java/netbeans-groovy/netbeans-groovy-9999_p20141003.ebuild b/dev-java/netbeans-groovy/netbeans-groovy-9999_p20141003.ebuild
new file mode 100644
index 0000000..dbc36aa
--- /dev/null
+++ b/dev-java/netbeans-groovy/netbeans-groovy-9999_p20141003.ebuild
@@ -0,0 +1,111 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="4"
+inherit eutils java-pkg-2 java-ant-2
+
+DESCRIPTION="Netbeans Groovy Cluster"
+HOMEPAGE="http://netbeans.org/projects/groovy"
+SLOT="9999"
+SOURCE_URL="http://bits.netbeans.org/download/trunk/nightly/2014-10-03_00-01-50/zip/netbeans-trunk-nightly-201410030001-src.zip"
+SRC_URI="${SOURCE_URL}
+	http://dev.gentoo.org/~fordfrog/distfiles/netbeans-9999-r14-build.xml.patch.bz2
+	http://hg.netbeans.org/binaries/C136AE67C3C40740AE986582BAF65BA5C5CE69A0-groovy-all-2.1.7.jar"
+LICENSE="|| ( CDDL GPL-2-with-linking-exception )"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+S="${WORKDIR}"
+
+CDEPEND="~dev-java/netbeans-extide-${PV}
+	~dev-java/netbeans-ide-${PV}
+	~dev-java/netbeans-java-${PV}
+	~dev-java/netbeans-platform-${PV}"
+DEPEND=">=virtual/jdk-1.7
+	app-arch/unzip
+	${CDEPEND}
+	dev-java/javahelp:0"
+RDEPEND=">=virtual/jdk-1.7
+	${CDEPEND}"
+
+INSTALL_DIR="/usr/share/${PN}-${SLOT}"
+
+EANT_BUILD_XML="nbbuild/build.xml"
+EANT_BUILD_TARGET="rebuild-cluster"
+EANT_EXTRA_ARGS="-Drebuild.cluster.name=nb.cluster.groovy -Dext.binaries.downloaded=true -Dpermit.jdk8.builds=true"
+EANT_FILTER_COMPILER="ecj-3.3 ecj-3.4 ecj-3.5 ecj-3.6 ecj-3.7"
+JAVA_PKG_BSFIX="off"
+
+src_unpack() {
+	unpack $(basename ${SOURCE_URL})
+
+	einfo "Deleting bundled jars..."
+	find -name "*.jar" -type f -delete
+
+	unpack netbeans-9999-r14-build.xml.patch.bz2
+
+	pushd "${S}" >/dev/null || die
+	ln -s "${DISTDIR}"/C136AE67C3C40740AE986582BAF65BA5C5CE69A0-groovy-all-2.1.7.jar libs.groovy/external/groovy-all-2.1.7.jar || die
+	popd >/dev/null || die
+}
+
+src_prepare() {
+	einfo "Deleting bundled class files..."
+	find -name "*.class" -type f | xargs rm -vf
+
+	epatch netbeans-9999-r14-build.xml.patch
+
+	# Support for custom patches
+	if [ -n "${NETBEANS9999_PATCHES_DIR}" -a -d "${NETBEANS9999_PATCHES_DIR}" ] ; then
+		local files=`find "${NETBEANS9999_PATCHES_DIR}" -type f`
+
+		if [ -n "${files}" ] ; then
+			einfo "Applying custom patches:"
+
+			for file in ${files} ; do
+				epatch "${file}"
+			done
+		fi
+	fi
+
+	einfo "Symlinking external libraries..."
+	java-pkg_jar-from --build-only --into javahelp/external javahelp jhall.jar jhall-2.0_05.jar
+
+	einfo "Linking in other clusters..."
+	mkdir "${S}"/nbbuild/netbeans || die
+	pushd "${S}"/nbbuild/netbeans >/dev/null || die
+
+	ln -s /usr/share/netbeans-extide-${SLOT} extide || die
+	cat /usr/share/netbeans-extide-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+	touch nb.cluster.extide.built
+
+	ln -s /usr/share/netbeans-ide-${SLOT} ide || die
+	cat /usr/share/netbeans-ide-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+	touch nb.cluster.ide.built
+
+	ln -s /usr/share/netbeans-java-${SLOT} java || die
+	cat /usr/share/netbeans-java-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+	touch nb.cluster.java.built
+
+	ln -s /usr/share/netbeans-platform-${SLOT} platform || die
+	cat /usr/share/netbeans-platform-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+	touch nb.cluster.platform.built
+
+	popd >/dev/null || die
+
+	java-pkg-2_src_prepare
+}
+
+src_install() {
+	pushd nbbuild/netbeans/groovy >/dev/null || die
+
+	insinto ${INSTALL_DIR}
+
+	grep -E "/groovy$" ../moduleCluster.properties > "${D}"/${INSTALL_DIR}/moduleCluster.properties || die
+
+	doins -r *
+
+	popd >/dev/null || die
+
+	dosym ${INSTALL_DIR} /usr/share/netbeans-nb-${SLOT}/groovy
+}

diff --git a/dev-java/netbeans-harness/ChangeLog b/dev-java/netbeans-harness/ChangeLog
index e01abaf..a0a7956 100644
--- a/dev-java/netbeans-harness/ChangeLog
+++ b/dev-java/netbeans-harness/ChangeLog
@@ -2,6 +2,12 @@
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+*netbeans-harness-9999_p20141003 (03 Oct 2014)
+
+  03 Oct 2014; Miroslav Šulc <fordfrog@gentoo.org>
+  +netbeans-harness-9999_p20141003.ebuild:
+  bumped to the latest sources
+
 *netbeans-harness-9999_p20141001 (01 Oct 2014)
 
   01 Oct 2014; Miroslav Šulc <fordfrog@gentoo.org>

diff --git a/dev-java/netbeans-harness/Manifest b/dev-java/netbeans-harness/Manifest
index 65f17d9..6925111 100644
--- a/dev-java/netbeans-harness/Manifest
+++ b/dev-java/netbeans-harness/Manifest
@@ -26,6 +26,7 @@ DIST netbeans-trunk-nightly-201409260001-src.zip 197125028 SHA256 0b2e8f0b10eb02
 DIST netbeans-trunk-nightly-201409280001-src.zip 197332446 SHA256 eac6b2e0b19817527b56f73f188b53b3f297ce5c20a01be3ccc6902ff2f94ed4 SHA512 fbf694a7138146ceb96ccf0d172b9f8031fd2eb3e06aa438386912bf7ea458874ee7041e25e672db2f297875e03fd75f48e8f4410d2e5153f090e2c09d62bc86 WHIRLPOOL a33730b5f76c4aa67476f70961c0ff5fa1916b9caa87173f1c8a57715fd414c65d77ac9d91cf9a1aacd1c6b6ae070595e7becb4394efcaf14759e10d83aaf4de
 DIST netbeans-trunk-nightly-201409300001-src.zip 197332445 SHA256 c306ca40b2bb2ca3f3a4d3ea10fea43b0bcdaaba31291ec5bdb4dbc7d3e67e34 SHA512 91d56515b70db2c2e0deb22938c38e6b45011eeb74083b474fdad64f7851911fcd93612cf08cfc0e5e03ca0e2a79530c59232dbf865853630640c26cc3105d48 WHIRLPOOL 29423713433df87c5f589742beb10682391dc8fea5b5512948709627b8a31cb802962e8845420fec19cde09672b823470f485c21ea85573fdb20af620b54ba55
 DIST netbeans-trunk-nightly-201410010001-src.zip 197355068 SHA256 0d284d68152ca0da1c8dfb7149e5b2638133fe3be6790f312c9959e59528144b SHA512 33ce5f22e9d3ac55d4f7b4b353956a39e030dee6380c5f379fba810f3ec86f8b36e88b773dbbf8bc3c430fc58caba9097764b7eac2d44ce2a25129f8f20fa4f2 WHIRLPOOL b4228286acec04cb321ca8aba60af42a7a1e2c20de1f657773166021a36e284b5ac4f49e9dbf8a51d81577b0d49d387707de3fcc0a622fd13b57c7d704b3da00
+DIST netbeans-trunk-nightly-201410030001-src.zip 197355085 SHA256 f915305ddfd881aaf161ca366c2af9eb29e954c971e73580aaab68cc0836f53e SHA512 d681dd706f0ca188fd5c8d055c88396e33a4e5b3f956017273e0834c755cb6905427c7a9f1dc12c05668580b2ce09caef1b5ea18e2f15384e06900f6cc197df5 WHIRLPOOL a93aa92eabd9120ec1923d6f7af586bead3915691a795d45e2929623b34c52d267091203c7b6d4e2bf0b1629624e6a49ad2d28bddce35ab9508bdc099aa511ed
 EBUILD netbeans-harness-7.0.1.ebuild 3579 SHA256 f4d09cb7bd5e8485caf75a3020ddb8102d3ea326878ac384ef4aecb011a1f6a5 SHA512 390c26b4a3dbc81ad1ef210b3ea668926398cb38ea13fa37dceb6782b4478b1ceb7a49e9db300f691fb8b31c21c56b25f4c3237c0890f0c637ca45f596c88294 WHIRLPOOL ae1e34af6dd61c30f645f39a825b6235e3eb1f9a42dd23431225513733209a2eb225a741b75342f827a4be0ffbf41b9786a6a6430051f543c321abe3c20da6bd
 EBUILD netbeans-harness-7.1.2.ebuild 3587 SHA256 e0adc470109009641bf48569623bf0fc51a400ac1ba686475c7dae1a5b561c96 SHA512 e4157a6b294c17fd7430802b33253d473120dc16173557e0d7840078f4043a383d5e3672af64f124509e54cc85d590abfa4375f181a32ab8b49e976cb6613cea WHIRLPOOL 423a5844a2c55ea99db4ac78e1c605a55a04f634601c0ac054e739c0ab4a3e9c765778dbd81ccf4a1e50e9d9e4cc29ecfad2ec64b483197927f434b67cd4d773
 EBUILD netbeans-harness-7.2.ebuild 3421 SHA256 47a5281d140b47e0235592c58657a9065d1827175ccca7d0c73fd81e90710090 SHA512 403fd1f49e11b27ef8002c4066fc911dbeadcccc7adddcdded86c6cd95e8bddaf0603c0ccafd0e91ef31a0909508deab1eb326e98e621bcbae7304413acca291 WHIRLPOOL fe3c5f95a606db39861a80201c185cb5a25e2d80698ac78ff724587b54e859f861b834b89aa79aac22f2c5da700532eaafae67fbcc33259ee07d578ba5c7f9ee
@@ -41,5 +42,6 @@ EBUILD netbeans-harness-9999_p20140926.ebuild 4131 SHA256 c0c1d50b199bcc7cefbe5f
 EBUILD netbeans-harness-9999_p20140928.ebuild 4131 SHA256 0504d99b80f97a9a162bfbebb5974b7a339eb5d60cc494e0e4b8d2b55d34db58 SHA512 93172de2fa436725016d3c2f49f547508ddcbaeb39ce436537861653dd4fe016f9fd0566ff9149acf7bcad8c0bac5582e8ca126649df7ae98588b860fb1767af WHIRLPOOL 661536056667bc9b153501508c20345b137375d86e4b31fe47d358475f0a84a60fa998a7e74cf543a1c8d7e63269d90f675d422c0601bb73bee98f00a586ea70
 EBUILD netbeans-harness-9999_p20140930.ebuild 4131 SHA256 16da3d52612b1fd3c14f2e1615790704ba566d850c9e64b270352cf8f98996e9 SHA512 5926c628d37b29f5df00a1e935876761cc9c71f82307940caa3f0e8717902f01812ccdf09720a9a9f9b5cb32e95934578694e349b860f6e1312910c21227083f WHIRLPOOL fd12b09b358f6218b58490a6d2ba3cf6ad035d399977a62683c23f8579abe5490549163dc49c7630445c570e747db4bddc2591d56a42b771290fb737884d1111
 EBUILD netbeans-harness-9999_p20141001.ebuild 4131 SHA256 80f108bbdf89d732682b7a3aa11c588696bb51e006dbff903154072ba2d308ba SHA512 58dee81e9f0e7ab2631c6bef4a9650e7ace637b8e82b2d2bffcf0887c719e2195f1149c8b06c6f2984bf82b93a2900d56bcfdf4cd77171d75dd45b6e79564a65 WHIRLPOOL c5bf3173575b3ac7250b69efdcb88ed6b813d7d41c274453f7580eb8b309cdee3cb9f2d90483243d2e1ff6ed1682293587d66bb419f6489b3317467b2eeebfaf
-MISC ChangeLog 132096 SHA256 69f4bf2cfe58674487f95de7720326fba96fd9028f551b6ae046650596493a77 SHA512 226938b2da13b514f5e87dde53d0caf1c5eef5224b981356e1c574f67bb81c50607605d2e7f19726aa31e83285f06afb535914780adb23714ada97bc08cb5256 WHIRLPOOL 61301689f5f1f4f55c7a00c68b3969ef11b79635bfd92188f5ba0c83d4890c4cc9d3ee2af5d6abbd7b0a9e6d2b90bcf40f4705c083bcb00abe15e868336f78de
+EBUILD netbeans-harness-9999_p20141003.ebuild 4131 SHA256 ceecf320a14d5d73cec2fb7c5638d8015b4d7adbc93ddd1cc3ec8c10a323b5ce SHA512 4787f6f7609630a857d78501469c4c990c9fdf2a677affd749648d366613cee9bbaae44c635775e580ed7331330c972320d56da883257b3af4266f16f02042c3 WHIRLPOOL 2b1314a7538050ba4426db68c93c013e2545f406ebf9f959c03a15f9b8ef831e25a6037916bd7271e547bd96633ceb1cf27b4292eef9638281e78abf57ae611b
+MISC ChangeLog 132271 SHA256 a92ae6bcb5f04a12e443ac1d08025b05eb982d3706690dc448e12c38f2d5a9b5 SHA512 d4f11a61e1585079feae0028a724ce2844504b1504492efdf3f52d9afc414b41d6f71155bf61b0cb992919f57e5995181ccbb77096cd94978d99e6fe50614b81 WHIRLPOOL 03eafa1cb502154e264497172cebdb7db45847b9fdc01697b91aa722161b1570c23d00477604a021b56af2bdafd9c1d67ff34452acd6ec33e033371acb19dd66
 MISC metadata.xml 251 SHA256 5a4ff53a9862390a48d45c79be24086646e7a6ff0c5bdf0fcb799d0871299003 SHA512 04153cbd9776ad56a94d6a47d043df15d082d8888df8658f18d0d4b659c6c0526ab3a9b22ccbe2471091bf2d8165f224854bc99c51f3664aaf350ccb93532a7c WHIRLPOOL 2ee8a646c6e23bc46c72cac0ecb5cfe43720ec42404ddaeed8ab1b59d139b3d5c1a94764de847f979da978c001c9f02f709d663a68eeea64d19e88f1fefbca43

diff --git a/dev-java/netbeans-harness/netbeans-harness-9999_p20141003.ebuild b/dev-java/netbeans-harness/netbeans-harness-9999_p20141003.ebuild
new file mode 100644
index 0000000..0f5b17c
--- /dev/null
+++ b/dev-java/netbeans-harness/netbeans-harness-9999_p20141003.ebuild
@@ -0,0 +1,114 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="4"
+inherit eutils java-pkg-2 java-ant-2
+
+DESCRIPTION="Netbeans Harness"
+HOMEPAGE="http://netbeans.org/features/platform/"
+SLOT="9999"
+SOURCE_URL="http://bits.netbeans.org/download/trunk/nightly/2014-10-03_00-01-50/zip/netbeans-trunk-nightly-201410030001-src.zip"
+SRC_URI="${SOURCE_URL}
+	http://dev.gentoo.org/~fordfrog/distfiles/netbeans-9999-r14-build.xml.patch.bz2
+	http://hg.netbeans.org/binaries/A806D99716C5E9441BFD8B401176FDDEFC673022-bindex-2.2.jar
+	http://hg.netbeans.org/binaries/D325D3913CBC0F9A8D73A466FABB98EDEEC014AB-jemmy-2.3.1.1.jar
+	http://hg.netbeans.org/binaries/D06C8980C9025183C044202419EA29E69FBD4B99-jemmy-2.3.1.1-doc.zip
+	http://hg.netbeans.org/binaries/49197106637CCA8C337AF16CC01BB5D9DEC7E179-jemmy-2.3.1.1-src.zip
+	http://hg.netbeans.org/binaries/20D826CC819A5A969CF3F7204E2E26CB6263EC43-jnlp-servlet.jar"
+LICENSE="|| ( CDDL GPL-2-with-linking-exception )"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+S="${WORKDIR}"
+
+CDEPEND="~dev-java/netbeans-platform-${PV}
+	dev-java/javahelp:0"
+DEPEND=">=virtual/jdk-1.7
+	app-arch/unzip
+	${CDEPEND}
+	>=dev-java/junit-4.4:4"
+RDEPEND=">=virtual/jdk-1.7
+	${CDEPEND}"
+
+INSTALL_DIR="/usr/share/${PN}-${SLOT}"
+
+EANT_BUILD_XML="nbbuild/build.xml"
+EANT_BUILD_TARGET="rebuild-cluster"
+EANT_EXTRA_ARGS="-Drebuild.cluster.name=nb.cluster.harness -Dext.binaries.downloaded=true -Dpermit.jdk8.builds=true"
+EANT_FILTER_COMPILER="ecj-3.3 ecj-3.4 ecj-3.5 ecj-3.6 ecj-3.7"
+JAVA_PKG_BSFIX="off"
+
+src_unpack() {
+	unpack $(basename ${SOURCE_URL})
+
+	einfo "Deleting bundled jars..."
+	find -name "*.jar" -type f -delete
+
+	unpack netbeans-9999-r14-build.xml.patch.bz2
+
+	pushd "${S}" >/dev/null || die
+	ln -s "${DISTDIR}"/A806D99716C5E9441BFD8B401176FDDEFC673022-bindex-2.2.jar apisupport.harness/external/bindex-2.2.jar || die
+	ln -s "${DISTDIR}"/20D826CC819A5A969CF3F7204E2E26CB6263EC43-jnlp-servlet.jar apisupport.harness/external/jnlp-servlet.jar || die
+	ln -s "${DISTDIR}"/D325D3913CBC0F9A8D73A466FABB98EDEEC014AB-jemmy-2.3.1.1.jar jemmy/external/jemmy-2.3.1.1.jar || die
+	ln -s "${DISTDIR}"/D06C8980C9025183C044202419EA29E69FBD4B99-jemmy-2.3.1.1-doc.zip jemmy/external/jemmy-2.3.1.1-doc.zip || die
+	ln -s "${DISTDIR}"/49197106637CCA8C337AF16CC01BB5D9DEC7E179-jemmy-2.3.1.1-src.zip jemmy/external/jemmy-2.3.1.1-src.zip || die
+	popd >/dev/null || die
+}
+
+src_prepare() {
+	einfo "Deleting bundled class files..."
+	find -name "*.class" -type f | xargs rm -vf
+
+	epatch netbeans-9999-r14-build.xml.patch
+
+	# Support for custom patches
+	if [ -n "${NETBEANS9999_PATCHES_DIR}" -a -d "${NETBEANS9999_PATCHES_DIR}" ] ; then
+		local files=`find "${NETBEANS9999_PATCHES_DIR}" -type f`
+
+		if [ -n "${files}" ] ; then
+			einfo "Applying custom patches:"
+
+			for file in ${files} ; do
+				epatch "${file}"
+			done
+		fi
+	fi
+
+	einfo "Symlinking external libraries..."
+	java-pkg_jar-from --into javahelp/external javahelp jhall.jar jhall-2.0_05.jar
+	java-pkg_jar-from --into apisupport.harness/external javahelp jsearch.jar jsearch-2.0_05.jar
+	java-pkg_jar-from --build-only --into libs.junit4/external junit-4 junit.jar junit-4.10.jar
+
+	einfo "Linking in other clusters..."
+	mkdir "${S}"/nbbuild/netbeans || die
+	pushd "${S}"/nbbuild/netbeans >/dev/null || die
+
+	ln -s /usr/share/netbeans-platform-${SLOT} platform || die
+	cat /usr/share/netbeans-platform-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+	touch nb.cluster.platform.built
+
+	popd >/dev/null || die
+
+	java-pkg-2_src_prepare
+}
+
+src_install() {
+	pushd nbbuild/netbeans/harness >/dev/null || die
+
+	insinto ${INSTALL_DIR}
+
+	grep -E "/harness$" ../moduleCluster.properties > "${D}"/${INSTALL_DIR}/moduleCluster.properties || die
+
+	doins -r *
+	fperms 755 launchers/app.sh
+	find "${D}" -name "*.exe" -type f -delete
+
+	popd >/dev/null || die
+
+	local instdir=${INSTALL_DIR}/antlib
+	pushd "${D}"/${instdir} >/dev/null || die
+	rm jsearch-2.0_05.jar && dosym /usr/share/javahelp/lib/jsearch.jar ${instdir}/jsearch-2.0_05.jar || die
+	popd >/dev/null || die
+
+	dosym ${INSTALL_DIR} /usr/share/netbeans-nb-${SLOT}/harness
+}

diff --git a/dev-java/netbeans-ide/ChangeLog b/dev-java/netbeans-ide/ChangeLog
index 56213b9..3892113 100644
--- a/dev-java/netbeans-ide/ChangeLog
+++ b/dev-java/netbeans-ide/ChangeLog
@@ -2,6 +2,12 @@
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+*netbeans-ide-9999_p20141003 (03 Oct 2014)
+
+  03 Oct 2014; Miroslav Šulc <fordfrog@gentoo.org>
+  +netbeans-ide-9999_p20141003.ebuild:
+  bumped to the latest sources
+
 *netbeans-ide-9999_p20141001 (01 Oct 2014)
 
   01 Oct 2014; Miroslav Šulc <fordfrog@gentoo.org>

diff --git a/dev-java/netbeans-ide/Manifest b/dev-java/netbeans-ide/Manifest
index 5dff076..626ba94 100644
--- a/dev-java/netbeans-ide/Manifest
+++ b/dev-java/netbeans-ide/Manifest
@@ -202,6 +202,7 @@ DIST netbeans-trunk-nightly-201409260001-src.zip 197125028 SHA256 0b2e8f0b10eb02
 DIST netbeans-trunk-nightly-201409280001-src.zip 197332446 SHA256 eac6b2e0b19817527b56f73f188b53b3f297ce5c20a01be3ccc6902ff2f94ed4 SHA512 fbf694a7138146ceb96ccf0d172b9f8031fd2eb3e06aa438386912bf7ea458874ee7041e25e672db2f297875e03fd75f48e8f4410d2e5153f090e2c09d62bc86 WHIRLPOOL a33730b5f76c4aa67476f70961c0ff5fa1916b9caa87173f1c8a57715fd414c65d77ac9d91cf9a1aacd1c6b6ae070595e7becb4394efcaf14759e10d83aaf4de
 DIST netbeans-trunk-nightly-201409300001-src.zip 197332445 SHA256 c306ca40b2bb2ca3f3a4d3ea10fea43b0bcdaaba31291ec5bdb4dbc7d3e67e34 SHA512 91d56515b70db2c2e0deb22938c38e6b45011eeb74083b474fdad64f7851911fcd93612cf08cfc0e5e03ca0e2a79530c59232dbf865853630640c26cc3105d48 WHIRLPOOL 29423713433df87c5f589742beb10682391dc8fea5b5512948709627b8a31cb802962e8845420fec19cde09672b823470f485c21ea85573fdb20af620b54ba55
 DIST netbeans-trunk-nightly-201410010001-src.zip 197355068 SHA256 0d284d68152ca0da1c8dfb7149e5b2638133fe3be6790f312c9959e59528144b SHA512 33ce5f22e9d3ac55d4f7b4b353956a39e030dee6380c5f379fba810f3ec86f8b36e88b773dbbf8bc3c430fc58caba9097764b7eac2d44ce2a25129f8f20fa4f2 WHIRLPOOL b4228286acec04cb321ca8aba60af42a7a1e2c20de1f657773166021a36e284b5ac4f49e9dbf8a51d81577b0d49d387707de3fcc0a622fd13b57c7d704b3da00
+DIST netbeans-trunk-nightly-201410030001-src.zip 197355085 SHA256 f915305ddfd881aaf161ca366c2af9eb29e954c971e73580aaab68cc0836f53e SHA512 d681dd706f0ca188fd5c8d055c88396e33a4e5b3f956017273e0834c755cb6905427c7a9f1dc12c05668580b2ce09caef1b5ea18e2f15384e06900f6cc197df5 WHIRLPOOL a93aa92eabd9120ec1923d6f7af586bead3915691a795d45e2929623b34c52d267091203c7b6d4e2bf0b1629624e6a49ad2d28bddce35ab9508bdc099aa511ed
 EBUILD netbeans-ide-7.0.1.ebuild 22653 SHA256 4c1b3e46e2a6cb89d902c7f4fe6ad9306cbd0c9463a514e87d4c6ec019dc0356 SHA512 5dd526a85a70720686c612efb3aa5602c395111d507b91ae4db04c5814b27bafd1480ab7e44e1148b7412f768543110ff58abdf676de303cd3be9d87b87bd373 WHIRLPOOL abaedc56df115c6050ad7824929ee959ba1669fc1f3f9d4cd1eb9f9f948a608828621f46aeedd0b6062c85b1ad4481d12f952a504559e52c110ff37b88ae0d72
 EBUILD netbeans-ide-7.1.2-r1.ebuild 26831 SHA256 2643a4435aa093e292a2728583d8ffbf213dac6a13dad8e47029ed13a2478493 SHA512 5ba14c7b820f2daae788588ae2fdebdc8af6bb870d6ed56adcc2d43810e5dbd2ea21ae639e6b864d6d0b1e69c9aa4f86dfb15e99eb4a170434aadf0109ad876a WHIRLPOOL c9367735f073f9fcf6bb992b6d481aaea1ebe8526907cb6366d432a3f47a0c4d76bc9224206e0e512708dfe896b465878a2a1ad68836c7cd9b51a3a4efa2aecc
 EBUILD netbeans-ide-7.1.2.ebuild 26834 SHA256 1e57e60a1a00b4530f917319b5d8eef915b9669b9dd3ab82b5afabe171d8959a SHA512 4242265c0783a87c028f955425c86596038aa477e3256ff8ba244220a573486bb7f2e47b07b3c94fbef07940a3b32c313a1320b58656a67cb15a490e7307b1ca WHIRLPOOL 1e23b1e4370292500f154527ecd7a0e7ca315ee73588806413f630355677ee8fe9318a0e672b5f6ad60f829c0a5579b37eedbd737bc8ec154aba9f59c53bd337
@@ -219,5 +220,6 @@ EBUILD netbeans-ide-9999_p20140926.ebuild 29393 SHA256 68669722d10cef39b2019f590
 EBUILD netbeans-ide-9999_p20140928.ebuild 29393 SHA256 b6c2f653aa76c3b126a2346e114bcbf959f4f97b7fca8fb286f3f8da30bbba73 SHA512 5ce50dfb03ee0b8462df928b0c84414691e3b892c1a21b6df4d6252d98ca16f02e45b6e13dc838db507da3a0dc631514e860347860d6d69a20768426664dd132 WHIRLPOOL b0f1c0f16c4d887686cae9d1b945a36efd0556f326ee1e51dbb67d1f909fa1cdab1f6ba12d8552bce44fce439236f7829c8522d6149ad64f6968692c1468c59a
 EBUILD netbeans-ide-9999_p20140930.ebuild 29393 SHA256 f86370489fa1c497d16dcc73f9dd62a618dab6fc046e5986fce3ae5727bb93bf SHA512 3f62387a90520aa1cc1dce6c726ad6dd41fb2e5ec6f990e1cf6c6c490adbcab7a447458dd6531bf3412d7bed8529c19358e883a6de61d9f82beb9571fe6ea3e1 WHIRLPOOL d72d8190d383a2e6fe06f563744033b4ac4ce2e3197006ebc6eb4771fc12a19ba066bb423cb282601355cb61008dd20566d683a3ea92192d8f9bb51a1eb8a3a0
 EBUILD netbeans-ide-9999_p20141001.ebuild 29393 SHA256 ecb84a17975aac47aadaf718c1fe9fa575e76a618657aa7c4b6ccd578226dcda SHA512 1a0b54d856433e79c2ed2cd6934231fc8f571b32fb64106ace8ba129826e7ceac4bc990c04cfa3e60c739754150e4d495da13945d1eef1753ca1c42eebd4e5ee WHIRLPOOL 92e05c1db603a4b1817c4834e8a586b76d30f48d2f9aae647badcab2cc2b37a19ba47ff9a126b493fa9320fb6b55b20610a1c71752d46e5c848878f7f93e15fe
-MISC ChangeLog 126080 SHA256 eb17f96e20435bd94712e2fc0902da95bd6ebd7a9479db4861745cecbe51918c SHA512 93465d530a098c18b139e8bff3d3d866fb1c929bf301ca1c2df91c26e11507fdf438691ce95bc2b2883354dbee21a681b49a7c5417e1dafbe61255b8f090e230 WHIRLPOOL b0b5709bd5e9c5a60383828fb94f95fb95319fb5bd4e8723bcf3cab7ef59c5146208a40ba22135d4042f7b5d16e77dbf3edfa13fb5d19a91a39ad18c6ae1c47f
+EBUILD netbeans-ide-9999_p20141003.ebuild 29393 SHA256 29ca88309a57fb3bff8fb92c672496bf12a686e4197b6ea815feb8c8b208ae26 SHA512 bcbdb1ed6ef26dfe419380ac5dc583b54143040726972c2f1bb7c0614b8e71c8dd8a061c06011b7c09c31ad8cd8164f0fe7dbf6169c5633863bbb4b93309dec1 WHIRLPOOL e2ddf8353b25685dbd56a06e85b7a362e7bbb69a7e7b7ac91ed0b0e72f6260d0884f894d69efecd6334c02f6816ace963690d6bfc08c801a9b3e0dd778078142
+MISC ChangeLog 126247 SHA256 371849a2548e174e90f525908f2152742573317883245059152494328ddebb34 SHA512 2b7bb299ee05673ed95566dc5a0cb7aa58f8c3137a402f60908e7e6c8c1c6162a143f4b5f777cb1d1202c24b78d03fd5dca46d23a7576fda106d464c33c51d32 WHIRLPOOL 93f3bc8e678cb4383d9cf33a0408154a34b8e883724a09860ae220ccbe6b757873381d21af2ee46e6612eff76dacff2cfd55e0b2ac19763bfc4f69f2d10d6391
 MISC metadata.xml 251 SHA256 5a4ff53a9862390a48d45c79be24086646e7a6ff0c5bdf0fcb799d0871299003 SHA512 04153cbd9776ad56a94d6a47d043df15d082d8888df8658f18d0d4b659c6c0526ab3a9b22ccbe2471091bf2d8165f224854bc99c51f3664aaf350ccb93532a7c WHIRLPOOL 2ee8a646c6e23bc46c72cac0ecb5cfe43720ec42404ddaeed8ab1b59d139b3d5c1a94764de847f979da978c001c9f02f709d663a68eeea64d19e88f1fefbca43

diff --git a/dev-java/netbeans-ide/netbeans-ide-9999_p20141003.ebuild b/dev-java/netbeans-ide/netbeans-ide-9999_p20141003.ebuild
new file mode 100644
index 0000000..355d1e9
--- /dev/null
+++ b/dev-java/netbeans-ide/netbeans-ide-9999_p20141003.ebuild
@@ -0,0 +1,371 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="4"
+inherit eutils java-pkg-2 java-ant-2
+
+DESCRIPTION="Netbeans IDE Cluster"
+HOMEPAGE="http://netbeans.org/projects/ide"
+SLOT="9999"
+SOURCE_URL="http://bits.netbeans.org/download/trunk/nightly/2014-10-03_00-01-50/zip/netbeans-trunk-nightly-201410030001-src.zip"
+SRC_URI="${SOURCE_URL}
+	http://dev.gentoo.org/~fordfrog/distfiles/netbeans-9999-r14-build.xml.patch.bz2
+	http://hg.netbeans.org/binaries/4E74C6BE42FE89871A878C7C4D6158F21A6D8010-antlr-runtime-3.4.jar
+	http://hg.netbeans.org/binaries/98308890597ACB64047F7E896638E0D98753AE82-asm-all-4.0.jar
+	http://hg.netbeans.org/binaries/886FAF4B85054DD6E50D9B3438542F432B5F9251-bytelist-0.1.jar
+	http://hg.netbeans.org/binaries/A8762D07E76CFDE2395257A5DA47BA7C1DBD3DCE-commons-io-1.4.jar
+	http://hg.netbeans.org/binaries/CD0D5510908225F76C5FE5A3F1DF4FA44866F81E-commons-net-3.3.jar
+	http://hg.netbeans.org/binaries/901D8F815922C435D985DA3814D20E34CC7622CB-css21-spec.zip
+	http://hg.netbeans.org/binaries/53AFD6CAA1B476204557B0626E7D673FBD5D245C-css3-spec.zip
+	http://hg.netbeans.org/binaries/C9A6304FAA121C97CB2458B93D30B1FD6F0F7691-derbysampledb.zip
+	http://hg.netbeans.org/binaries/C40DFDACDF892D1BA14B540B32C11B6F34659931-exechlp-1.0.zip
+	http://hg.netbeans.org/binaries/5EEAAC41164FEBCB79C73BEBD678A7B6C10C3E80-freemarker-2.3.19.jar
+	http://hg.netbeans.org/binaries/75C30C488AD2A18A82C7FE3829F4A33FC7841643-glassfish-tooling-sdk-0.3-b054-246345.jar
+	http://hg.netbeans.org/binaries/23123BB29025254556B6E573023FCDF0F6715A66-html-4.01.zip
+	http://hg.netbeans.org/binaries/F4A1696661E6233F8C27EE323CAEF9CB052666F1-html5-datatypes.jar
+	http://hg.netbeans.org/binaries/4388C34B9F085A42FBEA06C5B00FDF0A251171EC-html5doc.zip
+	http://hg.netbeans.org/binaries/D528B44AE7593D2275927396BF930B28078C5220-htmlparser-1.2.1.jar
+	http://hg.netbeans.org/binaries/8E737D82ECAC9BA6100A9BBA71E92A381B75EFDC-ini4j-0.5.1.jar
+	http://hg.netbeans.org/binaries/A2862B7795EF0E0F0716BEC84528FA3B629E479C-io-xml-util.jar
+	http://hg.netbeans.org/binaries/0DCC973606CBD9737541AA5F3E76DED6E3F4D0D0-iri.jar
+	http://hg.netbeans.org/binaries/F90E3DA5259DB07F36E6987EFDED647A5231DE76-ispell-enwl-3.1.20.zip
+	http://hg.netbeans.org/binaries/71F434378F822B09A57174AF6C75D37408687C57-jaxb-api.jar
+	http://hg.netbeans.org/binaries/27FAE927B5B9AE53A5B0ED825575DD8217CE7042-jaxb-api-doc.zip
+	http://hg.netbeans.org/binaries/387BE740EAEF52B3F6E6EE2F140757E7632584CE-jaxb-impl.jar
+	http://hg.netbeans.org/binaries/C3787DAB0DDFBD9E98086ED2F219859B0CB77EF7-jaxb-xjc.jar
+	http://hg.netbeans.org/binaries/F4DB465F207907A2406B0BF5C8FFEE22A5C3E4E3-jaxb1-impl.jar
+	http://hg.netbeans.org/binaries/5E40984A55F6FFF704F05D511A119CA5B456DDB1-jfxrt.jar
+	http://hg.netbeans.org/binaries/483A61B688B13C62BB201A683D98A6688B5373B6-jing.jar
+	http://hg.netbeans.org/binaries/DA6CE3C2EB334DB61EFA99CD66134619867368FA-js-corestubs.zip
+	http://hg.netbeans.org/binaries/997BF4A93B8A99E37AB51C9016D1D18CF5FF4B60-js-domstubs.zip
+	http://hg.netbeans.org/binaries/291540295937BAC426A5A5BDDB6D86604075F4C0-js-reststubs.zip
+	http://hg.netbeans.org/binaries/036FA0032B44AD06A1F13504D97B3685B1C88961-jsch.agentproxy.core-0.0.7.jar
+	http://hg.netbeans.org/binaries/9F31964104D71855DF6B73F0C761CDEB3FA3C49C-jsch.agentproxy.sshagent-0.0.7.jar
+	http://hg.netbeans.org/binaries/3FA59A536F3DC2197826DC7F224C0823C1534203-jsch.agentproxy.pageant-0.0.7.jar
+	http://hg.netbeans.org/binaries/F759114E5A9F9AE907EADB59DBF65189AA399B45-jsch.agentproxy.usocket-jna-0.0.7.jar
+	http://hg.netbeans.org/binaries/2E07375E5CA3A452472F0E87FB33F243F7A5C08C-libpam4j-1.1.jar
+	http://hg.netbeans.org/binaries/76E901A1F432323E7E90FC86FDB2534A28952293-nashorn-02f810c26ff9-patched.jar
+	http://hg.netbeans.org/binaries/010FC8BD229B7F68C8C4D5BDE399475373096601-non-schema.jar
+	http://hg.netbeans.org/binaries/7052E115041D04410A4519A61307502FB7C138E6-org.eclipse.core.contenttype_3.4.100.v20110423-0524.jar
+	http://hg.netbeans.org/binaries/B19A4D998C76FE7A30830C96B9E3A47682F320FC-org.eclipse.core.jobs-3.5.101.jar
+	http://hg.netbeans.org/binaries/E64EF6A3FC5DB01AD95632B843706CCE56614C90-org.eclipse.core.net_1.2.100.I20110511-0800.jar
+	http://hg.netbeans.org/binaries/6658C235056134F7E86295E751129508802D71F2-org.eclipse.core.runtime-3.7.0.jar
+	http://hg.netbeans.org/binaries/0CA9B9DF8A8E4C6805C60A5761C470FCE8AE828F-org.eclipse.core.runtime.compatibility.auth_3.2.200.v20110110.jar
+	http://hg.netbeans.org/binaries/9C74D245214DB08E7EB9BC07A951B41CFE3E3648-org.eclipse.equinox.app-1.3.100.jar
+	http://hg.netbeans.org/binaries/78E5D0B8516B042495660DA36CE5114650F8F156-org.eclipse.equinox.common_3.6.0.v20110523.jar
+	http://hg.netbeans.org/binaries/FD94003A1BCE42008753522BFED68E5A84B92644-org.eclipse.equinox.preferences-3.4.2.jar
+	http://hg.netbeans.org/binaries/54AE046B40C9095C2637F8D21664C5CD76E34485-org.eclipse.equinox.registry_3.5.200.v20120522-1841.jar
+	http://hg.netbeans.org/binaries/0FFB9B1D7CD992CE6C8AAEEC2F6F98DFBB1D2F91-org.eclipse.equinox.security-1.1.1.jar
+	http://hg.netbeans.org/binaries/7FE73A21F4A078ABAAFACE4D2B03B5EB3D306F63-org.eclipse.jgit-3.4.1.201406201815-r.jar
+	http://hg.netbeans.org/binaries/49F1EFEBC8CECA5D514209BE18A048EB5707C0A7-org.eclipse.jgit.java7-3.4.1.201406201815-r.jar
+	http://hg.netbeans.org/binaries/A94F8F805202B28236FFBC03C1CA149129DAEA1C-org.eclipse.mylyn.bugzilla.core_3.10.0.20131024-1218.jar
+	http://hg.netbeans.org/binaries/19D64C17A692D2023E22B16AD515118DF6427790-org.eclipse.mylyn.commons.core_3.10.0.20130926-1710.jar
+	http://hg.netbeans.org/binaries/A1BF01D1DD09274446738C3F83360314B8881CD5-org.eclipse.mylyn.commons.net_3.10.0.20131018-1210.jar
+	http://hg.netbeans.org/binaries/136A7EB3BB9B2559C5F9184B438F108C959B3C03-org.eclipse.mylyn.commons.repositories.core_1.2.0.20130704-2116.jar
+	http://hg.netbeans.org/binaries/531746EBE57071AB7F8CCC7ACB0E806F25893916-org.eclipse.mylyn.commons.xmlrpc_3.10.0.20130704-2116.jar
+	http://hg.netbeans.org/binaries/D3ED088A49DE9E5163457E9279181DD4185BFBE6-org.eclipse.mylyn.tasks.core_3.10.0.20131010-2023.jar
+	http://hg.netbeans.org/binaries/8D4278A9F47D17A104182E59CF06D682B3DE0B3E-org.eclipse.mylyn.wikitext.confluence.core_1.9.0.20131007-2055.jar
+	http://hg.netbeans.org/binaries/1FC011B8A350B70950B3F1D722D7F2890C6E76D8-org.eclipse.mylyn.wikitext.core_1.9.0.20131007-2055.jar
+	http://hg.netbeans.org/binaries/6E914CA3075C8FDF7652F04A02868CF32F2EDCE3-org.eclipse.mylyn.wikitext.textile.core_1.9.0.20131007-2055.jar
+	http://hg.netbeans.org/binaries/8A2F6232978E0330A5D36F19BA0686F96FB980B5-org.tmatesoft.svnkit_1.8.4.r10218_v20140302_1242.jar
+	http://hg.netbeans.org/binaries/820FD32B3FB7F885996B15474F220BDCCACD6D27-processtreekiller-1.0.2.jar
+	http://hg.netbeans.org/binaries/B0D0FCBAC68826D2AFA3C7C89FC4D57B95A000C3-resolver-1.2.jar
+	http://hg.netbeans.org/binaries/D08E473A4D0510FB329D64E4CC4F2963D000699C-svnClientAdapter-javahl-1.10.3.jar
+	http://hg.netbeans.org/binaries/2CD487DCDE4C4FC38D1C9EBCD45418A1B5EF188D-svnClientAdapter-main-1.10.3.jar
+	http://hg.netbeans.org/binaries/5D37A7FE167A1D44731192748C79B2D7905D474F-svnClientAdapter-svnkit-1.10.3.jar
+	http://hg.netbeans.org/binaries/24CEAE4A9A2AAAA0BD78FF001914BA06B59CEDF2-svnjavahl-1.8.4.jar
+	http://hg.netbeans.org/binaries/4F94E5B4F14B4571A1D8E37885A3037C91F7C02C-svnkit_1.7.8.r9538_v20130107_2001.jar
+	http://hg.netbeans.org/binaries/C0D8A3265D194CC886BAFD585117B6465FD97DCE-swingx-all-1.6.4.jar
+	http://hg.netbeans.org/binaries/EDE7FBABD4C96D34E48FDA0E8FECED24C98CEDCA-sqljet-1.1.10.jar
+	http://hg.netbeans.org/binaries/CD5B5996B46CB8D96C8F0F89A7A734B3C01F3DF7-tomcat-webserver-3.2.jar
+	http://hg.netbeans.org/binaries/CE9A1C96875443F2FDD5127B750DA39CF4CE818B-com.trilead.ssh2_1.0.0.build217_r155_v20130603_1628.jar
+	http://hg.netbeans.org/binaries/89BC047153217F5254506F4C622A771A78883CBC-ValidationAPI.jar
+	http://hg.netbeans.org/binaries/6FC6098C230D7CBA5730106D379CBBB42F6EC48A-validator.jar
+	http://hg.netbeans.org/binaries/C9757EFB2CFBA523A7375A78FA9ECFAF0D0AC505-winp-1.14-patched.jar
+	http://hg.netbeans.org/binaries/64F5BEEADD2A239C4BC354B8DFDB97CF7FDD9983-xmlrpc-client-3.0.jar
+	http://hg.netbeans.org/binaries/8FA16AD28B5E79A7CD52B8B72985B0AE8CCD6ADF-xmlrpc-common-3.0.jar
+	http://hg.netbeans.org/binaries/D6917BF718583002CBE44E773EE21E2DF08ADC71-xmlrpc-server-3.0.jar"
+LICENSE="|| ( CDDL GPL-2-with-linking-exception )"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+S="${WORKDIR}"
+
+CDEPEND="~dev-java/netbeans-harness-${PV}
+	~dev-java/netbeans-platform-${PV}
+	dev-java/commons-httpclient:3
+	dev-java/commons-lang:2.1
+	dev-java/commons-logging:0
+	dev-java/icu4j:4.4
+	dev-java/iso-relax:0
+	dev-java/jdbc-mysql:0
+	dev-java/jdbc-postgresql:0
+	>=dev-java/json-simple-1.1:0
+	dev-java/jsr173:0
+	dev-java/jvyamlb:0
+	dev-java/log4j:0
+	dev-java/lucene:3.5
+	dev-java/rhino:1.6
+	dev-java/saxon:9
+	dev-java/smack:2.2
+	dev-java/sun-jaf:0
+	dev-java/tomcat-servlet-api:2.2
+	dev-java/ws-commons-util:0
+	dev-java/xerces:2"
+#	dev-vcs/subversion>=1.8.4:0[java] missing from the tree
+#	app-text/jing:0 our version is probably too old
+#	dev-java/commons-io:1 fails with "Missing manifest tag OpenIDE-Module"
+#	dev-java/freemarker:2.3
+#	dev-java/ini4j:0 our version is too old
+#	dev-java/jaxb:2 upstream version contains more stuff so websvccommon does not compile with ours
+#	dev-java/trilead-ssh2:0 in overlay
+DEPEND=">=virtual/jdk-1.7
+	app-arch/unzip
+	dev-java/commons-codec:0
+	>=dev-java/jsch-0.1.46:0
+	dev-java/jzlib:0
+	${CDEPEND}
+	dev-java/javacc:0
+	dev-java/javahelp:0"
+RDEPEND=">=virtual/jdk-1.7
+	${CDEPEND}"
+
+INSTALL_DIR="/usr/share/${PN}-${SLOT}"
+
+EANT_BUILD_XML="nbbuild/build.xml"
+EANT_BUILD_TARGET="rebuild-cluster"
+EANT_EXTRA_ARGS="-Drebuild.cluster.name=nb.cluster.ide -Dext.binaries.downloaded=true -Djava.awt.headless=true -Dpermit.jdk8.builds=true"
+EANT_FILTER_COMPILER="ecj-3.3 ecj-3.4 ecj-3.5 ecj-3.6 ecj-3.7"
+JAVA_PKG_BSFIX="off"
+
+JAVA_PKG_WANT_SOURCE="1.7"
+JAVA_PKG_WANT_TARGET="1.7"
+
+src_unpack() {
+	unpack $(basename ${SOURCE_URL})
+
+	einfo "Deleting bundled jars..."
+	find -name "*.jar" -type f -delete
+
+	unpack netbeans-9999-r14-build.xml.patch.bz2
+
+	pushd "${S}" >/dev/null || die
+	ln -s "${DISTDIR}"/4E74C6BE42FE89871A878C7C4D6158F21A6D8010-antlr-runtime-3.4.jar libs.antlr3.runtime/external/antlr-runtime-3.4.jar || die
+	ln -s "${DISTDIR}"/98308890597ACB64047F7E896638E0D98753AE82-asm-all-4.0.jar libs.nashorn/external/asm-all-4.0.jar || die
+	ln -s "${DISTDIR}"/886FAF4B85054DD6E50D9B3438542F432B5F9251-bytelist-0.1.jar libs.bytelist/external/bytelist-0.1.jar || die
+	ln -s "${DISTDIR}"/A8762D07E76CFDE2395257A5DA47BA7C1DBD3DCE-commons-io-1.4.jar o.apache.commons.io/external/commons-io-1.4.jar || die
+	ln -s "${DISTDIR}"/CD0D5510908225F76C5FE5A3F1DF4FA44866F81E-commons-net-3.3.jar libs.commons_net/external/commons-net-3.3.jar || die
+	ln -s "${DISTDIR}"/901D8F815922C435D985DA3814D20E34CC7622CB-css21-spec.zip css.editor/external/css21-spec.zip || die
+	ln -s "${DISTDIR}"/53AFD6CAA1B476204557B0626E7D673FBD5D245C-css3-spec.zip css.editor/external/css3-spec.zip || die
+	ln -s "${DISTDIR}"/C9A6304FAA121C97CB2458B93D30B1FD6F0F7691-derbysampledb.zip derby/external/derbysampledb.zip || die
+	ln -s "${DISTDIR}"/C40DFDACDF892D1BA14B540B32C11B6F34659931-exechlp-1.0.zip dlight.nativeexecution/external/exechlp-1.0.zip || die
+	ln -s "${DISTDIR}"/5EEAAC41164FEBCB79C73BEBD678A7B6C10C3E80-freemarker-2.3.19.jar libs.freemarker/external/freemarker-2.3.19.jar || die
+	ln -s "${DISTDIR}"/75C30C488AD2A18A82C7FE3829F4A33FC7841643-glassfish-tooling-sdk-0.3-b054-246345.jar libs.glassfish.sdk/external/glassfish-tooling-sdk-0.3-b054-246345.jar || die
+	ln -s "${DISTDIR}"/23123BB29025254556B6E573023FCDF0F6715A66-html-4.01.zip html.editor/external/html-4.01.zip || die
+	ln -s "${DISTDIR}"/F4A1696661E6233F8C27EE323CAEF9CB052666F1-html5-datatypes.jar html.validation/external/html5-datatypes.jar || die
+	ln -s "${DISTDIR}"/4388C34B9F085A42FBEA06C5B00FDF0A251171EC-html5doc.zip html.parser/external/html5doc.zip || die
+	ln -s "${DISTDIR}"/D528B44AE7593D2275927396BF930B28078C5220-htmlparser-1.2.1.jar html.parser/external/htmlparser-1.2.1.jar || die
+	ln -s "${DISTDIR}"/8E737D82ECAC9BA6100A9BBA71E92A381B75EFDC-ini4j-0.5.1.jar libs.ini4j/external/ini4j-0.5.1.jar || die
+	ln -s "${DISTDIR}"/A2862B7795EF0E0F0716BEC84528FA3B629E479C-io-xml-util.jar html.validation/external/io-xml-util.jar || die
+	ln -s "${DISTDIR}"/0DCC973606CBD9737541AA5F3E76DED6E3F4D0D0-iri.jar html.validation/external/iri.jar || die
+	ln -s "${DISTDIR}"/F90E3DA5259DB07F36E6987EFDED647A5231DE76-ispell-enwl-3.1.20.zip spellchecker.dictionary_en/external/ispell-enwl-3.1.20.zip || die
+	ln -s "${DISTDIR}"/71F434378F822B09A57174AF6C75D37408687C57-jaxb-api.jar xml.jaxb.api/external/jaxb-api.jar || die
+	ln -s "${DISTDIR}"/27FAE927B5B9AE53A5B0ED825575DD8217CE7042-jaxb-api-doc.zip libs.jaxb/external/jaxb-api-doc.zip || die
+	ln -s "${DISTDIR}"/387BE740EAEF52B3F6E6EE2F140757E7632584CE-jaxb-impl.jar libs.jaxb/external/jaxb-impl.jar || die
+	ln -s "${DISTDIR}"/C3787DAB0DDFBD9E98086ED2F219859B0CB77EF7-jaxb-xjc.jar libs.jaxb/external/jaxb-xjc.jar || die
+	ln -s "${DISTDIR}"/F4DB465F207907A2406B0BF5C8FFEE22A5C3E4E3-jaxb1-impl.jar libs.jaxb/external/jaxb1-impl.jar || die
+	ln -s "${DISTDIR}"/5E40984A55F6FFF704F05D511A119CA5B456DDB1-jfxrt.jar libs.javafx/external/jfxrt.jar || die
+	ln -s "${DISTDIR}"/483A61B688B13C62BB201A683D98A6688B5373B6-jing.jar html.validation/external/jing.jar || die
+	ln -s "${DISTDIR}"/DA6CE3C2EB334DB61EFA99CD66134619867368FA-js-corestubs.zip javascript2.editor/external/js-corestubs.zip || die
+	ln -s "${DISTDIR}"/997BF4A93B8A99E37AB51C9016D1D18CF5FF4B60-js-domstubs.zip javascript2.editor/external/js-domstubs.zip || die
+	ln -s "${DISTDIR}"/291540295937BAC426A5A5BDDB6D86604075F4C0-js-reststubs.zip javascript2.editor/external/js-reststubs.zip || die
+	ln -s "${DISTDIR}"/036FA0032B44AD06A1F13504D97B3685B1C88961-jsch.agentproxy.core-0.0.7.jar libs.jsch.agentproxy/external/jsch.agentproxy.core-0.0.7.jar || die
+	ln -s "${DISTDIR}"/9F31964104D71855DF6B73F0C761CDEB3FA3C49C-jsch.agentproxy.sshagent-0.0.7.jar libs.jsch.agentproxy/external/jsch.agentproxy.sshagent-0.0.7.jar || die
+	ln -s "${DISTDIR}"/3FA59A536F3DC2197826DC7F224C0823C1534203-jsch.agentproxy.pageant-0.0.7.jar libs.jsch.agentproxy/external/jsch.agentproxy.pageant-0.0.7.jar || die
+	ln -s "${DISTDIR}"/F759114E5A9F9AE907EADB59DBF65189AA399B45-jsch.agentproxy.usocket-jna-0.0.7.jar libs.jsch.agentproxy/external/jsch.agentproxy.usocket-jna-0.0.7.jar || die
+	ln -s "${DISTDIR}"/2E07375E5CA3A452472F0E87FB33F243F7A5C08C-libpam4j-1.1.jar extexecution.impl/external/libpam4j-1.1.jar || die
+	ln -s "${DISTDIR}"/76E901A1F432323E7E90FC86FDB2534A28952293-nashorn-02f810c26ff9-patched.jar libs.nashorn/external/nashorn-02f810c26ff9-patched.jar || die
+	ln -s "${DISTDIR}"/010FC8BD229B7F68C8C4D5BDE399475373096601-non-schema.jar html.validation/external/non-schema.jar || die
+	ln -s "${DISTDIR}"/7052E115041D04410A4519A61307502FB7C138E6-org.eclipse.core.contenttype_3.4.100.v20110423-0524.jar o.eclipse.core.contenttype/external/org.eclipse.core.contenttype_3.4.100.v20110423-0524.jar || die
+	ln -s "${DISTDIR}"/B19A4D998C76FE7A30830C96B9E3A47682F320FC-org.eclipse.core.jobs-3.5.101.jar o.eclipse.core.jobs/external/org.eclipse.core.jobs-3.5.101.jar || die
+	ln -s "${DISTDIR}"/E64EF6A3FC5DB01AD95632B843706CCE56614C90-org.eclipse.core.net_1.2.100.I20110511-0800.jar o.eclipse.core.net/external/org.eclipse.core.net_1.2.100.I20110511-0800.jar || die
+	ln -s "${DISTDIR}"/6658C235056134F7E86295E751129508802D71F2-org.eclipse.core.runtime-3.7.0.jar o.eclipse.core.runtime/external/org.eclipse.core.runtime-3.7.0.jar || die
+	ln -s "${DISTDIR}"/0CA9B9DF8A8E4C6805C60A5761C470FCE8AE828F-org.eclipse.core.runtime.compatibility.auth_3.2.200.v20110110.jar o.eclipse.core.runtime.compatibility.auth/external/org.eclipse.core.runtime.compatibility.auth_3.2.200.v20110110.jar || die
+	ln -s "${DISTDIR}"/9C74D245214DB08E7EB9BC07A951B41CFE3E3648-org.eclipse.equinox.app-1.3.100.jar o.eclipse.equinox.app/external/org.eclipse.equinox.app-1.3.100.jar || die
+	ln -s "${DISTDIR}"/78E5D0B8516B042495660DA36CE5114650F8F156-org.eclipse.equinox.common_3.6.0.v20110523.jar o.eclipse.equinox.common/external/org.eclipse.equinox.common_3.6.0.v20110523.jar || die
+	ln -s "${DISTDIR}"/FD94003A1BCE42008753522BFED68E5A84B92644-org.eclipse.equinox.preferences-3.4.2.jar o.eclipse.equinox.preferences/external/org.eclipse.equinox.preferences-3.4.2.jar || die
+	ln -s "${DISTDIR}"/54AE046B40C9095C2637F8D21664C5CD76E34485-org.eclipse.equinox.registry_3.5.200.v20120522-1841.jar o.eclipse.equinox.registry/external/org.eclipse.equinox.registry_3.5.200.v20120522-1841.jar || die
+	ln -s "${DISTDIR}"/0FFB9B1D7CD992CE6C8AAEEC2F6F98DFBB1D2F91-org.eclipse.equinox.security-1.1.1.jar o.eclipse.equinox.security/external/org.eclipse.equinox.security-1.1.1.jar || die
+	ln -s "${DISTDIR}"/7FE73A21F4A078ABAAFACE4D2B03B5EB3D306F63-org.eclipse.jgit-3.4.1.201406201815-r.jar o.eclipse.jgit/external/org.eclipse.jgit-3.4.1.201406201815-r.jar || die
+	ln -s "${DISTDIR}"/49F1EFEBC8CECA5D514209BE18A048EB5707C0A7-org.eclipse.jgit.java7-3.4.1.201406201815-r.jar o.eclipse.jgit.java7/external/org.eclipse.jgit.java7-3.4.1.201406201815-r.jar || die
+	ln -s "${DISTDIR}"/A94F8F805202B28236FFBC03C1CA149129DAEA1C-org.eclipse.mylyn.bugzilla.core_3.10.0.20131024-1218.jar o.eclipse.mylyn.bugzilla.core/external/org.eclipse.mylyn.bugzilla.core_3.10.0.20131024-1218.jar || die
+	ln -s "${DISTDIR}"/19D64C17A692D2023E22B16AD515118DF6427790-org.eclipse.mylyn.commons.core_3.10.0.20130926-1710.jar o.eclipse.mylyn.commons.core/external/org.eclipse.mylyn.commons.core_3.10.0.20130926-1710.jar || die
+	ln -s "${DISTDIR}"/A1BF01D1DD09274446738C3F83360314B8881CD5-org.eclipse.mylyn.commons.net_3.10.0.20131018-1210.jar o.eclipse.mylyn.commons.net/external/org.eclipse.mylyn.commons.net_3.10.0.20131018-1210.jar || die
+	ln -s "${DISTDIR}"/136A7EB3BB9B2559C5F9184B438F108C959B3C03-org.eclipse.mylyn.commons.repositories.core_1.2.0.20130704-2116.jar o.eclipse.mylyn.commons.repositories.core/external/org.eclipse.mylyn.commons.repositories.core_1.2.0.20130704-2116.jar || die
+	ln -s "${DISTDIR}"/531746EBE57071AB7F8CCC7ACB0E806F25893916-org.eclipse.mylyn.commons.xmlrpc_3.10.0.20130704-2116.jar o.eclipse.mylyn.commons.xmlrpc/external/org.eclipse.mylyn.commons.xmlrpc_3.10.0.20130704-2116.jar || die
+	ln -s "${DISTDIR}"/D3ED088A49DE9E5163457E9279181DD4185BFBE6-org.eclipse.mylyn.tasks.core_3.10.0.20131010-2023.jar o.eclipse.mylyn.tasks.core/external/org.eclipse.mylyn.tasks.core_3.10.0.20131010-2023.jar || die
+	ln -s "${DISTDIR}"/8D4278A9F47D17A104182E59CF06D682B3DE0B3E-org.eclipse.mylyn.wikitext.confluence.core_1.9.0.20131007-2055.jar o.eclipse.mylyn.wikitext.confluence.core/external/org.eclipse.mylyn.wikitext.confluence.core_1.9.0.20131007-2055.jar || die
+	ln -s "${DISTDIR}"/1FC011B8A350B70950B3F1D722D7F2890C6E76D8-org.eclipse.mylyn.wikitext.core_1.9.0.20131007-2055.jar o.eclipse.mylyn.wikitext.core/external/org.eclipse.mylyn.wikitext.core_1.9.0.20131007-2055.jar || die
+	ln -s "${DISTDIR}"/6E914CA3075C8FDF7652F04A02868CF32F2EDCE3-org.eclipse.mylyn.wikitext.textile.core_1.9.0.20131007-2055.jar o.eclipse.mylyn.wikitext.textile.core/external/org.eclipse.mylyn.wikitext.textile.core_1.9.0.20131007-2055.jar  || die
+	ln -s "${DISTDIR}"/8A2F6232978E0330A5D36F19BA0686F96FB980B5-org.tmatesoft.svnkit_1.8.4.r10218_v20140302_1242.jar libs.svnClientAdapter.svnkit/external/org.tmatesoft.svnkit_1.8.4.r10218_v20140302_1242.jar || die
+	ln -s "${DISTDIR}"/4F94E5B4F14B4571A1D8E37885A3037C91F7C02C-svnkit_1.7.8.r9538_v20130107_2001.jar libs.svnClientAdapter.svnkit/external/svnkit_1.7.8.r9538_v20130107_2001.jar || die
+	ln -s "${DISTDIR}"/820FD32B3FB7F885996B15474F220BDCCACD6D27-processtreekiller-1.0.2.jar extexecution.impl/external/processtreekiller-1.0.2.jar || die
+	ln -s "${DISTDIR}"/B0D0FCBAC68826D2AFA3C7C89FC4D57B95A000C3-resolver-1.2.jar o.apache.xml.resolver/external/resolver-1.2.jar || die
+	ln -s "${DISTDIR}"/EDE7FBABD4C96D34E48FDA0E8FECED24C98CEDCA-sqljet-1.1.10.jar libs.svnClientAdapter.svnkit/external/sqljet-1.1.10.jar || die
+	ln -s "${DISTDIR}"/D08E473A4D0510FB329D64E4CC4F2963D000699C-svnClientAdapter-javahl-1.10.3.jar libs.svnClientAdapter.javahl/external/svnClientAdapter-javahl-1.10.3.jar || die
+	ln -s "${DISTDIR}"/2CD487DCDE4C4FC38D1C9EBCD45418A1B5EF188D-svnClientAdapter-main-1.10.3.jar libs.svnClientAdapter/external/svnClientAdapter-main-1.10.3.jar || die
+	ln -s "${DISTDIR}"/5D37A7FE167A1D44731192748C79B2D7905D474F-svnClientAdapter-svnkit-1.10.3.jar libs.svnClientAdapter.svnkit/external/svnClientAdapter-svnkit-1.10.3.jar || die
+	ln -s "${DISTDIR}"/24CEAE4A9A2AAAA0BD78FF001914BA06B59CEDF2-svnjavahl-1.8.4.jar libs.svnClientAdapter.javahl/external/svnjavahl-1.8.4.jar || die
+	ln -s "${DISTDIR}"/3B91269E9055504778F57744D24F505856698602-svnkit-1.7.0-beta4-20120316.233307-1.jar libs.svnClientAdapter.svnkit/external/svnkit-1.7.0-beta4-20120316.233307-1.jar || die
+	ln -s "${DISTDIR}"/015525209A02BD74254930FF844C7C13498B7FB9-svnkit-javahl16-1.7.0-beta4-20120316.233536-1.jar libs.svnClientAdapter.svnkit/external/svnkit-javahl16-1.7.0-beta4-20120316.233536-1.jar || die
+	ln -s "${DISTDIR}"/C0D8A3265D194CC886BAFD585117B6465FD97DCE-swingx-all-1.6.4.jar libs.swingx/external/swingx-all-1.6.4.jar || die
+	ln -s "${DISTDIR}"/CD5B5996B46CB8D96C8F0F89A7A734B3C01F3DF7-tomcat-webserver-3.2.jar httpserver/external/tomcat-webserver-3.2.jar || die
+	ln -s "${DISTDIR}"/CE9A1C96875443F2FDD5127B750DA39CF4CE818B-com.trilead.ssh2_1.0.0.build217_r155_v20130603_1628.jar libs.svnClientAdapter.svnkit/external/com.trilead.ssh2_1.0.0.build217_r155_v20130603_1628.jar || die
+	ln -s "${DISTDIR}"/89BC047153217F5254506F4C622A771A78883CBC-ValidationAPI.jar swing.validation/external/ValidationAPI.jar || die
+	ln -s "${DISTDIR}"/6FC6098C230D7CBA5730106D379CBBB42F6EC48A-validator.jar html.validation/external/validator.jar || die
+	ln -s "${DISTDIR}"/64F5BEEADD2A239C4BC354B8DFDB97CF7FDD9983-xmlrpc-client-3.0.jar o.apache.xmlrpc/external/xmlrpc-client-3.0.jar || die
+	ln -s "${DISTDIR}"/8FA16AD28B5E79A7CD52B8B72985B0AE8CCD6ADF-xmlrpc-common-3.0.jar o.apache.xmlrpc/external/xmlrpc-common-3.0.jar || die
+	ln -s "${DISTDIR}"/D6917BF718583002CBE44E773EE21E2DF08ADC71-xmlrpc-server-3.0.jar o.apache.xmlrpc/external/xmlrpc-server-3.0.jar || die
+	ln -s "${DISTDIR}"/C9757EFB2CFBA523A7375A78FA9ECFAF0D0AC505-winp-1.14-patched.jar extexecution.impl/external/winp-1.14-patched.jar || die
+	popd >/dev/null || die
+}
+
+src_prepare() {
+	einfo "Deleting bundled class files..."
+	find -name "*.class" -type f | xargs rm -vf
+
+	epatch netbeans-9999-r14-build.xml.patch
+
+	# Support for custom patches
+	if [ -n "${NETBEANS9999_PATCHES_DIR}" -a -d "${NETBEANS9999_PATCHES_DIR}" ] ; then
+		local files=`find "${NETBEANS9999_PATCHES_DIR}" -type f`
+
+		if [ -n "${files}" ] ; then
+			einfo "Applying custom patches:"
+
+			for file in ${files} ; do
+				epatch "${file}"
+			done
+		fi
+	fi
+
+	einfo "Symlinking external libraries..."
+	java-pkg_jar-from --build-only --into javahelp/external javahelp jhall.jar jhall-2.0_05.jar
+	java-pkg_jar-from --into libs.json_simple/external json-simple json-simple.jar json-simple-1.1.1.jar
+
+	einfo "Linking in other clusters..."
+	mkdir "${S}"/nbbuild/netbeans || die
+	pushd "${S}"/nbbuild/netbeans >/dev/null || die
+
+	ln -s /usr/share/netbeans-platform-${SLOT} platform || die
+	cat /usr/share/netbeans-platform-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+	touch nb.cluster.platform.built
+
+	ln -s /usr/share/netbeans-harness-${SLOT} harness || die
+	cat /usr/share/netbeans-harness-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+	touch nb.cluster.harness.built
+
+	popd >/dev/null || die
+
+	java-pkg_jar-from --build-only --into c.jcraft.jsch/external jsch jsch.jar jsch-0.1.49.jar
+	java-pkg_jar-from --build-only --into c.jcraft.jzlib/external jzlib jzlib.jar jzlib-1.0.7.jar
+	java-pkg_jar-from --into db.drivers/external jdbc-mysql jdbc-mysql.jar mysql-connector-java-5.1.23-bin.jar
+	java-pkg_jar-from --into db.drivers/external jdbc-postgresql jdbc-postgresql.jar postgresql-9.2-1002.jdbc4.jar
+	java-pkg_jar-from --build-only --into db.sql.visualeditor/external javacc javacc.jar javacc-3.2.jar
+	java-pkg_jar-from --into html.parser/external icu4j-4.4 icu4j.jar icu4j-4_4_2.jar
+	java-pkg_jar-from --into html.validation/external iso-relax isorelax.jar isorelax.jar
+	java-pkg_jar-from --into html.validation/external log4j log4j.jar log4j-1.2.15.jar
+	java-pkg_jar-from --into html.validation/external saxon-9 saxon.jar saxon9B.jar
+	# java-pkg_jar-from --into libs.freemarker/external freemarker-2.3 freemarker.jar freemarker-2.3.19.jar
+	java-pkg_jar-from --into libs.jvyamlb/external jvyamlb jvyamlb.jar jvyamlb-0.2.3.jar
+	java-pkg_jar-from --into libs.lucene/external lucene-3.5 lucene-core.jar lucene-core-3.5.0.jar
+	java-pkg_jar-from --into libs.smack/external smack-2.2 smack.jar smack.jar
+	java-pkg_jar-from --into libs.smack/external smack-2.2 smackx.jar smackx.jar
+	# java-pkg_jar-from --into libs.svnClientAdapter.javahl/external subversion svn-javahl.jar svnjavahl-1.8.4.jar
+	java-pkg_jar-from --into libs.xerces/external xerces-2 xercesImpl.jar xerces-2.8.0.jar
+	java-pkg_jar-from --build-only --into o.apache.commons.codec/external commons-codec commons-codec.jar apache-commons-codec-1.3.jar
+	java-pkg_jar-from --into o.apache.commons.httpclient/external commons-httpclient-3 commons-httpclient.jar commons-httpclient-3.1.jar
+	java-pkg_jar-from --into o.apache.commons.lang/external commons-lang-2.1 commons-lang.jar commons-lang-2.4.jar
+	java-pkg_jar-from --into o.apache.commons.logging/external commons-logging commons-logging.jar commons-logging-1.1.1.jar
+	java-pkg_jar-from --into o.apache.ws.commons.util/external ws-commons-util ws-commons-util.jar ws-commons-util-1.0.1.jar
+	java-pkg_jar-from --into servletapi/external tomcat-servlet-api-2.2 servlet.jar servlet-2.2.jar
+	java-pkg_jar-from --into xml.jaxb.api/external sun-jaf activation.jar activation.jar
+	java-pkg_jar-from --into xml.jaxb.api/external jsr173 jsr173.jar jsr173_1.0_api.jar
+
+	java-pkg-2_src_prepare
+}
+
+src_compile() {
+	unset DISPLAY
+	eant -f ${EANT_BUILD_XML} ${EANT_EXTRA_ARGS} ${EANT_BUILD_TARGET} || die "Compilation failed"
+}
+
+src_install() {
+	pushd nbbuild/netbeans/ide >/dev/null || die
+
+	insinto ${INSTALL_DIR}
+
+	grep -E "/ide$" ../moduleCluster.properties > "${D}"/${INSTALL_DIR}/moduleCluster.properties || die
+
+	doins -r *
+	rm -fr "${D}"/${INSTALL_DIR}/bin/nativeexecution || die
+	rm -fr "${D}"/${INSTALL_DIR}/modules/lib || die
+
+	insinto ${INSTALL_DIR}/bin/nativeexecution
+	doins bin/nativeexecution/*
+
+	pushd "${D}"/${INSTALL_DIR}/bin/nativeexecution >/dev/null || die
+	for file in *.sh ; do
+		fperms 755 ${file}
+	done
+	popd >/dev/null || die
+
+	if use x86 ; then
+		doins -r bin/nativeexecution/Linux-x86
+		pushd "${D}"/${INSTALL_DIR}/bin/nativeexecution/Linux-x86 >/dev/null || die
+		for file in * ; do
+			fperms 755 ${file}
+		done
+		popd >/dev/null || die
+	elif use amd64 ; then
+		doins -r bin/nativeexecution/Linux-x86_64
+		pushd "${D}"/${INSTALL_DIR}/bin/nativeexecution/Linux-x86_64 >/dev/null || die
+		for file in * ; do
+			fperms 755 ${file}
+		done
+		popd >/dev/null || die
+	fi
+
+	popd >/dev/null || die
+
+	local instdir=${INSTALL_DIR}/modules/ext
+	pushd "${D}"/${instdir} >/dev/null || die
+	# rm freemarker-2.3.19.jar && dosym /usr/share/freemarker-2.3/lib/freemarker.jar ${instdir}/freemarker-2.3.19.jar || die
+	rm icu4j-4_4_2.jar && dosym /usr/share/icu4j-4.4/lib/icu4j.jar ${instdir}/icu4j-4_4_2.jar || die
+	rm isorelax.jar && dosym /usr/share/iso-relax/lib/isorelax.jar ${instdir}/isorelax.jar || die
+	rm json-simple-1.1.1.jar && dosym /usr/share/json-simple/lib/json-simple.jar ${instdir}/json-simple-1.1.1.jar || die
+	rm jvyamlb-0.2.3.jar && dosym /usr/share/jvyamlb/lib/jvyamlb.jar ${instdir}/jvyamlb-0.2.3.jar || die
+	rm log4j-1.2.15.jar && dosym /usr/share/log4j/lib/log4j.jar ${instdir}/log4j-1.2.15.jar || die
+	rm lucene-core-3.5.0.jar && dosym /usr/share/lucene-3.5/lib/lucene-core.jar ${instdir}/lucene-core-3.5.0.jar || die
+	rm mysql-connector-java-5.1.23-bin.jar && dosym /usr/share/jdbc-mysql/lib/jdbc-mysql.jar ${instdir}/mysql-connector-java-5.1.23-bin.jar || die
+	rm postgresql-9.2-1002.jdbc4.jar && dosym /usr/share/jdbc-postgresql/lib/jdbc-postgresql.jar ${instdir}/postgresql-9.2-1002.jdbc4.jar || die
+	rm saxon9B.jar && dosym /usr/share/saxon-9/lib/saxon.jar ${instdir}/saxon9B.jar || die
+	rm servlet-2.2.jar && dosym /usr/share/tomcat-servlet-api-2.2/lib/servlet.jar ${instdir}/servlet-2.2.jar || die
+	rm smack.jar && dosym /usr/share/smack-2.2/lib/smack.jar ${instdir}/smack.jar || die
+	rm smackx.jar && dosym /usr/share/smack-2.2/lib/smackx.jar ${instdir}/smackx.jar || die
+	# rm svnjavahl.jar && dosym /usr/share/subversion/lib/svn-javahl.jar ${instdir}/svnjavahl.jar || die
+	rm xerces-2.8.0.jar && dosym /usr/share/xerces-2/lib/xercesImpl.jar ${instdir}/xerces-2.8.0.jar || die
+	popd >/dev/null || die
+
+	local instdir=${INSTALL_DIR}/modules/ext/jaxb
+	pushd "${D}"/${instdir} >/dev/null || die
+	rm activation.jar && dosym /usr/share/sun-jaf/lib/activation.jar ${instdir}/activation.jar || die
+	popd >/dev/null || die
+
+	local instdir=${INSTALL_DIR}/modules/ext/jaxb/api
+	pushd "${D}"/${instdir} >/dev/null || die
+	rm jsr173_1.0_api.jar && dosym /usr/share/jsr173/lib/jsr173.jar ${instdir}/jsr173_1.0_api.jar || die
+	popd >/dev/null || die
+
+	dosym ${INSTALL_DIR} /usr/share/netbeans-nb-${SLOT}/ide
+}

diff --git a/dev-java/netbeans-java/ChangeLog b/dev-java/netbeans-java/ChangeLog
index 3eab530..e725d1a 100644
--- a/dev-java/netbeans-java/ChangeLog
+++ b/dev-java/netbeans-java/ChangeLog
@@ -2,6 +2,12 @@
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+*netbeans-java-9999_p20141003 (03 Oct 2014)
+
+  03 Oct 2014; Miroslav Šulc <fordfrog@gentoo.org>
+  +netbeans-java-9999_p20141003.ebuild:
+  bumped to the latest sources
+
 *netbeans-java-9999_p20141001 (01 Oct 2014)
 
   01 Oct 2014; Miroslav Šulc <fordfrog@gentoo.org>

diff --git a/dev-java/netbeans-java/Manifest b/dev-java/netbeans-java/Manifest
index f57cc4a..d57ddb7 100644
--- a/dev-java/netbeans-java/Manifest
+++ b/dev-java/netbeans-java/Manifest
@@ -96,6 +96,7 @@ DIST netbeans-trunk-nightly-201409260001-src.zip 197125028 SHA256 0b2e8f0b10eb02
 DIST netbeans-trunk-nightly-201409280001-src.zip 197332446 SHA256 eac6b2e0b19817527b56f73f188b53b3f297ce5c20a01be3ccc6902ff2f94ed4 SHA512 fbf694a7138146ceb96ccf0d172b9f8031fd2eb3e06aa438386912bf7ea458874ee7041e25e672db2f297875e03fd75f48e8f4410d2e5153f090e2c09d62bc86 WHIRLPOOL a33730b5f76c4aa67476f70961c0ff5fa1916b9caa87173f1c8a57715fd414c65d77ac9d91cf9a1aacd1c6b6ae070595e7becb4394efcaf14759e10d83aaf4de
 DIST netbeans-trunk-nightly-201409300001-src.zip 197332445 SHA256 c306ca40b2bb2ca3f3a4d3ea10fea43b0bcdaaba31291ec5bdb4dbc7d3e67e34 SHA512 91d56515b70db2c2e0deb22938c38e6b45011eeb74083b474fdad64f7851911fcd93612cf08cfc0e5e03ca0e2a79530c59232dbf865853630640c26cc3105d48 WHIRLPOOL 29423713433df87c5f589742beb10682391dc8fea5b5512948709627b8a31cb802962e8845420fec19cde09672b823470f485c21ea85573fdb20af620b54ba55
 DIST netbeans-trunk-nightly-201410010001-src.zip 197355068 SHA256 0d284d68152ca0da1c8dfb7149e5b2638133fe3be6790f312c9959e59528144b SHA512 33ce5f22e9d3ac55d4f7b4b353956a39e030dee6380c5f379fba810f3ec86f8b36e88b773dbbf8bc3c430fc58caba9097764b7eac2d44ce2a25129f8f20fa4f2 WHIRLPOOL b4228286acec04cb321ca8aba60af42a7a1e2c20de1f657773166021a36e284b5ac4f49e9dbf8a51d81577b0d49d387707de3fcc0a622fd13b57c7d704b3da00
+DIST netbeans-trunk-nightly-201410030001-src.zip 197355085 SHA256 f915305ddfd881aaf161ca366c2af9eb29e954c971e73580aaab68cc0836f53e SHA512 d681dd706f0ca188fd5c8d055c88396e33a4e5b3f956017273e0834c755cb6905427c7a9f1dc12c05668580b2ce09caef1b5ea18e2f15384e06900f6cc197df5 WHIRLPOOL a93aa92eabd9120ec1923d6f7af586bead3915691a795d45e2929623b34c52d267091203c7b6d4e2bf0b1629624e6a49ad2d28bddce35ab9508bdc099aa511ed
 EBUILD netbeans-java-7.0.1-r2.ebuild 14932 SHA256 3d8eeb5c3aea368c5064e83e9519b2982a3d0f999db11344ba33605f46f865b0 SHA512 0c99037f44aa968f357724650189fe0f6fc89496fbf73f6c5a9bcd589afa5af4974f058a8eea2b6a97e1884f4cabba8b5ecf0214b7e840870358f0e55abbc595 WHIRLPOOL 4c1ccada62d0c8883033500ead9586e5bfcd360e6030b3d8368b0b16b9ed01cc03d3c3d5888de437a16d5382b5fe9ec7c02f3e200c3c19bc9a43f011f32d3a68
 EBUILD netbeans-java-7.1.2-r1.ebuild 14936 SHA256 6082d8d5022e011e7aa9d4ff92bf9a144a4f733b879127552c0ca55566b0f18c SHA512 c03a674b6d93a4261bff40ad9aaad6fa9bc0451d6017aeb51f14c42113cc2ff12f84ff5a6cc01c01b43c7ce1b4d885da5c9cb4c0e13601c8ff780eb140060ac6 WHIRLPOOL d32f06a7bd7d4924f14fcb2ed67fd2f5a1766087e4f46ed77d12d472c4c133eef5431d75a709da1abcf8b8cff5afef303dd57e82e4022651a7278076502300d6
 EBUILD netbeans-java-7.2.ebuild 12206 SHA256 da05f74f2c02e4aac745dcf1be75069cc7070f241d063c19c40465e139ac135f SHA512 62be228321e175ad03c2a7d9270065445ba9e1ca08a1a51927027ddbc78aa43a0c57c6b4193add993764235068c7128655f2f12e00fcd17fbac807334f2483c6 WHIRLPOOL 5f518535df8a5f1e1e4f0bc5c845ca063317221c619c3e8928c89a4f2bb30be5a03838f5a610bcda58959d535e4fb152f92f4edd780bcd423918b448d7ddf2e1
@@ -111,5 +112,6 @@ EBUILD netbeans-java-9999_p20140926.ebuild 13405 SHA256 a4e170bffd69c1940c3bf9fb
 EBUILD netbeans-java-9999_p20140928.ebuild 13405 SHA256 7cd2f4621df4f4a53dfa413516ebd8ace88ec1007ae0b9f281fd7e0d0ee7a711 SHA512 0e3b1b0e3d9b3f71e9fd74a19c3aa4624c544964c39b65408249437dab616d501533fcd20178b2ed1984b3df391300e4b6fe70e1f684ef54cee897a6260ed8ae WHIRLPOOL a4254c1717dc3c3353b730bfc168033782b54ac2ced631dc1da4442589cfb4b76c9dd8886083126c6d3d658f2142c60f2927425e345f8f18717264712121739d
 EBUILD netbeans-java-9999_p20140930.ebuild 13405 SHA256 0d622ee6501ddc3c00a28adf0eb3f589e7e341637e8effbd1834ccc935f3f1bd SHA512 d18e11d3835af74019551993741ea90ce29a5e3f60d827172eab8cf0057310b13c84aa37acf89c8589dbac54562945836e804861f6b658d7fb909b66723add4a WHIRLPOOL 48fe9f709b050990cb6a7fc0cb21592771e027f8e7ef48e7803edd0e26a81eecf47c7ad8f7eda8f43584782634bdc54cdfbcc77dd20d2b49a0855cbe59785ee1
 EBUILD netbeans-java-9999_p20141001.ebuild 13405 SHA256 e5c2d17e436344a403e1862f70bebc054bd95ba72dc65295a80051b8413c05b2 SHA512 fedb608a59f43dc7e8589c13592532b2cbfa133920a547f3eb8bbadd48cd428ac8b41827515fdd5ebc5d9337e37855bd7758f401561dd675565328130cc1adf0 WHIRLPOOL dd0c5d9c57b89b01fefc50c4d50e0b79d98f8c1ce2cc1bc2d06879e788ac1ec7442c3992b74b7aa1e64b3d620f01908b881d38113fea89ba0e1c849b90b919a2
-MISC ChangeLog 128501 SHA256 4b0437ab91633a5ee75c9a4ad2bd60de0850d179bdd1e43fc52646b6cc075f38 SHA512 c3bc722b2fb0e0397515a95bbc2cc94455e2b59b5c19fe3ea97abdcd6127ea8021093034e6c1cbb5b37413c11feb656139d694f95b0830e52caecc5ac9dfab16 WHIRLPOOL 0fdac567aaebd3ff15eb7ec9bfb17e3578d9e0ac58f7a92f792f81fe8184c4a176b9d8fdb6d78848142fff5966e1ba22d6372e9af5c8bec4972caf6add4e24c8
+EBUILD netbeans-java-9999_p20141003.ebuild 13405 SHA256 ecd9b2c590946f1cda5b667412136ff66e486eff97167b75c9dad9f4d525ab8d SHA512 42c6f94d4792b6e7fed5105bcb5ba87ce361b7e2dd07e3fbbfdd8e5cd78378cf7cd060f0d582e60b2406d376fc1aa78394ca1ade369818000795385568a6194c WHIRLPOOL 026bc7f98d2b260543490be519df87c5d7b4a4035b6222780dfa843e695d090a30a0d3ff20f4b8c45fe75127b6040400c9aafc807038d219d56f3f33c109e1ee
+MISC ChangeLog 128670 SHA256 849828d107cf96cf00d66a91c188dc6b9e48c4394390b7a6c876318821b5951f SHA512 2ddc52bde416b49282e812da03bac5c035ad024ef3ed0bbc14ddba1e47e9532bb9995eb7e37a112d1dcb7917abd54c1c1d6c0c8399d2d6f736fc5e6a56716121 WHIRLPOOL 1e875086c9b7930765b59092e62f5568c34becac3d9f490208025fbe9d634e1256c519e064b6dd5ec89bacbb62508ebe37b620527b4da6a0d99f2031477e30b4
 MISC metadata.xml 251 SHA256 5a4ff53a9862390a48d45c79be24086646e7a6ff0c5bdf0fcb799d0871299003 SHA512 04153cbd9776ad56a94d6a47d043df15d082d8888df8658f18d0d4b659c6c0526ab3a9b22ccbe2471091bf2d8165f224854bc99c51f3664aaf350ccb93532a7c WHIRLPOOL 2ee8a646c6e23bc46c72cac0ecb5cfe43720ec42404ddaeed8ab1b59d139b3d5c1a94764de847f979da978c001c9f02f709d663a68eeea64d19e88f1fefbca43

diff --git a/dev-java/netbeans-java/netbeans-java-9999_p20141003.ebuild b/dev-java/netbeans-java/netbeans-java-9999_p20141003.ebuild
new file mode 100644
index 0000000..d4bd538
--- /dev/null
+++ b/dev-java/netbeans-java/netbeans-java-9999_p20141003.ebuild
@@ -0,0 +1,253 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="4"
+inherit eutils java-pkg-2 java-ant-2
+
+# Maven cannot be unbundled because it depends on exact maven version and exact content of maven directory
+
+DESCRIPTION="Netbeans Java Cluster"
+HOMEPAGE="http://netbeans.org/projects/java"
+SLOT="9999"
+SOURCE_URL="http://bits.netbeans.org/download/trunk/nightly/2014-10-03_00-01-50/zip/netbeans-trunk-nightly-201410030001-src.zip"
+SRC_URI="${SOURCE_URL}
+	http://dev.gentoo.org/~fordfrog/distfiles/netbeans-9999-r14-build.xml.patch.bz2
+	http://hg.netbeans.org/binaries/694F57282D92C434800F79218E64704E5947008A-apache-maven-3.0.5-bin.zip
+	http://hg.netbeans.org/binaries/F7BD95641780C2AAE8CB9BED1686441A1CE5E749-beansbinding-1.2.1-doc.zip
+	http://hg.netbeans.org/binaries/CD2211635F3011E300CA8FEDC1CE0E1CF61C175B-eclipselink.jar
+	http://hg.netbeans.org/binaries/A9A0648BD7D9FD2CDFBD22C25366E71DA72438DA-hibernate-release-4.3.1-lib.zip
+	http://hg.netbeans.org/binaries/562F0CFA47F0636EBB5A544968EE7A692FC5D26D-indexer-artifact-5.1.1.jar
+	http://hg.netbeans.org/binaries/2B9EAB164D8748F9793F6A0D29B6463E97B284DA-indexer-core-5.1.1.jar
+	http://hg.netbeans.org/binaries/D87F53C99E4CD88F5416EDD5ABB77F2A1CCFB050-jarjar-1.4.jar
+	http://hg.netbeans.org/binaries/5BAB675816DBE0F64BB86004B108BF2A00292358-javax.persistence_2.1.0.v201304241213.jar
+	http://hg.netbeans.org/binaries/84E2020E5499015E9F40D1212C86918264B89EB1-jaxws-2.2.6.zip
+	http://hg.netbeans.org/binaries/D64C40E770C95C2A6994081C00CCD489C0AA20C9-jaxws-2.2.6-api.zip
+	http://hg.netbeans.org/binaries/8ECD169E9E308C258287E4F28B03B6D6F1E55F47-jaxws-api-doc.zip
+	http://hg.netbeans.org/binaries/A8BD39C5B88571B4D4697E78DD1A56566E44B1DD-JPAjavadocs04032013.zip
+	http://hg.netbeans.org/binaries/9EC77E2507F9CC01756964C71D91EFD8154A8C47-lucene-core-3.6.2.jar
+	http://hg.netbeans.org/binaries/A90682C6BC0B9E105BD260C9A041FEFEA9579E46-lucene-highlighter-3.6.2.jar
+	http://hg.netbeans.org/binaries/BF206C4AA93C74A739FBAF1F1C78E3AD5F167245-maven-dependency-tree-2.0.jar
+	http://hg.netbeans.org/binaries/E5579EF3B0C1EF2F43562DD0C3B32F8E1F603B49-nb-javac-api.jar
+	http://hg.netbeans.org/binaries/7B5CF580E4F9760727BBD7964E5B7664B243AA75-nb-javac-impl.jar
+	http://hg.netbeans.org/binaries/29AF1D338CBB76290D1A96F5A6610F1E8C319AE5-org.eclipse.persistence.jpa.jpql_2.5.2.v20140319-9ad6abd.jar
+	http://hg.netbeans.org/binaries/3CE04BDB48FE315736B1DCE407362C57DFAE286D-org.eclipse.persistence.jpa.modelgen_2.5.2.v20140319-9ad6abd.jar
+	http://hg.netbeans.org/binaries/7666B94C1004AFFFE88E5328BD70EBA6F60125F4-spring-framework-3.2.7.RELEASE.zip
+	http://hg.netbeans.org/binaries/91B55CDAC59BC4DDDF0AF9A54EAAE4304EDEF266-spring-framework-4.0.1.RELEASE.zip"
+LICENSE="|| ( CDDL GPL-2-with-linking-exception )"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+S="${WORKDIR}"
+
+CDEPEND="~dev-java/netbeans-platform-${PV}
+	~dev-java/netbeans-extide-${PV}
+	~dev-java/netbeans-harness-${PV}
+	~dev-java/netbeans-ide-${PV}
+	~dev-java/netbeans-websvccommon-${PV}
+	dev-java/beansbinding:0
+	dev-java/cglib:2.2
+	dev-java/jdom:1.0"
+DEPEND=">=virtual/jdk-1.7
+	app-arch/unzip
+	${CDEPEND}
+	dev-java/javahelp:0
+	dev-java/json-simple:0
+	dev-java/junit:4"
+RDEPEND=">=virtual/jdk-1.7
+	${CDEPEND}
+	dev-java/absolutelayout:0
+	dev-java/antlr:0[java]
+	dev-java/c3p0:0
+	dev-java/cglib:2.1
+	dev-java/commons-collections:0
+	dev-java/dom4j:1
+	dev-java/fastinfoset:0
+	dev-java/glassfish-transaction-api:0
+	dev-java/javassist:3
+	dev-java/jboss-logging:0
+	dev-java/jsr67:0
+	dev-java/jsr181:0
+	dev-java/jtidy:0
+	dev-java/log4j:0
+	dev-java/mimepull:0
+	dev-java/saaj:0
+	dev-java/stax-ex:0
+	dev-java/xmlstreambuffer:0"
+
+INSTALL_DIR="/usr/share/${PN}-${SLOT}"
+
+EANT_BUILD_XML="nbbuild/build.xml"
+EANT_BUILD_TARGET="rebuild-cluster"
+EANT_EXTRA_ARGS="-Drebuild.cluster.name=nb.cluster.java -Dext.binaries.downloaded=true -Dpermit.jdk8.builds=true"
+EANT_FILTER_COMPILER="ecj-3.3 ecj-3.4 ecj-3.5 ecj-3.6 ecj-3.7"
+JAVA_PKG_BSFIX="off"
+
+pkg_pretend() {
+	local die_now=""
+
+	if [ -d /usr/share/netbeans-java-${SLOT}/ant ]; then
+		if [ -n "$(find /usr/share/netbeans-java-${SLOT}/ant -type l)" ]; then
+			eerror "Please remove following symlinks and run emerge again:"
+			find /usr/share/netbeans-java-${SLOT}/ant -type l
+			die_now="1"
+		fi
+	fi
+
+	if [ -L /usr/share/netbeans-java-${SLOT}/maven ]; then
+		if [ -z "${die_now}" ]; then
+			eerror "Please remove following symlinks and run emerge again:"
+		fi
+
+		echo "/usr/share/netbeans-java-${SLOT}/maven"
+		die_now="1"
+	fi
+
+	if [ -n "${die_now}" ]; then
+		die "Symlinks exist"
+	fi
+}
+
+src_unpack() {
+	unpack $(basename ${SOURCE_URL})
+
+	einfo "Deleting bundled jars..."
+	find -name "*.jar" -type f -delete
+
+	unpack netbeans-9999-r14-build.xml.patch.bz2
+
+	pushd "${S}" >/dev/null || die
+	ln -s "${DISTDIR}"/694F57282D92C434800F79218E64704E5947008A-apache-maven-3.0.5-bin.zip maven.embedder/external/apache-maven-3.0.5-bin.zip || die
+	ln -s "${DISTDIR}"/F7BD95641780C2AAE8CB9BED1686441A1CE5E749-beansbinding-1.2.1-doc.zip o.jdesktop.beansbinding/external/beansbinding-1.2.1-doc.zip || die
+	ln -s "${DISTDIR}"/CD2211635F3011E300CA8FEDC1CE0E1CF61C175B-eclipselink.jar j2ee.eclipselink/external/eclipselink.jar || die
+	ln -s "${DISTDIR}"/A9A0648BD7D9FD2CDFBD22C25366E71DA72438DA-hibernate-release-4.3.1-lib.zip hibernate4lib/external/hibernate-release-4.3.1-lib.zip || die
+	ln -s "${DISTDIR}"/562F0CFA47F0636EBB5A544968EE7A692FC5D26D-indexer-artifact-5.1.1.jar maven.indexer/external/indexer-artifact-5.1.1.jar || die
+	ln -s "${DISTDIR}"/2B9EAB164D8748F9793F6A0D29B6463E97B284DA-indexer-core-5.1.1.jar maven.indexer/external/indexer-core-5.1.1.jar || die
+	ln -s "${DISTDIR}"/D87F53C99E4CD88F5416EDD5ABB77F2A1CCFB050-jarjar-1.4.jar maven/external/jarjar-1.4.jar || die
+	ln -s "${DISTDIR}"/5BAB675816DBE0F64BB86004B108BF2A00292358-javax.persistence_2.1.0.v201304241213.jar j2ee.eclipselink/external/javax.persistence_2.1.0.v201304241213.jar || die
+	ln -s "${DISTDIR}"/84E2020E5499015E9F40D1212C86918264B89EB1-jaxws-2.2.6.zip websvc.jaxws21/external/jaxws-2.2.6.zip || die
+	ln -s "${DISTDIR}"/D64C40E770C95C2A6994081C00CCD489C0AA20C9-jaxws-2.2.6-api.zip websvc.jaxws21api/external/jaxws-2.2.6-api.zip || die
+	ln -s "${DISTDIR}"/8ECD169E9E308C258287E4F28B03B6D6F1E55F47-jaxws-api-doc.zip websvc.jaxws21/external/jaxws-api-doc.zip || die
+	ln -s "${DISTDIR}"/A8BD39C5B88571B4D4697E78DD1A56566E44B1DD-JPAjavadocs04032013.zip j2ee.eclipselink/external/JPAjavadocs04032013.zip || die
+	ln -s "${DISTDIR}"/9EC77E2507F9CC01756964C71D91EFD8154A8C47-lucene-core-3.6.2.jar maven.indexer/external/lucene-core-3.6.2.jar || die
+	ln -s "${DISTDIR}"/A90682C6BC0B9E105BD260C9A041FEFEA9579E46-lucene-highlighter-3.6.2.jar maven.indexer/external/lucene-highlighter-3.6.2.jar || die
+	ln -s "${DISTDIR}"/BF206C4AA93C74A739FBAF1F1C78E3AD5F167245-maven-dependency-tree-2.0.jar maven.embedder/external/maven-dependency-tree-2.0.jar || die
+	ln -s "${DISTDIR}"/E5579EF3B0C1EF2F43562DD0C3B32F8E1F603B49-nb-javac-api.jar libs.javacapi/external/nb-javac-api.jar || die
+	ln -s "${DISTDIR}"/7B5CF580E4F9760727BBD7964E5B7664B243AA75-nb-javac-impl.jar libs.javacimpl/external/nb-javac-impl.jar || die
+	ln -s "${DISTDIR}"/29AF1D338CBB76290D1A96F5A6610F1E8C319AE5-org.eclipse.persistence.jpa.jpql_2.5.2.v20140319-9ad6abd.jar j2ee.eclipselink/external/org.eclipse.persistence.jpa.jpql_2.5.2.v20140319-9ad6abd.jar || die
+	ln -s "${DISTDIR}"/3CE04BDB48FE315736B1DCE407362C57DFAE286D-org.eclipse.persistence.jpa.modelgen_2.5.2.v20140319-9ad6abd.jar j2ee.eclipselinkmodelgen/external/org.eclipse.persistence.jpa.modelgen_2.5.2.v20140319-9ad6abd.jar || die
+	ln -s "${DISTDIR}"/7666B94C1004AFFFE88E5328BD70EBA6F60125F4-spring-framework-3.2.7.RELEASE.zip libs.springframework/external/spring-framework-3.2.7.RELEASE.zip || die
+	ln -s "${DISTDIR}"/91B55CDAC59BC4DDDF0AF9A54EAAE4304EDEF266-spring-framework-4.0.1.RELEASE.zip libs.springframework/external/spring-framework-4.0.1.RELEASE.zip || die
+	popd >/dev/null || die
+}
+
+src_prepare() {
+	einfo "Deleting bundled class files..."
+	find -name "*.class" -type f | xargs rm -vf
+
+	epatch netbeans-9999-r14-build.xml.patch
+
+	# Support for custom patches
+	if [ -n "${NETBEANS9999_PATCHES_DIR}" -a -d "${NETBEANS9999_PATCHES_DIR}" ] ; then
+		local files=`find "${NETBEANS9999_PATCHES_DIR}" -type f`
+
+		if [ -n "${files}" ] ; then
+			einfo "Applying custom patches:"
+
+			for file in ${files} ; do
+				epatch "${file}"
+			done
+		fi
+	fi
+
+	einfo "Symlinking external libraries..."
+	java-pkg_jar-from --build-only --into javahelp/external javahelp jhall.jar jhall-2.0_05.jar
+	java-pkg_jar-from --into libs.cglib/external cglib-2.2 cglib.jar cglib-2.2.jar
+	java-pkg_jar-from --build-only --into libs.json_simple/external json-simple json-simple.jar json-simple-1.1.1.jar
+	java-pkg_jar-from --build-only --into libs.junit4/external junit-4 junit.jar junit-4.10.jar
+	java-pkg_jar-from --into maven.embedder/external jdom-1.0 jdom.jar jdom-1.0.jar
+	java-pkg_jar-from --into o.jdesktop.beansbinding/external beansbinding beansbinding.jar beansbinding-1.2.1.jar
+
+	einfo "Linking in other clusters..."
+	mkdir "${S}"/nbbuild/netbeans || die
+	pushd "${S}"/nbbuild/netbeans >/dev/null || die
+
+	ln -s /usr/share/netbeans-platform-${SLOT} platform || die
+	cat /usr/share/netbeans-platform-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+	touch nb.cluster.platform.built
+
+	ln -s /usr/share/netbeans-extide-${SLOT} extide || die
+	cat /usr/share/netbeans-extide-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+	touch nb.cluster.extide.built
+
+	ln -s /usr/share/netbeans-harness-${SLOT} harness || die
+	cat /usr/share/netbeans-harness-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+	touch nb.cluster.harness.built
+
+	ln -s /usr/share/netbeans-ide-${SLOT} ide || die
+	cat /usr/share/netbeans-ide-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+	touch nb.cluster.ide.built
+
+	ln -s /usr/share/netbeans-websvccommon-${SLOT} websvccommon || die
+	cat /usr/share/netbeans-websvccommon-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+	touch nb.cluster.websvccommon.built
+
+	popd >/dev/null || die
+
+	java-pkg-2_src_prepare
+}
+
+src_install() {
+	pushd nbbuild/netbeans/java >/dev/null || die
+
+	insinto ${INSTALL_DIR}
+	grep -E "/java$" ../moduleCluster.properties > "${D}"/${INSTALL_DIR}/moduleCluster.properties || die
+
+	doins -r *
+	chmod 755 "${D}"/${INSTALL_DIR}/maven/bin/mvn* || die
+	rm -fr "${D}"/${INSTALL_DIR}/maven/bin/*.bat || die
+
+	popd >/dev/null || die
+
+	local instdir=/${INSTALL_DIR}/modules/ext
+	pushd "${D}"/${instdir} >/dev/null || die
+	rm AbsoluteLayout.jar  && dosym /usr/share/absolutelayout/lib/absolutelayout.jar ${instdir}/AbsoluteLayout.jar || die
+	rm beansbinding-1.2.1.jar && dosym /usr/share/beansbinding/lib/beansbinding.jar ${instdir}/beansbinding-1.2.1.jar || die
+	rm cglib-2.2.jar && dosym /usr/share/cglib-2.2/lib/cglib.jar ${instdir}/cglib-2.2.jar || die
+	popd >/dev/null || die
+
+	local instdir=${INSTALL_DIR}/modules/ext/hibernate4
+	pushd "${D}"/${instdir} >/dev/null || die
+	rm antlr-2.7.7.jar && dosym /usr/share/antlr/lib/antlr.jar ${instdir}/antlr-2.7.7.jar || die
+	rm c3p0-0.9.2.1.jar && dosym /usr/share/c3p0/lib/c3p0.jar ${instdir}/c3p0-0.9.2.1.jar || die
+	rm cglib-2.2.jar && dosym /usr/share/cglib-2.1/lib/cglib.jar ${instdir}/cglib-2.2.jar || die
+	rm commons-collections-3.2.1.jar && dosym /usr/share/commons-collections/lib/commons-collections.jar ${instdir}/commons-collections-3.2.1.jar || die
+	rm dom4j-1.6.1.jar && dosym /usr/share/dom4j-1/lib/dom4j.jar ${instdir}/dom4j-1.6.1.jar || die
+	rm javassist-3.18.1-GA.jar && dosym /usr/share/javassist-3/lib/javassist.jar ${instdir}/javassist-3.18.1-GA.jar || die
+	rm jboss-logging-3.1.3.GA.jar && dosym /usr/share/jboss-logging/lib/jboss-logging.jar ${instdir}/jboss-logging-3.1.3.GA.jar || die
+	rm jboss-transaction-api_1.2_spec-1.0.0.Final.jar && dosym /usr/share/glassfish-transaction-api/lib/jta.jar ${instdir}/jboss-transaction-api_1.2_spec-1.0.0.Final.jar || die
+	rm jtidy-r8-20060801.jar && dosym /usr/share/jtidy/lib/Tidy.jar ${instdir}/jtidy-r8-20060801.jar || die
+	rm log4j-1.2.12.jar && dosym /usr/share/log4j/lib/log4j.jar ${instdir}/log4j-1.2.12.jar || die
+	popd >/dev/null || die
+
+	local instdir=/${INSTALL_DIR}/modules/ext/jaxws22
+	pushd "${D}"/${instdir} >/dev/null || die
+	rm FastInfoset.jar && dosym /usr/share/fastinfoset/lib/fastinfoset.jar ${instdir}/FastInfoset.jar || die
+	rm mimepull.jar && dosym /usr/share/mimepull/lib/mimepull.jar ${instdir}/mimepull.jar || die
+	rm saaj-impl.jar && dosym /usr/share/saaj/lib/saaj.jar ${instdir}/saaj-impl.jar || die
+	rm stax-ex.jar && dosym /usr/share/stax-ex/lib/stax-ex.jar ${instdir}/stax-ex.jar || die
+	rm streambuffer.jar && dosym /usr/share/xmlstreambuffer/lib/streambuffer.jar ${instdir}/streambuffer.jar || die
+	popd >/dev/null || die
+
+	local instdir=${INSTALL_DIR}/modules/ext/jaxws22/api
+	pushd "${D}"/${instdir} >/dev/null || die
+	rm jsr181-api.jar && dosym /usr/share/jsr181/lib/jsr181.jar ${instdir}/jsr181-api.jar || die
+	rm saaj-api.jar && dosym /usr/share/jsr67/lib/jsr67.jar ${instdir}/saaj-api.jar || die
+	popd >/dev/null || die
+
+	local instdir=${INSTALL_DIR}/modules/ext/maven
+	pushd "${D}"/${instdir} >/dev/null || die
+	rm jdom-1.0.jar && dosym /usr/share/jdom-1.0/lib/jdom.jar ${instdir}/jdom-1.0.jar || die
+	popd >/dev/null || die
+
+	dosym ${INSTALL_DIR} /usr/share/netbeans-nb-${SLOT}/java
+}

diff --git a/dev-java/netbeans-javacard/ChangeLog b/dev-java/netbeans-javacard/ChangeLog
index f232a8d..f3a2eff 100644
--- a/dev-java/netbeans-javacard/ChangeLog
+++ b/dev-java/netbeans-javacard/ChangeLog
@@ -2,6 +2,12 @@
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+*netbeans-javacard-9999_p20141003 (03 Oct 2014)
+
+  03 Oct 2014; Miroslav Šulc <fordfrog@gentoo.org>
+  +netbeans-javacard-9999_p20141003.ebuild:
+  bumped to the latest sources
+
 *netbeans-javacard-9999_p20141001 (01 Oct 2014)
 
   01 Oct 2014; Miroslav Šulc <fordfrog@gentoo.org>

diff --git a/dev-java/netbeans-javacard/Manifest b/dev-java/netbeans-javacard/Manifest
index 3e3ca52..c6cedfd 100644
--- a/dev-java/netbeans-javacard/Manifest
+++ b/dev-java/netbeans-javacard/Manifest
@@ -23,6 +23,7 @@ DIST netbeans-trunk-nightly-201409260001-src.zip 197125028 SHA256 0b2e8f0b10eb02
 DIST netbeans-trunk-nightly-201409280001-src.zip 197332446 SHA256 eac6b2e0b19817527b56f73f188b53b3f297ce5c20a01be3ccc6902ff2f94ed4 SHA512 fbf694a7138146ceb96ccf0d172b9f8031fd2eb3e06aa438386912bf7ea458874ee7041e25e672db2f297875e03fd75f48e8f4410d2e5153f090e2c09d62bc86 WHIRLPOOL a33730b5f76c4aa67476f70961c0ff5fa1916b9caa87173f1c8a57715fd414c65d77ac9d91cf9a1aacd1c6b6ae070595e7becb4394efcaf14759e10d83aaf4de
 DIST netbeans-trunk-nightly-201409300001-src.zip 197332445 SHA256 c306ca40b2bb2ca3f3a4d3ea10fea43b0bcdaaba31291ec5bdb4dbc7d3e67e34 SHA512 91d56515b70db2c2e0deb22938c38e6b45011eeb74083b474fdad64f7851911fcd93612cf08cfc0e5e03ca0e2a79530c59232dbf865853630640c26cc3105d48 WHIRLPOOL 29423713433df87c5f589742beb10682391dc8fea5b5512948709627b8a31cb802962e8845420fec19cde09672b823470f485c21ea85573fdb20af620b54ba55
 DIST netbeans-trunk-nightly-201410010001-src.zip 197355068 SHA256 0d284d68152ca0da1c8dfb7149e5b2638133fe3be6790f312c9959e59528144b SHA512 33ce5f22e9d3ac55d4f7b4b353956a39e030dee6380c5f379fba810f3ec86f8b36e88b773dbbf8bc3c430fc58caba9097764b7eac2d44ce2a25129f8f20fa4f2 WHIRLPOOL b4228286acec04cb321ca8aba60af42a7a1e2c20de1f657773166021a36e284b5ac4f49e9dbf8a51d81577b0d49d387707de3fcc0a622fd13b57c7d704b3da00
+DIST netbeans-trunk-nightly-201410030001-src.zip 197355085 SHA256 f915305ddfd881aaf161ca366c2af9eb29e954c971e73580aaab68cc0836f53e SHA512 d681dd706f0ca188fd5c8d055c88396e33a4e5b3f956017273e0834c755cb6905427c7a9f1dc12c05668580b2ce09caef1b5ea18e2f15384e06900f6cc197df5 WHIRLPOOL a93aa92eabd9120ec1923d6f7af586bead3915691a795d45e2929623b34c52d267091203c7b6d4e2bf0b1629624e6a49ad2d28bddce35ab9508bdc099aa511ed
 EBUILD netbeans-javacard-7.0.1.ebuild 4961 SHA256 566bc7e3275c97d0fe3d68c843b53aee641548ec39a8143aebd56d248da3c32c SHA512 5973c8d4254943473209b0881c0fbe40ac6b61563d508e58adc248dd40c8c2d6b742bd6c1667ee11fb404f9d2e62f08a8e4d822a2a3db9fccab254f73828c3b0 WHIRLPOOL fd1e08943ce754a2abfe8c8b83954399287500ce574a46fe0d76f94b300fd2a5978957f94a3ac1d85781330248a46fefacfbae25db95669c3de910145ef96424
 EBUILD netbeans-javacard-7.1.2.ebuild 4970 SHA256 15ff13152b140edaa549ea6515949d99cdb2a4656918566179836ab2277f01b8 SHA512 b7e52b477f6ba645084034eb27e848fb48361351937fc45455bf4b7d74acbdd257427ec589286f0edc71cc98c8cdb114e55988b6d3dc92143e13f407e3b45a52 WHIRLPOOL 85ab6dc2c230ea89fd19d7602ac24e3d2b0f226590998e6a6e277c24ef60a7e86874f7e95e90921d255e84f05e04ad1998ee7361b4d26c6f14828076792a933c
 EBUILD netbeans-javacard-7.2.ebuild 4718 SHA256 d173c848e825b342a52073ba16b7784016f92124d4bc3b5ad8beebb7a7dda772 SHA512 019183c236c59ec2b961445c49643c6da0b376048f1be1d58677a753890bcb03db126f6441221c7572a74fe45c4c27aeee4acb38db620f9203ad04ae8ff2c426 WHIRLPOOL f2a10183045edd22ef4419b630cedafc093b326eb593178a0f50e8d82ebb25ab732fb8c561d49969073d9fce551c5b9150fb1900b49458ed53f0234baa29a78e
@@ -38,5 +39,6 @@ EBUILD netbeans-javacard-9999_p20140926.ebuild 4982 SHA256 0e3b8b902ba0bd5849a94
 EBUILD netbeans-javacard-9999_p20140928.ebuild 4982 SHA256 7598ed791fb7f177a70afd68aa75d52da024df578d63e83f92ae41298ec09885 SHA512 323718666ee449813a71048dd5a4b677d70d0722dc9a8d48cf759ffaa2e37f17dec0da59e42f82aac9ea5273c2d020332e4fb4ee3accaf8731c394c7bee995a5 WHIRLPOOL 8b65ec6e3c5b78a7d320ccbc33313c6ba75063fc18417fd25b211680d259e810ee99f17025335d7ab8a794eb3e0069735c63ca58a05755c25b68a0d71cfed62c
 EBUILD netbeans-javacard-9999_p20140930.ebuild 4982 SHA256 72c763329fff43d6b51cea1e1e0ccb10570e3694c4e54ec3d83086b3552715c1 SHA512 deeafda6eedd8342ae4107d76cab3b18b6e5da9bf1fff3093e979294b21cf6f3a19ef444d45b015d6e05c44c5b5fe3f1bdabf83f584a666d8dbd8b0fb85f2ded WHIRLPOOL 58bf05fbaea0ca612f8cc14c3b15471ba0647887a8d661f8c35e40a85e8ad0f843f05fcb10f73dfcaf0e71224c0a3b5b56e986bb138ceed4c946e4960bb30304
 EBUILD netbeans-javacard-9999_p20141001.ebuild 4982 SHA256 14b4a267b367c1b2930140604e3e4caa7157d2bb28013ec92c08495518ebd989 SHA512 fd05778de94a3a40792b5c2b32cf72c0c8af72408cb7d1d3fe93357d42fab2c8e25f0bff219788f20ee4669428405337dd7ade3a6c166883f0528620489c3879 WHIRLPOOL 60188f46c7e30a568749554f6a4d7384a4ba87bf4ca011343903435af6a56aa66194fa87b6d991362d56387097252c7576f33418a733291700033bbe326923ce
-MISC ChangeLog 133745 SHA256 1acc1b5a22b24b81d0ef80e24f71e4b73e6282b75f9ad3b77e38a03b9356b687 SHA512 9ff22651500f82607b9925c73fbc48726de06efecd1467920c2b7bcec097ad714e524faabc0cf092290bd3ea105e3ed72e2984ead12252fed09bf4578c7df7f7 WHIRLPOOL 0f558ef4f6f550ccd14e053eb49db910c12f0b48269a21b21f947dacee390c0d14ab2c7b11ff707c2e40a4c230517a7cbe03c271df2a8a37228f3912099e7829
+EBUILD netbeans-javacard-9999_p20141003.ebuild 4982 SHA256 ba4e4e8d19512d61c78ad65d43f8ab5c6eb42a6dd2273eb2c07b0b75b87c6c46 SHA512 be5c4a0668c2212f51285b4cca6b115f555555ae8709cfc80e280bdffdbbc19ba487b0a8d15ca360afed1e3fdbd6eada49fccf8f8da3552a1e45dc9978264346 WHIRLPOOL d882713635e3f2c6c6d2a19e8b174ce6bdff3e964b1625c2060af2e2d9ab28590dda9cb05cec4a691086b3e2968bb93507fc7a8c15f9a3072447414e7e3c1949
+MISC ChangeLog 133922 SHA256 5806d59778751168491769dd940c67dcf987878153cb7752e8ae54398d8ee69b SHA512 790920b59059898138460b4d7ee70fdef49090410646fe57012eba9ed95afa76c904c9482b369e0e4ca82e5442bc093fa671d1ec3d7706a3032d5e0b34c19c54 WHIRLPOOL 493f602b09780d6e774a5402ddc4d94c49bbe88fdfb07c1631876be1d96183de76fc6416b62f2961b303f7bffea79d22b28a6634cb3863ed208f3ba6c733169d
 MISC metadata.xml 251 SHA256 5a4ff53a9862390a48d45c79be24086646e7a6ff0c5bdf0fcb799d0871299003 SHA512 04153cbd9776ad56a94d6a47d043df15d082d8888df8658f18d0d4b659c6c0526ab3a9b22ccbe2471091bf2d8165f224854bc99c51f3664aaf350ccb93532a7c WHIRLPOOL 2ee8a646c6e23bc46c72cac0ecb5cfe43720ec42404ddaeed8ab1b59d139b3d5c1a94764de847f979da978c001c9f02f709d663a68eeea64d19e88f1fefbca43

diff --git a/dev-java/netbeans-javacard/netbeans-javacard-9999_p20141003.ebuild b/dev-java/netbeans-javacard/netbeans-javacard-9999_p20141003.ebuild
new file mode 100644
index 0000000..292611f
--- /dev/null
+++ b/dev-java/netbeans-javacard/netbeans-javacard-9999_p20141003.ebuild
@@ -0,0 +1,134 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="4"
+inherit eutils java-pkg-2 java-ant-2
+
+DESCRIPTION="Netbeans JavaCard Cluster"
+HOMEPAGE="http://netbeans.org/projects/javacard"
+SLOT="9999"
+SOURCE_URL="http://bits.netbeans.org/download/trunk/nightly/2014-10-03_00-01-50/zip/netbeans-trunk-nightly-201410030001-src.zip"
+SRC_URI="${SOURCE_URL}
+	http://dev.gentoo.org/~fordfrog/distfiles/netbeans-9999-r14-build.xml.patch.bz2
+	http://hg.netbeans.org/binaries/33DCFAE258453BDD3D8A042F6ECF80656A82B8DD-anttasks.jar
+	http://hg.netbeans.org/binaries/9C1A8BC9D3270D184F1D1BCC5F60AA81D46E1ADF-apduio.jar
+	http://hg.netbeans.org/binaries/6243337E93F5841D4FFB404011AA076BFEB1590A-javacard_ri.zip"
+LICENSE="|| ( CDDL GPL-2-with-linking-exception )"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+S="${WORKDIR}"
+
+CDEPEND="~dev-java/netbeans-extide-${PV}
+	~dev-java/netbeans-ide-${PV}
+	~dev-java/netbeans-java-${PV}
+	~dev-java/netbeans-platform-${PV}"
+DEPEND=">=virtual/jdk-1.7
+	app-arch/unzip
+	${CDEPEND}
+	dev-java/javahelp:0"
+RDEPEND=">=virtual/jdk-1.7
+	${CDEPEND}
+	dev-java/ant-contrib:0
+	dev-java/asm:3
+	dev-java/bcel:0
+	dev-java/commons-cli:1
+	dev-java/commons-codec:0
+	dev-java/commons-httpclient:3
+	dev-java/commons-logging:0"
+
+INSTALL_DIR="/usr/share/${PN}-${SLOT}"
+
+EANT_BUILD_XML="nbbuild/build.xml"
+EANT_BUILD_TARGET="rebuild-cluster"
+EANT_EXTRA_ARGS="-Drebuild.cluster.name=nb.cluster.javacard -Dext.binaries.downloaded=true -Dpermit.jdk8.builds=true"
+EANT_FILTER_COMPILER="ecj-3.3 ecj-3.4 ecj-3.5 ecj-3.6 ecj-3.7"
+JAVA_PKG_BSFIX="off"
+
+src_unpack() {
+	unpack $(basename ${SOURCE_URL})
+
+	einfo "Deleting bundled jars..."
+	find -name "*.jar" -type f -delete
+
+	unpack netbeans-9999-r14-build.xml.patch.bz2
+
+	pushd "${S}" >/dev/null || die
+	ln -s "${DISTDIR}"/33DCFAE258453BDD3D8A042F6ECF80656A82B8DD-anttasks.jar javacard.ri.platform/external/anttasks.jar || die
+	ln -s "${DISTDIR}"/9C1A8BC9D3270D184F1D1BCC5F60AA81D46E1ADF-apduio.jar javacard.apdu.io/external/apduio.jar || die
+	ln -s "${DISTDIR}"/6243337E93F5841D4FFB404011AA076BFEB1590A-javacard_ri.zip javacard.ri.bundle/external/javacard_ri.zip || die
+	popd >/dev/null || die
+}
+
+src_prepare() {
+	einfo "Deleting bundled class files..."
+	find -name "*.class" -type f | xargs rm -vf
+
+	epatch netbeans-9999-r14-build.xml.patch
+
+	# Support for custom patches
+	if [ -n "${NETBEANS9999_PATCHES_DIR}" -a -d "${NETBEANS9999_PATCHES_DIR}" ] ; then
+		local files=`find "${NETBEANS9999_PATCHES_DIR}" -type f`
+
+		if [ -n "${files}" ] ; then
+			einfo "Applying custom patches:"
+
+			for file in ${files} ; do
+				epatch "${file}"
+			done
+		fi
+	fi
+
+	einfo "Symlinking external libraries..."
+	java-pkg_jar-from --build-only --into javahelp/external javahelp jhall.jar jhall-2.0_05.jar
+
+	einfo "Linking in other clusters..."
+	mkdir "${S}"/nbbuild/netbeans || die
+	pushd "${S}"/nbbuild/netbeans >/dev/null || die
+
+	ln -s /usr/share/netbeans-extide-${SLOT} extide || die
+	cat /usr/share/netbeans-extide-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+	touch nb.cluster.extide.built
+
+	ln -s /usr/share/netbeans-ide-${SLOT} ide || die
+	cat /usr/share/netbeans-ide-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+	touch nb.cluster.ide.built
+
+	ln -s /usr/share/netbeans-java-${SLOT} java || die
+	cat /usr/share/netbeans-java-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+	touch nb.cluster.java.built
+
+	ln -s /usr/share/netbeans-platform-${SLOT} platform || die
+	cat /usr/share/netbeans-platform-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+	touch nb.cluster.platform.built
+
+	popd >/dev/null || die
+
+	java-pkg-2_src_prepare
+}
+
+src_install() {
+	pushd nbbuild/netbeans/javacard >/dev/null || die
+
+	insinto ${INSTALL_DIR}
+
+	grep -E "/javacard$" ../moduleCluster.properties > "${D}"/${INSTALL_DIR}/moduleCluster.properties || die
+
+	doins -r *
+	rm -fr "${D}"/${INSTALL_DIR}/bin || die
+
+	popd >/dev/null || die
+
+	local instdir=${INSTALL_DIR}/JCDK3.0.2_ConnectedEdition/lib
+	pushd "${D}"/${instdir} >/dev/null || die
+	rm ant-contrib-1.0b3.jar && dosym /usr/share/ant-contrib/lib/ant-contrib.jar ${instdir}/ant-contrib-1.0b3.jar || die
+	rm asm-all-3.1.jar && dosym /usr/share/asm-3/lib/asm.jar ${instdir}/asm-all-3.1.jar || die
+	rm bcel-5.2.jar && dosym /usr/share/bcel/lib/bcel.jar ${instdir}/bcel-5.2.jar || die
+	rm commons-cli-1.0.jar && dosym /usr/share/commons-cli-1/lib/commons-cli.jar ${instdir}/commons-cli-1.0.jar || die
+	rm commons-codec-1.3.jar && dosym /usr/share/commons-codec/lib/commons-codec.jar ${instdir}/commons-codec-1.3.jar || die
+	rm commons-httpclient-3.0.jar && dosym /usr/share/commons-httpclient-3/lib/commons-httpclient.jar ${instdir}/commons-httpclient-3.0.jar || die
+	rm commons-logging-1.1.jar && dosym /usr/share/commons-logging/lib/commons-logging.jar ${instdir}/commons-logging-1.1.jar || die
+	popd >/dev/null || die
+
+	dosym ${INSTALL_DIR} /usr/share/netbeans-nb-${SLOT}/javacard
+}

diff --git a/dev-java/netbeans-javadoc/ChangeLog b/dev-java/netbeans-javadoc/ChangeLog
index 134b2d3..f1f1899 100644
--- a/dev-java/netbeans-javadoc/ChangeLog
+++ b/dev-java/netbeans-javadoc/ChangeLog
@@ -2,6 +2,12 @@
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+*netbeans-javadoc-9999_p20141003 (03 Oct 2014)
+
+  03 Oct 2014; Miroslav Šulc <fordfrog@gentoo.org>
+  +netbeans-javadoc-9999_p20141003.ebuild:
+  bumped to the latest sources
+
 *netbeans-javadoc-9999_p20141001 (01 Oct 2014)
 
   01 Oct 2014; Miroslav Šulc <fordfrog@gentoo.org>

diff --git a/dev-java/netbeans-javadoc/Manifest b/dev-java/netbeans-javadoc/Manifest
index e0e84bd..e021899 100644
--- a/dev-java/netbeans-javadoc/Manifest
+++ b/dev-java/netbeans-javadoc/Manifest
@@ -26,6 +26,7 @@ DIST netbeans-trunk-nightly-201409260001-src.zip 197125028 SHA256 0b2e8f0b10eb02
 DIST netbeans-trunk-nightly-201409280001-src.zip 197332446 SHA256 eac6b2e0b19817527b56f73f188b53b3f297ce5c20a01be3ccc6902ff2f94ed4 SHA512 fbf694a7138146ceb96ccf0d172b9f8031fd2eb3e06aa438386912bf7ea458874ee7041e25e672db2f297875e03fd75f48e8f4410d2e5153f090e2c09d62bc86 WHIRLPOOL a33730b5f76c4aa67476f70961c0ff5fa1916b9caa87173f1c8a57715fd414c65d77ac9d91cf9a1aacd1c6b6ae070595e7becb4394efcaf14759e10d83aaf4de
 DIST netbeans-trunk-nightly-201409300001-src.zip 197332445 SHA256 c306ca40b2bb2ca3f3a4d3ea10fea43b0bcdaaba31291ec5bdb4dbc7d3e67e34 SHA512 91d56515b70db2c2e0deb22938c38e6b45011eeb74083b474fdad64f7851911fcd93612cf08cfc0e5e03ca0e2a79530c59232dbf865853630640c26cc3105d48 WHIRLPOOL 29423713433df87c5f589742beb10682391dc8fea5b5512948709627b8a31cb802962e8845420fec19cde09672b823470f485c21ea85573fdb20af620b54ba55
 DIST netbeans-trunk-nightly-201410010001-src.zip 197355068 SHA256 0d284d68152ca0da1c8dfb7149e5b2638133fe3be6790f312c9959e59528144b SHA512 33ce5f22e9d3ac55d4f7b4b353956a39e030dee6380c5f379fba810f3ec86f8b36e88b773dbbf8bc3c430fc58caba9097764b7eac2d44ce2a25129f8f20fa4f2 WHIRLPOOL b4228286acec04cb321ca8aba60af42a7a1e2c20de1f657773166021a36e284b5ac4f49e9dbf8a51d81577b0d49d387707de3fcc0a622fd13b57c7d704b3da00
+DIST netbeans-trunk-nightly-201410030001-src.zip 197355085 SHA256 f915305ddfd881aaf161ca366c2af9eb29e954c971e73580aaab68cc0836f53e SHA512 d681dd706f0ca188fd5c8d055c88396e33a4e5b3f956017273e0834c755cb6905427c7a9f1dc12c05668580b2ce09caef1b5ea18e2f15384e06900f6cc197df5 WHIRLPOOL a93aa92eabd9120ec1923d6f7af586bead3915691a795d45e2929623b34c52d267091203c7b6d4e2bf0b1629624e6a49ad2d28bddce35ab9508bdc099aa511ed
 EBUILD netbeans-javadoc-7.0.1.ebuild 5814 SHA256 68531c51838c95012830f5ae09e2386ea3179c2b31bfd5191f67993e3b3dbe2f SHA512 3bfe0ecc46f371d2553b031a5699229fb874dad1e94415635558b7d46b6764c31337d03444753e687b19a7c0976c68cb72007ccc82df7d1e5848a81f241f80c3 WHIRLPOOL 6571f7a73c262b3b67407840523b79eecc14bad9678cff05fb32a2811049158400870de51bbcef97ecb3f18f8ff59f965bdca8e788918d53822b92e2f20f75f5
 EBUILD netbeans-javadoc-7.1.2.ebuild 5855 SHA256 af28efb956ac3b7147e254ca3083dfaab11b84ea42e20677ebdd18aa29ff87e0 SHA512 ee06c552782170b51cfe70d603792b4240aef6064ba0a5074f394701a43285ed1e4030f539622c616be3175dab013e791c1a3a1193ad379193f5fa3e92eefa40 WHIRLPOOL dfcc63d6c9fcf094e2998ce1c08e29b4d4acbefbe9bea6498c2e28f84576f628da50164a1e0ab3ff5528720fe54cae71f2f5e6f84aedca5b639f13053464e6c1
 EBUILD netbeans-javadoc-7.2.ebuild 5805 SHA256 20d01deae745a7e8d84ffe55ca63ad74342bd8528c0dd15a20aac6570a1a83e3 SHA512 3947f1ab3efc236b8faa14736406ee3e537bbdbe377ea1bbd4f1eafa06a36d2863f8700dc7c84e6c8501abdf130a78e87ad6a0f52c5172bf0ab52f288617bc86 WHIRLPOOL 8301cce0679ed5f68a09e2e968ab2ba0955547f438758b042a04744539324fd79d83d853dfb8b48421f6dac616362cf1a9dd2a0e0ff8763dc2e12a470d16b95f
@@ -41,5 +42,6 @@ EBUILD netbeans-javadoc-9999_p20140926.ebuild 6234 SHA256 64da711870ca3abb7bead5
 EBUILD netbeans-javadoc-9999_p20140928.ebuild 6234 SHA256 29d4e376a705d5d905c4964553e2cead2fd092dc9bb80b9c877d88e775293db0 SHA512 e2705e2b8fc8aedc2163e65c28bbb70c5baa961d2bf9df508569cb3407022d764ac6c658eced58a84e24a65614417dd031c528300aeeae02b9ecd64cb9d2979b WHIRLPOOL bef56a8faee96a5549bf1db99601a44cc336df1219f54f5f59c4cc6ed067cfceb57dbff0afd32e2ba1f91b3dbb98664c43d03bb9dfb56b9c80215afe4a1b970d
 EBUILD netbeans-javadoc-9999_p20140930.ebuild 6234 SHA256 85b7b0c4afa47c42870c25e5cc32c1abb923cc473aa66a7ebb07a82f43302ab0 SHA512 e1c0830420727b8b07f0c9944608b47de170f3c86cf309c3bcb9e700aeb3f88509331dfa1e1218c9a68910776c90c8e91d66bdc703eec80bd37a354c103f6ca5 WHIRLPOOL ab7ec148d6667b347ba4a4e63fecc824558dd244ce184c478b5b296ae64c86d89b43349070f6e735745195ef4f424d1560cd837d39de891b2137d667843d2b85
 EBUILD netbeans-javadoc-9999_p20141001.ebuild 6234 SHA256 5bd63c3dcd70825e2e5f0c4353d646eb95802c91e9a2febb660a66344ba3fd1c SHA512 9321ea393e680ca6ab15d27c48e508950015827d89debfb00817dcd2dca99f622fbc2f57212d183081e48e203e716958180a34dc69e951f64cc0609b0b887926 WHIRLPOOL b2b9c0864787ad8590b87b1afe22b9f13819e56759e6e11d81289d256f4318b1a7ebeb4607418b0a22dfd13f2215a22966dda7409530e1a80d95c082ef238229
-MISC ChangeLog 131922 SHA256 eab0fdefc738c6fee5f08e7575464d0bf6dd9cb51932cabe4f7cd4c67b3227fa SHA512 f84582c3b4e1c0ce6a741730cd2fa5aefc619c90445b5463a6c70d63fcfdc8747c79795ba42097f7aa9a7be75b2c7fc7d09270a94ca521b11911a90978a20ae6 WHIRLPOOL 5992439fcdd21e0a409915ccda2d16377cbb3666ec9340954b2f736e26036d79fe7dcab485dc7c1eaffa7cc70bfddc53c08ed3b50bc269dba962d9ece108b47d
+EBUILD netbeans-javadoc-9999_p20141003.ebuild 6234 SHA256 56203911b1c30a76df6449eac8a6b3df421fe7efc35e86870851ccda0674f0f8 SHA512 ee106e2f6e8ac15f1f7f3ac4b6efa0c5b005e10f4c2d19e1d099cee2bb883403e77659cf7f9430b89111cb97f3084f641d8c7d6316733bbe17fa002d7def74df WHIRLPOOL bfe947359514f880bf01a0216f9053e2565a076449318116db0bbf55dc3b26ae4248ae86a10634362267bbed0538a0d3a47910feaa2d1f4cc8583018161ca951
+MISC ChangeLog 132097 SHA256 292c09594af449cce7a898b778a6dcd5995d7a0e0811582f2be65f1c979411cd SHA512 4c47be7ca04548300350d72797f5c7df73b4b5e3d2a583c0e75f6e8b25b2ab07f1dbf38bf5c62146e7c5934a4c774f1446021df7f32c3d16331bd59ca035b9ec WHIRLPOOL da0532df9d1f6708577ebc1c495c5786c44f5428f527bcd1bac0070e81e9f506e53eaabefc85f2181169d8c8419b0d8046d9e5caec579432fc9b631664e37447
 MISC metadata.xml 251 SHA256 5a4ff53a9862390a48d45c79be24086646e7a6ff0c5bdf0fcb799d0871299003 SHA512 04153cbd9776ad56a94d6a47d043df15d082d8888df8658f18d0d4b659c6c0526ab3a9b22ccbe2471091bf2d8165f224854bc99c51f3664aaf350ccb93532a7c WHIRLPOOL 2ee8a646c6e23bc46c72cac0ecb5cfe43720ec42404ddaeed8ab1b59d139b3d5c1a94764de847f979da978c001c9f02f709d663a68eeea64d19e88f1fefbca43

diff --git a/dev-java/netbeans-javadoc/netbeans-javadoc-9999_p20141003.ebuild b/dev-java/netbeans-javadoc/netbeans-javadoc-9999_p20141003.ebuild
new file mode 100644
index 0000000..48aa37f
--- /dev/null
+++ b/dev-java/netbeans-javadoc/netbeans-javadoc-9999_p20141003.ebuild
@@ -0,0 +1,168 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="4"
+inherit eutils java-pkg-2 java-ant-2
+
+DESCRIPTION="Netbeans JavaDocs"
+HOMEPAGE="http://netbeans.org/"
+SLOT="9999"
+SOURCE_URL="http://bits.netbeans.org/download/trunk/nightly/2014-10-03_00-01-50/zip/netbeans-trunk-nightly-201410030001-src.zip"
+SRC_URI="${SOURCE_URL}
+	http://dev.gentoo.org/~fordfrog/distfiles/netbeans-9999-r14-build.xml.patch.bz2
+	http://hg.netbeans.org/binaries/22CB933E3A1450B092C45785C187837E97523F5C-ant-libs-1.9.4.zip"
+LICENSE="|| ( CDDL GPL-2-with-linking-exception )"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+S="${WORKDIR}"
+
+# oracle-jdk-bin is needed because other jdks do not contain jre/lib/ext/jfxrt.jar
+DEPEND="dev-java/oracle-jdk-bin:1.7
+	app-arch/unzip
+	dev-java/javahelp:0
+	dev-java/junit:4
+	~dev-java/netbeans-apisupport-${PV}
+	~dev-java/netbeans-cnd-${PV}
+	~dev-java/netbeans-dlight-${PV}
+	~dev-java/netbeans-enterprise-${PV}
+	~dev-java/netbeans-ergonomics-${PV}
+	~dev-java/netbeans-extide-${PV}
+	~dev-java/netbeans-groovy-${PV}
+	~dev-java/netbeans-harness-${PV}
+	~dev-java/netbeans-ide-${PV}
+	~dev-java/netbeans-java-${PV}
+	~dev-java/netbeans-javacard-${PV}
+	~dev-java/netbeans-mobility-${PV}
+	~dev-java/netbeans-nb-${PV}
+	~dev-java/netbeans-php-${PV}
+	~dev-java/netbeans-platform-${PV}
+	~dev-java/netbeans-profiler-${PV}
+	~dev-java/netbeans-websvccommon-${PV}"
+RDEPEND=""
+
+JAVA_PKG_BSFIX="off"
+JAVA_PKG_WANT_BUILD_VM="oracle-jdk-bin-1.7"
+JAVA_PKG_WANT_SOURCE="1.7"
+JAVA_PKG_WANT_TARGET="1.7"
+
+src_unpack() {
+	unpack $(basename ${SOURCE_URL})
+
+	einfo "Deleting bundled jars..."
+	find -name "*.jar" -type f -delete
+
+	unpack netbeans-9999-r14-build.xml.patch.bz2
+
+	pushd "${S}" >/dev/null || die
+	ln -s "${DISTDIR}"/22CB933E3A1450B092C45785C187837E97523F5C-ant-libs-1.9.4.zip o.apache.tools.ant.module/external/ant-libs-1.9.4.zip || die
+	popd >/dev/null || die
+}
+
+src_prepare() {
+	einfo "Deleting bundled class files..."
+	find -name "*.class" -type f | xargs rm -vf
+
+	epatch netbeans-9999-r14-build.xml.patch
+
+	# Support for custom patches
+	if [ -n "${NETBEANS9999_PATCHES_DIR}" -a -d "${NETBEANS9999_PATCHES_DIR}" ] ; then
+		local files=`find "${NETBEANS9999_PATCHES_DIR}" -type f`
+
+		if [ -n "${files}" ] ; then
+			einfo "Applying custom patches:"
+
+			for file in ${files} ; do
+				epatch "${file}"
+			done
+		fi
+	fi
+
+	einfo "Symlinking external libraries..."
+	java-pkg_jar-from --build-only --into javahelp/external javahelp jhall.jar jhall-2.0_05.jar
+	java-pkg_jar-from --build-only --into libs.junit4/external junit-4 junit.jar junit-4.10.jar
+
+	einfo "Linking in other clusters..."
+	mkdir "${S}"/nbbuild/netbeans || die
+	pushd "${S}"/nbbuild/netbeans >/dev/null || die
+
+	ln -s /usr/share/netbeans-apisupport-${SLOT} apisupport || die
+	cat /usr/share/netbeans-apisupport-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+	touch nb.cluster.apisupport.built
+
+	ln -s /usr/share/netbeans-cnd-${SLOT} cnd || die
+	cat /usr/share/netbeans-cnd-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+	touch nb.cluster.cnd.built
+
+	ln -s /usr/share/netbeans-dlight-${SLOT} dlight || die
+	cat /usr/share/netbeans-dlight-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+	touch nb.cluster.dlight.built
+
+	ln -s /usr/share/netbeans-enterprise-${SLOT} enterprise || die
+	cat /usr/share/netbeans-enterprise-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+	touch nb.cluster.enterprise.built
+
+	ln -s /usr/share/netbeans-ergonomics-${SLOT} ergonomics || die
+	cat /usr/share/netbeans-ergonomics-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+	touch nb.cluster.ergonomics.built
+
+	ln -s /usr/share/netbeans-extide-${SLOT} extide || die
+	cat /usr/share/netbeans-extide-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+	touch nb.cluster.extide.built
+
+	ln -s /usr/share/netbeans-groovy-${SLOT} groovy || die
+	cat /usr/share/netbeans-groovy-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+	touch nb.cluster.groovy.built
+
+	ln -s /usr/share/netbeans-harness-${SLOT} harness || die
+	cat /usr/share/netbeans-harness-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+	touch nb.cluster.harness.built
+
+	ln -s /usr/share/netbeans-ide-${SLOT} ide || die
+	cat /usr/share/netbeans-ide-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+	touch nb.cluster.ide.built
+
+	ln -s /usr/share/netbeans-java-${SLOT} java || die
+	cat /usr/share/netbeans-java-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+	touch nb.cluster.java.built
+
+	ln -s /usr/share/netbeans-javacard-${SLOT} javacard || die
+	cat /usr/share/netbeans-javacard-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+	touch nb.cluster.javacard.built
+
+	ln -s /usr/share/netbeans-mobility-${SLOT} mobility || die
+	cat /usr/share/netbeans-mobility-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+	touch nb.cluster.mobility.built
+
+	ln -s /usr/share/netbeans-nb-${SLOT}/nb nb || die
+	cat /usr/share/netbeans-nb-${SLOT}/nb/moduleCluster.properties >> moduleCluster.properties || die
+	touch nb.cluster.nb.built
+
+	ln -s /usr/share/netbeans-php-${SLOT} php || die
+	cat /usr/share/netbeans-php-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+	touch nb.cluster.php.built
+
+	ln -s /usr/share/netbeans-platform-${SLOT} platform || die
+	cat /usr/share/netbeans-platform-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+	touch nb.cluster.platform.built
+
+	ln -s /usr/share/netbeans-profiler-${SLOT} profiler || die
+	cat /usr/share/netbeans-profiler-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+	touch nb.cluster.profiler.built
+
+	ln -s /usr/share/netbeans-websvccommon-${SLOT} websvccommon || die
+	cat /usr/share/netbeans-websvccommon-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+	touch nb.cluster.websvccommon.built
+
+	java-pkg-2_src_prepare
+}
+
+src_compile() {
+	eant -f nbbuild/build.xml bootstrap || die
+	ANT_OPTS="-Xmx1536m" eant -f nbbuild/javadoctools/build.xml build-javadoc
+}
+
+src_install() {
+	rm nbbuild/build/javadoc/*.zip
+	java-pkg_dojavadoc nbbuild/build/javadoc
+}

diff --git a/dev-java/netbeans-javafx/ChangeLog b/dev-java/netbeans-javafx/ChangeLog
index bc8b39b..e72808b 100644
--- a/dev-java/netbeans-javafx/ChangeLog
+++ b/dev-java/netbeans-javafx/ChangeLog
@@ -2,6 +2,12 @@
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+*netbeans-javafx-9999_p20141003 (03 Oct 2014)
+
+  03 Oct 2014; Miroslav Šulc <fordfrog@gentoo.org>
+  +netbeans-javafx-9999_p20141003.ebuild:
+  bumped to the latest sources
+
 *netbeans-javafx-9999_p20141001 (01 Oct 2014)
 
   01 Oct 2014; Miroslav Šulc <fordfrog@gentoo.org>

diff --git a/dev-java/netbeans-javafx/Manifest b/dev-java/netbeans-javafx/Manifest
index 9ab9a32..3e5f549 100644
--- a/dev-java/netbeans-javafx/Manifest
+++ b/dev-java/netbeans-javafx/Manifest
@@ -25,6 +25,7 @@ DIST netbeans-trunk-nightly-201409260001-src.zip 197125028 SHA256 0b2e8f0b10eb02
 DIST netbeans-trunk-nightly-201409280001-src.zip 197332446 SHA256 eac6b2e0b19817527b56f73f188b53b3f297ce5c20a01be3ccc6902ff2f94ed4 SHA512 fbf694a7138146ceb96ccf0d172b9f8031fd2eb3e06aa438386912bf7ea458874ee7041e25e672db2f297875e03fd75f48e8f4410d2e5153f090e2c09d62bc86 WHIRLPOOL a33730b5f76c4aa67476f70961c0ff5fa1916b9caa87173f1c8a57715fd414c65d77ac9d91cf9a1aacd1c6b6ae070595e7becb4394efcaf14759e10d83aaf4de
 DIST netbeans-trunk-nightly-201409300001-src.zip 197332445 SHA256 c306ca40b2bb2ca3f3a4d3ea10fea43b0bcdaaba31291ec5bdb4dbc7d3e67e34 SHA512 91d56515b70db2c2e0deb22938c38e6b45011eeb74083b474fdad64f7851911fcd93612cf08cfc0e5e03ca0e2a79530c59232dbf865853630640c26cc3105d48 WHIRLPOOL 29423713433df87c5f589742beb10682391dc8fea5b5512948709627b8a31cb802962e8845420fec19cde09672b823470f485c21ea85573fdb20af620b54ba55
 DIST netbeans-trunk-nightly-201410010001-src.zip 197355068 SHA256 0d284d68152ca0da1c8dfb7149e5b2638133fe3be6790f312c9959e59528144b SHA512 33ce5f22e9d3ac55d4f7b4b353956a39e030dee6380c5f379fba810f3ec86f8b36e88b773dbbf8bc3c430fc58caba9097764b7eac2d44ce2a25129f8f20fa4f2 WHIRLPOOL b4228286acec04cb321ca8aba60af42a7a1e2c20de1f657773166021a36e284b5ac4f49e9dbf8a51d81577b0d49d387707de3fcc0a622fd13b57c7d704b3da00
+DIST netbeans-trunk-nightly-201410030001-src.zip 197355085 SHA256 f915305ddfd881aaf161ca366c2af9eb29e954c971e73580aaab68cc0836f53e SHA512 d681dd706f0ca188fd5c8d055c88396e33a4e5b3f956017273e0834c755cb6905427c7a9f1dc12c05668580b2ce09caef1b5ea18e2f15384e06900f6cc197df5 WHIRLPOOL a93aa92eabd9120ec1923d6f7af586bead3915691a795d45e2929623b34c52d267091203c7b6d4e2bf0b1629624e6a49ad2d28bddce35ab9508bdc099aa511ed
 EBUILD netbeans-javafx-7.1.2.ebuild 3593 SHA256 76a29b37765000745794e6ae20c6b8528d8637507a257ffef3bef2ce648f05cc SHA512 a04618bda036e6652c7208f90a4dd91e07e75b85243580263f6ec846425ab907a87c318117990d4e8d9044bcd7a0ca8b63bc32bdd0d84e5373a10e67a77b79c0 WHIRLPOOL 11acad585f7315ae6b4edd53c764167567a948cb0e2037d95f2f4de34765909b71d095540c054f4cef3ba70224d294b42720536566e445cbdd06ebf2ad903841
 EBUILD netbeans-javafx-7.2.ebuild 3576 SHA256 3441b901a5074013351bc6c7ba6c424455e2affe52e448f2cfac0058c82345e2 SHA512 ee384d6e4ac767ade82b5d337d7a1c5d2b463c15a7596d91e1a850b37349f88d7867a0ffa11a118c48e2ed463f38dcfa791ec42b3fe85ea1e6bf7c4b27f9b073 WHIRLPOOL 15c7d20f2caa39c6cfcba2f846736754b049483f135ac90ced399672932a6a73467f0b4016550c3b2d8583be20d1467486f5652111893ec16111095a3e9c941c
 EBUILD netbeans-javafx-7.3.ebuild 4476 SHA256 9f268a852d45f37f9d22c3bb58d36be17f438e4b4cb5105d88ac4404731facb3 SHA512 3fa0e48e949d0df0a4404c04379623529f73ff15259f4164fddd10afb9faa046ceed16aac1a7b14728af89bf3a4ed7037638fb7e7e932a64cc71e84f7ecaa44a WHIRLPOOL 0395ca679fa41610c61dceb6ac018d7a76b62c08ca740de2fa2d98523f8e5f840a2d0a8c357b674d171841f93d980b536a671a1f12b5261d402c03b691ac6504
@@ -39,5 +40,6 @@ EBUILD netbeans-javafx-9999_p20140926.ebuild 4723 SHA256 f568543b5925316a914c217
 EBUILD netbeans-javafx-9999_p20140928.ebuild 4723 SHA256 e6dec1dc25e9a0d34e6bfe02f441510e6f604fc5b6d62e5d861fafe50fa4097e SHA512 834872ff442dff1194e4a2db580ac3dc8549f3051267d391c7d7d1086ab1fef440602af3856bd5264637e2bd5bcb25b386d720f660e3e14d7e6b88bab34d2229 WHIRLPOOL 2777b6a7d44a91b74a7fe324b6dbcfb86b5a42ecd593e4aabf8d95f4125efca7d71bc91f8e1ea50ba817c178cdd61b45db895de015d772f5c2272d1cea1a003e
 EBUILD netbeans-javafx-9999_p20140930.ebuild 4723 SHA256 914ea61860c4325a81626615940cca36e2242aa1dc56f43ad76749cfaa98125b SHA512 84ed8d4b27c72c4d1bc793d1d7fb23d2ee77f8d98382755dcb763ed55471514bf023ac93becb36bcccd8503f543794bfc12ce590f4af2eb77ec8181ba419b434 WHIRLPOOL 90fb566092e4e1c04ac5b72cb38f26a040ebd0944f73be6e8a6deed4cefab6d9f7e32c8b55dbb5854dc0c7dd06e84fda47f5160737678aa3b969fac1774c0b10
 EBUILD netbeans-javafx-9999_p20141001.ebuild 4723 SHA256 a3f6cc379001ee97c4cb3ab91dc56b8611af005659f0a524aba69d36eeb9e3ee SHA512 d5b46c443738f419a107097e621893b1d228a6da1782bd8c5929a9632808d4621a6b0428792b3a10624827691a09dd2184fcf18f7c34936577987762ff5000ea WHIRLPOOL 6b1d48ad01ed4ef4af1baff84895210fb356b785fb208a10a5111934d0dae6cc724bf1f74a45bc27623b0f2eed6d194f226176da19668c2faf61eabdd6e1977b
-MISC ChangeLog 116966 SHA256 58ff36a9504f85355e090231decc8f7d0fe2ee71937f0079ccb9b734d3d44476 SHA512 7b1d07f70f090ab96a406c117a0ffa6272178e81d58ca415b68f902314dce5356540960bc0e8581226c74f5f64c7e449365fd835905b324c7a59530238d6e535 WHIRLPOOL c5d284d67c09db5c1d44e7136f52857ad764cb70039c1ae355499a253fe3bc7285904c27cca4185760d97daaca2aa9c00082bd9be57ca94a25e0361d0da565c4
+EBUILD netbeans-javafx-9999_p20141003.ebuild 4723 SHA256 a91d5deb2ef838b6ec75115470a045d7f6e5f746dc2be7e5e3f13ecec84bf157 SHA512 45d84529302683eb383b84ce50b7476e415e5d6fa730a20c7fd2b06674c0321fd620b56807faf3dd5feb36d065684bfd4e427e322ae7a319be523b04731ab5dd WHIRLPOOL 7d7c6a23d9813ce6b9a8cfcba5640dfe9722aed420ecd1c444f61b6240a46b84bbfbc4d92e05163569578e2779a7a4b239a06921584373e7cca8e6dd61febd8b
+MISC ChangeLog 117139 SHA256 832f44f553dd6694b2d14011264ff006ddba84177b7fe60592209862196fdb18 SHA512 3de41724d907f4d448503b65f9497c5f8822c0959e46ab544d1a0a5481414190eee99465950b154ca4089805717937449eeeb5554ee76fd77e1731c034484897 WHIRLPOOL 0ccfa5eaa0cc052a5ba22871c670933d585e8efc3337a8e27a8ccb698d998b683655d303d1d712ac4c7d9ea1d19e67390c670809b82bc8e1dee510b7773f2806
 MISC metadata.xml 251 SHA256 5a4ff53a9862390a48d45c79be24086646e7a6ff0c5bdf0fcb799d0871299003 SHA512 04153cbd9776ad56a94d6a47d043df15d082d8888df8658f18d0d4b659c6c0526ab3a9b22ccbe2471091bf2d8165f224854bc99c51f3664aaf350ccb93532a7c WHIRLPOOL 2ee8a646c6e23bc46c72cac0ecb5cfe43720ec42404ddaeed8ab1b59d139b3d5c1a94764de847f979da978c001c9f02f709d663a68eeea64d19e88f1fefbca43

diff --git a/dev-java/netbeans-javafx/netbeans-javafx-9999_p20141003.ebuild b/dev-java/netbeans-javafx/netbeans-javafx-9999_p20141003.ebuild
new file mode 100644
index 0000000..584c89a
--- /dev/null
+++ b/dev-java/netbeans-javafx/netbeans-javafx-9999_p20141003.ebuild
@@ -0,0 +1,124 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="4"
+inherit eutils java-pkg-2 java-ant-2
+
+DESCRIPTION="Netbeans JavaFX Cluster"
+HOMEPAGE="http://netbeans.org/projects/javafx"
+SLOT="9999"
+SOURCE_URL="http://bits.netbeans.org/download/trunk/nightly/2014-10-03_00-01-50/zip/netbeans-trunk-nightly-201410030001-src.zip"
+SRC_URI="${SOURCE_URL}
+	http://dev.gentoo.org/~fordfrog/distfiles/netbeans-9999-r14-build.xml.patch.bz2
+	http://hg.netbeans.org/binaries/A806D99716C5E9441BFD8B401176FDDEFC673022-bindex-2.2.jar
+	http://hg.netbeans.org/binaries/D325D3913CBC0F9A8D73A466FABB98EDEEC014AB-jemmy-2.3.1.1.jar
+	http://hg.netbeans.org/binaries/D06C8980C9025183C044202419EA29E69FBD4B99-jemmy-2.3.1.1-doc.zip
+	http://hg.netbeans.org/binaries/49197106637CCA8C337AF16CC01BB5D9DEC7E179-jemmy-2.3.1.1-src.zip
+	http://hg.netbeans.org/binaries/20D826CC819A5A969CF3F7204E2E26CB6263EC43-jnlp-servlet.jar
+	http://hg.netbeans.org/binaries/0F7FC8D69950B86D5F67529B5C551DB84C5BCF87-nb-javac-api.jar"
+LICENSE="|| ( CDDL GPL-2-with-linking-exception )"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+S="${WORKDIR}"
+
+CDEPEND="~dev-java/netbeans-extide-${PV}
+	~dev-java/netbeans-ide-${PV}
+	~dev-java/netbeans-java-${PV}
+	~dev-java/netbeans-platform-${PV}"
+DEPEND=">=virtual/jdk-1.7
+	app-arch/unzip
+	${CDEPEND}
+	dev-java/javahelp:0
+	dev-java/junit:4"
+RDEPEND=">=virtual/jdk-1.7
+	${CDEPEND}"
+
+INSTALL_DIR="/usr/share/${PN}-${SLOT}"
+
+EANT_BUILD_XML="nbbuild/build.xml"
+EANT_BUILD_TARGET="rebuild-cluster"
+EANT_EXTRA_ARGS="-Drebuild.cluster.name=nb.cluster.javafx -Dext.binaries.downloaded=true -Dpermit.jdk8.builds=true"
+EANT_FILTER_COMPILER="ecj-3.3 ecj-3.4 ecj-3.5 ecj-3.6 ecj-3.7"
+JAVA_PKG_BSFIX="off"
+
+src_unpack() {
+	unpack $(basename ${SOURCE_URL})
+
+	einfo "Deleting bundled jars..."
+	find -name "*.jar" -type f -delete
+
+	unpack netbeans-9999-r14-build.xml.patch.bz2
+
+	pushd "${S}" >/dev/null || die
+	ln -s "${DISTDIR}"/A806D99716C5E9441BFD8B401176FDDEFC673022-bindex-2.2.jar apisupport.harness/external/bindex-2.2.jar || die
+	ln -s "${DISTDIR}"/20D826CC819A5A969CF3F7204E2E26CB6263EC43-jnlp-servlet.jar apisupport.harness/external/jnlp-servlet.jar || die
+	ln -s "${DISTDIR}"/D325D3913CBC0F9A8D73A466FABB98EDEEC014AB-jemmy-2.3.1.1.jar jemmy/external/jemmy-2.3.1.1.jar || die
+	ln -s "${DISTDIR}"/D06C8980C9025183C044202419EA29E69FBD4B99-jemmy-2.3.1.1-doc.zip jemmy/external/jemmy-2.3.1.1-doc.zip || die
+	ln -s "${DISTDIR}"/49197106637CCA8C337AF16CC01BB5D9DEC7E179-jemmy-2.3.1.1-src.zip jemmy/external/jemmy-2.3.1.1-src.zip || die
+	ln -s "${DISTDIR}"/0F7FC8D69950B86D5F67529B5C551DB84C5BCF87-nb-javac-api.jar libs.javacapi/external/nb-javac-api.jar || die
+	popd >/dev/null || die
+}
+
+src_prepare() {
+	einfo "Deleting bundled class files..."
+	find -name "*.class" -type f | xargs rm -vf
+
+	epatch netbeans-9999-r14-build.xml.patch
+
+	# Support for custom patches
+	if [ -n "${NETBEANS9999_PATCHES_DIR}" -a -d "${NETBEANS9999_PATCHES_DIR}" ] ; then
+		local files=`find "${NETBEANS9999_PATCHES_DIR}" -type f`
+
+		if [ -n "${files}" ] ; then
+			einfo "Applying custom patches:"
+
+			for file in ${files} ; do
+				epatch "${file}"
+			done
+		fi
+	fi
+
+	einfo "Symlinking external libraries..."
+	java-pkg_jar-from --build-only --into apisupport.harness/external javahelp jsearch.jar jsearch-2.0_05.jar
+	java-pkg_jar-from --build-only --into javahelp/external javahelp jhall.jar jhall-2.0_05.jar
+	java-pkg_jar-from --build-only --into libs.junit4/external junit-4 junit.jar junit-4.10.jar
+
+	einfo "Linking in other clusters..."
+	mkdir "${S}"/nbbuild/netbeans || die
+	pushd "${S}"/nbbuild/netbeans >/dev/null || die
+
+	ln -s /usr/share/netbeans-extide-${SLOT} extide || die
+	cat /usr/share/netbeans-extide-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+	touch nb.cluster.extide.built
+
+	ln -s /usr/share/netbeans-ide-${SLOT} ide || die
+	cat /usr/share/netbeans-ide-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+	touch nb.cluster.ide.built
+
+	ln -s /usr/share/netbeans-java-${SLOT} java || die
+	cat /usr/share/netbeans-java-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+	touch nb.cluster.java.built
+
+	ln -s /usr/share/netbeans-platform-${SLOT} platform || die
+	cat /usr/share/netbeans-platform-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+	touch nb.cluster.platform.built
+
+	popd >/dev/null || die
+
+	java-pkg-2_src_prepare
+}
+
+src_install() {
+	pushd nbbuild/netbeans/javafx >/dev/null || die
+
+	insinto ${INSTALL_DIR}
+
+	grep -E "/javafx$" ../moduleCluster.properties > "${D}"/${INSTALL_DIR}/moduleCluster.properties || die
+
+	doins -r *
+
+	popd >/dev/null || die
+
+	dosym ${INSTALL_DIR} /usr/share/netbeans-nb-${SLOT}/javafx
+}

diff --git a/dev-java/netbeans-mobility/ChangeLog b/dev-java/netbeans-mobility/ChangeLog
index fc954e7..c4bc95c 100644
--- a/dev-java/netbeans-mobility/ChangeLog
+++ b/dev-java/netbeans-mobility/ChangeLog
@@ -2,6 +2,12 @@
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+*netbeans-mobility-9999_p20141003 (03 Oct 2014)
+
+  03 Oct 2014; Miroslav Šulc <fordfrog@gentoo.org>
+  +netbeans-mobility-9999_p20141003.ebuild:
+  bumped to the latest sources
+
 *netbeans-mobility-9999_p20141001 (01 Oct 2014)
 
   01 Oct 2014; Miroslav Šulc <fordfrog@gentoo.org>

diff --git a/dev-java/netbeans-mobility/Manifest b/dev-java/netbeans-mobility/Manifest
index 0ca0ab7..00f4279 100644
--- a/dev-java/netbeans-mobility/Manifest
+++ b/dev-java/netbeans-mobility/Manifest
@@ -29,6 +29,7 @@ DIST netbeans-trunk-nightly-201409260001-src.zip 197125028 SHA256 0b2e8f0b10eb02
 DIST netbeans-trunk-nightly-201409280001-src.zip 197332446 SHA256 eac6b2e0b19817527b56f73f188b53b3f297ce5c20a01be3ccc6902ff2f94ed4 SHA512 fbf694a7138146ceb96ccf0d172b9f8031fd2eb3e06aa438386912bf7ea458874ee7041e25e672db2f297875e03fd75f48e8f4410d2e5153f090e2c09d62bc86 WHIRLPOOL a33730b5f76c4aa67476f70961c0ff5fa1916b9caa87173f1c8a57715fd414c65d77ac9d91cf9a1aacd1c6b6ae070595e7becb4394efcaf14759e10d83aaf4de
 DIST netbeans-trunk-nightly-201409300001-src.zip 197332445 SHA256 c306ca40b2bb2ca3f3a4d3ea10fea43b0bcdaaba31291ec5bdb4dbc7d3e67e34 SHA512 91d56515b70db2c2e0deb22938c38e6b45011eeb74083b474fdad64f7851911fcd93612cf08cfc0e5e03ca0e2a79530c59232dbf865853630640c26cc3105d48 WHIRLPOOL 29423713433df87c5f589742beb10682391dc8fea5b5512948709627b8a31cb802962e8845420fec19cde09672b823470f485c21ea85573fdb20af620b54ba55
 DIST netbeans-trunk-nightly-201410010001-src.zip 197355068 SHA256 0d284d68152ca0da1c8dfb7149e5b2638133fe3be6790f312c9959e59528144b SHA512 33ce5f22e9d3ac55d4f7b4b353956a39e030dee6380c5f379fba810f3ec86f8b36e88b773dbbf8bc3c430fc58caba9097764b7eac2d44ce2a25129f8f20fa4f2 WHIRLPOOL b4228286acec04cb321ca8aba60af42a7a1e2c20de1f657773166021a36e284b5ac4f49e9dbf8a51d81577b0d49d387707de3fcc0a622fd13b57c7d704b3da00
+DIST netbeans-trunk-nightly-201410030001-src.zip 197355085 SHA256 f915305ddfd881aaf161ca366c2af9eb29e954c971e73580aaab68cc0836f53e SHA512 d681dd706f0ca188fd5c8d055c88396e33a4e5b3f956017273e0834c755cb6905427c7a9f1dc12c05668580b2ce09caef1b5ea18e2f15384e06900f6cc197df5 WHIRLPOOL a93aa92eabd9120ec1923d6f7af586bead3915691a795d45e2929623b34c52d267091203c7b6d4e2bf0b1629624e6a49ad2d28bddce35ab9508bdc099aa511ed
 EBUILD netbeans-mobility-7.0.1.ebuild 8655 SHA256 992e214ff2926e2f0db623d96b717bf8f8e4ceb47e96e69b3c6b8f67d6a8d130 SHA512 d51bc003f4b637cfe71c9f49a96427e535596542ac195a9621bc4f92c04a6f720a87fac6eb267732f869ba105f263d9d36f848b54a89c734b6a68a78ed323808 WHIRLPOOL 515da7153b12c3b5779cfad16e3800b4d26ba4b174027d9a7b06a26754fad065751c7eda137ba6199315d024a322d59e7ea39a1b2f4244ea75b30770ac505791
 EBUILD netbeans-mobility-7.1.2.ebuild 7543 SHA256 bb3f1245ad68133798fa507f06dd1ffbc1d55f6ba38f4cccc29ff0240e5b5f22 SHA512 41f663977a0716c5449db597d5f90054717ff3579a9137a910d1943d3e0b39379c34c0d9aa9c98d231037a042074c8ecf5fc62c018cd7cd5e8680734ff854c51 WHIRLPOOL c3c6feb41ce3df356f617ca80530673ac653cdf50da0aead00518854d0850d6420333529aa6591e15ddd4053249191fcb47100c5f39a804352722e54f802bae4
 EBUILD netbeans-mobility-7.2.ebuild 6571 SHA256 58af97ca9a6adc56fa6abe91777a1ac35a3a9b7d68af1e73c23a45dc5631abb2 SHA512 ac42c3a3daa7d55c9c13d1c99dd6880d5d99741f80cfceb683da27e30c70d6228d9434571f2405d0dbbf27d2203e3f877da6347794b07b98331edd1631d3a69d WHIRLPOOL 5a6af3cbcd08180dcdf708a038f3119faacb9c78532b4bb1945c7260fb0a8232af57745e41a73311fafffe185c969e0c88ac34970caab7708313f53417695374
@@ -44,5 +45,6 @@ EBUILD netbeans-mobility-9999_p20140926.ebuild 4418 SHA256 581ce96d83d77bbbbf5ed
 EBUILD netbeans-mobility-9999_p20140928.ebuild 4418 SHA256 34a596eae7d1218f1001166ae1df9c05dfa182a89a38bdb3df0eaf1020d2922b SHA512 7181dd9e8b229eaa791f8b3fc7e628213e12d9e6d6d27fd1d3633cd1dd44910761948b51c664a7fd0469e32b3372f9735c9f48d135645e9d8477bbb078df4ace WHIRLPOOL f3fee42c38d830300471d39c08a6904f8be7a2c1cc0dc7a156a265f921d6e7ccfffaa3eb3ef072350c788d61fba85f1f338e937727191184f997526b8857d519
 EBUILD netbeans-mobility-9999_p20140930.ebuild 4418 SHA256 6fd85c5dca19a2672b16dd9171b1562980ea83b0a2140998b6a695537e527110 SHA512 8b59ad41314a1e66550dc8c3b03267f13553e5ea5ed1f99091b157924ab349b68a9507bbf0719c88b460fa08f642c680485d308c69f62ff4a9565e0a4420acb2 WHIRLPOOL cd89e3b353814f09b8d2a05e5d9e7ae75ff5e2c7ce1f86329a387e09faea0412a1a0faf0a2575e633bbfe643244be3bedac22c1affddee902866f1bf44017417
 EBUILD netbeans-mobility-9999_p20141001.ebuild 4418 SHA256 baca9c1cb1e0f590cc9a7c98b5701e93d5ed764c82b84a1c4a05975f186b6435 SHA512 46b48b7f3b5a1e1d8cc3faa2ee91f7851aeb82714b5cf8def5fe84104faefe68d7f6259c6374f5c4483dabe15b41f6410fc57d5837f6565ed09c9f4d7024fb33 WHIRLPOOL 0c8b08c96df1383592bb123da2f2ff1f3f9f98926989fd170c6c715d732e36c82ceb87e3077ae43927b2ae53f981dc501f2fec92d47aab83f173c16124ee08d9
-MISC ChangeLog 133886 SHA256 68c50ea62f275dded3f4aeb006344adca82ed50fced065f9fabf2cf232c6dfc9 SHA512 3ed10c624169411cdc74bff46db7bb8cd755b6ad815d5de9711c8a73f0cc587b17e26d33e9793f1b9f84c4eaa9649c43ff92a7e7c353dc6aa742c033d5d5139f WHIRLPOOL 866e992398dd1ed5af2981c76fed36b4f78d6884b95900cf63a537e1f83da38da107618d53e9118dcec0c6a4be91aa46e21e94c3381fea8bdd280eda46268935
+EBUILD netbeans-mobility-9999_p20141003.ebuild 4418 SHA256 7979dc550d1ed9817211e1cb9d45ecba769c70f276292ea14f27064c68d938d8 SHA512 f08b3263a6b38dda933dae04ae88484688eebbf433b2fd96e63a2272e06854f119173937ed58a8f48a2dd80cbc50529491dcd5edbc260d30973b87b7731beeac WHIRLPOOL 9e7890b7edf2d355bbc1bf57dcde0e5719438925d571d9e77f959b6a405120e249a57ce99a19df3fc440df8cc5170bc4354a7863db1fd33684e7bdae2e8da51a
+MISC ChangeLog 134063 SHA256 7f5590b970d464032004c32a2130f985c974be557ff0d427376a5f34f49996af SHA512 99f1232a88ef9eb1ce5809e9e8895e1cf8363e5f0a3ab6681d1c385b6d164d9550ceb8e94ce4e0973f1f86d5dd4d0b00cd41c7810008ebaa4394e2efa8ac1c6e WHIRLPOOL fdf84a2fb1500267d2396513a9cacf7705a86805fc27b9ae2081fdcd5f73005824a370885b534b0cdfbbf9d65579a45205243f3267604f539d9736820448428b
 MISC metadata.xml 251 SHA256 5a4ff53a9862390a48d45c79be24086646e7a6ff0c5bdf0fcb799d0871299003 SHA512 04153cbd9776ad56a94d6a47d043df15d082d8888df8658f18d0d4b659c6c0526ab3a9b22ccbe2471091bf2d8165f224854bc99c51f3664aaf350ccb93532a7c WHIRLPOOL 2ee8a646c6e23bc46c72cac0ecb5cfe43720ec42404ddaeed8ab1b59d139b3d5c1a94764de847f979da978c001c9f02f709d663a68eeea64d19e88f1fefbca43

diff --git a/dev-java/netbeans-mobility/netbeans-mobility-9999_p20141003.ebuild b/dev-java/netbeans-mobility/netbeans-mobility-9999_p20141003.ebuild
new file mode 100644
index 0000000..7ca7789
--- /dev/null
+++ b/dev-java/netbeans-mobility/netbeans-mobility-9999_p20141003.ebuild
@@ -0,0 +1,126 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="4"
+inherit eutils java-pkg-2 java-ant-2
+
+DESCRIPTION="Netbeans Mobility Cluster"
+HOMEPAGE="http://netbeans.org/features/platform/"
+SLOT="9999"
+SOURCE_URL="http://bits.netbeans.org/download/trunk/nightly/2014-10-03_00-01-50/zip/netbeans-trunk-nightly-201410030001-src.zip"
+SRC_URI="${SOURCE_URL}
+	http://dev.gentoo.org/~fordfrog/distfiles/netbeans-9999-r14-build.xml.patch.bz2"
+LICENSE="|| ( CDDL GPL-2-with-linking-exception )"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+S="${WORKDIR}"
+
+CDEPEND="~dev-java/netbeans-apisupport-${PV}
+	~dev-java/netbeans-enterprise-${PV}
+	~dev-java/netbeans-extide-${PV}
+	~dev-java/netbeans-ide-${PV}
+	~dev-java/netbeans-java-${PV}
+	~dev-java/netbeans-platform-${PV}
+	~dev-java/netbeans-websvccommon-${PV}"
+DEPEND=">=virtual/jdk-1.7
+	app-arch/unzip
+	${CDEPEND}
+	dev-java/javahelp:0"
+RDEPEND=">=virtual/jdk-1.7
+	${CDEPEND}"
+
+INSTALL_DIR="/usr/share/${PN}-${SLOT}"
+
+EANT_BUILD_XML="nbbuild/build.xml"
+EANT_BUILD_TARGET="rebuild-cluster"
+EANT_EXTRA_ARGS="-Drebuild.cluster.name=nb.cluster.mobility -Dext.binaries.downloaded=true -Dpermit.jdk8.builds=true"
+EANT_FILTER_COMPILER="ecj-3.3 ecj-3.4 ecj-3.5 ecj-3.6 ecj-3.7"
+JAVA_PKG_BSFIX="off"
+
+src_unpack() {
+	unpack $(basename ${SOURCE_URL})
+
+	einfo "Deleting bundled jars..."
+	find -name "*.jar" -type f | grep -vE "mobility.databindingme/lib/netbeans_databindingme.*\.jar" \
+		| grep -v "vmd.components.midp/netbeans_midp_components_basic/dist/netbeans_midp_components_basic.jar" \
+		| grep -v "vmd.components.midp.pda/netbeans_midp_components_pda/dist/netbeans_midp_components_pda.jar" \
+		| grep -v "vmd.components.midp.wma/netbeans_midp_components_wma/dist/netbeans_midp_components_wma.jar" \
+		| grep -v "vmd.components.svg/nb_svg_midp_components/dist/nb_svg_midp_components.jar" | xargs rm
+
+	unpack netbeans-9999-r14-build.xml.patch.bz2
+}
+
+src_prepare() {
+	einfo "Deleting bundled class files..."
+	find -name "*.class" -type f | xargs rm -vf
+
+	epatch netbeans-9999-r14-build.xml.patch
+
+	# Support for custom patches
+	if [ -n "${NETBEANS9999_PATCHES_DIR}" -a -d "${NETBEANS9999_PATCHES_DIR}" ] ; then
+		local files=`find "${NETBEANS9999_PATCHES_DIR}" -type f`
+
+		if [ -n "${files}" ] ; then
+			einfo "Applying custom patches:"
+
+			for file in ${files} ; do
+				epatch "${file}"
+			done
+		fi
+	fi
+
+	einfo "Symlinking external libraries..."
+	java-pkg_jar-from --build-only --into javahelp/external javahelp jhall.jar jhall-2.0_05.jar
+
+	einfo "Linking in other clusters..."
+	mkdir "${S}"/nbbuild/netbeans || die
+	pushd "${S}"/nbbuild/netbeans >/dev/null || die
+
+	ln -s /usr/share/netbeans-apisupport-${SLOT} apisupport || die
+	cat /usr/share/netbeans-apisupport-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+	touch nb.cluster.apisupport.built
+
+	ln -s /usr/share/netbeans-enterprise-${SLOT} enterprise || die
+	cat /usr/share/netbeans-enterprise-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+	touch nb.cluster.enterprise.built
+
+	ln -s /usr/share/netbeans-extide-${SLOT} extide || die
+	cat /usr/share/netbeans-extide-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+	touch nb.cluster.extide.built
+
+	ln -s /usr/share/netbeans-ide-${SLOT} ide || die
+	cat /usr/share/netbeans-ide-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+	touch nb.cluster.ide.built
+
+	ln -s /usr/share/netbeans-java-${SLOT} java || die
+	cat /usr/share/netbeans-java-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+	touch nb.cluster.java.built
+
+	ln -s /usr/share/netbeans-platform-${SLOT} platform || die
+	cat /usr/share/netbeans-platform-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+	touch nb.cluster.platform.built
+
+	ln -s /usr/share/netbeans-websvccommon-${SLOT} websvccommon || die
+	cat /usr/share/netbeans-websvccommon-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+	touch nb.cluster.websvccommon.built
+
+	popd >/dev/null || die
+
+	java-pkg-2_src_prepare
+}
+
+src_install() {
+	pushd nbbuild/netbeans/mobility >/dev/null || die
+
+	insinto ${INSTALL_DIR}
+
+	grep -E "/mobility$" ../moduleCluster.properties > "${D}"/${INSTALL_DIR}/moduleCluster.properties || die
+
+	doins -r *
+	rm -rf "${D}"/${INSTALL_DIR}/modules/lib || die
+
+	popd >/dev/null || die
+
+	dosym ${INSTALL_DIR} /usr/share/netbeans-nb-${SLOT}/mobility
+}

diff --git a/dev-java/netbeans-nb/ChangeLog b/dev-java/netbeans-nb/ChangeLog
index 3d23f1f..cec3851 100644
--- a/dev-java/netbeans-nb/ChangeLog
+++ b/dev-java/netbeans-nb/ChangeLog
@@ -2,6 +2,12 @@
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+*netbeans-nb-9999_p20141003 (03 Oct 2014)
+
+  03 Oct 2014; Miroslav Šulc <fordfrog@gentoo.org>
+  +netbeans-nb-9999_p20141003.ebuild:
+  bumped to the latest sources
+
 *netbeans-nb-9999_p20141001 (01 Oct 2014)
 
   01 Oct 2014; Miroslav Šulc <fordfrog@gentoo.org>

diff --git a/dev-java/netbeans-nb/Manifest b/dev-java/netbeans-nb/Manifest
index 3a5aa34..27f8e61 100644
--- a/dev-java/netbeans-nb/Manifest
+++ b/dev-java/netbeans-nb/Manifest
@@ -28,6 +28,7 @@ DIST netbeans-trunk-nightly-201409260001-src.zip 197125028 SHA256 0b2e8f0b10eb02
 DIST netbeans-trunk-nightly-201409280001-src.zip 197332446 SHA256 eac6b2e0b19817527b56f73f188b53b3f297ce5c20a01be3ccc6902ff2f94ed4 SHA512 fbf694a7138146ceb96ccf0d172b9f8031fd2eb3e06aa438386912bf7ea458874ee7041e25e672db2f297875e03fd75f48e8f4410d2e5153f090e2c09d62bc86 WHIRLPOOL a33730b5f76c4aa67476f70961c0ff5fa1916b9caa87173f1c8a57715fd414c65d77ac9d91cf9a1aacd1c6b6ae070595e7becb4394efcaf14759e10d83aaf4de
 DIST netbeans-trunk-nightly-201409300001-src.zip 197332445 SHA256 c306ca40b2bb2ca3f3a4d3ea10fea43b0bcdaaba31291ec5bdb4dbc7d3e67e34 SHA512 91d56515b70db2c2e0deb22938c38e6b45011eeb74083b474fdad64f7851911fcd93612cf08cfc0e5e03ca0e2a79530c59232dbf865853630640c26cc3105d48 WHIRLPOOL 29423713433df87c5f589742beb10682391dc8fea5b5512948709627b8a31cb802962e8845420fec19cde09672b823470f485c21ea85573fdb20af620b54ba55
 DIST netbeans-trunk-nightly-201410010001-src.zip 197355068 SHA256 0d284d68152ca0da1c8dfb7149e5b2638133fe3be6790f312c9959e59528144b SHA512 33ce5f22e9d3ac55d4f7b4b353956a39e030dee6380c5f379fba810f3ec86f8b36e88b773dbbf8bc3c430fc58caba9097764b7eac2d44ce2a25129f8f20fa4f2 WHIRLPOOL b4228286acec04cb321ca8aba60af42a7a1e2c20de1f657773166021a36e284b5ac4f49e9dbf8a51d81577b0d49d387707de3fcc0a622fd13b57c7d704b3da00
+DIST netbeans-trunk-nightly-201410030001-src.zip 197355085 SHA256 f915305ddfd881aaf161ca366c2af9eb29e954c971e73580aaab68cc0836f53e SHA512 d681dd706f0ca188fd5c8d055c88396e33a4e5b3f956017273e0834c755cb6905427c7a9f1dc12c05668580b2ce09caef1b5ea18e2f15384e06900f6cc197df5 WHIRLPOOL a93aa92eabd9120ec1923d6f7af586bead3915691a795d45e2929623b34c52d267091203c7b6d4e2bf0b1629624e6a49ad2d28bddce35ab9508bdc099aa511ed
 EBUILD netbeans-nb-7.0.1.ebuild 5116 SHA256 17ac4a9aa7931d052a899ad8649bed42d5c37a06d913e0dc8ded118d7ef01c47 SHA512 932964fcc4d8d614a2ad8531eecd9298b89f06ac97db68e140e77bceb5d9c08c35524ae4766c18f5467bb01391a9c9f29cd4c5e45c29664b91340a33b0804d7e WHIRLPOOL 0e935fc1c63b61a97e60941111cd30fe4f7b740743013074f7722f3556473ccdba8bcd70ac6f544c67e2a60dd2d7c96abc9bf6bfc51aa6e9ff3135d041ebf3a1
 EBUILD netbeans-nb-7.1.2.ebuild 4987 SHA256 075ef11ab57b236061e4df3e905524ecfba2966c5d735d113b878a03219a9cc1 SHA512 321182e1780acfdbff56c1c84748897cf8c4dcf9fc94d0a6db71a018968e8f96e479a2dbb2f97655d50ee836ac1a81fdd62f6f04ba1b2d54157158e577c2b986 WHIRLPOOL 3d3742c6e90f0231ecabf5200446d00900204f51b9fb2be92954668dae86584d8ef477be11cad462a9721a04a1bc97673b8d8d808ef49f0345d979022471d919
 EBUILD netbeans-nb-7.2.ebuild 4970 SHA256 79d73ca57dd63e25afccd44816dd248e79f6974dd7e9ebbf4b3b11eb659092d9 SHA512 083317f6944c5fe38507fbca18804888e25c23070420a3080bb68bf00be95e520541c381482a6c55ff60656b36f8dd3fac60f2c605e4e3ee0ae92427faa468da WHIRLPOOL 7f02ab258612c5035b26326f25aaa08bf60fc0ff3108a2bf61dbcde9fe845e647f91319938206742a5f131fe905678833f3ad2449f68efef7e6ed4203f7538f3
@@ -43,5 +44,6 @@ EBUILD netbeans-nb-9999_p20140926.ebuild 5013 SHA256 fae2e674cb037f4a0a62a7ba740
 EBUILD netbeans-nb-9999_p20140928.ebuild 5013 SHA256 f46f0644c2d9b7d3f639248f9c5d0105f96ad14c5f012b89fecc3266ac8bfef4 SHA512 f12b5f560436a122452c1f4e93296cae1e220164552c5e74143983f26e666683898144a8344be91141e0a86c9ad3e630a854769779b205dc710e86187400897f WHIRLPOOL 995e8ce57a7776525d0f12ba1228b0f6d48e2d3162aef052d398b58b366012eb7ecc23505d9558a030046ba2af76f0c1d957a53f19db00b457bf396d5beeab65
 EBUILD netbeans-nb-9999_p20140930.ebuild 5013 SHA256 f899ef47bbd083f0b932db5939129074cfc2788ee77bd3c336a77a4ba3b7b186 SHA512 6f40ae7a8dafa297f1e8c2bc37dafb39c1eaabd9e02537b78a7f0f741fe7814bf4dcd1f10ffa2028ac619ebaaeb9c6935f1e61a8fdf434ca1a27788e1bee7020 WHIRLPOOL db28f6636f2967daa9e781f900f7e0d9f272540b72ec5f55972943c8dbfbff51b9863ce991d4bc88249efab90eb77695d2d48c588461605ad652139842e7f9fc
 EBUILD netbeans-nb-9999_p20141001.ebuild 5013 SHA256 5110f8058a284638c7e51a1826b650f284de18c8da8c01932a5037d2f0d162c0 SHA512 752261b8ce5bfe58a158d105125e163257ae919a2f55bcac44cf2d6b7a59435d47a76fc1e4fadae8f8c6457e6d22aa31f63cfb5aee3d39049cce5c7bad822c9d WHIRLPOOL e9659811212a406fdb444bfb06695573edddbb30ee5c0421ecd2ad665af6b1563891b0a5232dba66b4b3b5cb4c575ff75df50105d851533dd4b04ce54c238922
-MISC ChangeLog 124295 SHA256 ce4fbef78b9957f62699215eafdbd7f7b45d7f1a45655fe5fd970f4b073041f0 SHA512 e5ff724de39e31b2ac6e57921841b625441ee68edd8c4633fa8f4adcdddfeb50f45c00de16d569c0b55bc48d685534b21c67c2d3e6114c523aab23d5738e48aa WHIRLPOOL 7b61951c7eda1d6c0710fbd6817c8df942b564b7049b2408ef93da9ffc9a29f8cac4d2c1d8eabe3f3e3c35ee69182850e5b07f4af94b5ce5b8953cdbacac8bf0
+EBUILD netbeans-nb-9999_p20141003.ebuild 5013 SHA256 7e6eaf733f31d2b48732e57108e459ca4fb017da9ba7b36689bc66b1624038d3 SHA512 ef64cb5e0090a7da37217befe87dbbc85b0dffa3554517a2e0befb917bc575faa6a840f9f96d1f6afef9a18adb8d21b5db3bcfc549653dd021722192518791ef WHIRLPOOL 9bdb0a699b75b6ddd322f4fa7f27431b12d66571ed0299a9c004dacdb658fabdc969122b21daeaaff5bcededea68ae41c484f155589b5649138b5755e78c11a2
+MISC ChangeLog 124460 SHA256 a12af0023ecfe3ca9b43f00eaf8bf8bb0bd9161c6f7ec11486d147aaaf50b7f8 SHA512 2e9d33965d8c43ac830904d9c9c64df4e5b0908d235ebd536e0b17b8c57f401480b434e8be56dda04316cb2bfc72454e22fecc7c28ba65cd9474aa7302164057 WHIRLPOOL e4a98b209562ecfc0c30a84c427fde936fe111cb476f5035a4110181a658821e539588d28d722bf58c777d27a675ba6a541d76a9e35e1e5f292a262698755bb5
 MISC metadata.xml 396 SHA256 5083064ed2246a84e2aedbc326d56cc8bf571fd8e7c24af0e4bc14c50f1ebb49 SHA512 a0b2171264f1ea6ba33b184ef802589d679eaba5c4a1753e149d7cd93c2c31aace934eddf5dffed6be341d9e4061c843c849e464afb7b4417c6c2dff3e9ff1c7 WHIRLPOOL 1be3a1a3c2b64d8818108de191db834395ee4ab3cf7994914c9331d6e42ca9015dd2493b9516db20990cb30b4dea385a3dde08b75df956ca39ad65e3fa721cb7

diff --git a/dev-java/netbeans-nb/netbeans-nb-9999_p20141003.ebuild b/dev-java/netbeans-nb/netbeans-nb-9999_p20141003.ebuild
new file mode 100644
index 0000000..e45344a
--- /dev/null
+++ b/dev-java/netbeans-nb/netbeans-nb-9999_p20141003.ebuild
@@ -0,0 +1,148 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="4"
+inherit eutils java-pkg-2 java-ant-2
+
+DESCRIPTION="Netbeans IDE Branding"
+HOMEPAGE="http://netbeans.org/"
+SLOT="9999"
+SOURCE_URL="http://bits.netbeans.org/download/trunk/nightly/2014-10-03_00-01-50/zip/netbeans-trunk-nightly-201410030001-src.zip"
+SRC_URI="${SOURCE_URL}
+	http://dev.gentoo.org/~fordfrog/distfiles/netbeans-9999-r14-build.xml.patch.bz2
+	http://dev.gentoo.org/~fordfrog/distfiles/netbeans-7.0.png"
+LICENSE="|| ( CDDL GPL-2-with-linking-exception )"
+KEYWORDS="~amd64 ~x86"
+IUSE="keychain"
+S="${WORKDIR}"
+
+CDEPEND="~dev-java/netbeans-platform-${PV}
+	~dev-java/netbeans-harness-${PV}
+	~dev-java/netbeans-ide-${PV}"
+DEPEND=">=virtual/jdk-1.7
+	app-arch/unzip
+	${CDEPEND}
+	dev-java/javahelp:0"
+RDEPEND=">=virtual/jdk-1.7
+	${CDEPEND}
+	keychain? (
+		net-misc/keychain:0
+		net-misc/x11-ssh-askpass:0
+	)"
+
+INSTALL_DIR="/usr/share/${PN}-${SLOT}"
+
+EANT_BUILD_XML="nbbuild/build.xml"
+EANT_BUILD_TARGET="rebuild-cluster create-netbeans-import finish-build"
+EANT_EXTRA_ARGS="-Drebuild.cluster.name=nb.cluster.nb -Dext.binaries.downloaded=true -Dpermit.jdk8.builds=true"
+EANT_FILTER_COMPILER="ecj-3.3 ecj-3.4 ecj-3.5 ecj-3.6 ecj-3.7"
+JAVA_PKG_BSFIX="off"
+
+src_unpack() {
+	unpack $(basename ${SOURCE_URL})
+
+	einfo "Deleting bundled jars..."
+	find -name "*.jar" -type f -delete
+
+	unpack netbeans-9999-r14-build.xml.patch.bz2
+}
+
+src_prepare() {
+	einfo "Deleting bundled class files..."
+	find -name "*.class" -type f | xargs rm -vf
+
+	epatch netbeans-9999-r14-build.xml.patch
+	use keychain && epatch "${FILESDIR}"/${SLOT}/keychain-support.patch
+
+	# Support for custom patches
+	if [ -n "${NETBEANS9999_PATCHES_DIR}" -a -d "${NETBEANS9999_PATCHES_DIR}" ] ; then
+		local files=`find "${NETBEANS9999_PATCHES_DIR}" -type f`
+
+		if [ -n "${files}" ] ; then
+			einfo "Applying custom patches:"
+
+			for file in ${files} ; do
+				epatch "${file}"
+			done
+		fi
+	fi
+
+	einfo "Symlinking external libraries..."
+	java-pkg_jar-from --build-only --into javahelp/external javahelp jhall.jar jhall-2.0_05.jar
+
+	einfo "Linking in other clusters..."
+	mkdir "${S}"/nbbuild/netbeans || die
+	pushd "${S}"/nbbuild/netbeans >/dev/null || die
+
+	ln -s /usr/share/netbeans-platform-${SLOT} platform || die
+	cat /usr/share/netbeans-platform-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+	touch nb.cluster.platform.built
+
+	ln -s /usr/share/netbeans-harness-${SLOT} harness || die
+	cat /usr/share/netbeans-harness-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+	touch nb.cluster.harness.built
+
+	ln -s /usr/share/netbeans-ide-${SLOT} ide || die
+	cat /usr/share/netbeans-ide-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+	touch nb.cluster.ide.built
+	popd >/dev/null || die
+
+	java-pkg-2_src_prepare
+}
+
+src_install() {
+	pushd nbbuild/netbeans >/dev/null || die
+
+	insinto ${INSTALL_DIR}/nb
+
+	grep -E "/nb$" moduleCluster.properties > "${D}"/${INSTALL_DIR}/nb/moduleCluster.properties || die
+
+	insinto ${INSTALL_DIR}
+	doins -r nb
+	dodoc *.txt
+	dohtml *.html *.css
+
+	insinto ${INSTALL_DIR}/bin
+	doins bin/netbeans
+	dosym ${INSTALL_DIR}/bin/netbeans /usr/bin/netbeans-${SLOT}
+	fperms 755 ${INSTALL_DIR}/bin/netbeans
+
+	insinto /etc/netbeans-${SLOT}
+	doins etc/*
+	dosym /etc/netbeans-${SLOT} ${INSTALL_DIR}/etc
+
+	# fix paths per bug# 163483
+	if [[ -e "${D}"/${INSTALL_DIR}/bin/netbeans ]]; then
+		sed -i -e "s:\"\$progdir\"/../etc/:/etc/netbeans-${SLOT}/:" "${D}"/${INSTALL_DIR}/bin/netbeans
+		sed -i -e "s:\"\${userdir}\"/etc/:/etc/netbeans-${SLOT}/:" "${D}"/${INSTALL_DIR}/bin/netbeans
+	fi
+
+	dodir /usr/share/icons/hicolor/32x32/apps
+	dosym ${INSTALL_DIR}/nb/netbeans.png /usr/share/icons/hicolor/32x32/apps/netbeans-${SLOT}.png
+	dodir /usr/share/icons/hicolor/128x128/apps
+	cp "${DISTDIR}"/netbeans-7.0.png "${D}"/usr/share/icons/hicolor/128x128/apps/netbeans-${SLOT}.png || die
+	dosym /usr/share/icons/hicolor/128x128/apps/netbeans-${SLOT}.png /usr/share/pixmaps/netbeans-${SLOT}.png
+
+	popd >/dev/null || die
+
+	make_desktop_entry netbeans-${SLOT} "Netbeans ${PV}" netbeans-${SLOT} Development
+
+	mkdir -p  "${D}"/${INSTALL_DIR}/nb/config || die
+	echo "NBGNT" > "${D}"/${INSTALL_DIR}/nb/config/productid || die
+}
+
+pkg_postinst() {
+	if use keychain ; then
+		einfo "You enabled keychain support, that means NetBeans will use keychain for managing"
+		einfo "your keys while connecting to ssh protected repositories. If you want to load some"
+		einfo "keys on NetBeans startup, create file keychain-keys.txt in your userdir"
+		einfo "(~/.netbeans/${SLOT}/keychain-keys.txt) and put names of your keys in the file,"
+		einfo "each key on single line, for example:"
+		einfo "id_dsa"
+		einfo "id_dsa_gentoo"
+		einfo "If on NetBeans startup key will not be handled by keychain yet, you will be asked"
+		einfo "for key password (only this time and never again). You can find more information"
+		einfo "about keychain at http://www.gentoo.org/doc/en/keychain-guide.xml"
+	fi
+}

diff --git a/dev-java/netbeans-php/ChangeLog b/dev-java/netbeans-php/ChangeLog
index 6b9eb31..25f2b2e 100644
--- a/dev-java/netbeans-php/ChangeLog
+++ b/dev-java/netbeans-php/ChangeLog
@@ -2,6 +2,12 @@
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+*netbeans-php-9999_p20141003 (03 Oct 2014)
+
+  03 Oct 2014; Miroslav Šulc <fordfrog@gentoo.org>
+  +netbeans-php-9999_p20141003.ebuild:
+  bumped to the latest sources
+
 *netbeans-php-9999_p20141001 (01 Oct 2014)
 
   01 Oct 2014; Miroslav Šulc <fordfrog@gentoo.org>

diff --git a/dev-java/netbeans-php/Manifest b/dev-java/netbeans-php/Manifest
index 516cfb4..15fce04 100644
--- a/dev-java/netbeans-php/Manifest
+++ b/dev-java/netbeans-php/Manifest
@@ -31,6 +31,7 @@ DIST netbeans-trunk-nightly-201409260001-src.zip 197125028 SHA256 0b2e8f0b10eb02
 DIST netbeans-trunk-nightly-201409280001-src.zip 197332446 SHA256 eac6b2e0b19817527b56f73f188b53b3f297ce5c20a01be3ccc6902ff2f94ed4 SHA512 fbf694a7138146ceb96ccf0d172b9f8031fd2eb3e06aa438386912bf7ea458874ee7041e25e672db2f297875e03fd75f48e8f4410d2e5153f090e2c09d62bc86 WHIRLPOOL a33730b5f76c4aa67476f70961c0ff5fa1916b9caa87173f1c8a57715fd414c65d77ac9d91cf9a1aacd1c6b6ae070595e7becb4394efcaf14759e10d83aaf4de
 DIST netbeans-trunk-nightly-201409300001-src.zip 197332445 SHA256 c306ca40b2bb2ca3f3a4d3ea10fea43b0bcdaaba31291ec5bdb4dbc7d3e67e34 SHA512 91d56515b70db2c2e0deb22938c38e6b45011eeb74083b474fdad64f7851911fcd93612cf08cfc0e5e03ca0e2a79530c59232dbf865853630640c26cc3105d48 WHIRLPOOL 29423713433df87c5f589742beb10682391dc8fea5b5512948709627b8a31cb802962e8845420fec19cde09672b823470f485c21ea85573fdb20af620b54ba55
 DIST netbeans-trunk-nightly-201410010001-src.zip 197355068 SHA256 0d284d68152ca0da1c8dfb7149e5b2638133fe3be6790f312c9959e59528144b SHA512 33ce5f22e9d3ac55d4f7b4b353956a39e030dee6380c5f379fba810f3ec86f8b36e88b773dbbf8bc3c430fc58caba9097764b7eac2d44ce2a25129f8f20fa4f2 WHIRLPOOL b4228286acec04cb321ca8aba60af42a7a1e2c20de1f657773166021a36e284b5ac4f49e9dbf8a51d81577b0d49d387707de3fcc0a622fd13b57c7d704b3da00
+DIST netbeans-trunk-nightly-201410030001-src.zip 197355085 SHA256 f915305ddfd881aaf161ca366c2af9eb29e954c971e73580aaab68cc0836f53e SHA512 d681dd706f0ca188fd5c8d055c88396e33a4e5b3f956017273e0834c755cb6905427c7a9f1dc12c05668580b2ce09caef1b5ea18e2f15384e06900f6cc197df5 WHIRLPOOL a93aa92eabd9120ec1923d6f7af586bead3915691a795d45e2929623b34c52d267091203c7b6d4e2bf0b1629624e6a49ad2d28bddce35ab9508bdc099aa511ed
 EBUILD netbeans-php-7.0.1.ebuild 4151 SHA256 3aee393fe89aa4788ccd17af46f1df43a5681c28af6d580724d8db0f5e804ff0 SHA512 60106805595338b83e17d906c199c54dc4cc5d979f964a41f9938a508e8514670f4e5538eeecd91f8cd06dd2b4376119674f9a7a9f2fac6c1255e14929f2bc19 WHIRLPOOL 1a09962a5bd67a4fd4eed48af3f185146d2de6f506952f626756aabf6a157678fe71e0752ed5988ff414803b83150d9b8b4de956895667e331659bb59f94e09c
 EBUILD netbeans-php-7.1.2.ebuild 3940 SHA256 779f3bceb2b5a49e923fff28c36c653e31e2d11e186fabab1e656c3314b48d28 SHA512 1296c8ccbec945e66588c2a1a490d3ea93a28672e77751e16c3dff1f1aa6e3a00b454345f0b888c684a0d31fe05aad4f44310998eb72bf1febba85da1bcdd08b WHIRLPOOL b0238f8c5aa4a8c0a5cff82b0daa29860fe39712e96110916cd8a26938ca07b8e05c308e1387c84e7d693026590846392227e95668d150bbc7f1cbc660676eec
 EBUILD netbeans-php-7.2.ebuild 4159 SHA256 bb5c66ed19c9341332e1e42efb29a4ab5d19a22c995bae93efc952ec105ad493 SHA512 c919b120bdc51b56f58b390e9a017f9e059c6b5709220e80138caf7ca3e58d432f53c9ed28f899dc9537851a4cb8cafa9e7067eaefc5d5798b05fb0be9d5bd5f WHIRLPOOL 9857d2e6ac50c4daf5c8afc0a5b65b068b6010ecf2ef04f063bc184810c18b50feda683d2d80c84c0e621909bb05b19731135f2a69f1e56db927c42e8057a658
@@ -46,5 +47,6 @@ EBUILD netbeans-php-9999_p20140926.ebuild 4423 SHA256 fe3f763463b559fda128fc6651
 EBUILD netbeans-php-9999_p20140928.ebuild 4423 SHA256 a1faa01ef9cdbd7a610cca625ef271bf8e176363951cd85d0ca8ebb9601dec4f SHA512 57ba86dace9edc094dea8ea2173dc00536c46a236c048b7309781b8463bc1f00c6b8965fa22f6d999cfddea63cb57bca7b40e9ca85bd0fc3c133b8190f1ce125 WHIRLPOOL d1fbbdfe43bcbc2b347f404fb18810d9b264053a10e44cc7eb00406361e47717d62d335bb9a2bedebc9da1cf82cd904aac323b0feea7499a40656f06c48d753e
 EBUILD netbeans-php-9999_p20140930.ebuild 4423 SHA256 4fa5c139b999979300cd912868d08d666b93580c296e948c08cc8949b1462ac4 SHA512 35cab70622e06d426cb94938fbb99e022931b579b2f2d84fa846b184657ae015c44c87683be7a6fc3a02187cdc052508f37674fcc1cb0a54022b949d7a7adde6 WHIRLPOOL 6d63c44151facf93a025c0b0317f6a8be8bfbb79e953f5a75ddd98638c9a564af2ebaff31267995f49301eb1d1f4447b0c9ec3c57b7f7928a44d8e1e1d420533
 EBUILD netbeans-php-9999_p20141001.ebuild 4423 SHA256 59a60ec3cb9d4e6a6688a8139d8ea56806b7f9beb4ddd2f1d2a499ab99dc4b54 SHA512 f8b218ee0a313a13e16706832c37f829f136d620381af9f6dde35b2adecd5e6384ed380f0c4d3405a41a80a00e9542368124213d2bf4459e059448c9585c6aaf WHIRLPOOL 86c2acb1e8220cd62122501c9014708feaccac00ecec15d882b39d62fa1c7b6e7ddead964e6181910462fa0acf881b7c62dbb1955cadd988e6233a3d53739b2d
-MISC ChangeLog 124909 SHA256 4d0e9476bbc2cc264afc3b9c8d8a0f968270f48251a5f0735406d5f3745a62a6 SHA512 136c007e48800b9fca7233a5eafc5c0b317fcd4ca41231cb4fa621c263d62769e2366929047beec37cd4a35a52b0f97ff5f0a360c3fef0811cbce3b190f649f0 WHIRLPOOL 63003d68d520895b73788092e89072244a76acf4feac9eee2f54264a1ad4d6d0e19e6024de19b807f305fefbd53e118a1ec71b04f1675a692a6bdd64873a5cef
+EBUILD netbeans-php-9999_p20141003.ebuild 4423 SHA256 24384fa62455c3bbad56bb9798f46e87e7eb78906c7e6a242885f9c2eb99b115 SHA512 44f3267673e2b2c056c8de461d1767a9c4bc8a42e3ea8110bbaa4478445a3e8254e5576dbafdf2e4faf85756a1ee8031b509466ba9828cb28a27641e75a7658a WHIRLPOOL f0f11b20a0c54e65112a04100cbfa820df0df1b37d6b64f9442ace6494cdf2fe29042214483f4d6f74afe20e5d41e3ef4d7ad50d1c164e455a50f18cb5455173
+MISC ChangeLog 125076 SHA256 f651d70605f8ae93ccdb9ceb573564fec2775055977e602ac564d3b0258cf0fe SHA512 51a82773ecfe6bfef4970101c4267d4b1c2fbb6ba00881e803f17b5aa4cd7e83382bc666f20ee8521fea6f185ef0348b90d8e1bcf164baed372fe02187bd63b3 WHIRLPOOL 7961abd74187c79000c8af46861821623d779985c030f8b3703b359d7e21919c06a6b474df0ce3fa86d5ebef42a4a453c6efe11828b93d6fc8b54ef80dbda672
 MISC metadata.xml 251 SHA256 5a4ff53a9862390a48d45c79be24086646e7a6ff0c5bdf0fcb799d0871299003 SHA512 04153cbd9776ad56a94d6a47d043df15d082d8888df8658f18d0d4b659c6c0526ab3a9b22ccbe2471091bf2d8165f224854bc99c51f3664aaf350ccb93532a7c WHIRLPOOL 2ee8a646c6e23bc46c72cac0ecb5cfe43720ec42404ddaeed8ab1b59d139b3d5c1a94764de847f979da978c001c9f02f709d663a68eeea64d19e88f1fefbca43

diff --git a/dev-java/netbeans-php/netbeans-php-9999_p20141003.ebuild b/dev-java/netbeans-php/netbeans-php-9999_p20141003.ebuild
new file mode 100644
index 0000000..60a5ea6
--- /dev/null
+++ b/dev-java/netbeans-php/netbeans-php-9999_p20141003.ebuild
@@ -0,0 +1,127 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="4"
+inherit eutils java-pkg-2 java-ant-2
+
+DESCRIPTION="Netbeans PHP Cluster"
+HOMEPAGE="http://netbeans.org/projects/php"
+SLOT="9999"
+SOURCE_URL="http://bits.netbeans.org/download/trunk/nightly/2014-10-03_00-01-50/zip/netbeans-trunk-nightly-201410030001-src.zip"
+SRC_URI="${SOURCE_URL}
+	http://dev.gentoo.org/~fordfrog/distfiles/netbeans-9999-r14-build.xml.patch.bz2
+	http://hg.netbeans.org/binaries/0702230EB3354A1687E4496D73A94F33A1E343BD-phpdocdesc.zip
+	http://hg.netbeans.org/binaries/BFB982F9B33E2F1A1766C212C8208793F9B7E77C-phpsigfiles.zip
+	http://hg.netbeans.org/binaries/3D6AF75EA20D715887DAF47A3F063864EF0814C1-predefined_vars.zip"
+LICENSE="|| ( CDDL GPL-2-with-linking-exception )"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+S="${WORKDIR}"
+
+CDEPEND="~dev-java/netbeans-extide-${PV}
+	~dev-java/netbeans-ide-${PV}
+	~dev-java/netbeans-platform-${PV}
+	~dev-java/netbeans-webcommon-${PV}
+	~dev-java/netbeans-websvccommon-${PV}
+	dev-java/javacup:0"
+DEPEND=">=virtual/jdk-1.7
+	app-arch/unzip
+	${CDEPEND}
+	dev-java/javahelp:0"
+RDEPEND=">=virtual/jdk-1.7
+	${CDEPEND}"
+
+INSTALL_DIR="/usr/share/${PN}-${SLOT}"
+
+EANT_BUILD_XML="nbbuild/build.xml"
+EANT_BUILD_TARGET="rebuild-cluster"
+EANT_EXTRA_ARGS="-Drebuild.cluster.name=nb.cluster.php -Dext.binaries.downloaded=true -Dpermit.jdk8.builds=true"
+EANT_FILTER_COMPILER="ecj-3.3 ecj-3.4 ecj-3.5 ecj-3.6 ecj-3.7"
+JAVA_PKG_BSFIX="off"
+
+src_unpack() {
+	unpack $(basename ${SOURCE_URL})
+
+	einfo "Deleting bundled jars..."
+	find -name "*.jar" -type f -delete
+
+	unpack netbeans-9999-r14-build.xml.patch.bz2
+
+	pushd "${S}" >/dev/null || die
+	ln -s "${DISTDIR}"/0702230EB3354A1687E4496D73A94F33A1E343BD-phpdocdesc.zip php.phpdoc.documentation/external/phpdocdesc.zip || die
+	ln -s "${DISTDIR}"/BFB982F9B33E2F1A1766C212C8208793F9B7E77C-phpsigfiles.zip php.project/external/phpsigfiles.zip || die
+	ln -s "${DISTDIR}"/3D6AF75EA20D715887DAF47A3F063864EF0814C1-predefined_vars.zip php.editor/external/predefined_vars.zip || die
+	popd >/dev/null || die
+}
+
+src_prepare() {
+	einfo "Deleting bundled class files..."
+	find -name "*.class" -type f | xargs rm -vf
+
+	epatch netbeans-9999-r14-build.xml.patch
+
+	# Support for custom patches
+	if [ -n "${NETBEANS9999_PATCHES_DIR}" -a -d "${NETBEANS9999_PATCHES_DIR}" ] ; then
+		local files=`find "${NETBEANS9999_PATCHES_DIR}" -type f`
+
+		if [ -n "${files}" ] ; then
+			einfo "Applying custom patches:"
+
+			for file in ${files} ; do
+				epatch "${file}"
+			done
+		fi
+	fi
+
+	einfo "Symlinking external libraries..."
+	java-pkg_jar-from --build-only --into javahelp/external javahelp jhall.jar jhall-2.0_05.jar
+	java-pkg_jar-from --into libs.javacup/external javacup javacup.jar java-cup-11a.jar
+
+	einfo "Linking in other clusters..."
+	mkdir "${S}"/nbbuild/netbeans || die
+	pushd "${S}"/nbbuild/netbeans >/dev/null || die
+
+	ln -s /usr/share/netbeans-extide-${SLOT} extide || die
+	cat /usr/share/netbeans-extide-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+	touch nb.cluster.extide.built
+
+	ln -s /usr/share/netbeans-ide-${SLOT} ide || die
+	cat /usr/share/netbeans-ide-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+	touch nb.cluster.ide.built
+
+	ln -s /usr/share/netbeans-platform-${SLOT} platform || die
+	cat /usr/share/netbeans-platform-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+	touch nb.cluster.platform.built
+
+	ln -s /usr/share/netbeans-webcommon-${SLOT} webcommon || die
+	cat /usr/share/netbeans-webcommon-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+	touch nb.cluster.webcommon.built
+
+	ln -s /usr/share/netbeans-websvccommon-${SLOT} websvccommon || die
+	cat /usr/share/netbeans-websvccommon-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+	touch nb.cluster.websvccommon.built
+
+	popd >/dev/null || die
+
+	java-pkg-2_src_prepare
+}
+
+src_install() {
+	pushd nbbuild/netbeans/php >/dev/null || die
+
+	insinto ${INSTALL_DIR}
+
+	grep -E "/php$" ../moduleCluster.properties > "${D}"/${INSTALL_DIR}/moduleCluster.properties || die
+
+	doins -r *
+
+	popd >/dev/null || die
+
+	local instdir=${INSTALL_DIR}/modules/ext
+	pushd "${D}"/${instdir} >/dev/null || die
+	rm java-cup-11a.jar && dosym /usr/share/javacup/lib/javacup.jar ${instdir}/java-cup-11a.jar || die
+	popd >/dev/null || die
+
+	dosym ${INSTALL_DIR} /usr/share/netbeans-nb-${SLOT}/php
+}

diff --git a/dev-java/netbeans-platform/ChangeLog b/dev-java/netbeans-platform/ChangeLog
index a969115..3381403 100644
--- a/dev-java/netbeans-platform/ChangeLog
+++ b/dev-java/netbeans-platform/ChangeLog
@@ -2,6 +2,12 @@
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+*netbeans-platform-9999_p20141003 (03 Oct 2014)
+
+  03 Oct 2014; Miroslav Šulc <fordfrog@gentoo.org>
+  +netbeans-platform-9999_p20141003.ebuild:
+  bumped to the latest sources
+
 *netbeans-platform-9999_p20141001 (01 Oct 2014)
 
   01 Oct 2014; Miroslav Šulc <fordfrog@gentoo.org>

diff --git a/dev-java/netbeans-platform/Manifest b/dev-java/netbeans-platform/Manifest
index 04d5485..d5d86eb 100644
--- a/dev-java/netbeans-platform/Manifest
+++ b/dev-java/netbeans-platform/Manifest
@@ -45,6 +45,7 @@ DIST netbeans-trunk-nightly-201409260001-src.zip 197125028 SHA256 0b2e8f0b10eb02
 DIST netbeans-trunk-nightly-201409280001-src.zip 197332446 SHA256 eac6b2e0b19817527b56f73f188b53b3f297ce5c20a01be3ccc6902ff2f94ed4 SHA512 fbf694a7138146ceb96ccf0d172b9f8031fd2eb3e06aa438386912bf7ea458874ee7041e25e672db2f297875e03fd75f48e8f4410d2e5153f090e2c09d62bc86 WHIRLPOOL a33730b5f76c4aa67476f70961c0ff5fa1916b9caa87173f1c8a57715fd414c65d77ac9d91cf9a1aacd1c6b6ae070595e7becb4394efcaf14759e10d83aaf4de
 DIST netbeans-trunk-nightly-201409300001-src.zip 197332445 SHA256 c306ca40b2bb2ca3f3a4d3ea10fea43b0bcdaaba31291ec5bdb4dbc7d3e67e34 SHA512 91d56515b70db2c2e0deb22938c38e6b45011eeb74083b474fdad64f7851911fcd93612cf08cfc0e5e03ca0e2a79530c59232dbf865853630640c26cc3105d48 WHIRLPOOL 29423713433df87c5f589742beb10682391dc8fea5b5512948709627b8a31cb802962e8845420fec19cde09672b823470f485c21ea85573fdb20af620b54ba55
 DIST netbeans-trunk-nightly-201410010001-src.zip 197355068 SHA256 0d284d68152ca0da1c8dfb7149e5b2638133fe3be6790f312c9959e59528144b SHA512 33ce5f22e9d3ac55d4f7b4b353956a39e030dee6380c5f379fba810f3ec86f8b36e88b773dbbf8bc3c430fc58caba9097764b7eac2d44ce2a25129f8f20fa4f2 WHIRLPOOL b4228286acec04cb321ca8aba60af42a7a1e2c20de1f657773166021a36e284b5ac4f49e9dbf8a51d81577b0d49d387707de3fcc0a622fd13b57c7d704b3da00
+DIST netbeans-trunk-nightly-201410030001-src.zip 197355085 SHA256 f915305ddfd881aaf161ca366c2af9eb29e954c971e73580aaab68cc0836f53e SHA512 d681dd706f0ca188fd5c8d055c88396e33a4e5b3f956017273e0834c755cb6905427c7a9f1dc12c05668580b2ce09caef1b5ea18e2f15384e06900f6cc197df5 WHIRLPOOL a93aa92eabd9120ec1923d6f7af586bead3915691a795d45e2929623b34c52d267091203c7b6d4e2bf0b1629624e6a49ad2d28bddce35ab9508bdc099aa511ed
 EBUILD netbeans-platform-7.0.1.ebuild 5049 SHA256 b67cf0867358fea808614c02b8b6ea2ab88223f8642175ac3f91dc8c610aca4e SHA512 611b8e831a95d1b4e1c3a1f5e4904c84f9606298a94eb0900ac06cc88670849d218a3a03cce07b2463e206da01ce2931cdb6677948d20d8326908a36851589e6 WHIRLPOOL 01769eca4eb20c2702a432a6180eed16a9a50687016e307e585ab5de5cab8b3b664e456d489ff15d9f5af349f791b161eecb9fef7bfaba09a70e1eaab5d545a0
 EBUILD netbeans-platform-7.1.2.ebuild 5034 SHA256 a069e7e45f768e590e5b30fdda26185d8fde492355e4c530ce44169def991cc6 SHA512 31cfb0d9f13eacfcafd49be995bc456d17a689776e032f68ed4585e068a49f6e992c37c57f23c5e27176fb060996bcfc86b0446ae26efbc488909102fc10c979 WHIRLPOOL 1bd35ac39366fd13192e4a6a177280727bceb2f5f12ff684a288725954a29a240f2d264c3ef2ca38fa3e133063cdd943cce1d0f493f0f8ea9a621833c8f0031b
 EBUILD netbeans-platform-7.2.ebuild 5432 SHA256 227add7f41117667d8487f2bf8eb846c21529e7b2c49dac46e4b3b33062f69b0 SHA512 e49958f21358fe9689336d5cd5edbe435d0a2fd12c315174dcb408bf6ed4e6515d39d458554fb576c342a43f0af50c327bada8fa0b2eb485e14c01ddcdb6248d WHIRLPOOL 4f9101a2d5495fb6002b7791822f85091309c04d6c475060c116725f8da32f9ed270f0c27a9f6a2bd2aa0bd7417b18e9165d1feff7e98f6205bdafff3223e5a3
@@ -60,5 +61,6 @@ EBUILD netbeans-platform-9999_p20140926.ebuild 8294 SHA256 64e5fd5c1beef6fac0b38
 EBUILD netbeans-platform-9999_p20140928.ebuild 8294 SHA256 52432834b340dfe140cf508244855e985b9f5940c78e12787f29616cc958e480 SHA512 1bd39c7da2a7455ee22aff0ee0ba138ec20a90ab961d801de45245ef2b09ce37e0613199a28f9b892e5041fbbdbe96dc3ab5470fdd1aa964c452758267109d3c WHIRLPOOL 4889f4a8ea3c181ff5f7a8b0a5f01611d1bdf466847763f5640c575a6c2eadd4490313af7c06624848251a1d3717507bed8925c8943feccbb17be580965c0248
 EBUILD netbeans-platform-9999_p20140930.ebuild 8294 SHA256 117327238965726ec18d97d40f021882ff7e6d28c7edb875662e1011a833d508 SHA512 39c2e9dcf4fea7e64957761d9bbe95f24a9dc80268c448e80e8359169f2e6affa112917d78d8d68efb99baf6fc2408121a9f850cfa98056a48c8597e8ca18a9a WHIRLPOOL 6981f2bda21619f7a994cddbd665c6ba1f84b1990d314750d70e01ea708fba0b52786ff753b499ee24bdaadaaea62441efbd9e7923c241aae1ed74474a8adcb4
 EBUILD netbeans-platform-9999_p20141001.ebuild 8294 SHA256 d4ff5c530f4ea6bfb0f8d41279ff935fb6a904eb2c991ab80de9cd775a6ad55b SHA512 3ed2e865f8347ddcdbd49b12f774d77e0fec46edce562d16dc4137386b0747559b90d2088ad4867c0d8c5db1275829729fa1397292897e25656a26b37da9ef24 WHIRLPOOL a3da1e0036f9d15112fff3105b7ef11f70661da09c95f48e6db7ad5b6328c9f7dea4d6d718c0c1e31d8feaea35e1308460b68c57b17d609c7bed0622ab7bf71f
-MISC ChangeLog 134482 SHA256 1e87affc9d3325e8daaf422008f3135e93bd17e307000e77f5a4d7f02aa9be64 SHA512 22fdce695b5a60cf4fd134c4ec4e6c43bf19752e17680e4939e5941cbd0e1f7b1ca61c62006393bce1e68bbfcfc1314a34aa366acfdfd1ec7bff2746a50d50aa WHIRLPOOL 676d179367cb22e3b02d6b399c3e2ec04ec673566f456357e68ee585ab2f9c43da19b69669f6556ed0340f451ecc47948d377022a36998ca242442d478289e64
+EBUILD netbeans-platform-9999_p20141003.ebuild 8294 SHA256 42f613b03976defc0bb78eb6904c15bd9ad5735901d755962f07783f93432c58 SHA512 f46ab37ad4ececba934bd49f7ac3f0513a92fb17485b7b101ba577b139ee46a96a3a2b908c5770ce6ffa648281479b140f6b1e1c757f33932b5f8e7b9b5a1798 WHIRLPOOL 999196210c3f87056cf9260bc9ae3a7ec604e4f10bf6a14c71461b97201ae9cf7259460129d6ce455195a4025335c468f67df832b5325c11930628c593a5a482
+MISC ChangeLog 134659 SHA256 88bb0d3acecacad8df0e66cc13714a4ff1a61c0f54e5fef1462134d83a077495 SHA512 87153fced2fece639016b0fb5dbf89e31ac9a315f6f82243e072b8edc28f89ace1305c142cfe926816e150c4d5b8e2e68f5e82f6a4ab1c22e7c5345f72fdf810 WHIRLPOOL 830e972814bada5dd637930c3c0870c4750b19077f54dee1629afc9a7e3de063761bb0e329f86de0c47454f4f679c001b13f0f4a9bb719fd2393924591ae8373
 MISC metadata.xml 251 SHA256 5a4ff53a9862390a48d45c79be24086646e7a6ff0c5bdf0fcb799d0871299003 SHA512 04153cbd9776ad56a94d6a47d043df15d082d8888df8658f18d0d4b659c6c0526ab3a9b22ccbe2471091bf2d8165f224854bc99c51f3664aaf350ccb93532a7c WHIRLPOOL 2ee8a646c6e23bc46c72cac0ecb5cfe43720ec42404ddaeed8ab1b59d139b3d5c1a94764de847f979da978c001c9f02f709d663a68eeea64d19e88f1fefbca43

diff --git a/dev-java/netbeans-platform/netbeans-platform-9999_p20141003.ebuild b/dev-java/netbeans-platform/netbeans-platform-9999_p20141003.ebuild
new file mode 100644
index 0000000..b82bfbb
--- /dev/null
+++ b/dev-java/netbeans-platform/netbeans-platform-9999_p20141003.ebuild
@@ -0,0 +1,153 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="4"
+inherit eutils java-pkg-2 java-ant-2
+
+DESCRIPTION="Netbeans Platform"
+HOMEPAGE="http://netbeans.org/features/platform/"
+SLOT="9999"
+SOURCE_URL="http://bits.netbeans.org/download/trunk/nightly/2014-10-03_00-01-50/zip/netbeans-trunk-nightly-201410030001-src.zip"
+SRC_URI="${SOURCE_URL}
+	http://dev.gentoo.org/~fordfrog/distfiles/netbeans-9999-r14-build.xml.patch.bz2
+	http://hg.netbeans.org/binaries/1BA97A9FFD4A1DFF3E75B76CD3AE3D0EFF8493B7-felix-4.2.1.jar
+	http://hg.netbeans.org/binaries/8B5627E4907808B25628C64F2876B2E64ECDF750-ko4j.jar
+	http://hg.netbeans.org/binaries/4C8F273EB7D02845F42CFBE3DE4EB2BA22AF6357-net-java-html.jar
+	http://hg.netbeans.org/binaries/72B71E13ADC08732D8274083908D47ED9CC37B55-net-java-html-boot.jar
+	http://hg.netbeans.org/binaries/29388BB216B2463DB0B7AD403392C0F7EA7A4260-net-java-html-boot-fx.jar
+	http://hg.netbeans.org/binaries/37B1B513D8E7A2689A92188DABE950E0D63176D3-net-java-html-boot-script.jar
+	http://hg.netbeans.org/binaries/51ADBD6B0FE548E15BD10AFC345CAD48589E960E-net-java-html-geo.jar
+	http://hg.netbeans.org/binaries/D9E741F404CE0751B97A343A665666A441008E4F-net-java-html-json.jar
+	http://hg.netbeans.org/binaries/A89F8D030A3BFCA10880C3274E86D683FCB92062-net-java-html-sound.jar
+	http://hg.netbeans.org/binaries/B27F1304F18FEDE876F940AEFA6C9EB5632619D7-org.eclipse.osgi_3.9.1.v20140110-1610.jar
+	http://hg.netbeans.org/binaries/AD568238EE36A820BD6C6806807E8A14EA34684D-org-ow2-asm.jar
+	http://hg.netbeans.org/binaries/972E6455724DC6ADB1C1912F53B5E3D7DF20C5FD-osgi.cmpn-4.2.jar
+	http://hg.netbeans.org/binaries/1C7FE319052EF49126CF07D0DB6953CB7007229E-swing-layout-1.0.4-doc.zip
+	http://hg.netbeans.org/binaries/AC97B566699146713B3CF0ABC226B5C08EF7CF33-testng-6.8.1-dist.jar
+	http://hg.netbeans.org/binaries/AF022CBCACD8CBFCF946816441D1E7568D817745-testng-6.8.1-javadoc.zip"
+LICENSE="|| ( CDDL GPL-2-with-linking-exception )"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+S="${WORKDIR}"
+
+CDEPEND="dev-java/javahelp:0
+	>=dev-java/jna-3.4:0
+	>=dev-java/osgi-core-api-5:0
+	dev-java/swing-layout:1[source]"
+# oracle-jdk-bin is needed because other jdks do not contain file jre/lib/ext/jfxrt.jar
+# the error:
+#  [parseprojectxml] Distilling /var/tmp/portage/dev-java/netbeans-platform-9999_p20140922/work/nbbuild/build/public-package-jars/org-netbeans-libs-javafx.jar from [/var/tmp/portage/dev-java/netbeans-platform-9999_p20140922/work/nbbuild/netbeans/platform/modules/org-netbeans-libs-javafx.jar, /opt/icedtea-bin-7.2.4.7/jre/lib/ext/jfxrt.jar]
+#  [parseprojectxml] Classpath entry /opt/icedtea-bin-7.2.4.7/jre/lib/ext/jfxrt.jar does not exist; skipping
+#  [nbmerge] Failed to build target: all-api.html4j
+
+DEPEND="dev-java/oracle-jdk-bin:1.7
+	app-arch/unzip
+	${CDEPEND}"
+RDEPEND=">=virtual/jdk-1.7
+	${CDEPEND}"
+
+INSTALL_DIR="/usr/share/${PN}-${SLOT}"
+
+EANT_BUILD_XML="nbbuild/build.xml"
+EANT_BUILD_TARGET="rebuild-cluster"
+EANT_EXTRA_ARGS="-Drebuild.cluster.name=nb.cluster.platform -Dext.binaries.downloaded=true -Djava.awt.headless=true -Dpermit.jdk8.builds=true"
+EANT_FILTER_COMPILER="ecj-3.3 ecj-3.4 ecj-3.5 ecj-3.6 ecj-3.7"
+JAVA_PKG_BSFIX="off"
+JAVA_PKG_WANT_BUILD_VM="oracle-jdk-bin-1.7"
+JAVA_PKG_WANT_SOURCE="1.7"
+JAVA_PKG_WANT_TARGET="1.7"
+
+src_unpack() {
+	unpack $(basename ${SOURCE_URL})
+
+	einfo "Deleting bundled jars..."
+	find -name "*.jar" -type f -delete
+
+	unpack netbeans-9999-r14-build.xml.patch.bz2
+
+	pushd "${S}" >/dev/null || die
+	ln -s "${DISTDIR}"/1BA97A9FFD4A1DFF3E75B76CD3AE3D0EFF8493B7-felix-4.2.1.jar libs.felix/external/felix-4.2.1.jar || die
+	ln -s "${DISTDIR}"/8B5627E4907808B25628C64F2876B2E64ECDF750-ko4j.jar o.n.html.ko4j/external/ko4j.jar || die
+	ln -s "${DISTDIR}"/4C8F273EB7D02845F42CFBE3DE4EB2BA22AF6357-net-java-html.jar net.java.html/external/net-java-html.jar || die
+	ln -s "${DISTDIR}"/72B71E13ADC08732D8274083908D47ED9CC37B55-net-java-html-boot.jar net.java.html.boot/external/net-java-html-boot.jar || die
+	ln -s "${DISTDIR}"/29388BB216B2463DB0B7AD403392C0F7EA7A4260-net-java-html-boot-fx.jar net.java.html.boot.fx/external/net-java-html-boot-fx.jar || die
+	ln -s "${DISTDIR}"/37B1B513D8E7A2689A92188DABE950E0D63176D3-net-java-html-boot-script.jar net.java.html.boot.script/external/net-java-html-boot-script.jar || die
+	ln -s "${DISTDIR}"/51ADBD6B0FE548E15BD10AFC345CAD48589E960E-net-java-html-geo.jar net.java.html.geo/external/net-java-html-geo.jar || die
+	ln -s "${DISTDIR}"/D9E741F404CE0751B97A343A665666A441008E4F-net-java-html-json.jar net.java.html.json/external/net-java-html-json.jar || die
+	ln -s "${DISTDIR}"/A89F8D030A3BFCA10880C3274E86D683FCB92062-net-java-html-sound.jar net.java.html.sound/external/net-java-html-sound.jar || die
+	ln -s "${DISTDIR}"/B27F1304F18FEDE876F940AEFA6C9EB5632619D7-org.eclipse.osgi_3.9.1.v20140110-1610.jar netbinox/external/org.eclipse.osgi_3.9.1.v20140110-1610.jar || die
+	ln -s "${DISTDIR}"/AD568238EE36A820BD6C6806807E8A14EA34684D-org-ow2-asm.jar o.objectweb.asm/external/org-ow2-asm.jar || die
+	ln -s "${DISTDIR}"/972E6455724DC6ADB1C1912F53B5E3D7DF20C5FD-osgi.cmpn-4.2.jar libs.osgi/external/osgi.cmpn-4.2.jar || die
+	ln -s "${DISTDIR}"/1C7FE319052EF49126CF07D0DB6953CB7007229E-swing-layout-1.0.4-doc.zip o.jdesktop.layout/external/swing-layout-1.0.4-doc.zip || die
+	ln -s "${DISTDIR}"/AC97B566699146713B3CF0ABC226B5C08EF7CF33-testng-6.8.1-dist.jar libs.testng/external/testng-6.8.1-dist.jar || die
+	ln -s "${DISTDIR}"/AF022CBCACD8CBFCF946816441D1E7568D817745-testng-6.8.1-javadoc.zip libs.testng/external/testng-6.8.1-javadoc.zip || die
+	popd >/dev/null || die
+}
+
+src_prepare() {
+	einfo "Deleting bundled class files..."
+	find -name "*.class" -type f | xargs rm -vf
+
+	# upstream jna jar contains bundled binary libraries so we disable that feature
+	epatch netbeans-9999-r14-build.xml.patch
+
+	# Support for custom patches
+	if [ -n "${NETBEANS9999_PATCHES_DIR}" -a -d "${NETBEANS9999_PATCHES_DIR}" ] ; then
+		local files=`find "${NETBEANS9999_PATCHES_DIR}" -type f`
+
+		if [ -n "${files}" ] ; then
+			einfo "Applying custom patches:"
+
+			for file in ${files} ; do
+				epatch "${file}"
+			done
+		fi
+	fi
+
+	einfo "Symlinking external libraries..."
+	java-pkg_jar-from --into libs.jna.platform/external jna platform.jar jna-platform-4.1.0.jar
+	java-pkg_jar-from --into javahelp/external javahelp jhall.jar jhall-2.0_05.jar
+	java-pkg_jar-from --into libs.jna/external jna jna.jar jna-4.1.0.jar
+	java-pkg_jar-from --into libs.osgi/external osgi-core-api osgi-core-api.jar osgi.core-5.0.0.jar
+	java-pkg_jar-from --into o.jdesktop.layout/external swing-layout-1 swing-layout.jar swing-layout-1.0.4.jar
+	ln -s /usr/share/swing-layout-1/sources/swing-layout-src.zip o.jdesktop.layout/external/swing-layout-1.0.4-src.zip || die
+
+	java-pkg-2_src_prepare
+}
+
+src_compile() {
+	unset DISPLAY
+	eant -f ${EANT_BUILD_XML} ${EANT_EXTRA_ARGS} ${EANT_BUILD_TARGET} || die "Compilation failed"
+}
+
+src_install() {
+	pushd nbbuild/netbeans/platform >/dev/null || die
+
+	java-pkg_dojar lib/*.jar
+	grep -E "/platform$" ../moduleCluster.properties > "${D}"/${INSTALL_DIR}/moduleCluster.properties || die
+
+	insinto ${INSTALL_DIR}
+	doins -r *
+	rm "${D}"/${INSTALL_DIR}/docs/swing-layout-1.0.4-src.zip || die
+	dosym /usr/share/swing-layout-1/sources/swing-layout-src.zip ${INSTALL_DIR}/docs/swing-layout-1.0.4-src.zip
+	find "${D}"/${INSTALL_DIR} -name "*.exe" -delete
+	find "${D}"/${INSTALL_DIR} -name "*.dll" -delete
+	rm -fr "${D}"/modules/lib || die
+
+	popd >/dev/null || die
+
+	fperms 775 ${INSTALL_DIR}/lib/nbexec
+	dosym ${INSTALL_DIR}/lib/nbexec /usr/bin/nbexec-${SLOT}
+
+	local instdir=${INSTALL_DIR}/modules/ext
+	pushd "${D}"/${instdir} >/dev/null || die
+	rm jhall-2.0_05.jar && dosym /usr/share/javahelp/lib/jhall.jar ${instdir}/jhall-2.0_05.jar || die
+	rm jna-4.1.0.jar && dosym /usr/share/jna/lib/jna.jar ${instdir}/jna-4.1.0.jar || die
+	rm jna-platform-4.1.0.jar && dosym /usr/share/jna/lib/platform.jar ${instdir}/jna-platform-4.1.0.jar || die
+	rm osgi.core-5.0.0.jar && dosym /usr/share/osgi-core-api/lib/osgi-core-api.jar ${instdir}/osgi.core-5.0.0.jar || die
+	rm swing-layout-1.0.4.jar && dosym /usr/share/swing-layout-1/lib/swing-layout.jar ${instdir}/swing-layout-1.0.4.jar || die
+	popd >/dev/null || die
+
+	dosym ${INSTALL_DIR} /usr/share/netbeans-nb-${SLOT}/platform
+}

diff --git a/dev-java/netbeans-profiler/ChangeLog b/dev-java/netbeans-profiler/ChangeLog
index 47be6dc..f45261b 100644
--- a/dev-java/netbeans-profiler/ChangeLog
+++ b/dev-java/netbeans-profiler/ChangeLog
@@ -2,6 +2,12 @@
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+*netbeans-profiler-9999_p20141003 (03 Oct 2014)
+
+  03 Oct 2014; Miroslav Šulc <fordfrog@gentoo.org>
+  +netbeans-profiler-9999_p20141003.ebuild:
+  bumped to the latest sources
+
 *netbeans-profiler-9999_p20141001 (01 Oct 2014)
 
   01 Oct 2014; Miroslav Šulc <fordfrog@gentoo.org>

diff --git a/dev-java/netbeans-profiler/Manifest b/dev-java/netbeans-profiler/Manifest
index bd737af..268e2de 100644
--- a/dev-java/netbeans-profiler/Manifest
+++ b/dev-java/netbeans-profiler/Manifest
@@ -20,6 +20,7 @@ DIST netbeans-trunk-nightly-201409260001-src.zip 197125028 SHA256 0b2e8f0b10eb02
 DIST netbeans-trunk-nightly-201409280001-src.zip 197332446 SHA256 eac6b2e0b19817527b56f73f188b53b3f297ce5c20a01be3ccc6902ff2f94ed4 SHA512 fbf694a7138146ceb96ccf0d172b9f8031fd2eb3e06aa438386912bf7ea458874ee7041e25e672db2f297875e03fd75f48e8f4410d2e5153f090e2c09d62bc86 WHIRLPOOL a33730b5f76c4aa67476f70961c0ff5fa1916b9caa87173f1c8a57715fd414c65d77ac9d91cf9a1aacd1c6b6ae070595e7becb4394efcaf14759e10d83aaf4de
 DIST netbeans-trunk-nightly-201409300001-src.zip 197332445 SHA256 c306ca40b2bb2ca3f3a4d3ea10fea43b0bcdaaba31291ec5bdb4dbc7d3e67e34 SHA512 91d56515b70db2c2e0deb22938c38e6b45011eeb74083b474fdad64f7851911fcd93612cf08cfc0e5e03ca0e2a79530c59232dbf865853630640c26cc3105d48 WHIRLPOOL 29423713433df87c5f589742beb10682391dc8fea5b5512948709627b8a31cb802962e8845420fec19cde09672b823470f485c21ea85573fdb20af620b54ba55
 DIST netbeans-trunk-nightly-201410010001-src.zip 197355068 SHA256 0d284d68152ca0da1c8dfb7149e5b2638133fe3be6790f312c9959e59528144b SHA512 33ce5f22e9d3ac55d4f7b4b353956a39e030dee6380c5f379fba810f3ec86f8b36e88b773dbbf8bc3c430fc58caba9097764b7eac2d44ce2a25129f8f20fa4f2 WHIRLPOOL b4228286acec04cb321ca8aba60af42a7a1e2c20de1f657773166021a36e284b5ac4f49e9dbf8a51d81577b0d49d387707de3fcc0a622fd13b57c7d704b3da00
+DIST netbeans-trunk-nightly-201410030001-src.zip 197355085 SHA256 f915305ddfd881aaf161ca366c2af9eb29e954c971e73580aaab68cc0836f53e SHA512 d681dd706f0ca188fd5c8d055c88396e33a4e5b3f956017273e0834c755cb6905427c7a9f1dc12c05668580b2ce09caef1b5ea18e2f15384e06900f6cc197df5 WHIRLPOOL a93aa92eabd9120ec1923d6f7af586bead3915691a795d45e2929623b34c52d267091203c7b6d4e2bf0b1629624e6a49ad2d28bddce35ab9508bdc099aa511ed
 EBUILD netbeans-profiler-7.0.1.ebuild 3222 SHA256 b1bab800a27c30aaea26b8ff5ab21abdd1bec16b9890133429eca9ea77c018fe SHA512 d6198f44a06561b7e2598fdd6a37f8a3dc13c38f63dfbf6a86a083adbf71e9c62af87cb4e1b5b8dd2dc99feeeb99a7afcbb8f7747c378ad92c71263cc91a6c54 WHIRLPOOL c62613f511636b1f0393ac32c6b50641cdf7df9f9fdc95fd5acbe1a602ffe42fdabb556f989552b05b0607a5ad9d324a2019440c3ae66c50995ef3fc8775f385
 EBUILD netbeans-profiler-7.1.2.ebuild 3231 SHA256 94d87bf6f86add3bdc27f9f20084f35fe584fc2bd697acafa8c23cce16a0d1ee SHA512 dcc8da918a6b6e07ccae513fb4296d16891e205b49098fb8269d16beb9b1367b1920797cc78053b83f4321c1b69faa393365265c72213bb2abfb9d3f84f66319 WHIRLPOOL 18325a1df836e7242838920483c41d43f37b9dae8322d36a2a562b414baa0dc76971f581204ce76a6d64196dd60643089e8704da69617590cda61ce54ce82e8d
 EBUILD netbeans-profiler-7.2.ebuild 3214 SHA256 ddcba9ba672ad566ef256538fc8631ae691aa7c6574269199f26df5382c37f4b SHA512 1bb7eb95381861b8265ab366fe3c7a9b99971d1c4600eb6c7bffb521f4cebb32bcf3d662f82c811d47fe95e77cd39e48f3665f0fcabf9145eb171c2746d89684 WHIRLPOOL 7f74c2be9ec4e7ff419086f1da3b1a12b1c187102def004316ef89ed28f30da62542ed3409a51473a8d9d68d18a30de36b1d0307cd8eeb7e580668fe896c5aa5
@@ -35,5 +36,6 @@ EBUILD netbeans-profiler-9999_p20140926.ebuild 3478 SHA256 4e209e444db5020563fd0
 EBUILD netbeans-profiler-9999_p20140928.ebuild 3478 SHA256 70afc917fd755bbbb9f595b6cd52f5bfc62ee3faefeaf0361f826a553c8cc9f5 SHA512 ecbab83f98dcd42f50216e325b751f242892c5c9790fa0b4772dfe3aa51373018a633cb24f36737366d936e57dd6493166e117023533aa5cff1e0dfb3e044ccb WHIRLPOOL 35610fda54d8a5ea095c4952c87d9b4333996f44c21957135b37e4d89c416ce6a46dbdc9ae382c9be8245c2db979c127dac4dfe4b7524b32d7cd30c8d41ef56e
 EBUILD netbeans-profiler-9999_p20140930.ebuild 3478 SHA256 7a4fbcd1ca53cad4c97ddc47296825372fa3e91010aa4832c3c285702154c696 SHA512 55d2aa0555b0c8285910e6d5f1d5a56392716352b06784c07a08bd604534a81b4523eab66fde8293ef4ad2e6ad0d5a8eb09ebf4f3b239af1c37b536e499b96a8 WHIRLPOOL 34c4811d714b884abafa62d6dbef0c6a7cf5365e4be02ec336cd89db969399b30708e20b006b25068ca5243b52e2c4a982003f8af2f4d5d086ca2a7ee982cd3d
 EBUILD netbeans-profiler-9999_p20141001.ebuild 3478 SHA256 097eb52a75cf1177a9c18a564d7948abcb2d1b6af4ee881506d2f17e6b0e63cb SHA512 b04baa20c9a429aeb97f8f4088242365e4ff1db7a6e95d4f62daf5389bc2711a741e4e48d1f6eb9fb74c5b891a1a2458bcebca44455f608c1c658b06b4402131 WHIRLPOOL f95627ce81b529857b1e80b51374e2669060f4c6235019b8e110b708d9c20f666e0cddb58888bb16d89755441cc1c01b8c9d0efb9e07f72a808d65a09120cd85
-MISC ChangeLog 133943 SHA256 aacfdd99c10c2a42f312a55df0ea0d7f73092a3f9c85454973997c3418480d72 SHA512 81b96d5d6c9e520bcf6b1c8c60a0efbe128b73423ad33d818e5797c08148f2b9223d1cf6604f0b8a82950267c4a1f09b31013486b82db746a49abf7093b79951 WHIRLPOOL cf7d646f189a9536699b18e6e988c6baa178be3a41b89dd6ab5d621e1efa9de45b906ce5a0f9d982a3c4c5c8d2cad4d2cdbf4c535eeb646b6f9e2e64bb21f119
+EBUILD netbeans-profiler-9999_p20141003.ebuild 3478 SHA256 d25c1554d1a2b4346a87fa21b1d1486bbeb731752bd230e73f5b79c25b12359e SHA512 4dd93c44e88624910375039aeceaf6bbe2991f6368d041d278697b16619c6a1f2399af1100de6c5fc50ae82ceb5959ee544d846c92ab6c1b8539cdef5094330f WHIRLPOOL 66d94d8b978e6cec19b4794a30524c5db20cfe19411eba6e6b134323df1625c747e670ae87cef68f68ecaf5c9fa8d0e93042292b1245e46273c1722d78b23f15
+MISC ChangeLog 134120 SHA256 cff6d3fe209f9fcd263bc3beee7fbb5704356d5c3156dbc038a7733d6c8e5344 SHA512 2857d551bdf720dda57dcd48a8ff356e650a4460fc6ff9275f5c90ced60e2dad77e3b8035ba5f081d3b67fbbebcf4c4c9bf21bc596cfcafcf8d7382aa514b2b1 WHIRLPOOL b9349d6c62d9c216db4459703a07329421069242eb8a319e40c49c8bea5314d9da2374c9b7376a8c6352e3b7b7bf59cc8bd1185ac6620f7219edbe3ee1a344e8
 MISC metadata.xml 251 SHA256 5a4ff53a9862390a48d45c79be24086646e7a6ff0c5bdf0fcb799d0871299003 SHA512 04153cbd9776ad56a94d6a47d043df15d082d8888df8658f18d0d4b659c6c0526ab3a9b22ccbe2471091bf2d8165f224854bc99c51f3664aaf350ccb93532a7c WHIRLPOOL 2ee8a646c6e23bc46c72cac0ecb5cfe43720ec42404ddaeed8ab1b59d139b3d5c1a94764de847f979da978c001c9f02f709d663a68eeea64d19e88f1fefbca43

diff --git a/dev-java/netbeans-profiler/netbeans-profiler-9999_p20141003.ebuild b/dev-java/netbeans-profiler/netbeans-profiler-9999_p20141003.ebuild
new file mode 100644
index 0000000..091af43
--- /dev/null
+++ b/dev-java/netbeans-profiler/netbeans-profiler-9999_p20141003.ebuild
@@ -0,0 +1,121 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="4"
+inherit eutils java-pkg-2 java-ant-2
+
+DESCRIPTION="Netbeans Profiler Cluster"
+HOMEPAGE="http://netbeans.org/projects/profiler"
+SLOT="9999"
+SOURCE_URL="http://bits.netbeans.org/download/trunk/nightly/2014-10-03_00-01-50/zip/netbeans-trunk-nightly-201410030001-src.zip"
+SRC_URI="${SOURCE_URL}
+	http://dev.gentoo.org/~fordfrog/distfiles/netbeans-9999-r14-build.xml.patch.bz2"
+LICENSE="|| ( CDDL GPL-2-with-linking-exception )"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+S="${WORKDIR}"
+
+# Binary files needed for remote profiling
+QA_PREBUILT="usr/share/netbeans-profiler-${SLOT}/lib/deployed/*"
+
+CDEPEND="~dev-java/netbeans-extide-${PV}
+	~dev-java/netbeans-ide-${PV}
+	~dev-java/netbeans-java-${PV}
+	~dev-java/netbeans-platform-${PV}"
+DEPEND=">=virtual/jdk-1.7
+	app-arch/unzip
+	${CDEPEND}
+	dev-java/javahelp:0"
+RDEPEND=">=virtual/jdk-1.7
+	${CDEPEND}"
+
+INSTALL_DIR="/usr/share/${PN}-${SLOT}"
+
+EANT_BUILD_XML="nbbuild/build.xml"
+EANT_BUILD_TARGET="rebuild-cluster"
+EANT_EXTRA_ARGS="-Drebuild.cluster.name=nb.cluster.profiler -Dext.binaries.downloaded=true -Dpermit.jdk8.builds=true"
+EANT_FILTER_COMPILER="ecj-3.3 ecj-3.4 ecj-3.5 ecj-3.6 ecj-3.7"
+JAVA_PKG_BSFIX="off"
+
+src_unpack() {
+	unpack $(basename ${SOURCE_URL})
+
+	einfo "Deleting bundled jars..."
+	find -name "*.jar" -type f -delete
+
+	unpack netbeans-9999-r14-build.xml.patch.bz2
+}
+
+src_prepare() {
+	einfo "Deleting bundled class files..."
+	find -name "*.class" -type f | xargs rm -vf
+
+	epatch netbeans-9999-r14-build.xml.patch
+
+	# Support for custom patches
+	if [ -n "${NETBEANS9999_PATCHES_DIR}" -a -d "${NETBEANS9999_PATCHES_DIR}" ] ; then
+		local files=`find "${NETBEANS9999_PATCHES_DIR}" -type f`
+
+		if [ -n "${files}" ] ; then
+			einfo "Applying custom patches:"
+
+			for file in ${files} ; do
+				epatch "${file}"
+			done
+		fi
+	fi
+
+	einfo "Symlinking external libraries..."
+	java-pkg_jar-from --build-only --into javahelp/external javahelp jhall.jar jhall-2.0_05.jar
+
+	einfo "Linking in other clusters..."
+	mkdir "${S}"/nbbuild/netbeans || die
+	pushd "${S}"/nbbuild/netbeans >/dev/null || die
+
+	ln -s /usr/share/netbeans-extide-${SLOT} extide || die
+	cat /usr/share/netbeans-extide-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+	touch nb.cluster.extide.built
+
+	ln -s /usr/share/netbeans-ide-${SLOT} ide || die
+	cat /usr/share/netbeans-ide-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+	touch nb.cluster.ide.built
+
+	ln -s /usr/share/netbeans-java-${SLOT} java || die
+	cat /usr/share/netbeans-java-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+	touch nb.cluster.java.built
+
+	ln -s /usr/share/netbeans-platform-${SLOT} platform || die
+	cat /usr/share/netbeans-platform-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+	touch nb.cluster.platform.built
+
+	popd >/dev/null || die
+
+	java-pkg-2_src_prepare
+}
+
+src_install() {
+	pushd nbbuild/netbeans/profiler >/dev/null || die
+
+	insinto ${INSTALL_DIR}
+
+	grep -E "/profiler$" ../moduleCluster.properties > "${D}"/${INSTALL_DIR}/moduleCluster.properties || die
+
+	doins -r *
+
+	for file in lib/deployed/cvm/linux/*.so ; do
+		fperms 755 ${file}
+	done
+
+	for file in lib/deployed/jdk*/linux*/*.so ; do
+		fperms 755 ${file}
+	done
+
+	for file in remote-pack-defs/*.sh ; do
+		fperms 755 ${file}
+	done
+
+	popd >/dev/null || die
+
+	dosym ${INSTALL_DIR} /usr/share/netbeans-nb-${SLOT}/profiler
+}

diff --git a/dev-java/netbeans-webcommon/ChangeLog b/dev-java/netbeans-webcommon/ChangeLog
index 437e23b..d82adb9 100644
--- a/dev-java/netbeans-webcommon/ChangeLog
+++ b/dev-java/netbeans-webcommon/ChangeLog
@@ -2,6 +2,12 @@
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+*netbeans-webcommon-9999_p20141003 (03 Oct 2014)
+
+  03 Oct 2014; Miroslav Šulc <fordfrog@gentoo.org>
+  +netbeans-webcommon-9999_p20141003.ebuild:
+  bumped to the latest sources
+
 *netbeans-webcommon-9999_p20141001 (01 Oct 2014)
 
   01 Oct 2014; Miroslav Šulc <fordfrog@gentoo.org>

diff --git a/dev-java/netbeans-webcommon/Manifest b/dev-java/netbeans-webcommon/Manifest
index a4f99b0..cb35f58 100644
--- a/dev-java/netbeans-webcommon/Manifest
+++ b/dev-java/netbeans-webcommon/Manifest
@@ -26,6 +26,7 @@ DIST netbeans-trunk-nightly-201409260001-src.zip 197125028 SHA256 0b2e8f0b10eb02
 DIST netbeans-trunk-nightly-201409280001-src.zip 197332446 SHA256 eac6b2e0b19817527b56f73f188b53b3f297ce5c20a01be3ccc6902ff2f94ed4 SHA512 fbf694a7138146ceb96ccf0d172b9f8031fd2eb3e06aa438386912bf7ea458874ee7041e25e672db2f297875e03fd75f48e8f4410d2e5153f090e2c09d62bc86 WHIRLPOOL a33730b5f76c4aa67476f70961c0ff5fa1916b9caa87173f1c8a57715fd414c65d77ac9d91cf9a1aacd1c6b6ae070595e7becb4394efcaf14759e10d83aaf4de
 DIST netbeans-trunk-nightly-201409300001-src.zip 197332445 SHA256 c306ca40b2bb2ca3f3a4d3ea10fea43b0bcdaaba31291ec5bdb4dbc7d3e67e34 SHA512 91d56515b70db2c2e0deb22938c38e6b45011eeb74083b474fdad64f7851911fcd93612cf08cfc0e5e03ca0e2a79530c59232dbf865853630640c26cc3105d48 WHIRLPOOL 29423713433df87c5f589742beb10682391dc8fea5b5512948709627b8a31cb802962e8845420fec19cde09672b823470f485c21ea85573fdb20af620b54ba55
 DIST netbeans-trunk-nightly-201410010001-src.zip 197355068 SHA256 0d284d68152ca0da1c8dfb7149e5b2638133fe3be6790f312c9959e59528144b SHA512 33ce5f22e9d3ac55d4f7b4b353956a39e030dee6380c5f379fba810f3ec86f8b36e88b773dbbf8bc3c430fc58caba9097764b7eac2d44ce2a25129f8f20fa4f2 WHIRLPOOL b4228286acec04cb321ca8aba60af42a7a1e2c20de1f657773166021a36e284b5ac4f49e9dbf8a51d81577b0d49d387707de3fcc0a622fd13b57c7d704b3da00
+DIST netbeans-trunk-nightly-201410030001-src.zip 197355085 SHA256 f915305ddfd881aaf161ca366c2af9eb29e954c971e73580aaab68cc0836f53e SHA512 d681dd706f0ca188fd5c8d055c88396e33a4e5b3f956017273e0834c755cb6905427c7a9f1dc12c05668580b2ce09caef1b5ea18e2f15384e06900f6cc197df5 WHIRLPOOL a93aa92eabd9120ec1923d6f7af586bead3915691a795d45e2929623b34c52d267091203c7b6d4e2bf0b1629624e6a49ad2d28bddce35ab9508bdc099aa511ed
 EBUILD netbeans-webcommon-7.2.ebuild 2665 SHA256 9328ea550dfeca5be5c2b03aa5f512d451f1673e49a40994155fca0b2fb2f79d SHA512 d8b80b79e78769a70d01605a79a8a91f7e839d4138b4cbf28cafca6f56ae3d7003c2f5f40aff77bbe3f2882f43a7d7dca3f0428f0f2723a42ae5b49e4c71ffff WHIRLPOOL 31254cbd2fc6cfb2d1bed4d22958595dbbf73032439f19e684463efbe466ee80c144f77ab00ced7a07815b1cdc1d45a87ceda83e7a2fd20ac2ce65e45d30a093
 EBUILD netbeans-webcommon-7.3.ebuild 2986 SHA256 327c0a73fb20778d9fbe4a12024fa065e4102a7aff3fcbda7448874656a46420 SHA512 3d270e940424b3bcdc8c7f8ff2016d33eb55420ac4037f4e406b688c2acea1b07a04625772265ac293d80c0d1afe3bbe6f865051ed9234b700619bd0781d8b39 WHIRLPOOL 5bc288949ed3aa9c3c4cd4cd33b817fe317754229ad30e80da8cfea817bfb77e988a1d6d3280aaef90619968e0309fad212deff0f7970f04438494a893a30a5b
 EBUILD netbeans-webcommon-7.4.ebuild 4727 SHA256 54a0b63527001da34a21ae3ed69c2cfbf9a446ee69bda4bb6ac5ebb939ebb68d SHA512 96895c972cf7092426ec8bc06dccc6ab4f33334da4e67fd4da01e586801110bda8d955f2f29ecd93b8bb58ae64c4af4139e9954a784c10dec925e2beaeab2394 WHIRLPOOL aa7b3b59d315bd37553052470b1f56f435979569e5ef033493cf6f93c29827f2ecd30f6b874f07a0cd8824469c6546982ac3ed360bf3b6cbf211d95943a3398a
@@ -39,5 +40,6 @@ EBUILD netbeans-webcommon-9999_p20140926.ebuild 5200 SHA256 0b4c8d1ae9f7ec09237f
 EBUILD netbeans-webcommon-9999_p20140928.ebuild 5200 SHA256 6b03353188a8cac4542d1ffb2306392262b573e4b10ede68e7a1b036aaa1f994 SHA512 cd222cb01eee7c69d9d25c430055373832f730cb4cde7a3505cfe831029e9aab683b70190f372f9d8d738eb22355fed1ce41ed01980767186ab576663e631170 WHIRLPOOL c576035a574c4ddc89976cafbd6ce9226e573074e98572cccd9ffb053142b08b2d58e8339fca4e3c8fe16bcc451c195bcd264e6be27a05baf0048ba902ea7058
 EBUILD netbeans-webcommon-9999_p20140930.ebuild 5200 SHA256 cdb54e00dd0fae4066168ae47451668fb9e152e45a16755c11caf323371e2981 SHA512 ed16086751022320e8c666d641e9285344bfaf80b2a0a7cc409de45ea405cdf2d5ec62115bf6e783591de9dd62f61d1d2f8131bf90e884ce9fb50a67b0672dba WHIRLPOOL 0b7848e4303bb8b8d455ff01207594a5760790f6c7b08c01ee2b8a8a43f3444dae346a9065d75902bc9a351963b7fee3cdb38774586edd1b3a8bdd9de11ca00d
 EBUILD netbeans-webcommon-9999_p20141001.ebuild 5200 SHA256 7c10a27e87a96649ece176ad3c4e7e7862e0d9310275fdc654b062f919f6d20c SHA512 2585b719a920ddbb4582af6da2adfb9221ea4e923a55636e56edcf8a1792d3e85575f4567c5b442d6ea1bd6fb0ebc1243dcfd0f2ff440b3193f21473bcc60d64 WHIRLPOOL 6992f752e4561ecdf759ef9c60ea2bd846ab8a06551aaf21b99c8eb1ea4d492816713c002830728f6865c00b0592d645ff700ad50c48c18c5e6f4db9b162f7b8
-MISC ChangeLog 106579 SHA256 42e1e09e876805cd4f7f21c15555ae7e36541259f6e7526c4b3c4f62e2123252 SHA512 c2e4245a0126a977482a98fc59ed83ae9e15311980fca1e2e019a064e7c60240bc35b9490379552340626d4cd280f609ddcd04d53237becd86b4562ab67afd27 WHIRLPOOL fc71c7a7dbafe816cf4dcf93f41d7a739422aeb97eff4bafde5cf1a20848276fe8002aa0dd22cd6feb3214ac57a2b633163c7bfec4f1cfc523ed100fb474265a
+EBUILD netbeans-webcommon-9999_p20141003.ebuild 5200 SHA256 0399443ead08e5c1412583e181e6fa6fa78ec41e1eb2dbc8cb6c303a15cce799 SHA512 24160d2149359382298b6210c868c3ef398f4cd06d2acf957a37af94e821fcfd3cdc5e864b41470b46cf00bea5cd6e4342dde5db95615e80683cb40fb1c3a9d6 WHIRLPOOL daaabd0972ef15112abb3f3f9af62eaf846f99b81aed64fb0272e02ada2c66ab1481bc4e899103fb196d5bbab4fa85839a5abecb99552d6292eea58eed93824f
+MISC ChangeLog 106758 SHA256 5b1ae2a69d54d41aeea0745cdbd1e8280552eb5a16e766494e49d6c328a1f3df SHA512 2f69754c4f09a8a1bd8a3fb4cd00c04ff685d153fa769c5d3c38e69965210bb574c7673a67256692175e431a85c320ae47c0c861a2efe67f3a7a9d562e93ca28 WHIRLPOOL c6c362a6eae0ef204e7eaa28936238505b744ef415d164bf722862797becc72e826f3b68d0798918e29ef89e6676251bd6297896fd9c2694e3f19927a2d26f84
 MISC metadata.xml 251 SHA256 5a4ff53a9862390a48d45c79be24086646e7a6ff0c5bdf0fcb799d0871299003 SHA512 04153cbd9776ad56a94d6a47d043df15d082d8888df8658f18d0d4b659c6c0526ab3a9b22ccbe2471091bf2d8165f224854bc99c51f3664aaf350ccb93532a7c WHIRLPOOL 2ee8a646c6e23bc46c72cac0ecb5cfe43720ec42404ddaeed8ab1b59d139b3d5c1a94764de847f979da978c001c9f02f709d663a68eeea64d19e88f1fefbca43

diff --git a/dev-java/netbeans-webcommon/netbeans-webcommon-9999_p20141003.ebuild b/dev-java/netbeans-webcommon/netbeans-webcommon-9999_p20141003.ebuild
new file mode 100644
index 0000000..758dc62
--- /dev/null
+++ b/dev-java/netbeans-webcommon/netbeans-webcommon-9999_p20141003.ebuild
@@ -0,0 +1,125 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="4"
+inherit eutils java-pkg-2 java-ant-2
+
+DESCRIPTION="Netbeans Web Services Cluster"
+HOMEPAGE="http://netbeans.org/"
+SLOT="9999"
+SOURCE_URL="http://bits.netbeans.org/download/trunk/nightly/2014-10-03_00-01-50/zip/netbeans-trunk-nightly-201410030001-src.zip"
+SRC_URI="${SOURCE_URL}
+	http://dev.gentoo.org/~fordfrog/distfiles/netbeans-9999-r14-build.xml.patch.bz2
+	http://hg.netbeans.org/binaries/20317762D93542637CD2C6123B836C8DA267DE9D-cdnjs.zip
+	http://hg.netbeans.org/binaries/59631804B5A7FF3CEAA3F0E113584AF7E1BB6E9B-dd-plist.jar
+	http://hg.netbeans.org/binaries/7C4A82593A85524A3541E55A4A9C906B773ABAD6-ios-sim
+	http://hg.netbeans.org/binaries/9D29F2A9722C91A403F32971E97DD0E49E97B02E-libiDeviceNativeBinding.dylib
+	http://hg.netbeans.org/binaries/9F0D0D95F57E73C0110FA023813A4F9756D543B1-libimobiledevice.4.dylib
+	http://hg.netbeans.org/binaries/480C9E376169E21EA3BDA5D5841425BD7CC054D7-libplist.1.dylib
+	http://hg.netbeans.org/binaries/08FE518AB60FFA2E5440B75B4D9F8502E0791B3C-libs.jstestdriver-ext.jar
+	http://hg.netbeans.org/binaries/D05B7274396C8EED185207399B6D0400DE347DB7-libusbmuxd.2.dylib"
+LICENSE="|| ( CDDL GPL-2-with-linking-exception )"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+S="${WORKDIR}"
+
+CDEPEND="~dev-java/netbeans-platform-${PV}
+	~dev-java/netbeans-extide-${PV}
+	~dev-java/netbeans-ide-${PV}
+	dev-java/commons-compress:0"
+DEPEND=">=virtual/jdk-1.7
+	app-arch/unzip
+	${CDEPEND}
+	dev-java/javahelp:0"
+RDEPEND=">=virtual/jdk-1.7
+	${CDEPEND}"
+
+INSTALL_DIR="/usr/share/${PN}-${SLOT}"
+
+EANT_BUILD_XML="nbbuild/build.xml"
+EANT_BUILD_TARGET="rebuild-cluster"
+EANT_EXTRA_ARGS="-Drebuild.cluster.name=nb.cluster.webcommon -Dext.binaries.downloaded=true -Dpermit.jdk8.builds=true"
+EANT_FILTER_COMPILER="ecj-3.3 ecj-3.4 ecj-3.5 ecj-3.6 ecj-3.7"
+JAVA_PKG_BSFIX="off"
+
+src_unpack() {
+	unpack $(basename ${SOURCE_URL})
+
+	einfo "Deleting bundled jars..."
+	find -name "*.jar" -type f -delete
+
+	unpack netbeans-9999-r14-build.xml.patch.bz2
+
+	pushd "${S}" >/dev/null || die
+	ln -s "${DISTDIR}"/20317762D93542637CD2C6123B836C8DA267DE9D-cdnjs.zip web.clientproject.api/external/cdnjs.zip || die
+	ln -s "${DISTDIR}"/59631804B5A7FF3CEAA3F0E113584AF7E1BB6E9B-dd-plist.jar libs.plist/external/dd-plist.jar || die
+	ln -s "${DISTDIR}"/7C4A82593A85524A3541E55A4A9C906B773ABAD6-ios-sim cordova.platforms.ios/external/ios-sim || die
+	ln -s "${DISTDIR}"/9D29F2A9722C91A403F32971E97DD0E49E97B02E-libiDeviceNativeBinding.dylib cordova.platforms.ios/external/libiDeviceNativeBinding.dylib || die
+	ln -s "${DISTDIR}"/9F0D0D95F57E73C0110FA023813A4F9756D543B1-libimobiledevice.4.dylib cordova.platforms.ios/external/libimobiledevice.4.dylib || die
+	ln -s "${DISTDIR}"/480C9E376169E21EA3BDA5D5841425BD7CC054D7-libplist.1.dylib cordova.platforms.ios/external/libplist.1.dylib || die
+	ln -s "${DISTDIR}"/08FE518AB60FFA2E5440B75B4D9F8502E0791B3C-libs.jstestdriver-ext.jar libs.jstestdriver/external/libs.jstestdriver-ext.jar || die
+	ln -s "${DISTDIR}"/D05B7274396C8EED185207399B6D0400DE347DB7-libusbmuxd.2.dylib cordova.platforms.ios/external/libusbmuxd.2.dylib || die
+	popd >/dev/null || die
+}
+
+src_prepare() {
+	einfo "Deleting bundled class files..."
+	find -name "*.class" -type f | xargs rm -vf
+
+	epatch netbeans-9999-r14-build.xml.patch
+
+	# Support for custom patches
+	if [ -n "${NETBEANS9999_PATCHES_DIR}" -a -d "${NETBEANS9999_PATCHES_DIR}" ] ; then
+		local files=`find "${NETBEANS9999_PATCHES_DIR}" -type f`
+
+		if [ -n "${files}" ] ; then
+			einfo "Applying custom patches:"
+
+			for file in ${files} ; do
+				epatch "${file}"
+			done
+		fi
+	fi
+
+	einfo "Symlinking external libraries..."
+	java-pkg_jar-from --into libs.commons_compress/external commons-compress commons-compress.jar commons-compress-1.8.1.jar
+	java-pkg_jar-from --build-only --into javahelp/external javahelp jhall.jar jhall-2.0_05.jar
+
+	einfo "Linking in other clusters..."
+	mkdir "${S}"/nbbuild/netbeans || die
+	pushd "${S}"/nbbuild/netbeans >/dev/null || die
+
+	ln -s /usr/share/netbeans-platform-${SLOT} platform || die
+	cat /usr/share/netbeans-platform-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+	touch nb.cluster.platform.built
+
+	ln -s /usr/share/netbeans-extide-${SLOT} extide || die
+	cat /usr/share/netbeans-extide-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+	touch nb.cluster.extide.built
+
+	ln -s /usr/share/netbeans-ide-${SLOT} ide || die
+	cat /usr/share/netbeans-ide-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+	touch nb.cluster.ide.built
+
+	popd >/dev/null || die
+
+	java-pkg-2_src_prepare
+}
+
+src_install() {
+	pushd nbbuild/netbeans/webcommon >/dev/null || die
+
+	insinto ${INSTALL_DIR}
+	grep -E "/webcommon$" ../moduleCluster.properties > "${D}"/${INSTALL_DIR}/moduleCluster.properties || die
+	doins -r *
+
+	popd >/dev/null || die
+
+	local instdir=/${INSTALL_DIR}/modules/ext
+	pushd "${D}"/${instdir} >/dev/null || die
+	rm commons-compress-1.8.1.jar  && dosym /usr/share/commons-compress/lib/commons-compress.jar ${instdir}/commons-compress-1.8.1.jar || die
+	popd >/dev/null || die
+
+	dosym ${INSTALL_DIR} /usr/share/netbeans-nb-${SLOT}/webcommon
+}

diff --git a/dev-java/netbeans-websvccommon/ChangeLog b/dev-java/netbeans-websvccommon/ChangeLog
index eedd5c5..f297c67 100644
--- a/dev-java/netbeans-websvccommon/ChangeLog
+++ b/dev-java/netbeans-websvccommon/ChangeLog
@@ -2,6 +2,12 @@
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+*netbeans-websvccommon-9999_p20141003 (03 Oct 2014)
+
+  03 Oct 2014; Miroslav Šulc <fordfrog@gentoo.org>
+  +netbeans-websvccommon-9999_p20141003.ebuild:
+  bumped to the latest sources
+
 *netbeans-websvccommon-9999_p20141001 (01 Oct 2014)
 
   01 Oct 2014; Miroslav Šulc <fordfrog@gentoo.org>

diff --git a/dev-java/netbeans-websvccommon/Manifest b/dev-java/netbeans-websvccommon/Manifest
index 27f4cc4..43ddc20 100644
--- a/dev-java/netbeans-websvccommon/Manifest
+++ b/dev-java/netbeans-websvccommon/Manifest
@@ -20,6 +20,7 @@ DIST netbeans-trunk-nightly-201409260001-src.zip 197125028 SHA256 0b2e8f0b10eb02
 DIST netbeans-trunk-nightly-201409280001-src.zip 197332446 SHA256 eac6b2e0b19817527b56f73f188b53b3f297ce5c20a01be3ccc6902ff2f94ed4 SHA512 fbf694a7138146ceb96ccf0d172b9f8031fd2eb3e06aa438386912bf7ea458874ee7041e25e672db2f297875e03fd75f48e8f4410d2e5153f090e2c09d62bc86 WHIRLPOOL a33730b5f76c4aa67476f70961c0ff5fa1916b9caa87173f1c8a57715fd414c65d77ac9d91cf9a1aacd1c6b6ae070595e7becb4394efcaf14759e10d83aaf4de
 DIST netbeans-trunk-nightly-201409300001-src.zip 197332445 SHA256 c306ca40b2bb2ca3f3a4d3ea10fea43b0bcdaaba31291ec5bdb4dbc7d3e67e34 SHA512 91d56515b70db2c2e0deb22938c38e6b45011eeb74083b474fdad64f7851911fcd93612cf08cfc0e5e03ca0e2a79530c59232dbf865853630640c26cc3105d48 WHIRLPOOL 29423713433df87c5f589742beb10682391dc8fea5b5512948709627b8a31cb802962e8845420fec19cde09672b823470f485c21ea85573fdb20af620b54ba55
 DIST netbeans-trunk-nightly-201410010001-src.zip 197355068 SHA256 0d284d68152ca0da1c8dfb7149e5b2638133fe3be6790f312c9959e59528144b SHA512 33ce5f22e9d3ac55d4f7b4b353956a39e030dee6380c5f379fba810f3ec86f8b36e88b773dbbf8bc3c430fc58caba9097764b7eac2d44ce2a25129f8f20fa4f2 WHIRLPOOL b4228286acec04cb321ca8aba60af42a7a1e2c20de1f657773166021a36e284b5ac4f49e9dbf8a51d81577b0d49d387707de3fcc0a622fd13b57c7d704b3da00
+DIST netbeans-trunk-nightly-201410030001-src.zip 197355085 SHA256 f915305ddfd881aaf161ca366c2af9eb29e954c971e73580aaab68cc0836f53e SHA512 d681dd706f0ca188fd5c8d055c88396e33a4e5b3f956017273e0834c755cb6905427c7a9f1dc12c05668580b2ce09caef1b5ea18e2f15384e06900f6cc197df5 WHIRLPOOL a93aa92eabd9120ec1923d6f7af586bead3915691a795d45e2929623b34c52d267091203c7b6d4e2bf0b1629624e6a49ad2d28bddce35ab9508bdc099aa511ed
 EBUILD netbeans-websvccommon-7.0.1.ebuild 2692 SHA256 a18cf7fe0a1e38749826cb12651be06c210b038be50117647496ee6cbd184cda SHA512 32b32894713d7235ebd03446c5c411d22eb8701b96e3d3ac54eca78b2abc833babf279085cea3b74bb7bddc6d89a283a21c58a0b0462042ddd10e22dfcadeb84 WHIRLPOOL 59c18168245767acd1f8e53046f8942698237aa6fd903a669c626b7f17cf3d39247b7ae57f2984562230267885a4b6a62be43dc8a330f1dfeb2cc7acbbd7d3c6
 EBUILD netbeans-websvccommon-7.1.2.ebuild 2701 SHA256 3b2a1cf0d32db3c55b66d1c6b8c4ae2ad5487d3fdb27752468ce5c860f9b9515 SHA512 b9be64755f00157c2d6984887b8c0fdc1e34470f21df1fd72b3e399d3ec894af01c9b79fd604778213ac2086a6c96bf66366e8c2c8bf97f7fee23d16ceb36974 WHIRLPOOL 91559de8c8f6391c3c69888854778a91a1a7e0052ae69eb9762bcbd64d8bc5587fb84ebb55d7d0375da5a7855aa8672abfd035b6a38b3eeb5c23a4cd59b3cdce
 EBUILD netbeans-websvccommon-7.2.ebuild 2684 SHA256 8bf8cad1e0469713c63280620fed089600191230f501a78b834b010f8fa9b3e9 SHA512 fe885f92a7c6cfac532c8e40e4df6283253c43294e9d82ee4d0d070425496eee3792479c268b46bf1fd484f753ca1f21e7ca38a5d71816b6d4fd219082e8e276 WHIRLPOOL 9d2d622d4a800470c874d8751e9c2055e0a4ef72ad01a01aefda4e95a7f295d55fc95fdb55fdd1f631212e1f610bdc7a6b4ee631b92492bb85f73b0d9fb4ba26
@@ -35,5 +36,6 @@ EBUILD netbeans-websvccommon-9999_p20140926.ebuild 2727 SHA256 9f872accec4eb4489
 EBUILD netbeans-websvccommon-9999_p20140928.ebuild 2727 SHA256 00182a2c7b3a62424c4b3443cf66ae010573b061af78d7d85feef61353841cec SHA512 82d87caf0b5dc2b2daab3f330a15e9dd53a7e4a96830b102a77b7c26841c590a742c03c835b40a41b39e13dd776b82cfd2cfc3fbf55ce3cb7df953dcbc4a55e5 WHIRLPOOL 76cdf1e62eb6648f35165d9d5e5a28e33765d76fe723608973b4f0b184e8c97502329067f3e7cab5d7aa7d01900802479b68c923c6ef254294a75f055b0e7334
 EBUILD netbeans-websvccommon-9999_p20140930.ebuild 2727 SHA256 ee3115987a38de6f5552b357296579ca615567f0a86ce2442cd1b064ba1fff93 SHA512 470999e89fdd369dc1d4685507fd7d2100a5949dd954d228b8b7a9ffeb8396afd88292c8675ee0fa1115ba1ef4266a17ee1ee8675f4245f1ebe357d6f775c54d WHIRLPOOL 4ba2347f0dee6c3b7d217e2f296f4d766efedb1d93db2c67080eb34d09c9882139396dea470283286aa1de5e601c00b2a3064753a357f8a6156baee41d152c8f
 EBUILD netbeans-websvccommon-9999_p20141001.ebuild 2727 SHA256 20bbe64780cf319c6580fde9b1c93e609255a7befcab1da9bf762da69cd5c0e9 SHA512 feee7f93cfb6f05e90c79bdb72d3dd4c12153b667a3cd9f25fce855fdf08cbd209de935a215d2e6e958cca3d4de6206cc0b8cb8bdcd7dc3d7e8e00662fc1fbeb WHIRLPOOL 88e2f225ce977ad689d974c072b709436e1943ad147b545abfdce61812ebe0e91271b1e187d4167563ae3a6d93f04ee481fbefe20e30631ca6e1d47bc6e91ff8
-MISC ChangeLog 140228 SHA256 138f00ab5d432e1d53f9dffa45ad80737ebe3fbbfee28b6a25268d38d9bddbef SHA512 0b96a3f0176275ab47796957040f8be10216fd7662fb9133cf67f2f6a8f555c05a843b4f6d6eb348bc30e8aac4aaa48a7fa6aba66940a0bfd97a14b9f498106f WHIRLPOOL 996a765b768f75e3e8f475867d0a275f84ff068d6cf9f42dbec9bfa84dbc68d51ed9eee0451598039ad3b19982075c9dc15175cb91967057904c96c9acfff751
+EBUILD netbeans-websvccommon-9999_p20141003.ebuild 2727 SHA256 4304d667c6c2c1401e704d1c20d1ea3617fce09f5b1db4656620165ef67ddbd6 SHA512 23467cfeb5086e433b1a5ef72983faea23c4c81167d12bf0f3a2defdad84c3b09cc4f18caf6c4958cdd18ad200f7ef909a6e75f15c8bb0a2783df0720a2d3ab0 WHIRLPOOL 2621cfe00f8497d41ebb77a42bd1b8c6e3a987dc2d6b1e749c6edf2ae6a0e14291a65cd7703fe1fe4c383510870c9919f008174c28295d89cf95a58dc6075a1c
+MISC ChangeLog 140413 SHA256 652da8b2911e115f54180eba11ec87acca993714f97961830fc04b66d52f5363 SHA512 348369ce0818056f66e4f33742002d9e0181b1733daa17ace221b87190408e5a91a588e83a4aa1b5466b1e2adc3ae4385d3e24fbeae2924b7330fdf140abed1e WHIRLPOOL 831aa476a2276b86cfc55cf50a65d8049663ea8f0219b2fc40e26e4c3619820f336d4b0e5d9c075565f19efd8f01906e126572db9384ebec8a5b753e854d4e0e
 MISC metadata.xml 251 SHA256 5a4ff53a9862390a48d45c79be24086646e7a6ff0c5bdf0fcb799d0871299003 SHA512 04153cbd9776ad56a94d6a47d043df15d082d8888df8658f18d0d4b659c6c0526ab3a9b22ccbe2471091bf2d8165f224854bc99c51f3664aaf350ccb93532a7c WHIRLPOOL 2ee8a646c6e23bc46c72cac0ecb5cfe43720ec42404ddaeed8ab1b59d139b3d5c1a94764de847f979da978c001c9f02f709d663a68eeea64d19e88f1fefbca43

diff --git a/dev-java/netbeans-websvccommon/netbeans-websvccommon-9999_p20141003.ebuild b/dev-java/netbeans-websvccommon/netbeans-websvccommon-9999_p20141003.ebuild
new file mode 100644
index 0000000..e472b43
--- /dev/null
+++ b/dev-java/netbeans-websvccommon/netbeans-websvccommon-9999_p20141003.ebuild
@@ -0,0 +1,94 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="4"
+inherit eutils java-pkg-2 java-ant-2
+
+DESCRIPTION="Netbeans Web Services Common Cluster"
+HOMEPAGE="http://netbeans.org/"
+SLOT="9999"
+SOURCE_URL="http://bits.netbeans.org/download/trunk/nightly/2014-10-03_00-01-50/zip/netbeans-trunk-nightly-201410030001-src.zip"
+SRC_URI="${SOURCE_URL}
+	http://dev.gentoo.org/~fordfrog/distfiles/netbeans-9999-r14-build.xml.patch.bz2"
+LICENSE="|| ( CDDL GPL-2-with-linking-exception )"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+S="${WORKDIR}"
+
+CDEPEND="~dev-java/netbeans-platform-${PV}
+	~dev-java/netbeans-ide-${PV}"
+DEPEND=">=virtual/jdk-1.7
+	app-arch/unzip
+	${CDEPEND}
+	dev-java/javahelp:0"
+RDEPEND=">=virtual/jdk-1.7
+	${CDEPEND}"
+
+INSTALL_DIR="/usr/share/${PN}-${SLOT}"
+
+EANT_BUILD_XML="nbbuild/build.xml"
+EANT_BUILD_TARGET="rebuild-cluster"
+EANT_EXTRA_ARGS="-Drebuild.cluster.name=nb.cluster.websvccommon -Dext.binaries.downloaded=true -Dpermit.jdk8.builds=true"
+EANT_FILTER_COMPILER="ecj-3.3 ecj-3.4 ecj-3.5 ecj-3.6 ecj-3.7"
+JAVA_PKG_BSFIX="off"
+
+src_unpack() {
+	unpack $(basename ${SOURCE_URL})
+
+	einfo "Deleting bundled jars..."
+	find -name "*.jar" -type f -delete
+
+	unpack netbeans-9999-r14-build.xml.patch.bz2
+}
+
+src_prepare() {
+	einfo "Deleting bundled class files..."
+	find -name "*.class" -type f | xargs rm -vf
+
+	epatch netbeans-9999-r14-build.xml.patch
+
+	# Support for custom patches
+	if [ -n "${NETBEANS9999_PATCHES_DIR}" -a -d "${NETBEANS9999_PATCHES_DIR}" ] ; then
+		local files=`find "${NETBEANS9999_PATCHES_DIR}" -type f`
+
+		if [ -n "${files}" ] ; then
+			einfo "Applying custom patches:"
+
+			for file in ${files} ; do
+				epatch "${file}"
+			done
+		fi
+	fi
+
+	einfo "Symlinking external libraries..."
+	java-pkg_jar-from --build-only --into javahelp/external javahelp jhall.jar jhall-2.0_05.jar
+
+	einfo "Linking in other clusters..."
+	mkdir "${S}"/nbbuild/netbeans || die
+	pushd "${S}"/nbbuild/netbeans >/dev/null || die
+
+	ln -s /usr/share/netbeans-platform-${SLOT} platform || die
+	cat /usr/share/netbeans-platform-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+	touch nb.cluster.platform.built
+
+	ln -s /usr/share/netbeans-ide-${SLOT} ide || die
+	cat /usr/share/netbeans-ide-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+	touch nb.cluster.ide.built
+
+	popd >/dev/null || die
+
+	java-pkg-2_src_prepare
+}
+
+src_install() {
+	pushd nbbuild/netbeans/websvccommon >/dev/null || die
+
+	insinto ${INSTALL_DIR}
+	grep -E "/websvccommon$" ../moduleCluster.properties > "${D}"/${INSTALL_DIR}/moduleCluster.properties || die
+	doins -r *
+
+	popd >/dev/null || die
+
+	dosym ${INSTALL_DIR} /usr/share/netbeans-nb-${SLOT}/websvccommon
+}

diff --git a/dev-util/netbeans/ChangeLog b/dev-util/netbeans/ChangeLog
index af3d0c0..12c8ede 100644
--- a/dev-util/netbeans/ChangeLog
+++ b/dev-util/netbeans/ChangeLog
@@ -2,6 +2,12 @@
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+*netbeans-9999_p20141003 (03 Oct 2014)
+
+  03 Oct 2014; Miroslav Šulc <fordfrog@gentoo.org>
+  +netbeans-9999_p20141003.ebuild:
+  bumped to the latest sources
+
 *netbeans-9999_p20141001 (01 Oct 2014)
 
   01 Oct 2014; Miroslav Šulc <fordfrog@gentoo.org>

diff --git a/dev-util/netbeans/Manifest b/dev-util/netbeans/Manifest
index 62a40f4..ac0939a 100644
--- a/dev-util/netbeans/Manifest
+++ b/dev-util/netbeans/Manifest
@@ -27,6 +27,7 @@ DIST netbeans-trunk-nightly-201409260001-src.zip 197125028 SHA256 0b2e8f0b10eb02
 DIST netbeans-trunk-nightly-201409280001-src.zip 197332446 SHA256 eac6b2e0b19817527b56f73f188b53b3f297ce5c20a01be3ccc6902ff2f94ed4 SHA512 fbf694a7138146ceb96ccf0d172b9f8031fd2eb3e06aa438386912bf7ea458874ee7041e25e672db2f297875e03fd75f48e8f4410d2e5153f090e2c09d62bc86 WHIRLPOOL a33730b5f76c4aa67476f70961c0ff5fa1916b9caa87173f1c8a57715fd414c65d77ac9d91cf9a1aacd1c6b6ae070595e7becb4394efcaf14759e10d83aaf4de
 DIST netbeans-trunk-nightly-201409300001-src.zip 197332445 SHA256 c306ca40b2bb2ca3f3a4d3ea10fea43b0bcdaaba31291ec5bdb4dbc7d3e67e34 SHA512 91d56515b70db2c2e0deb22938c38e6b45011eeb74083b474fdad64f7851911fcd93612cf08cfc0e5e03ca0e2a79530c59232dbf865853630640c26cc3105d48 WHIRLPOOL 29423713433df87c5f589742beb10682391dc8fea5b5512948709627b8a31cb802962e8845420fec19cde09672b823470f485c21ea85573fdb20af620b54ba55
 DIST netbeans-trunk-nightly-201410010001-src.zip 197355068 SHA256 0d284d68152ca0da1c8dfb7149e5b2638133fe3be6790f312c9959e59528144b SHA512 33ce5f22e9d3ac55d4f7b4b353956a39e030dee6380c5f379fba810f3ec86f8b36e88b773dbbf8bc3c430fc58caba9097764b7eac2d44ce2a25129f8f20fa4f2 WHIRLPOOL b4228286acec04cb321ca8aba60af42a7a1e2c20de1f657773166021a36e284b5ac4f49e9dbf8a51d81577b0d49d387707de3fcc0a622fd13b57c7d704b3da00
+DIST netbeans-trunk-nightly-201410030001-src.zip 197355085 SHA256 f915305ddfd881aaf161ca366c2af9eb29e954c971e73580aaab68cc0836f53e SHA512 d681dd706f0ca188fd5c8d055c88396e33a4e5b3f956017273e0834c755cb6905427c7a9f1dc12c05668580b2ce09caef1b5ea18e2f15384e06900f6cc197df5 WHIRLPOOL a93aa92eabd9120ec1923d6f7af586bead3915691a795d45e2929623b34c52d267091203c7b6d4e2bf0b1629624e6a49ad2d28bddce35ab9508bdc099aa511ed
 EBUILD netbeans-7.0.1-r2.ebuild 6736 SHA256 e808fba2ddb516270d93b5cf67cff60d98b37ca58a158878f2e3b3ad696cfc82 SHA512 653fb585d9eaa20fcf88d778a7f34d63c9f29f2af2153a432fcab6d977ef9619c699b19587a48b148ccf717f4b31a43859b81cff80d5d84ad273c5fa16e8f565 WHIRLPOOL 257f2466c3ad198a05db9d5e377cad2707f8a4daf1f421e516d7435670a85fd4bb5f6b3ab657ebda8cc23937e1b4e1f4acce8cccd85bccddc5a7b1f9abbde0ce
 EBUILD netbeans-7.1.2.ebuild 6976 SHA256 4222e248dfb664ccfea85d4938ad691d3685f32d8e9b33289d1dda088057261b SHA512 cc0a20bd542b61621fe08d5413611f7bcbbebf0c37d5f67c590c31324e74eb5594e72efacc86d843ff3abffc98c4859c2733c63ce6f993baf51e24d69197b64d WHIRLPOOL 30fb7b0cbf22fc39a8dabefd27a0073ce73e62ef082d55839fb7f815bb73bc5c3c24c3418ce175f355d7c64138ef7e9616da41c68b3b57a70353d16c6113daf7
 EBUILD netbeans-7.2.ebuild 7057 SHA256 29140b2779f1a24722499605101c286d05415b4f97d2363afedef711cc586067 SHA512 0776f530f9530c533b13019f7b34fc664990a16926bcff768d0a9f3b9035de82dcd2ed66425ad8da27c65aa69fe3e6be966e0a1ee1bc222949e5d42e14f7f7f1 WHIRLPOOL 9fcb95348171fb0bd8d794b80b51b2e3ce36fd84ccc81653bdd0172cbfa99791e527b33c895ebf7b4d81c228f17d4afab367eb55ceffe28df835b2d09dc8f778
@@ -42,5 +43,6 @@ EBUILD netbeans-9999_p20140926.ebuild 7216 SHA256 bab14069b4adf60682e513e93680d3
 EBUILD netbeans-9999_p20140928.ebuild 7216 SHA256 ae412c191e0df231d10dbdfe5809c11a0b0cddbeae2ba09f6ee9e710487328d5 SHA512 dd3597cdcd4b038e2a55251810fdcefd668351a4226fc00a578af0a7d8567d0d3fc2512bc414992ce109ce6195f12e5bc262fac48c77cd831ad2218bb23efc52 WHIRLPOOL 4579d9135038581e00f416bb88d4a2651d03d0ca1a4e6c7129caaef5db5051123b6c776b86d8b5414e117583bbc2cf1823a9deda1714078062d50c4b0e269978
 EBUILD netbeans-9999_p20140930.ebuild 7216 SHA256 6187eca96432b7aeb7dcff03d71428f7d429ba8703f6ff320f78e7abef2cd169 SHA512 d8c780a28906376bae270920322577ac26c3c900d66ff1b817cf1631a6cddd84c15195bda8a509d240adc5acfee717d0b4b48f1970c5b3f151c686b23b14e927 WHIRLPOOL 0d1d184d098ab445ef02039c6581acbd3858846f70bd0977bc5fe25954f9ebfab891a71295de5ef3983d77ed7e2735d467492690c163036c4b3b50d0261cc961
 EBUILD netbeans-9999_p20141001.ebuild 7216 SHA256 ef3031933a51ec21dd8fc568b70766aecc7017fb53782aca4d46e9c0b82536da SHA512 491e6f8ac7b1ff6d60edd3a48e34906fd5be7732f73ad21debe06f877084af2d9d25cc916254f2d12e5734e3ac91a22cb442f7c08040d9fb8dbe29ace046dccd WHIRLPOOL 077bb4a905308cecb819aaa7147465eb6b815d384ee353713675a29e044afc9d1fc25c2ad3bc0e2b0bf6e7194d631f5f1469e75a0d6d72e8ab5dfe65cb28b008
-MISC ChangeLog 119698 SHA256 15a8f4ea59b743fcd44b4a42083da194033f47b46e266955809c7cf5f97d139c SHA512 20f33afb69244f4cd70fe3fe926467dd05059dd5621e5db33d6c8fbba513632adbe11af2264083bf797380ff4a0708301412371dbebf6c775c527ac52cdd496a WHIRLPOOL 40958543aeb1008522e24bc1125682246d51c6efc76698de5ba046da6894d2c3d4bec3a0ae2d0f180ac642203c8505f1b57cd2f8c437a2ec83603c0cb89313a0
+EBUILD netbeans-9999_p20141003.ebuild 7216 SHA256 bdee3f1ea325a8441f4caeefd7e82cbf11d6104ad6d9b1b6e0fdd0308f0dc9e2 SHA512 8828e099e4ed134249d02b26c192799a74d339b7f74401c7ad35c0c4cfd6f8fe6a0a8d4d440b02116a22f6b30a844acd70e9467e31ef3b1ecd2d7db722bb2317 WHIRLPOOL 8c04c3019e77afd3b03af340dc0ab06f6cb457d6babf317e89a1f09b18a566aaec5288ccfd80f1ff76716b39fc701fc2a1fbbf915b6b2b49730c3133baf6e526
+MISC ChangeLog 119857 SHA256 1a0e6b4a808906e812a466587f28b73d20711a0c85ac275328423a170bd2750b SHA512 99be80e0550706155b1789c4971a3dafae83cedade712be03763e7b98a269ba08eda9e6851c0b05c28756c6b4d0aa1cd361794ff3a86e69ddf8e85ab361f552f WHIRLPOOL b5b094d99e0ceb0d0c2de8117080d75b86cf370e33237eff4cef7b91f3985a4f0a9c87284bfc8176bb2b77c5fcf5955801011ede8df430995f48d2e16c8db111
 MISC metadata.xml 333 SHA256 a7c289d7be537b4c51bd8100bca0d8a40ceb5fb011942bbd1b286841cf3c1d0a SHA512 3f730fc27f893489524053e81a465519037a68e297f02a5d6400f85f8bfd8a20006e5515a135b8a5779ebf5951a661d99aaa8bf3b9b96141f863e134dba2265e WHIRLPOOL d37106234351185946f6dc870e9b77babd38bed88673771949d26d176d8dad4071be5f2c59bf72b139a6a35c899c2c7ac9ffde1c7b4885135d52c821780cf3d2

diff --git a/dev-util/netbeans/netbeans-9999_p20141003.ebuild b/dev-util/netbeans/netbeans-9999_p20141003.ebuild
new file mode 100644
index 0000000..1a8065d
--- /dev/null
+++ b/dev-util/netbeans/netbeans-9999_p20141003.ebuild
@@ -0,0 +1,264 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="4"
+inherit eutils java-pkg-2 java-ant-2
+
+DESCRIPTION="Netbeans IDE"
+HOMEPAGE="http://netbeans.org/"
+SLOT="9999"
+SOURCE_URL="http://bits.netbeans.org/download/trunk/nightly/2014-10-03_00-01-50/zip/netbeans-trunk-nightly-201410030001-src.zip"
+PATCHES_URL="http://dev.gentoo.org/~fordfrog/distfiles/netbeans-9999-r14-build.xml.patch.bz2"
+L10N_URL="http://dev.gentoo.org/~fordfrog/distfiles/netbeans-l10n-9999-20131010.tar.bz2"
+ALL_URLS="${SOURCE_URL} ${PATCHES_URL} ${L10N_URL}"
+SRC_URI="linguas_af? ( ${ALL_URLS} )
+	linguas_ar? ( ${ALL_URLS} )
+	linguas_bg? ( ${ALL_URLS} )
+	linguas_ca? ( ${ALL_URLS} )
+	linguas_cs? ( ${ALL_URLS} )
+	linguas_de? ( ${ALL_URLS} )
+	linguas_el? ( ${ALL_URLS} )
+	linguas_es? ( ${ALL_URLS} )
+	linguas_fr? ( ${ALL_URLS} )
+	linguas_gl? ( ${ALL_URLS} )
+	linguas_hi_IN? ( ${ALL_URLS} )
+	linguas_id? ( ${ALL_URLS} )
+	linguas_it? ( ${ALL_URLS} )
+	linguas_ja? ( ${ALL_URLS} )
+	linguas_ko? ( ${ALL_URLS} )
+	linguas_lt? ( ${ALL_URLS} )
+	linguas_nl? ( ${ALL_URLS} )
+	linguas_pl? ( ${ALL_URLS} )
+	linguas_pt_BR? ( ${ALL_URLS} )
+	linguas_pt_PT? ( ${ALL_URLS} )
+	linguas_ro? ( ${ALL_URLS} )
+	linguas_ru? ( ${ALL_URLS} )
+	linguas_si? ( ${ALL_URLS} )
+	linguas_sq? ( ${ALL_URLS} )
+	linguas_sr? ( ${ALL_URLS} )
+	linguas_sv? ( ${ALL_URLS} )
+	linguas_ta_IN? ( ${ALL_URLS} )
+	linguas_tl? ( ${ALL_URLS} )
+	linguas_tr? ( ${ALL_URLS} )
+	linguas_vi? ( ${ALL_URLS} )
+	linguas_zh_CN? ( ${ALL_URLS} )
+	linguas_zh_TW? ( ${ALL_URLS} )
+"
+LICENSE="|| ( CDDL GPL-2-with-linking-exception )"
+KEYWORDS="~amd64 ~x86"
+IUSE_NETBEANS_MODULES="
+	+netbeans_modules_apisupport
+	netbeans_modules_cnd
+	netbeans_modules_dlight
+	netbeans_modules_enterprise
+	netbeans_modules_ergonomics
+	netbeans_modules_extide
+	netbeans_modules_groovy
+	+netbeans_modules_java
+	netbeans_modules_javacard
+	+netbeans_modules_javafx
+	netbeans_modules_mobility
+	netbeans_modules_php
+	+netbeans_modules_profiler
+	netbeans_modules_webcommon
+	+netbeans_modules_websvccommon"
+IUSE_LINGUAS="
+	linguas_af
+	linguas_ar
+	linguas_bg
+	linguas_ca
+	linguas_cs
+	linguas_de
+	linguas_el
+	linguas_es
+	linguas_fr
+	linguas_gl
+	linguas_hi_IN
+	linguas_id
+	linguas_it
+	linguas_ja
+	linguas_ko
+	linguas_lt
+	linguas_nl
+	linguas_pl
+	linguas_pt_BR
+	linguas_pt_PT
+	linguas_ro
+	linguas_ru
+	linguas_si
+	linguas_sq
+	linguas_sr
+	linguas_sv
+	linguas_ta_IN
+	linguas_tl
+	linguas_tr
+	linguas_vi
+	linguas_zh_CN
+	linguas_zh_TW"
+IUSE="doc ${IUSE_NETBEANS_MODULES} ${IUSE_LINGUAS}"
+S="${WORKDIR}"
+
+DEPEND=">=virtual/jdk-1.7
+	dev-java/javahelp:0"
+RDEPEND=">=virtual/jdk-1.7
+	~dev-java/netbeans-harness-${PV}
+	~dev-java/netbeans-ide-${PV}
+	~dev-java/netbeans-nb-${PV}
+	~dev-java/netbeans-platform-${PV}
+	netbeans_modules_apisupport? ( ~dev-java/netbeans-apisupport-${PV} )
+	netbeans_modules_cnd? ( ~dev-java/netbeans-cnd-${PV} )
+	netbeans_modules_dlight? ( ~dev-java/netbeans-dlight-${PV} )
+	netbeans_modules_enterprise? ( ~dev-java/netbeans-enterprise-${PV} )
+	netbeans_modules_ergonomics? ( ~dev-java/netbeans-ergonomics-${PV} )
+	netbeans_modules_extide? ( ~dev-java/netbeans-extide-${PV} )
+	netbeans_modules_groovy? ( ~dev-java/netbeans-groovy-${PV} )
+	netbeans_modules_java? ( ~dev-java/netbeans-java-${PV} )
+	netbeans_modules_javacard? ( ~dev-java/netbeans-javacard-${PV} )
+	netbeans_modules_javafx? ( ~dev-java/netbeans-javafx-${PV} )
+	netbeans_modules_mobility? ( ~dev-java/netbeans-mobility-${PV} )
+	netbeans_modules_php? ( ~dev-java/netbeans-php-${PV} )
+	netbeans_modules_profiler? ( ~dev-java/netbeans-profiler-${PV} )
+	netbeans_modules_webcommon? ( ~dev-java/netbeans-webcommon-${PV} )
+	netbeans_modules_websvccommon? ( ~dev-java/netbeans-websvccommon-${PV} )
+	doc? ( ~dev-java/netbeans-javadoc-${PV} )"
+JAVA_PKG_BSFIX="off"
+NBLOCALES=""
+
+pkg_setup() {
+	for lingua in ${IUSE_LINGUAS} ; do
+		local lang=${lingua/linguas_/}
+
+		if [[ "${lang}" = "ar" ]] ; then
+			lang="ar_EG,ar_SA"
+		elif [[ "${lang}" = "es" ]] ; then
+			lang="es,es_CO"
+		elif [[ "${lang}" = "gl" ]] ; then
+			lang="gl_ES"
+		elif [[ "${lang}" = "id" ]] ; then
+			lang="in_ID"
+		elif [[ "${lang}" = "nl" ]] ; then
+			lang="nl_BE,nl_NL"
+		elif [[ "${lang}" = "tl" ]] ; then
+			lang="fil_PH"
+		fi
+
+		if use ${lingua} ; then
+			if [ -z "${NBLOCALES}" ] ; then
+				NBLOCALES="${lang}"
+			else
+				NBLOCALES="${NBLOCALES},${lang}"
+			fi
+		fi
+	done
+
+	java-pkg-2_pkg_setup
+}
+
+src_unpack() {
+	if [ -n "${NBLOCALES}" ] ; then
+		unpack $(basename ${SOURCE_URL})
+		unpack $(basename ${L10N_URL})
+
+		einfo "Deleting bundled jars..."
+		find -name "*.jar" -type f -delete
+
+		unpack netbeans-9999-r14-build.xml.patch.bz2
+	fi
+}
+
+src_prepare() {
+	if [ -n "${NBLOCALES}" ] ; then
+		einfo "Deleting bundled class files..."
+		find -name "*.class" -type f | xargs rm -vf
+
+		epatch netbeans-9999-r14-build.xml.patch
+
+		# Support for custom patches
+		if [ -n "${NETBEANS9999_PATCHES_DIR}" -a -d "${NETBEANS9999_PATCHES_DIR}" ] ; then
+			local files=`find "${NETBEANS9999_PATCHES_DIR}" -type f`
+
+			if [ -n "${files}" ] ; then
+				einfo "Applying custom patches:"
+
+				for file in ${files} ; do
+					epatch "${file}"
+				done
+			fi
+		fi
+
+		einfo "Symlinking external libraries..."
+		java-pkg_jar-from --build-only --into javahelp/external javahelp jhall.jar jhall-2.0_05.jar
+	fi
+
+	java-pkg-2_src_prepare
+}
+
+src_compile() {
+	if [ -n "${NBLOCALES}" ] ; then
+		einfo "Compiling support for locales: ${NBLOCALES}"
+		eant -f nbbuild/build.xml bootstrap || die
+		eant -Dlocales=${NBLOCALES} -Ddist.dir=../nbbuild/netbeans -Dnbms.dir="" -Dnbms.dist.dir="" \
+			-Dpermit.jdk7.builds=true -f l10n/build.xml build || die
+	fi
+}
+
+src_install() {
+	if [ -n "${NBLOCALES}" ] ; then
+		pushd "${S}"/nbbuild/netbeans >/dev/null || die
+
+		for cluster in apisupport cnd dlight enterprise ergonomics groovy harness ide java javacard javafx mobility php platform profiler webcommon websvccommon ; do
+			if [ -d "${cluster}" ] ; then
+				insinto /usr/share/netbeans-${cluster}-${SLOT}
+				doins -r ${cluster}/*
+			fi
+		done
+
+		if [ -d nb ] ; then
+			insinto /usr/share/netbeans-nb-${SLOT}/nb
+			doins -r nb/*
+		fi
+
+		popd >/dev/null || die
+	fi
+}
+
+pkg_postinst() {
+	if [ -n "${NBLOCALES}" ] ; then
+		einfo "Netbeans automatically starts with the locale you have set in your user profile, if"
+		einfo "the locale is built for Netbeans."
+		einfo "If you want to force specific locale, use --locale argument, for example:"
+		einfo "${PN}-${SLOT} --locale de"
+		einfo "${PN}-${SLOT} --locale pt:BR"
+	fi
+
+	if use linguas_ar ; then
+		einfo
+		einfo "You selected Arabic locale so you can choose either ar:EG or ar:SA variant."
+	fi
+
+	if use linguas_es ; then
+		einfo
+		einfo "You selected Spanish locale so you can choose either es or es:CO variant."
+	fi
+
+	if use linguas_gl ; then
+		einfo
+		einfo "You selected Galician locale which has locale code gl:ES in Netbeans."
+	fi
+
+	if use linguas_id ; then
+		einfo
+		einfo "You selected Indonesian locale which has locale code in:ID in Netbeans."
+	fi
+
+	if use linguas_nl ; then
+		einfo
+		einfo "You selected Dutch locale so you can choose either nl:BE or nl:NL variant."
+	fi
+
+	if use linguas_tl ; then
+		einfo
+		einfo "You selected Tagalog locale which has for Filipino locale code fil:PH in Netbeans."
+	fi
+}


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2014-10-03  9:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-03  8:59 [gentoo-commits] dev/fordfrog:master commit in: dev-java/netbeans-groovy/, dev-java/netbeans-cnd/, dev-java/netbeans-php/, Miroslav Šulc

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox