public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] dev/fordfrog:master commit in: dev-java/netbeans-cnd/, dev-java/netbeans-platform/, ...
@ 2015-09-11  9:15 Miroslav Šulc
  0 siblings, 0 replies; only message in thread
From: Miroslav Šulc @ 2015-09-11  9:15 UTC (permalink / raw
  To: gentoo-commits

commit:     284ded6114fe05e8bbc01ed848d324bb257e99d7
Author:     Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
AuthorDate: Fri Sep 11 08:24:30 2015 +0000
Commit:     Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
CommitDate: Fri Sep 11 08:24:30 2015 +0000
URL:        https://gitweb.gentoo.org/dev/fordfrog.git/commit/?id=284ded61

netbeans: version bump

Package-Manager: portage-2.2.20.1

 dev-java/netbeans-apisupport/Manifest              |   2 +
 .../netbeans-apisupport-9999_p20150911.ebuild      | 111 ++++++
 dev-java/netbeans-cnd/Manifest                     |   3 +
 .../netbeans-cnd-9999_p20150911.ebuild             | 127 +++++++
 dev-java/netbeans-dlight/Manifest                  |   2 +
 .../netbeans-dlight-9999_p20150911.ebuild          | 101 ++++++
 dev-java/netbeans-enterprise/Manifest              |   2 +
 .../netbeans-enterprise-9999_p20150911.ebuild      | 266 +++++++++++++++
 dev-java/netbeans-ergonomics/Manifest              |   2 +
 .../netbeans-ergonomics-9999_p20150911.ebuild      | 101 ++++++
 dev-java/netbeans-extide/Manifest                  |   2 +
 .../netbeans-extide-9999_p20150911.ebuild          | 108 ++++++
 dev-java/netbeans-groovy/Manifest                  |   2 +
 .../netbeans-groovy-9999_p20150911.ebuild          | 111 ++++++
 dev-java/netbeans-harness/Manifest                 |   2 +
 .../netbeans-harness-9999_p20150911.ebuild         | 114 +++++++
 dev-java/netbeans-ide/Manifest                     |   2 +
 .../netbeans-ide-9999_p20150911.ebuild             | 377 +++++++++++++++++++++
 dev-java/netbeans-java/Manifest                    |   2 +
 .../netbeans-java-9999_p20150911.ebuild            | 273 +++++++++++++++
 dev-java/netbeans-javacard/Manifest                |   2 +
 .../netbeans-javacard-9999_p20150911.ebuild        | 134 ++++++++
 dev-java/netbeans-javadoc/Manifest                 |   2 +
 .../netbeans-javadoc-9999_p20150911.ebuild         | 168 +++++++++
 dev-java/netbeans-javafx/Manifest                  |   2 +
 .../netbeans-javafx-9999_p20150911.ebuild          | 124 +++++++
 dev-java/netbeans-mobility/Manifest                |   2 +
 .../netbeans-mobility-9999_p20150911.ebuild        | 126 +++++++
 dev-java/netbeans-nb/Manifest                      |   2 +
 .../netbeans-nb/netbeans-nb-9999_p20150911.ebuild  | 148 ++++++++
 dev-java/netbeans-php/Manifest                     |   2 +
 .../netbeans-php-9999_p20150911.ebuild             | 127 +++++++
 dev-java/netbeans-platform/Manifest                |   2 +
 .../netbeans-platform-9999_p20150911.ebuild        | 166 +++++++++
 dev-java/netbeans-profiler/Manifest                |   2 +
 .../netbeans-profiler-9999_p20150911.ebuild        | 121 +++++++
 dev-java/netbeans-webcommon/Manifest               |   2 +
 .../netbeans-webcommon-9999_p20150911.ebuild       | 123 +++++++
 dev-java/netbeans-websvccommon/Manifest            |   2 +
 .../netbeans-websvccommon-9999_p20150911.ebuild    |  94 +++++
 dev-util/netbeans/Manifest                         |   2 +
 dev-util/netbeans/netbeans-9999_p20150911.ebuild   | 264 +++++++++++++++
 42 files changed, 3327 insertions(+)

diff --git a/dev-java/netbeans-apisupport/Manifest b/dev-java/netbeans-apisupport/Manifest
index d19c4e8..eeb759c 100644
--- a/dev-java/netbeans-apisupport/Manifest
+++ b/dev-java/netbeans-apisupport/Manifest
@@ -6,10 +6,12 @@ DIST netbeans-trunk-nightly-201509030002-src.zip 208952012 SHA256 2ab1daf24bd167
 DIST netbeans-trunk-nightly-201509040002-src.zip 208956475 SHA256 4cc75f6e48a6602fd3ba7496733ad5d9e6289baadeb9d7d28dcd2fab25d7a30c SHA512 e5e7f81f38df14c208331946b8e465690488a8238959b5910a2a6f57323b4b654c79f74d332c9b000ce1452998931c0159ce55682e75b1eaed8a35b86544f139 WHIRLPOOL fc7214be63907b6dbef77200e227184a68ba9a8389a4d83ad780799afebdadeda874dd5eafad989398131777f775c3815cf6a341d4b175e1bcfb8308f3f9de1a
 DIST netbeans-trunk-nightly-201509050002-src.zip 208961273 SHA256 0e4ee8605bb5933ec079c7bc1a597d00cecd76d589ea27a1612eb51253d2bf17 SHA512 d87f0251d65b3c44468ce3da97b3a9f077938da2eaa08c7afc887dbcd0054cad88840a1c12e553ba5100ebe4e272f0a89503a694ae3329952102959a530f70fd WHIRLPOOL 9f1409fe6b8775cfaa64af217fbf88220c8307ff4b169d694f431cbaaff3b46bd7f0c3a97654706e0c949d01d0a61515daef679ebea6012b56da3af7af0ac01b
 DIST netbeans-trunk-nightly-201509100002-src.zip 209128741 SHA256 5d5a40a072eab70857662787af171f4af2a73d866e122c465618914c851e790c SHA512 c40b93171efc0d42e84d34d437c15085189078d51a99be10e63a813a9e7ca9451dcaba6748344e585cc444903c29a56fb1a78c43545136910c000accf53dfe83 WHIRLPOOL 033764680db1d66360e33286c05d58e33bf0288f09e2caa9871beee1d727047b8af6a3de079c595ca508f89f0b29ae4aa96298bd4be5cee3b77e32f9759cb527
+DIST netbeans-trunk-nightly-201509110002-src.zip 209149212 SHA256 9833b3b5804a16062972c36bbc1af9ae9445f7313884195e6ac0935a43182b98 SHA512 2ba867e3c5816b08da70cc9fe5a697ae68d55b3eb28ada6c6b9364dd8828a1f16122dd57f7556113d93b4af034f4b6a0aee05d79336e18b9a8f014b86eff448a WHIRLPOOL 21026c2040e6b6d843308065fd6409ebca28a013d8166d19260888beca80dc37f50e3a327cb059f92803591a23a9838484fd2b1fee78fa3b37b378a495bda782
 EBUILD netbeans-apisupport-8.0.2.ebuild 3314 SHA256 b68fe791f275fe4fcc8b00888688949b8927cb39db2cf9ad7860017c6d20adee SHA512 35c4bbcd34ec0eaef8a2de86c13333d2bf092db61af48558c3e173bb17dbf8fcd15001307bd7c498f4ccdbaa4277e1ee42ff0909af6170039165b547f646c383 WHIRLPOOL 206fe8d5f64e76827d3eb958a629ba087e8a16c2797752f5d9e62dff4166653677587a81be19e0a2c6adcf49292255d532e1f542c02550b1cf6ffd51467bde3c
 EBUILD netbeans-apisupport-9999_p20150901.ebuild 3384 SHA256 187e107dda837afe5fdc0b321a4bba2e5fc6f18dff1eb359c64c122ad04b9e86 SHA512 ea07d62ef5f4ee8d68f17f69fb3b10924e37ff38a6c15147f432232f354d3475f4fc768a535503cd12da6a3d6b2ad303abec714e362506bd723ff23cbef4b36c WHIRLPOOL 9fc6fb1c7f4bbbf79d15eef81c9c440c3a98a2ed8ff4f04e73ba4a0e36b9c54cad45e50ea89e04e5a8b175a3d9d56c9f3e3af47fbe9dd21b9d8c367bb3623ea2
 EBUILD netbeans-apisupport-9999_p20150903.ebuild 3384 SHA256 13a7a16b6a12ed08e9ad7234bec1ad5e5fe209e4f13e4587bfcf4d28a8869b22 SHA512 cbd2dbb4d8c01b1f6c70ca8a7835a58c2ecf94a0ec084ef2b2c73b675734ec61497925791bc2045fe7b36d372676309057a520a669828d604d93dd279306e9db WHIRLPOOL 08fc78eac704d29500bec5772b64ed2b159130e3414c9f7beeddb786ad3233afa0b74086d7de80d66ca335af56b22eafe254513a847839cc1ecf7584cbad832d
 EBUILD netbeans-apisupport-9999_p20150904.ebuild 3384 SHA256 3b8b8fb422b0b4dc29b3b034982fe69f689b8f3d8361daa736e0627a5bf38e58 SHA512 ef04b7ce613083165f0a6a3ccd32d94dce6d32cf5c0267e86e1466bf28b3a0ed873239d5f3abe40e9bdbd7ba57345b28af3e149046352f14aa471197d6aaba5b WHIRLPOOL 16c7cc5344d6b0997bd4f6bf2c420b1a39491ccead8d8570e171ed1b48b7b536903b6fc542512d26d3f7e6dcbddf7e50c2397fc0e64c254efce858942115e734
 EBUILD netbeans-apisupport-9999_p20150905.ebuild 3384 SHA256 7ab71cf027981aab170a8581e770e4218db36424f2b3232e60ceadce358bf2b3 SHA512 e9fbf4851909629dd0e51984cba44801a2cd20c332a2f30c6a5cf957e69ecbde0a5327b974dd3dd522d148cc9addc6535a04af7ca3fdd62a035f726e3ea4738e WHIRLPOOL 826d3280bd444f9f6635b7ecc47b54cd8732abf488bf5e8616b638a2a02c1898fb7e07397d4f0ee3689c08a6539088ddd51ce49e8cb7cb4f9fff8e9739d13272
 EBUILD netbeans-apisupport-9999_p20150910.ebuild 3384 SHA256 42571ec3edc4e88fbc7de8c22d8b95e7ec9355586885ebaf6b626f80dca606f8 SHA512 2e7b3b21007f3dca194936ff3da063aefb415f2ae7cadbaf640b2ad60a76b516367977dc7b9aa65706703e9c9fd5638ad0e86f2a7410bacae31ef1a124fd4495 WHIRLPOOL cba885f4765557fe28e656c09896b004bf693daa9c2c3854bf4eeffa0e0ce8b38d3c1c8bf93247f975be1622e967f6022d628b3bd3b5f40cfaa498019e8c88c6
+EBUILD netbeans-apisupport-9999_p20150911.ebuild 3384 SHA256 25fc98d85069546e0fbfa50bf71e330a30881ab8efaf19e3a695522c24e605f7 SHA512 bca9c385ef1f7fb2b18f56cc53d237f842c6753d0a48088920d90351d3928f8c931828f617b7c521251c6ce04835545d070e84b3b8bb6095fd09c0cb02b5054c WHIRLPOOL 305439375a622f96604b5a7f79e38efa1a0abfa1bc369c1f810beab0255d058dc264157406968dcc8916bf3bbe01e8aca06c537f52954e6bdb76c588a4c17f67
 MISC metadata.xml 251 SHA256 5a4ff53a9862390a48d45c79be24086646e7a6ff0c5bdf0fcb799d0871299003 SHA512 04153cbd9776ad56a94d6a47d043df15d082d8888df8658f18d0d4b659c6c0526ab3a9b22ccbe2471091bf2d8165f224854bc99c51f3664aaf350ccb93532a7c WHIRLPOOL 2ee8a646c6e23bc46c72cac0ecb5cfe43720ec42404ddaeed8ab1b59d139b3d5c1a94764de847f979da978c001c9f02f709d663a68eeea64d19e88f1fefbca43

diff --git a/dev-java/netbeans-apisupport/netbeans-apisupport-9999_p20150911.ebuild b/dev-java/netbeans-apisupport/netbeans-apisupport-9999_p20150911.ebuild
new file mode 100644
index 0000000..7d59a4b
--- /dev/null
+++ b/dev-java/netbeans-apisupport/netbeans-apisupport-9999_p20150911.ebuild
@@ -0,0 +1,111 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+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/2015-09-11_00-02-28/zip/netbeans-trunk-nightly-201509110002-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/Manifest b/dev-java/netbeans-cnd/Manifest
index 71cae94..3c64c61 100644
--- a/dev-java/netbeans-cnd/Manifest
+++ b/dev-java/netbeans-cnd/Manifest
@@ -1,3 +1,4 @@
+DIST 23CB1F69F8E645CCD8C436D59F5FDB676A96A9D7-clank_0.3.6.zip 7712458 SHA256 36c8f75d0563c8d8c7dea3bd5948d2dc9b1f5a57950d5fe22b3e0c4ba56e8d44 SHA512 a5cab2fd02f79eade56550c3433ca89fa9eb5be4b5a18a9f30e52501c0d084d4e7ab6d9dc8c02c7585997f1ebd4bb5b3f71da5ce0aafa52a5bb7c05d0e2d193e WHIRLPOOL ebfc9fa2e5745dabfc8aa27f8c699c2d431807e7f6627c9ed97804816a0a2cb30f6ea8af2232e19c5fc61380acbc768939e91f46c4393ef5ea4aafa0314d1191
 DIST 24C58A1D3C410AD3E23CD828871630C17068B238-cnd-build-trace-1.0.zip 28980 SHA256 205a14a41fb7232c2a20779278ee1e303e6d3dedb3c84496b370ae397a7767b5 SHA512 0e570745cfb163cb54ac8b6b0f6feb6c76e3c414f03eab213f93637dc84471c0bb5b786af096acdd6265383474bf26db763ebda066add398efe601e5749a51b9 WHIRLPOOL 2d0042e180eba66269d4ccdf6279dcd166b4a34947406b5f7279b0017ebed27b2ea95f1565e57908e3567b303fb69d2cb5ca6504653126611ced84f103650a0c
 DIST 2BCF2047382FB68A2F275677745C80E79B4046AB-cnd-rfs-1.0.zip 152701 SHA256 ee454c52dab7af01a0c292bbbd9bd5fa62e07480d4284a34e38746aba4bb501b SHA512 222ae7d6fc8a1f5610a107264fd249180a7a865094979dd5426fb266b94e1d24ef421199cdcb923ab58577c292a183863c45a1434b4dcb35bd67dbdcde945e54 WHIRLPOOL 821c0e5e9534955ee9b4200476fa1fe65b453520551cb71a71a225bb96ac69ba6c408e9d59b5df7008ec1b8d173035e76358172cf3ebafbbd50d0971db3a8983
 DIST 3E8BABDBD19DBDC2EC829ACEBBB3F44B5E6FC620-clank_0.3.6.zip 7485362 SHA256 c0edc7f32a682614b893e43726f0526e2002f0ecbfd98a429577926be0803c78 SHA512 81c0d4b4d7bc89d2eea35309c7f55f45dae73d21b935c9199d1de5f5c27d32feef9a8e709a8c62b33929095169f901a92c8342668871276094cb64955d240b29 WHIRLPOOL 93871b7fd9db2e25246083305c7fac9464f35f84573b1ae3568326892e3f8706937f3bf54d0d211372847fec7d856bd2c13a2b72c1e67e4d5d78a108bdb05960
@@ -18,10 +19,12 @@ DIST netbeans-trunk-nightly-201509030002-src.zip 208952012 SHA256 2ab1daf24bd167
 DIST netbeans-trunk-nightly-201509040002-src.zip 208956475 SHA256 4cc75f6e48a6602fd3ba7496733ad5d9e6289baadeb9d7d28dcd2fab25d7a30c SHA512 e5e7f81f38df14c208331946b8e465690488a8238959b5910a2a6f57323b4b654c79f74d332c9b000ce1452998931c0159ce55682e75b1eaed8a35b86544f139 WHIRLPOOL fc7214be63907b6dbef77200e227184a68ba9a8389a4d83ad780799afebdadeda874dd5eafad989398131777f775c3815cf6a341d4b175e1bcfb8308f3f9de1a
 DIST netbeans-trunk-nightly-201509050002-src.zip 208961273 SHA256 0e4ee8605bb5933ec079c7bc1a597d00cecd76d589ea27a1612eb51253d2bf17 SHA512 d87f0251d65b3c44468ce3da97b3a9f077938da2eaa08c7afc887dbcd0054cad88840a1c12e553ba5100ebe4e272f0a89503a694ae3329952102959a530f70fd WHIRLPOOL 9f1409fe6b8775cfaa64af217fbf88220c8307ff4b169d694f431cbaaff3b46bd7f0c3a97654706e0c949d01d0a61515daef679ebea6012b56da3af7af0ac01b
 DIST netbeans-trunk-nightly-201509100002-src.zip 209128741 SHA256 5d5a40a072eab70857662787af171f4af2a73d866e122c465618914c851e790c SHA512 c40b93171efc0d42e84d34d437c15085189078d51a99be10e63a813a9e7ca9451dcaba6748344e585cc444903c29a56fb1a78c43545136910c000accf53dfe83 WHIRLPOOL 033764680db1d66360e33286c05d58e33bf0288f09e2caa9871beee1d727047b8af6a3de079c595ca508f89f0b29ae4aa96298bd4be5cee3b77e32f9759cb527
+DIST netbeans-trunk-nightly-201509110002-src.zip 209149212 SHA256 9833b3b5804a16062972c36bbc1af9ae9445f7313884195e6ac0935a43182b98 SHA512 2ba867e3c5816b08da70cc9fe5a697ae68d55b3eb28ada6c6b9364dd8828a1f16122dd57f7556113d93b4af034f4b6a0aee05d79336e18b9a8f014b86eff448a WHIRLPOOL 21026c2040e6b6d843308065fd6409ebca28a013d8166d19260888beca80dc37f50e3a327cb059f92803591a23a9838484fd2b1fee78fa3b37b378a495bda782
 EBUILD netbeans-cnd-8.0.2.ebuild 4510 SHA256 0a9a4e58e28f395b5bcb017016b6ddb1b77afe393d0e5bd81cc05e3a32076c71 SHA512 2b1fedfe292fa140920fd11829e77127f9535e08b8307886accfa37e6d11195a1204e6b71b2640937da0711c3ce0bbf80c0eaa3c248a64fd61b6a3d99d5de14e WHIRLPOOL 10b1518360ade5d6f1f27c79a10f630b94a2ec5062e18df11f9828d4b374e6cbdea0b9f770e01c117ca90fa194dff9bd3be6a468075c2d35167fb78a7bb32794
 EBUILD netbeans-cnd-9999_p20150901.ebuild 4790 SHA256 0be3c11a9af46d2d8aba83d0e15c09b935bd598464f43d5030887464d3f96f9b SHA512 f3b2e7de31f3434d6390bec0382fd6d77d2075470543cb9052572c91483ccfd026822a5db6f10932cb86b5974a0d2c5f390551873dac6cbd1f463b62560ab196 WHIRLPOOL f158e99c020c4e0f67c3ceec7a59d5f2cc455c52db4a9301bce821a123b7c8f3e570467aabe9281ac440d067dac36525b864dabd0c06b88ad86a2464d4e5140a
 EBUILD netbeans-cnd-9999_p20150903.ebuild 4790 SHA256 57a5694dab810fdf15990d575c3270fb7338837550ba4598e21703e4d904e85c SHA512 b5073782475520ba9126954d5341c0977a73f4b838ea4484835558b821baab49cbb52e3e07705f611e879b3eefedccb1e9a0817bbf9b98d80d17018e5888ad1d WHIRLPOOL 408c5a25c4877204b5e3a9ae8c4b7b23464a68527a8bd37e37df89a5fddf71fd23cc4e80610981dd72325d9289cfe2c5b3172986e3aff240be9911354b7d8946
 EBUILD netbeans-cnd-9999_p20150904.ebuild 4790 SHA256 fe4930fc07866e09ba20693722bde1b8025fc1e751977149f03d60d382f6cc7a SHA512 9aa4a760d14b1292f0ecb3269279f34959e8aa668ad2f5f25cafdfbbb754c64daa88f3d4ffe4997c7fe697c05629a00656d0dccdd65fb76c87510bf63ce745dd WHIRLPOOL 609d23781df31dfb563d3d779bca1e76770bb246e8670df55581fe84f7e4b06b35a155a9b10776e68737b9851b86324c8a54fd9d8ae6524d0ce69a5fc1a47716
 EBUILD netbeans-cnd-9999_p20150905.ebuild 4790 SHA256 57f8979fede60bf65852e4527a5edc23f853d0a7127964b7bcf3520ca41e9ffe SHA512 468f3d6c806e417d43762926d68add0558b394c970ba72cf25d3da05cd7301b9a03ccfe959d710992a7a5a1a6296c293c86049f26811181e27a96d917925a69d WHIRLPOOL eed7af4f64b4e3a5feb8a6c7e0b78ff3f41cd14afd53f5a04d010ab6d0e0437391dd82ee9d1af21adaddee0bd37f88c0432c08091294992a181de04b9b5b3fb0
 EBUILD netbeans-cnd-9999_p20150910.ebuild 4790 SHA256 8ef572e9ea46ebb3c403369976f6d7d5b7882f950c6c0fdf9539122857a06094 SHA512 ef3ab5e44fab095b8d72c0fab31f69459164b6c534ebfe30d70e086bef807893c12dc3eaac4e9c3e05ed9e94d37a7e7d280db5aea8fb976996d1fc3934d9f9a2 WHIRLPOOL 31393e6c313cc02ffd8f1c9bde56102c44f36f5f37536d76d2b4db1ddcf73e6c09ce338a66986ab9f779a0e8120d9c0f917db1b56afc3e21874d235f85667ce7
+EBUILD netbeans-cnd-9999_p20150911.ebuild 4790 SHA256 a0625df95e7b9a9af31338574d0a0b298272310f22d20f68dee3aa1a702b9f0b SHA512 86138698a937176ce3afeacec1d23d6f9a7b965ea9b04d9b23a4fe0257ef5fd467ccc681e1182ba822ba92744e47edcc959a2a6b8f36d517d43208b78b38edfc WHIRLPOOL 6e085b8c39208a206f9d7db78767bf252cddbdeac53c4a16c5cfa43a7dfe37eaffdef4e7bc689cdc86da008a17eb88f79eda27dffd6b4519b83d9956de91fe55
 MISC metadata.xml 251 SHA256 5a4ff53a9862390a48d45c79be24086646e7a6ff0c5bdf0fcb799d0871299003 SHA512 04153cbd9776ad56a94d6a47d043df15d082d8888df8658f18d0d4b659c6c0526ab3a9b22ccbe2471091bf2d8165f224854bc99c51f3664aaf350ccb93532a7c WHIRLPOOL 2ee8a646c6e23bc46c72cac0ecb5cfe43720ec42404ddaeed8ab1b59d139b3d5c1a94764de847f979da978c001c9f02f709d663a68eeea64d19e88f1fefbca43

diff --git a/dev-java/netbeans-cnd/netbeans-cnd-9999_p20150911.ebuild b/dev-java/netbeans-cnd/netbeans-cnd-9999_p20150911.ebuild
new file mode 100644
index 0000000..0ab6da3
--- /dev/null
+++ b/dev-java/netbeans-cnd/netbeans-cnd-9999_p20150911.ebuild
@@ -0,0 +1,127 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+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/2015-09-11_00-02-28/zip/netbeans-trunk-nightly-201509110002-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/23CB1F69F8E645CCD8C436D59F5FDB676A96A9D7-clank_0.3.6.zip
+	http://hg.netbeans.org/binaries/BF2C234985CF9BD6CDE18114406C67EC7C32B84A-cnd-build-trace-1.0.zip
+	http://hg.netbeans.org/binaries/BB83D4F8047D608858154CB041054F5CAE35B903-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}"/23CB1F69F8E645CCD8C436D59F5FDB676A96A9D7-clank_0.3.6.zip libs.clank/external/clank_0.3.6.zip || die
+	ln -s "${DISTDIR}"/BF2C234985CF9BD6CDE18114406C67EC7C32B84A-cnd-build-trace-1.0.zip cnd.discovery/external/cnd-build-trace-1.0.zip || die
+	ln -s "${DISTDIR}"/BB83D4F8047D608858154CB041054F5CAE35B903-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/Manifest b/dev-java/netbeans-dlight/Manifest
index e8185e7..d529845 100644
--- a/dev-java/netbeans-dlight/Manifest
+++ b/dev-java/netbeans-dlight/Manifest
@@ -8,10 +8,12 @@ DIST netbeans-trunk-nightly-201509030002-src.zip 208952012 SHA256 2ab1daf24bd167
 DIST netbeans-trunk-nightly-201509040002-src.zip 208956475 SHA256 4cc75f6e48a6602fd3ba7496733ad5d9e6289baadeb9d7d28dcd2fab25d7a30c SHA512 e5e7f81f38df14c208331946b8e465690488a8238959b5910a2a6f57323b4b654c79f74d332c9b000ce1452998931c0159ce55682e75b1eaed8a35b86544f139 WHIRLPOOL fc7214be63907b6dbef77200e227184a68ba9a8389a4d83ad780799afebdadeda874dd5eafad989398131777f775c3815cf6a341d4b175e1bcfb8308f3f9de1a
 DIST netbeans-trunk-nightly-201509050002-src.zip 208961273 SHA256 0e4ee8605bb5933ec079c7bc1a597d00cecd76d589ea27a1612eb51253d2bf17 SHA512 d87f0251d65b3c44468ce3da97b3a9f077938da2eaa08c7afc887dbcd0054cad88840a1c12e553ba5100ebe4e272f0a89503a694ae3329952102959a530f70fd WHIRLPOOL 9f1409fe6b8775cfaa64af217fbf88220c8307ff4b169d694f431cbaaff3b46bd7f0c3a97654706e0c949d01d0a61515daef679ebea6012b56da3af7af0ac01b
 DIST netbeans-trunk-nightly-201509100002-src.zip 209128741 SHA256 5d5a40a072eab70857662787af171f4af2a73d866e122c465618914c851e790c SHA512 c40b93171efc0d42e84d34d437c15085189078d51a99be10e63a813a9e7ca9451dcaba6748344e585cc444903c29a56fb1a78c43545136910c000accf53dfe83 WHIRLPOOL 033764680db1d66360e33286c05d58e33bf0288f09e2caa9871beee1d727047b8af6a3de079c595ca508f89f0b29ae4aa96298bd4be5cee3b77e32f9759cb527
+DIST netbeans-trunk-nightly-201509110002-src.zip 209149212 SHA256 9833b3b5804a16062972c36bbc1af9ae9445f7313884195e6ac0935a43182b98 SHA512 2ba867e3c5816b08da70cc9fe5a697ae68d55b3eb28ada6c6b9364dd8828a1f16122dd57f7556113d93b4af034f4b6a0aee05d79336e18b9a8f014b86eff448a WHIRLPOOL 21026c2040e6b6d843308065fd6409ebca28a013d8166d19260888beca80dc37f50e3a327cb059f92803591a23a9838484fd2b1fee78fa3b37b378a495bda782
 EBUILD netbeans-dlight-8.0.2.ebuild 2898 SHA256 08402481b573b90396431be03bda45904b2dd29f0086e09a111fe362e310c3f7 SHA512 3f6d6c9ea0043382562fbe47ad16e3273032407a74cb44ec7ff26736f96483835af4be8674361e910912a550b9fe592cc5a28c2b93b6b993076553195c35eac5 WHIRLPOOL 9d8706ccbc0d97b0f5d64ebf22c36316b08d8fbccd57408119ca5f5faef08c7f82677bf67488ff611eabeaa730e4c9a730c50966d94d738cfe79330ac147863d
 EBUILD netbeans-dlight-9999_p20150901.ebuild 2968 SHA256 f24ed1a628b18c080f9e06c1b488b101ebc2cf6cf0aa44c5b86f168fe52f912a SHA512 0fa494a731edd4f27e36d537e0a57ab868b8a04db394777b191d8352c452f75d06900ec23b0e25e4d08b18cfe9a8d9245890b01e24e510e52b2b218ebb91d2e8 WHIRLPOOL 439d07e76a1cb3967a1ef46540bfde542e11ffd7e4fbeb6fde5f198fa5f203703b6df26c4ba764d11d6299849fc8d4c5b7eb9f2133de02ccc586deee4cc34c34
 EBUILD netbeans-dlight-9999_p20150903.ebuild 2968 SHA256 e798582769fa118385293ad20cfcdeb51a4e10be437941396b37a71faf72bf3a SHA512 3080e3c87c9668b8c1646a61f2106ae937e1b8c9049e9d08aa933458b8e4dc4721c1caf84e12c37c397c4982cecfd53e39f2516c05617a59905182aa4e4190c1 WHIRLPOOL 5ea9f447ee4cd7a398db727ce0e3dd2944c58979d8af5f5a9c686732fd6dabf2403c2357c2e5d4d088ee36655b403dc6d574e2676d032e639b9cab3faf00bf70
 EBUILD netbeans-dlight-9999_p20150904.ebuild 2968 SHA256 20bc1a30e74ba61ab3257406515e6a27e412b691ead382e93a7ee06248903dfd SHA512 d8072847e60b8ab8a4f4db859d13ca82791d3f985d3e86f416d0dd473c7ddb6579843cfec3eb2bfb9c7288305b1548828eebd9d18b8d3fd3d476ffffcc590509 WHIRLPOOL 00ed228d0b637b3dde70fa775139437e9a852d495897eacbecc738726ae43297b00b59221a4861805c8ef37499f2a393eb262d2d4f7e6446adb5a8f844adb858
 EBUILD netbeans-dlight-9999_p20150905.ebuild 2968 SHA256 e8d44c511dda9ed4cfcbf5e6bdb6282af22aaf421cce61aa678feae1b08109c0 SHA512 30b310325b8e6b1a6712e729a8722706d5c3990e48a8e1920d02c4a6ec897267617eb3ac8b4e170ee502f45ca656a47e0aa0d41a61f99d7665cba744e5f5314d WHIRLPOOL 8e92141b2784c30e3dfc4f8d327bc61e6d67cb28af29aebdaf742c6ed43e2c982cf968e719e59b4150c0ca5caa431b0ee1daaef1f0a7e27b80d5307b476bea94
 EBUILD netbeans-dlight-9999_p20150910.ebuild 2968 SHA256 792d7ce29c35e4a85df18300f4b52281a38b33781eb5f54aff1d2ab09d96ce09 SHA512 ae8e078d936a13fd8ef222021547bb6dd0339b5116f247cb4dae287ad533a9e55fecfbe5faedd1c23ed6bf65a721022600034f54c9af6db980f59e40b7320fe3 WHIRLPOOL 0f27883b35d1dcd454d4a291d70a034434ad07b87aeae3066cd00a39e86bc898cfd5ce2ac994ecdfbbb680a52e3835594f54c1df42fd1276ac9599adbc4c58e0
+EBUILD netbeans-dlight-9999_p20150911.ebuild 2968 SHA256 0a379a8c6162403345249ecd7143fc864c9efce927358d1d473d8f278742940a SHA512 11e20dfbcc355f3a33d07f2727dfeb41b699524b7002968363c5dd1c0a44cf34fd36f2121234e323a1665b3d509f8ca3f06815329aa7948d436ccbb305463851 WHIRLPOOL 4e072e0e1cf6063b507fd304687a8f79512929d26d3df1cd1a58d65158b1235ed219b61b8cf7386d141cf1a46915b66c57c739ae0954199bfd86d4148c9e876a
 MISC metadata.xml 251 SHA256 5a4ff53a9862390a48d45c79be24086646e7a6ff0c5bdf0fcb799d0871299003 SHA512 04153cbd9776ad56a94d6a47d043df15d082d8888df8658f18d0d4b659c6c0526ab3a9b22ccbe2471091bf2d8165f224854bc99c51f3664aaf350ccb93532a7c WHIRLPOOL 2ee8a646c6e23bc46c72cac0ecb5cfe43720ec42404ddaeed8ab1b59d139b3d5c1a94764de847f979da978c001c9f02f709d663a68eeea64d19e88f1fefbca43

diff --git a/dev-java/netbeans-dlight/netbeans-dlight-9999_p20150911.ebuild b/dev-java/netbeans-dlight/netbeans-dlight-9999_p20150911.ebuild
new file mode 100644
index 0000000..c423f98
--- /dev/null
+++ b/dev-java/netbeans-dlight/netbeans-dlight-9999_p20150911.ebuild
@@ -0,0 +1,101 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+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/2015-09-11_00-02-28/zip/netbeans-trunk-nightly-201509110002-src.zip"
+SRC_URI="${SOURCE_URL}
+	http://dev.gentoo.org/~fordfrog/distfiles/netbeans-9999-r14-build.xml.patch.bz2
+	http://hg.netbeans.org/binaries/6396ED8427E5068B5331C0A3A03A2235135D6D75-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}"/6396ED8427E5068B5331C0A3A03A2235135D6D75-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/Manifest b/dev-java/netbeans-enterprise/Manifest
index 8c0e438..f9492e5 100644
--- a/dev-java/netbeans-enterprise/Manifest
+++ b/dev-java/netbeans-enterprise/Manifest
@@ -38,10 +38,12 @@ DIST netbeans-trunk-nightly-201509030002-src.zip 208952012 SHA256 2ab1daf24bd167
 DIST netbeans-trunk-nightly-201509040002-src.zip 208956475 SHA256 4cc75f6e48a6602fd3ba7496733ad5d9e6289baadeb9d7d28dcd2fab25d7a30c SHA512 e5e7f81f38df14c208331946b8e465690488a8238959b5910a2a6f57323b4b654c79f74d332c9b000ce1452998931c0159ce55682e75b1eaed8a35b86544f139 WHIRLPOOL fc7214be63907b6dbef77200e227184a68ba9a8389a4d83ad780799afebdadeda874dd5eafad989398131777f775c3815cf6a341d4b175e1bcfb8308f3f9de1a
 DIST netbeans-trunk-nightly-201509050002-src.zip 208961273 SHA256 0e4ee8605bb5933ec079c7bc1a597d00cecd76d589ea27a1612eb51253d2bf17 SHA512 d87f0251d65b3c44468ce3da97b3a9f077938da2eaa08c7afc887dbcd0054cad88840a1c12e553ba5100ebe4e272f0a89503a694ae3329952102959a530f70fd WHIRLPOOL 9f1409fe6b8775cfaa64af217fbf88220c8307ff4b169d694f431cbaaff3b46bd7f0c3a97654706e0c949d01d0a61515daef679ebea6012b56da3af7af0ac01b
 DIST netbeans-trunk-nightly-201509100002-src.zip 209128741 SHA256 5d5a40a072eab70857662787af171f4af2a73d866e122c465618914c851e790c SHA512 c40b93171efc0d42e84d34d437c15085189078d51a99be10e63a813a9e7ca9451dcaba6748344e585cc444903c29a56fb1a78c43545136910c000accf53dfe83 WHIRLPOOL 033764680db1d66360e33286c05d58e33bf0288f09e2caa9871beee1d727047b8af6a3de079c595ca508f89f0b29ae4aa96298bd4be5cee3b77e32f9759cb527
+DIST netbeans-trunk-nightly-201509110002-src.zip 209149212 SHA256 9833b3b5804a16062972c36bbc1af9ae9445f7313884195e6ac0935a43182b98 SHA512 2ba867e3c5816b08da70cc9fe5a697ae68d55b3eb28ada6c6b9364dd8828a1f16122dd57f7556113d93b4af034f4b6a0aee05d79336e18b9a8f014b86eff448a WHIRLPOOL 21026c2040e6b6d843308065fd6409ebca28a013d8166d19260888beca80dc37f50e3a327cb059f92803591a23a9838484fd2b1fee78fa3b37b378a495bda782
 EBUILD netbeans-enterprise-8.0.2.ebuild 15071 SHA256 84621e3bb946cfa254bb70ca3c3f61202882a7e6d631769ad2f0f4639b0de875 SHA512 6ad38e840764661e6bc5b89b5925e9665871009ba0b640c0a78c555ec104214dbee1200a93cb48e655bc620e07bb6e4d8932b23a00fe458f8a5e9e5c3200d79d WHIRLPOOL b2c2bbf2ff72f8cd9b4cdbe039fdbf7cd074b0fdc20f634aa0b6f79f5c639be358c61fab30854a6e3ab9714a285d9461ac4e39e94e10c14c5068422d6c873c56
 EBUILD netbeans-enterprise-9999_p20150901.ebuild 15931 SHA256 44c06fa71678bc9434d41c8f580375f0e56c4756da1ad14de658574360a4ca8a SHA512 0e0800cd6259f4e4524d328a593ad4d1a40cb0b129ef53088403c0fe90b732f15eb897686485f629501cdaf4efbbaa69c60ce648e655a016abf4d24588a9191a WHIRLPOOL ee6d2a407a2d6e124f21912a7a0b1c6dfc8155cf228f9f451554c1c40ab63d497070d0264360aded0de23e7c03a52825593fde03dc4ed092b65789cbe083d47a
 EBUILD netbeans-enterprise-9999_p20150903.ebuild 15931 SHA256 2d15c63f7b1c6b590dfbda9cc26aa44ee36c043a695ad4ae06bac98b17f9f73a SHA512 6ca976ec3cb4b96d4d9794abaaadaa7e42dc0d4537e02a6cd0a65b0df7c2789a5eeeaabdb33b42df134271d4f8f0b5d54ddbeffb18a704e36c6e8a25f6d5245b WHIRLPOOL b0927d3c4aedd46698cba83fb07e35d5d0796ec9a50b65cc828534da1c45ab9b75701c58003583af3f999a2d4fa69a6b4a62abc3225d7591444dfca0353e3bf8
 EBUILD netbeans-enterprise-9999_p20150904.ebuild 15931 SHA256 108e483f1d0090f6dbf6254886752d3809f422ffa66ec309abbbe5757a08c432 SHA512 08762ce7d702b692737bca0b581e918375499d0d5b1031616bb37bd4571daaae699f17070f96b7a9c09b012e172597983d9698fc41ec6caef1c3f09a6b33b1b7 WHIRLPOOL 6f454eb97ae370fe13bf1ec6ea79d8a3238079ce964da18414bde5e8e3f379d0c0a4699e361271be66ad458872d44a8565bcbcc1980de5967d2654e5d3dc5e52
 EBUILD netbeans-enterprise-9999_p20150905.ebuild 15931 SHA256 6d553b1dda96babcc4a3733608b3120b3589529b6ccc85431f004af506f6b922 SHA512 da2f0c69d6376308566bbb62bff775dd420e44c04cdd028c37ebeeb0df3f8896552ea84cce1611c7edf66ae111d237aaa3bd788ce2e955e6a72354a1687153ea WHIRLPOOL c0b995185f6e64ce2818ed2c642344b893ba16955ca56b6f3eda6ecfb47900d44bb5f88870a35b022c22254daa3add1dd2b8041ae5bbfe2c0085ece2960e9847
 EBUILD netbeans-enterprise-9999_p20150910.ebuild 15931 SHA256 7734de964099ec2e1538812a6e81d524146a71782a7435c0268bc1eb92b95b1c SHA512 6a4b17a2e508b10fcfab4ef9b01a94bdf6cb1858552156013c47e389cc4e5ccc2c5c1a0b6026668a81bcc0cf1622cd0fae426007617912dde1703f7a0b6ba70c WHIRLPOOL 5eabd087563f874fc9c3dded471a06e54160894ea0f8c812dceb44e234993d6fd691e9a44b445c360002ab8879837f5be89d68cb90b1c7aa38c10892ac46b866
+EBUILD netbeans-enterprise-9999_p20150911.ebuild 15931 SHA256 8efa765f218e10f37db492c306569d324af0422161352502fb243e17b3867fa3 SHA512 11735535a644e22ee4f978ede02deedb6eeffd60324687c80888068e0126e7f77ac9cf9e754b0b93fac2cd385bcb8638ceaef9952e1ca78815571e9b5f8b2054 WHIRLPOOL 723e1b245249e9851921ae1e10bc7ba51185732091e0ee714d709c60cba05bb6a41a1d3ca249437f4f62212ccdd8994fb616791be60497e6da6635dcf6ff6dc1
 MISC metadata.xml 251 SHA256 5a4ff53a9862390a48d45c79be24086646e7a6ff0c5bdf0fcb799d0871299003 SHA512 04153cbd9776ad56a94d6a47d043df15d082d8888df8658f18d0d4b659c6c0526ab3a9b22ccbe2471091bf2d8165f224854bc99c51f3664aaf350ccb93532a7c WHIRLPOOL 2ee8a646c6e23bc46c72cac0ecb5cfe43720ec42404ddaeed8ab1b59d139b3d5c1a94764de847f979da978c001c9f02f709d663a68eeea64d19e88f1fefbca43

diff --git a/dev-java/netbeans-enterprise/netbeans-enterprise-9999_p20150911.ebuild b/dev-java/netbeans-enterprise/netbeans-enterprise-9999_p20150911.ebuild
new file mode 100644
index 0000000..b4d987b
--- /dev/null
+++ b/dev-java/netbeans-enterprise/netbeans-enterprise-9999_p20150911.ebuild
@@ -0,0 +1,266 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+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/2015-09-11_00-02-28/zip/netbeans-trunk-nightly-201509110002-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/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/cglib: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/glassfish-persistence:0
+	dev-java/guava:14
+	dev-java/jakarta-oro:2.0
+	dev-java/osgi-core-api:0
+	dev-java/validation-api:1.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}"/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.12.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/javaee7-endorsed
+	pushd "${D}"/${instdir} >/dev/null || die
+	rm jsr181-api.jar && dosym /usr/share/jsr181/lib/jsr181.jar ${instdir}/jsr181-api.jar || die
+	popd >/dev/null || die
+
+	local instdir=${INSTALL_DIR}/modules/ext/jersey2/ext
+	pushd "${D}"/${instdir} >/dev/null || die
+	rm cglib-2.2.0-b21.jar && dosym /usr/share/cglib-3/lib/cglib.jar ${instdir}/cglib-2.2.0-b21.jar || die
+	rm guava-14.0.1.jar && dosym /usr/share/guava-14/lib/guava.jar ${instdir}/guava-14.0.1.jar || die
+	rm org.osgi.core-4.2.0.jar && dosym /usr/share/osgi-core-api/lib/osgi-core-api.jar ${instdir}/org.osgi.core-4.2.0.jar || die
+	rm persistence-api-1.0.jar && dosym /usr/share/glassfish-persistence/lib/glassfish-persistence.jar ${instdir}/persistence-api-1.0.jar || die
+	rm validation-api-1.1.0.Final.jar && dosym /usr/share/validation-api-1.0/lib/validation-api.jar ${instdir}/validation-api-1.1.0.Final.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/Manifest b/dev-java/netbeans-ergonomics/Manifest
index 8794894..bf180c5 100644
--- a/dev-java/netbeans-ergonomics/Manifest
+++ b/dev-java/netbeans-ergonomics/Manifest
@@ -6,10 +6,12 @@ DIST netbeans-trunk-nightly-201509030002-src.zip 208952012 SHA256 2ab1daf24bd167
 DIST netbeans-trunk-nightly-201509040002-src.zip 208956475 SHA256 4cc75f6e48a6602fd3ba7496733ad5d9e6289baadeb9d7d28dcd2fab25d7a30c SHA512 e5e7f81f38df14c208331946b8e465690488a8238959b5910a2a6f57323b4b654c79f74d332c9b000ce1452998931c0159ce55682e75b1eaed8a35b86544f139 WHIRLPOOL fc7214be63907b6dbef77200e227184a68ba9a8389a4d83ad780799afebdadeda874dd5eafad989398131777f775c3815cf6a341d4b175e1bcfb8308f3f9de1a
 DIST netbeans-trunk-nightly-201509050002-src.zip 208961273 SHA256 0e4ee8605bb5933ec079c7bc1a597d00cecd76d589ea27a1612eb51253d2bf17 SHA512 d87f0251d65b3c44468ce3da97b3a9f077938da2eaa08c7afc887dbcd0054cad88840a1c12e553ba5100ebe4e272f0a89503a694ae3329952102959a530f70fd WHIRLPOOL 9f1409fe6b8775cfaa64af217fbf88220c8307ff4b169d694f431cbaaff3b46bd7f0c3a97654706e0c949d01d0a61515daef679ebea6012b56da3af7af0ac01b
 DIST netbeans-trunk-nightly-201509100002-src.zip 209128741 SHA256 5d5a40a072eab70857662787af171f4af2a73d866e122c465618914c851e790c SHA512 c40b93171efc0d42e84d34d437c15085189078d51a99be10e63a813a9e7ca9451dcaba6748344e585cc444903c29a56fb1a78c43545136910c000accf53dfe83 WHIRLPOOL 033764680db1d66360e33286c05d58e33bf0288f09e2caa9871beee1d727047b8af6a3de079c595ca508f89f0b29ae4aa96298bd4be5cee3b77e32f9759cb527
+DIST netbeans-trunk-nightly-201509110002-src.zip 209149212 SHA256 9833b3b5804a16062972c36bbc1af9ae9445f7313884195e6ac0935a43182b98 SHA512 2ba867e3c5816b08da70cc9fe5a697ae68d55b3eb28ada6c6b9364dd8828a1f16122dd57f7556113d93b4af034f4b6a0aee05d79336e18b9a8f014b86eff448a WHIRLPOOL 21026c2040e6b6d843308065fd6409ebca28a013d8166d19260888beca80dc37f50e3a327cb059f92803591a23a9838484fd2b1fee78fa3b37b378a495bda782
 EBUILD netbeans-ergonomics-8.0.2.ebuild 2843 SHA256 f9262f6ee7f2aed1fab9bf4cf756f565272e9894afa50b349735e39961e7acc3 SHA512 f158c27640541f7aef31da050e0811c07a251ae4797cc663b95a074a47eaf9d6bb7a9aa11ba38ea55e75c185f7dba74629ba6716a819e8ad68eb3db9ada71451 WHIRLPOOL 4fe9634fb673fb05dbba25996efc3a212ef3bb23ab6e7c732cb75de076feb930735e3901806fd9c801abc7ee8aa8eb800718065325d415371255a886474061d4
 EBUILD netbeans-ergonomics-9999_p20150901.ebuild 2913 SHA256 5c3c619373ecaa4361d21b0686e634abd8e4f94f1d73aedbdc57307d50c64ba3 SHA512 d83f039014436f6e26b1f6fab2391ad2ecc33c184847574ea9c646a1b028f22ce3b566e4976a28d5b6bb00fd671043ff81bc718be76304077caa016613ef1edc WHIRLPOOL d0dbd357622f050e0b18a5c1262057050b740ce60069bdf6450cbdab0cdc4a78c81fc28e3837bd1fa1ab571666d3c2885fb975f5e26d50550b7c30ddbe17f547
 EBUILD netbeans-ergonomics-9999_p20150903.ebuild 2913 SHA256 08d2510fcb31a4ff36c702493e7a028659225e1678b6ad519c625b11220286c9 SHA512 5c5917f2498717d6d404145d13f2e1e75e1e93b08baaa451fbfa4c8e9b518f6207ec1eb86d7f6d57cc96ebaf55c0926f14b8601d7c2ea036c6566e95b2c5deb0 WHIRLPOOL 0e82e1fc32f080535e2b621f69111f0b5f453e08613b916c6fa1eb741cd9dfdb72651b31ac8f5c7bcf31b0b968aed41c3c6d9de6fa272b6d06851853beb1d57b
 EBUILD netbeans-ergonomics-9999_p20150904.ebuild 2913 SHA256 8ef30ecede00161828dc15856ac56b3a1c92f42d12140638229128aae2a35db5 SHA512 79a53e087f6c921574d7a43fbaec72eb935aad46b64020c09e5cfb27a4e8d2d647d500742bf182bd996ad74caa46a6022231dd6a0e9a2d7a624bc61a34ae185d WHIRLPOOL c4790a7b4870a8049d1320d1bd7d46c4faae67bf871c9c53a9810c51d725a12e83a8742099c6bcf1ee08b84250d21a2e9ef6c7f3f813cf476e6a3f7b0bcd600b
 EBUILD netbeans-ergonomics-9999_p20150905.ebuild 2913 SHA256 7cff158b980d95dae799697361df1a71cad68896d8031d04a6acccab087aad4c SHA512 7a3e6f2a424955052827b2f1250dc35336d1c073f317de144afb3be3287b8324a5500f4aadc37f3aa0144f7a9ef65762022035ac3d809370d3901731cfc6ca1c WHIRLPOOL ddc3d6e43b98e5a0b30b8c9bad69a7d5e1e14fe1b856b08f14840b8a1687f579f56c5943c0b395981005dd33a135e09f488c6e68826d284101c1158d0fb52ca3
 EBUILD netbeans-ergonomics-9999_p20150910.ebuild 2913 SHA256 e675ed7f9000df1ca4e06774c482af25af3f59bee2d428d093e7ac033080935a SHA512 ad5b379d52ad4ed5784ad7d56740fae3d78315fa22add1b593eed971883ab6f1204435e5e8323d442b8463999fef98f90038b5da817c6b86a2ea9a4d06e00401 WHIRLPOOL e84575cf1298f90831c21065454ef8432c927081478a5a2aad02e648270d40d515448b556cad5a6bd29eb714bcea96bfa60940fdf517059c5fc891e7aac29128
+EBUILD netbeans-ergonomics-9999_p20150911.ebuild 2913 SHA256 cadbf669681bdfa15c762725a48ee807161e8689a98dba57cf8c4ec3b791334e SHA512 8c284ef562ee56912849790ccc277e9f30172d9b2ba35f728ba91a99db045fa44633e2ec54406fbb7023de978077cfb62b151a88904d3a72d8f47e8a3a2970e6 WHIRLPOOL ed76e147072a3a8bb8c9adadf8a90c70114925557e1b3d2001c6709971d8639efd0964eb60037cd96d37e29752a2fdaecaacaa0d8e446a26286af8acc9a3df12
 MISC metadata.xml 251 SHA256 5a4ff53a9862390a48d45c79be24086646e7a6ff0c5bdf0fcb799d0871299003 SHA512 04153cbd9776ad56a94d6a47d043df15d082d8888df8658f18d0d4b659c6c0526ab3a9b22ccbe2471091bf2d8165f224854bc99c51f3664aaf350ccb93532a7c WHIRLPOOL 2ee8a646c6e23bc46c72cac0ecb5cfe43720ec42404ddaeed8ab1b59d139b3d5c1a94764de847f979da978c001c9f02f709d663a68eeea64d19e88f1fefbca43

diff --git a/dev-java/netbeans-ergonomics/netbeans-ergonomics-9999_p20150911.ebuild b/dev-java/netbeans-ergonomics/netbeans-ergonomics-9999_p20150911.ebuild
new file mode 100644
index 0000000..baa54be
--- /dev/null
+++ b/dev-java/netbeans-ergonomics/netbeans-ergonomics-9999_p20150911.ebuild
@@ -0,0 +1,101 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+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/2015-09-11_00-02-28/zip/netbeans-trunk-nightly-201509110002-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/Manifest b/dev-java/netbeans-extide/Manifest
index d2a5f58..54fcc1f 100644
--- a/dev-java/netbeans-extide/Manifest
+++ b/dev-java/netbeans-extide/Manifest
@@ -8,10 +8,12 @@ DIST netbeans-trunk-nightly-201509030002-src.zip 208952012 SHA256 2ab1daf24bd167
 DIST netbeans-trunk-nightly-201509040002-src.zip 208956475 SHA256 4cc75f6e48a6602fd3ba7496733ad5d9e6289baadeb9d7d28dcd2fab25d7a30c SHA512 e5e7f81f38df14c208331946b8e465690488a8238959b5910a2a6f57323b4b654c79f74d332c9b000ce1452998931c0159ce55682e75b1eaed8a35b86544f139 WHIRLPOOL fc7214be63907b6dbef77200e227184a68ba9a8389a4d83ad780799afebdadeda874dd5eafad989398131777f775c3815cf6a341d4b175e1bcfb8308f3f9de1a
 DIST netbeans-trunk-nightly-201509050002-src.zip 208961273 SHA256 0e4ee8605bb5933ec079c7bc1a597d00cecd76d589ea27a1612eb51253d2bf17 SHA512 d87f0251d65b3c44468ce3da97b3a9f077938da2eaa08c7afc887dbcd0054cad88840a1c12e553ba5100ebe4e272f0a89503a694ae3329952102959a530f70fd WHIRLPOOL 9f1409fe6b8775cfaa64af217fbf88220c8307ff4b169d694f431cbaaff3b46bd7f0c3a97654706e0c949d01d0a61515daef679ebea6012b56da3af7af0ac01b
 DIST netbeans-trunk-nightly-201509100002-src.zip 209128741 SHA256 5d5a40a072eab70857662787af171f4af2a73d866e122c465618914c851e790c SHA512 c40b93171efc0d42e84d34d437c15085189078d51a99be10e63a813a9e7ca9451dcaba6748344e585cc444903c29a56fb1a78c43545136910c000accf53dfe83 WHIRLPOOL 033764680db1d66360e33286c05d58e33bf0288f09e2caa9871beee1d727047b8af6a3de079c595ca508f89f0b29ae4aa96298bd4be5cee3b77e32f9759cb527
+DIST netbeans-trunk-nightly-201509110002-src.zip 209149212 SHA256 9833b3b5804a16062972c36bbc1af9ae9445f7313884195e6ac0935a43182b98 SHA512 2ba867e3c5816b08da70cc9fe5a697ae68d55b3eb28ada6c6b9364dd8828a1f16122dd57f7556113d93b4af034f4b6a0aee05d79336e18b9a8f014b86eff448a WHIRLPOOL 21026c2040e6b6d843308065fd6409ebca28a013d8166d19260888beca80dc37f50e3a327cb059f92803591a23a9838484fd2b1fee78fa3b37b378a495bda782
 EBUILD netbeans-extide-8.0.2.ebuild 3307 SHA256 084e952eae1708b0fab785fd34313985e864dbc74a8531a0d5cdcf906e88f85a SHA512 ade8dc37aa932d7ec20966199e521311716061c23df08d02635f78efd2776f1d7bf040b0f9c9488b947bbbdfb3e33fa764723e3dfffa2214892bc6d685428f6f WHIRLPOOL ad2c26b005675ebca7d902ff1e6caa28552f3fda6795e327cc3584cf109f0ad6efad6516e15af5e70d689be236298b0948003e09a3da4991b3e29a1c85607b2f
 EBUILD netbeans-extide-9999_p20150901.ebuild 3377 SHA256 a459e45e713807b3565add526bbbca698d49b86ec31dfdb90dde5de79a98bf4f SHA512 7221a46804530530304a4cb1a36d58a82c19717e9d6a61c4e5c35a28ad3cb58d108fb11341a5ef9005557b1c7e891478e64f38aa12efffc652ddb684ba94c0d3 WHIRLPOOL 8b4d65a5d5c72f544ea83b43681136ba08678b20a71a15d336e9f8cf235331e01d6ba21bb7bf8147deb638d9e857006eb1ead0a0016e47c3c21262012c03e8ff
 EBUILD netbeans-extide-9999_p20150903.ebuild 3377 SHA256 e0a7a1f3704f2521ff54dbaa7eb9672a10bb8b866026d359c6fd4ae287937afa SHA512 c0f77e05c7a78608804126a10738d46e337f38b0124e30f50d14fedb24e984bca9a94bf31ee8ff6cc3931ca8b74527d521a27384dba09f555f7d59bafc366642 WHIRLPOOL 73fe4c7dc37d7b1ab2794cc55864dad1a5c1408a14c028df00c9f26c5049f08ccb5b8d2a88d3b0f2ad72d5fc927513692157e38b943db69fce602f6256638ab8
 EBUILD netbeans-extide-9999_p20150904.ebuild 3377 SHA256 95201f57ee8e7e652660751066cfd42385bca11016677f6f3075c1f58d7f1172 SHA512 d5408285e3b09c0be346fe96acf557a1694977bf7cb0322bf27f8ec54beb8f3a664696acd9c81cdc26890c69bf4f0f0b1bcdf3622316876545be24043d50a283 WHIRLPOOL 4ed0646bc1744e815f6a94dc8d6089fd07b21c78b6820ce645488e6f9d3dc1f3767a05c51e925afe8501010fb60f056a963f8f5eed23991363a398fab84dd0a8
 EBUILD netbeans-extide-9999_p20150905.ebuild 3377 SHA256 a1572dea64ffeaf591e84ce69d582eb518c6b4b05eef0b56e29ceed376a10441 SHA512 202241e945890917f1076be1d79250c24fe758bba9ddc6b82cb1cb98d036d838cc692e610319359416e59edff5c0fecabbed436ae89f2d6685ebada418f39c7f WHIRLPOOL 13b3d51d1c9b14cb0d6a692230254cd402df5da367e8c0601b898d4eaa244cbe72b72e9c7c7ebfd213143c3b2094f51dda9e6ccfb08254ab3e226360df85c5d2
 EBUILD netbeans-extide-9999_p20150910.ebuild 3377 SHA256 87e84103c4dc20ed68868d2bd77e6ceb0fd6895f2d6fd05b73f08cd377847471 SHA512 08eff343e7404dc735b3133c0a353d5da42e6b764e704d18cfdcbd1b712d75643e25fc52531f81cd5302c6401022889d1d413e2eaddc44fa34387b36d2318428 WHIRLPOOL ca7838b02a4b7099896ad69e8c6986829ae7d76d4102fdb36988471b8499fcc21f90f0c42ad2bad5cea8c2aa249bd6314d09c19cef487c050e50fa47d25c846d
+EBUILD netbeans-extide-9999_p20150911.ebuild 3377 SHA256 787bd0b409195b4575d88e9a8d6bf2939027dbe1600cba5521417b9c8d26f324 SHA512 1316048db9382dc8987609e393ea32467ac4f4e22781c9ca33fcac54e1a0371619225f6983a955dadad76b9cad3cf66dddc010a8d2dc978163a59678b9ff4815 WHIRLPOOL 3f585eef5d5dbd54ee24e42b53bb216fa84f794f8698db949312ca97622afb4156e789e53f711f3fc0016a336367bdbb9316a7b1779c07659b7533309a46d738
 MISC metadata.xml 251 SHA256 5a4ff53a9862390a48d45c79be24086646e7a6ff0c5bdf0fcb799d0871299003 SHA512 04153cbd9776ad56a94d6a47d043df15d082d8888df8658f18d0d4b659c6c0526ab3a9b22ccbe2471091bf2d8165f224854bc99c51f3664aaf350ccb93532a7c WHIRLPOOL 2ee8a646c6e23bc46c72cac0ecb5cfe43720ec42404ddaeed8ab1b59d139b3d5c1a94764de847f979da978c001c9f02f709d663a68eeea64d19e88f1fefbca43

diff --git a/dev-java/netbeans-extide/netbeans-extide-9999_p20150911.ebuild b/dev-java/netbeans-extide/netbeans-extide-9999_p20150911.ebuild
new file mode 100644
index 0000000..5f18096
--- /dev/null
+++ b/dev-java/netbeans-extide/netbeans-extide-9999_p20150911.ebuild
@@ -0,0 +1,108 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+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/2015-09-11_00-02-28/zip/netbeans-trunk-nightly-201509110002-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/Manifest b/dev-java/netbeans-groovy/Manifest
index fc7aeed..19e2874 100644
--- a/dev-java/netbeans-groovy/Manifest
+++ b/dev-java/netbeans-groovy/Manifest
@@ -7,10 +7,12 @@ DIST netbeans-trunk-nightly-201509030002-src.zip 208952012 SHA256 2ab1daf24bd167
 DIST netbeans-trunk-nightly-201509040002-src.zip 208956475 SHA256 4cc75f6e48a6602fd3ba7496733ad5d9e6289baadeb9d7d28dcd2fab25d7a30c SHA512 e5e7f81f38df14c208331946b8e465690488a8238959b5910a2a6f57323b4b654c79f74d332c9b000ce1452998931c0159ce55682e75b1eaed8a35b86544f139 WHIRLPOOL fc7214be63907b6dbef77200e227184a68ba9a8389a4d83ad780799afebdadeda874dd5eafad989398131777f775c3815cf6a341d4b175e1bcfb8308f3f9de1a
 DIST netbeans-trunk-nightly-201509050002-src.zip 208961273 SHA256 0e4ee8605bb5933ec079c7bc1a597d00cecd76d589ea27a1612eb51253d2bf17 SHA512 d87f0251d65b3c44468ce3da97b3a9f077938da2eaa08c7afc887dbcd0054cad88840a1c12e553ba5100ebe4e272f0a89503a694ae3329952102959a530f70fd WHIRLPOOL 9f1409fe6b8775cfaa64af217fbf88220c8307ff4b169d694f431cbaaff3b46bd7f0c3a97654706e0c949d01d0a61515daef679ebea6012b56da3af7af0ac01b
 DIST netbeans-trunk-nightly-201509100002-src.zip 209128741 SHA256 5d5a40a072eab70857662787af171f4af2a73d866e122c465618914c851e790c SHA512 c40b93171efc0d42e84d34d437c15085189078d51a99be10e63a813a9e7ca9451dcaba6748344e585cc444903c29a56fb1a78c43545136910c000accf53dfe83 WHIRLPOOL 033764680db1d66360e33286c05d58e33bf0288f09e2caa9871beee1d727047b8af6a3de079c595ca508f89f0b29ae4aa96298bd4be5cee3b77e32f9759cb527
+DIST netbeans-trunk-nightly-201509110002-src.zip 209149212 SHA256 9833b3b5804a16062972c36bbc1af9ae9445f7313884195e6ac0935a43182b98 SHA512 2ba867e3c5816b08da70cc9fe5a697ae68d55b3eb28ada6c6b9364dd8828a1f16122dd57f7556113d93b4af034f4b6a0aee05d79336e18b9a8f014b86eff448a WHIRLPOOL 21026c2040e6b6d843308065fd6409ebca28a013d8166d19260888beca80dc37f50e3a327cb059f92803591a23a9838484fd2b1fee78fa3b37b378a495bda782
 EBUILD netbeans-groovy-8.0.2.ebuild 3346 SHA256 907e6cd11c222f15c826494b44929483803f0e4249de0d54db51e6855b574148 SHA512 8bb37121e7e32621959318d109b1d982e2c705a9deb7171f5fef1dcaed55fc5718b0bc9e6bbb2592cdaa5e96d874bb6e6bfa96d06fe09f14d5250c1485eb1da5 WHIRLPOOL d5e09fa1e975835f05c6132c091fee4ae9fc9dd671af9f5f88a9195d5cd4a93804f96687ed3f2bd741117fa65773f2c464b3cfd6697425039cc51a940efa2a31
 EBUILD netbeans-groovy-9999_p20150901.ebuild 3416 SHA256 bd899df99a2dfaf3081354ae331ad0494b5f2cdda81dc9039cef398ff8fcb10d SHA512 5753e9033ecb74072aae302ac814e5e8f3c264b159f4d82f7d41467f552b8089ad4a02141a277f154d8f48145a925b4214898e188d69f38d50dbb28af5b45b60 WHIRLPOOL ff875fab2e82d6fe6dcbabcccf334ff8056939ea7502773191ba622ecf597acbb49ac0a685ddca883bee01a890c220d9d531b6daa01189dc9b4a58cf41144c80
 EBUILD netbeans-groovy-9999_p20150903.ebuild 3416 SHA256 52900724587824fe2970ef01a4f6e2478d2b43f8068473edce228ae26f295f11 SHA512 15387a879c00dc1262cfe45c5d4d4bed353a15606531a1942a4921eaa7e947d89624bf81ed25a75bc9d76c1f8d7d729478e31f5dff416f08ba5c81280d1b88ab WHIRLPOOL fe65f7e8120c3586e0e35c49008c85296237f69eeac8f6f383a0bf47c86407e66c6f17c3ff01dbdb921ecd9bb4c71e57e106a1f779b276239b9fa3ccefa8d2ab
 EBUILD netbeans-groovy-9999_p20150904.ebuild 3416 SHA256 3d4a80ccfb6abf713b08bea80b23ed3ce98187a81f231b1dd441006a5997e783 SHA512 443017f2d8bde03ffc87f4a264b4c02de7d9c7082767250f3820bd9ffd637b114de5698c19d4c4d7ffa95e42451adcbdfefa0608f205355142e50e12fac1a3e9 WHIRLPOOL f41b97a9984f76ababb7f5ce5cefe88e1a779f54fdb07d7f6f1ffdea1e19e0e1b835f3bfbffc2d941139050d8a9f1201611e5ab7f204789a7d7d87b97d4df09d
 EBUILD netbeans-groovy-9999_p20150905.ebuild 3416 SHA256 13bc549391ab10a9a25effb9f060c5571879f15c8a2cacc9d81d6efca511701e SHA512 32d1302682eb822e6dc6d7fc0d2485f8afdd5cd822913ab1c7dc99477e39322c6ee92728ea91b225947d690d7aca81292c4ed52c6cab8a56536776ab291cd71f WHIRLPOOL e7716c90b0e7f63c837d5e9e7b8d0eb4bcbdbd87848e494fda303f260c43a3270c6309cd8fdda31c485a125140e31e6d110e0b09b36a8451c29849ff8c814ee3
 EBUILD netbeans-groovy-9999_p20150910.ebuild 3416 SHA256 6dba1de476b8bf9501da5adec0028c2e60988718f7dfe656192d390daaf0b406 SHA512 dcfdfa8085f93008d3681ac4c9d26cfa785c1c43aee1f576b50097cc64704267c3b7880c7fcf196f1530315d7880f319f6450b3985c53b69f8942dbeb92e0e14 WHIRLPOOL 68c8e8988bccb38659b5a78658a6054b268e4e8f5741cd660d661693bdb5e26c33569efe22aa4d08c1feb92b6108bcefc414019472df9fc5cb1beafee8c0d42d
+EBUILD netbeans-groovy-9999_p20150911.ebuild 3416 SHA256 ad8fecb923a1adbc56a83a86b740a1f562803f0ccd520d0daba98fced07171cd SHA512 9ca4fdc8bd64c7c3d4c18691b3875968672ddd8e465a789be0c1f35c0ea74c8068f4f455682dd9dbf842e648d28cc5b1f42b724f77113f47ffa3c571b030d670 WHIRLPOOL ac776f4e1173148eda24564f72e19b4de5abfa60e6b29ed64fb987c1bea1eaece5431397de3bff60b8ae89afc85dae74f4fc3277a1a4760c713a4d34401de0d4
 MISC metadata.xml 251 SHA256 5a4ff53a9862390a48d45c79be24086646e7a6ff0c5bdf0fcb799d0871299003 SHA512 04153cbd9776ad56a94d6a47d043df15d082d8888df8658f18d0d4b659c6c0526ab3a9b22ccbe2471091bf2d8165f224854bc99c51f3664aaf350ccb93532a7c WHIRLPOOL 2ee8a646c6e23bc46c72cac0ecb5cfe43720ec42404ddaeed8ab1b59d139b3d5c1a94764de847f979da978c001c9f02f709d663a68eeea64d19e88f1fefbca43

diff --git a/dev-java/netbeans-groovy/netbeans-groovy-9999_p20150911.ebuild b/dev-java/netbeans-groovy/netbeans-groovy-9999_p20150911.ebuild
new file mode 100644
index 0000000..dddcfa5
--- /dev/null
+++ b/dev-java/netbeans-groovy/netbeans-groovy-9999_p20150911.ebuild
@@ -0,0 +1,111 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+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/2015-09-11_00-02-28/zip/netbeans-trunk-nightly-201509110002-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/Manifest b/dev-java/netbeans-harness/Manifest
index c40f8bc..8e15652 100644
--- a/dev-java/netbeans-harness/Manifest
+++ b/dev-java/netbeans-harness/Manifest
@@ -11,10 +11,12 @@ DIST netbeans-trunk-nightly-201509030002-src.zip 208952012 SHA256 2ab1daf24bd167
 DIST netbeans-trunk-nightly-201509040002-src.zip 208956475 SHA256 4cc75f6e48a6602fd3ba7496733ad5d9e6289baadeb9d7d28dcd2fab25d7a30c SHA512 e5e7f81f38df14c208331946b8e465690488a8238959b5910a2a6f57323b4b654c79f74d332c9b000ce1452998931c0159ce55682e75b1eaed8a35b86544f139 WHIRLPOOL fc7214be63907b6dbef77200e227184a68ba9a8389a4d83ad780799afebdadeda874dd5eafad989398131777f775c3815cf6a341d4b175e1bcfb8308f3f9de1a
 DIST netbeans-trunk-nightly-201509050002-src.zip 208961273 SHA256 0e4ee8605bb5933ec079c7bc1a597d00cecd76d589ea27a1612eb51253d2bf17 SHA512 d87f0251d65b3c44468ce3da97b3a9f077938da2eaa08c7afc887dbcd0054cad88840a1c12e553ba5100ebe4e272f0a89503a694ae3329952102959a530f70fd WHIRLPOOL 9f1409fe6b8775cfaa64af217fbf88220c8307ff4b169d694f431cbaaff3b46bd7f0c3a97654706e0c949d01d0a61515daef679ebea6012b56da3af7af0ac01b
 DIST netbeans-trunk-nightly-201509100002-src.zip 209128741 SHA256 5d5a40a072eab70857662787af171f4af2a73d866e122c465618914c851e790c SHA512 c40b93171efc0d42e84d34d437c15085189078d51a99be10e63a813a9e7ca9451dcaba6748344e585cc444903c29a56fb1a78c43545136910c000accf53dfe83 WHIRLPOOL 033764680db1d66360e33286c05d58e33bf0288f09e2caa9871beee1d727047b8af6a3de079c595ca508f89f0b29ae4aa96298bd4be5cee3b77e32f9759cb527
+DIST netbeans-trunk-nightly-201509110002-src.zip 209149212 SHA256 9833b3b5804a16062972c36bbc1af9ae9445f7313884195e6ac0935a43182b98 SHA512 2ba867e3c5816b08da70cc9fe5a697ae68d55b3eb28ada6c6b9364dd8828a1f16122dd57f7556113d93b4af034f4b6a0aee05d79336e18b9a8f014b86eff448a WHIRLPOOL 21026c2040e6b6d843308065fd6409ebca28a013d8166d19260888beca80dc37f50e3a327cb059f92803591a23a9838484fd2b1fee78fa3b37b378a495bda782
 EBUILD netbeans-harness-8.0.2.ebuild 4055 SHA256 2674d562adc57648c82cac9f714f74f9d29dd7b7ff7fa7f0ef37c43ef0975489 SHA512 7d72bed5b955b2365a4c11fcd97a2d6f2372ab939fb9a03b3ff7915053f24d695373c1aa154f6e6916d37ef3ace7b38864d575419460382760500576dae52e49 WHIRLPOOL 72f54a6cb83f282a75f0abb073109414a7b8bcd4e9263466281e68ff34148a7343ed3bd78ebdc8afd109b6b9f5b9f15bfd0e250f418fcaa4986a7c886b57b9f6
 EBUILD netbeans-harness-9999_p20150901.ebuild 4125 SHA256 c9189bd6d9b770dcc22627aedb7041e6dd80a0464b4b3649a6cebf1352fd7dea SHA512 154f820f3b07192e4d8b35fd473cdedd3dcee70d81f8484e95a33846fd6c3e8474acbad1ee99ca2ee29574da125521ca695bed8a471e5fd10ab7724ef9d8f7d4 WHIRLPOOL 8b4a9ff80f36f06108df4508abd091b99e5ed96c6b297c1efe5b18b3f798890f6f23313c02d543d89fcde5169631bf3cdca15cc54a086747f8f52eda303d8f09
 EBUILD netbeans-harness-9999_p20150903.ebuild 4125 SHA256 68de6c9e0f914b0db958bcb0a48f9e74170cef31e65dcea5e8996f8796df32d1 SHA512 93a557e04df4f9fc4bc068b087e3b91d5fb409c30e8c16b625f2973b28e3f5f36474fa7d36ca9fc72c154bb2a2bd84b696a95241cd02ec14cf7ae4800291d545 WHIRLPOOL 4bbdb9c03f2b21ce25eba8f4ac8abe8144c4f315dc2a608d2ec4cb3a6adcd7020f4bae313924024eaba580e245d1e8e3e3cd19f3d1e6f90db4c6ca6f7c90ad3c
 EBUILD netbeans-harness-9999_p20150904.ebuild 4125 SHA256 9e64e0a2ec17df672daedb8f30e07c6e34e0d12a38d4d4f2bc768c5a14e58bcb SHA512 dd78e57d651225a43533c220ebce61553c7f5e24295fe3de0f75671f127a1d47996e85f031c091cc6072c582eff7e6be9d05708ee1518662c375713b8430d748 WHIRLPOOL 51b360899ed746779f83ac1e21862f909abb4534fd609aa6b318a1449401e9b71fc71a1d243aec6e184dcc7519e366146870b8a219cf5cdf65bee11c95df3aa8
 EBUILD netbeans-harness-9999_p20150905.ebuild 4125 SHA256 b40aed5fd4be5ef577b33ebef09d14a804c4adc7ae0a65b6dedf86c3571a965d SHA512 364650e97f55dc0bde7117c7586320d86f13b4d9f9ccea54128d27632f23ce641e6f7de8f639997018172629bef0cb75c311bbe44b3e8b960876ab9dae098205 WHIRLPOOL 5e96a28f21f0d4be0758e3d2dd9e89cfb4b42725875fa02d07c0d13825feaf5af90e994463b061d6c837778e44dfe65ac4ca9ea1ecf0cefd42ab75f6160b5266
 EBUILD netbeans-harness-9999_p20150910.ebuild 4125 SHA256 455152da6aba61f06d8677d60bd0c5c1df6d8439bbaf9573b72641564855af0c SHA512 5dcd8479b609e704abb50fce1654640bccf29cf2c283044de3c96215b97377c5612bb7629ee8379c454a72f7831da5fdf5ac0c16053f2289a5fcd9c24ce651b1 WHIRLPOOL b95cfb8aefc2b79378556ecabe2a0a804706d1a1918450edb752c77ec4bb567bb3988c212b72353dc71c7adaf3f918c55a0354aff2530ce0340d450db6bd2434
+EBUILD netbeans-harness-9999_p20150911.ebuild 4125 SHA256 1a33f003625fce99e14e4e620dad9829eaafb771ddfa30704d36559c3a581bba SHA512 c59f4018a08485d938a0702c07685c51a3c9ccc6b1e4103e1d360ba81c3b83491950518b564c9b8810f68653701f2a91a7e0f3ccda218cbf8cf5fb5d9316b2b3 WHIRLPOOL 5aa07a900bf350c80203cf7144a13c3173b9a048f8f70a2fffd4f766d26583779554b53b4fbdac68627324b381181f2c76ee80637c0eb6e1523141cc77570c2b
 MISC metadata.xml 251 SHA256 5a4ff53a9862390a48d45c79be24086646e7a6ff0c5bdf0fcb799d0871299003 SHA512 04153cbd9776ad56a94d6a47d043df15d082d8888df8658f18d0d4b659c6c0526ab3a9b22ccbe2471091bf2d8165f224854bc99c51f3664aaf350ccb93532a7c WHIRLPOOL 2ee8a646c6e23bc46c72cac0ecb5cfe43720ec42404ddaeed8ab1b59d139b3d5c1a94764de847f979da978c001c9f02f709d663a68eeea64d19e88f1fefbca43

diff --git a/dev-java/netbeans-harness/netbeans-harness-9999_p20150911.ebuild b/dev-java/netbeans-harness/netbeans-harness-9999_p20150911.ebuild
new file mode 100644
index 0000000..25f45e9
--- /dev/null
+++ b/dev-java/netbeans-harness/netbeans-harness-9999_p20150911.ebuild
@@ -0,0 +1,114 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+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/2015-09-11_00-02-28/zip/netbeans-trunk-nightly-201509110002-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.12.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/Manifest b/dev-java/netbeans-ide/Manifest
index 24b1423..e02fb2f 100644
--- a/dev-java/netbeans-ide/Manifest
+++ b/dev-java/netbeans-ide/Manifest
@@ -112,10 +112,12 @@ DIST netbeans-trunk-nightly-201509030002-src.zip 208952012 SHA256 2ab1daf24bd167
 DIST netbeans-trunk-nightly-201509040002-src.zip 208956475 SHA256 4cc75f6e48a6602fd3ba7496733ad5d9e6289baadeb9d7d28dcd2fab25d7a30c SHA512 e5e7f81f38df14c208331946b8e465690488a8238959b5910a2a6f57323b4b654c79f74d332c9b000ce1452998931c0159ce55682e75b1eaed8a35b86544f139 WHIRLPOOL fc7214be63907b6dbef77200e227184a68ba9a8389a4d83ad780799afebdadeda874dd5eafad989398131777f775c3815cf6a341d4b175e1bcfb8308f3f9de1a
 DIST netbeans-trunk-nightly-201509050002-src.zip 208961273 SHA256 0e4ee8605bb5933ec079c7bc1a597d00cecd76d589ea27a1612eb51253d2bf17 SHA512 d87f0251d65b3c44468ce3da97b3a9f077938da2eaa08c7afc887dbcd0054cad88840a1c12e553ba5100ebe4e272f0a89503a694ae3329952102959a530f70fd WHIRLPOOL 9f1409fe6b8775cfaa64af217fbf88220c8307ff4b169d694f431cbaaff3b46bd7f0c3a97654706e0c949d01d0a61515daef679ebea6012b56da3af7af0ac01b
 DIST netbeans-trunk-nightly-201509100002-src.zip 209128741 SHA256 5d5a40a072eab70857662787af171f4af2a73d866e122c465618914c851e790c SHA512 c40b93171efc0d42e84d34d437c15085189078d51a99be10e63a813a9e7ca9451dcaba6748344e585cc444903c29a56fb1a78c43545136910c000accf53dfe83 WHIRLPOOL 033764680db1d66360e33286c05d58e33bf0288f09e2caa9871beee1d727047b8af6a3de079c595ca508f89f0b29ae4aa96298bd4be5cee3b77e32f9759cb527
+DIST netbeans-trunk-nightly-201509110002-src.zip 209149212 SHA256 9833b3b5804a16062972c36bbc1af9ae9445f7313884195e6ac0935a43182b98 SHA512 2ba867e3c5816b08da70cc9fe5a697ae68d55b3eb28ada6c6b9364dd8828a1f16122dd57f7556113d93b4af034f4b6a0aee05d79336e18b9a8f014b86eff448a WHIRLPOOL 21026c2040e6b6d843308065fd6409ebca28a013d8166d19260888beca80dc37f50e3a327cb059f92803591a23a9838484fd2b1fee78fa3b37b378a495bda782
 EBUILD netbeans-ide-8.0.2.ebuild 29317 SHA256 42218788ab0fc7c7cd1bb42a8b0c72a66543a3260b752aa55365833c355bcc63 SHA512 c712b66b6bee654390a45e5c616479df2be624bb770f3838d4fcce875f71a8d165703dffd55c4fd7d30e19c392784203e5fe01e2404907d88c935d439efaf578 WHIRLPOOL 67763e4a36215ac002fd321556ce2269affc15ba48ad5069d7ccc746d918179994f174e09305a9d9ddadddbea690778c2769e0ea1993eafc09e01580485e2292
 EBUILD netbeans-ide-9999_p20150901.ebuild 30334 SHA256 a2430eba1da126a548c390a52701aa5a9ff7f3c5afcf591492704f6270f49ee2 SHA512 ee3b7c4d773f16ae78341f8393397d6090055d11b2b45a579afc23e020cda5bf0f86b1348d47b99fe94280885db4869b3f54a15e5f70aafb62c2ead0e63bc9f6 WHIRLPOOL dae179c3bed6fdbfa5527a31d3b15a9e8f1eb7a805ce872b9fa512be27b1ee4e3393a0713bec6e461fdaf7d09c04857c68cca5b497f772559491a4f32f2ef4cc
 EBUILD netbeans-ide-9999_p20150903.ebuild 30334 SHA256 ae41f1ecbbaf9cfc10fa655a7ac439d418a40d7cd2ae2cf8e40009035c839f22 SHA512 c8d03b4c44ed1855b06f861347078aadbbaed51e42eced7f35f02c438440a269b055042aa44666ebd2c0d1fb16c626f07a70c751025bce97735393e4faf9c387 WHIRLPOOL 45c00d9dcc84161a15412652088d25e5f220b7d499da453ef2f482960c7e51cef8d6ac3e6b343e9a9b5b78f6cc8f68ba7aaab15c557c2734c0335bf27e48a531
 EBUILD netbeans-ide-9999_p20150904.ebuild 30334 SHA256 a8dd72e491f3153c89c4845fc7c9fcdaff91fdfe777b8983ed4d5b58e2f15bf2 SHA512 f8a2f6294dd0c56612fceae3be8034d9d844506d9cd677f6b214f0fe07af2536096fc4a9469e236c2271bd267b048d7fb38a0fc33204ac26f668bc0350cfeac8 WHIRLPOOL d4bd27b487b652f29d87d5ec301ef56eddafee83171a6cf3cf0c57d2dfed9a49cc0e7b44b1c3189737fd8d7ffdef5b1be0c2a100c5f0b2b810a95483b114a5aa
 EBUILD netbeans-ide-9999_p20150905.ebuild 30334 SHA256 736a98194605a069fd8a0ac3ee6aabfdfcd84f61be213b35972df860cd81385d SHA512 52d8d1610898cc4acd085656b1c842a4d7e0ddf3ff598ab34bf11b956f7a91272343895f1ba53fcf6d2f97212e904c9b5cc8e53aafafd7036d935bfb2761eccc WHIRLPOOL 923c1f8d1e3a29a44a6a061b02fb645e5a540c96dd56d4d0054c097c552d494534a754017ef36e4a3d7e6e741a27297fbbb192ebf4554fe3011f1ce7c2474d5b
 EBUILD netbeans-ide-9999_p20150910.ebuild 30334 SHA256 ad1a8b29b2a9fdd348fe5b8490625933c3b187516a06d701c89280f3bd3d8219 SHA512 4a58d40d1e04d7dd9d839351e115c95ead0a58a8a2d5235bedaf396de80003ace8ed58d5b2b9d5b24826a33fe6d281d3cf3f04eaafdf95e0f321d48ee2447154 WHIRLPOOL f5f720b4897d80893436e681e240a75e4b72208f9ff0becd0dde9b72ac6da4fd60c32d85b41b2fc2a541c77f5455ee7082c487ca06e9ec747b056dac7bbe5f22
+EBUILD netbeans-ide-9999_p20150911.ebuild 30334 SHA256 8159f5809cf9cf368a76b8cec6e647372471d6ee0cc6e35147b4ac3101502e47 SHA512 cee0236e5be8ec725f3e8969ed1750628ee9622db9c7eef1b4ffa899ac53ade782257d2583dc5cc5ece03c5455394e1c995f4c6139cc494186bc4699862eed6c WHIRLPOOL 8a2e9132d529f40d0d087664d9df4c5a7fe27409bdcb1e53bf613dca1defcf3c3c47bd825207044dfad234609928025a584a8c60194aa5e36f2c0a3df88d66f7
 MISC metadata.xml 251 SHA256 5a4ff53a9862390a48d45c79be24086646e7a6ff0c5bdf0fcb799d0871299003 SHA512 04153cbd9776ad56a94d6a47d043df15d082d8888df8658f18d0d4b659c6c0526ab3a9b22ccbe2471091bf2d8165f224854bc99c51f3664aaf350ccb93532a7c WHIRLPOOL 2ee8a646c6e23bc46c72cac0ecb5cfe43720ec42404ddaeed8ab1b59d139b3d5c1a94764de847f979da978c001c9f02f709d663a68eeea64d19e88f1fefbca43

diff --git a/dev-java/netbeans-ide/netbeans-ide-9999_p20150911.ebuild b/dev-java/netbeans-ide/netbeans-ide-9999_p20150911.ebuild
new file mode 100644
index 0000000..1b0501b
--- /dev/null
+++ b/dev-java/netbeans-ide/netbeans-ide-9999_p20150911.ebuild
@@ -0,0 +1,377 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+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/2015-09-11_00-02-28/zip/netbeans-trunk-nightly-201509110002-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/ACAB7C860DF78C4A528FD8A64F2C62A0A96639E5-com.trilead.ssh2_1.0.0.build219_t20150519_2322.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/83E794DFF9A39401AC65252C8E10157761584224-css3-spec.zip
+	http://hg.netbeans.org/binaries/C9A6304FAA121C97CB2458B93D30B1FD6F0F7691-derbysampledb.zip
+	http://hg.netbeans.org/binaries/3502EB7D4A72C2C684D23AFC241CCF50797079D1-exechlp-1.0.zip
+	http://hg.netbeans.org/binaries/5EEAAC41164FEBCB79C73BEBD678A7B6C10C3E80-freemarker-2.3.19.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/2541D025F428A361110C4D656CDD99B5C5C5DFCE-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/ECEAF316A8FAF0E794296EBE158AE110C7D72A5A-JavaEWAH-0.7.9.jar
+	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/3699DFFE17089F9B9C73857EDA9B8669AAD657D3-js-corestubs.zip
+	http://hg.netbeans.org/binaries/2AA13ACCC4059C930C4AD3B6ABD8E1C0FC06235C-js-domstubs.zip
+	http://hg.netbeans.org/binaries/7C0C3CFD989EE775198337C11715C1ACD6C84F41-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/F27BF427BE72709F3094BF76ECA8C5A2B9AC6DA9-org.eclipse.core.contenttype_3.4.100.v20110423-0524_nosignature.jar
+	http://hg.netbeans.org/binaries/9BC512C5BB9A9F5276B9E8672F6B30AD0BD97D88-org.eclipse.core.jobs-3.5.101_nosignature.jar
+	http://hg.netbeans.org/binaries/105DC9A1A93E6EA9A6CD368AD12897B1F247D6AE-org.eclipse.core.net_1.2.100.I20110511-0800_nosignature.jar
+	http://hg.netbeans.org/binaries/E99C3C29A90F8AB29078A38CF8EBC3860249640C-org.eclipse.core.runtime-3.7.0_nosignature.jar
+	http://hg.netbeans.org/binaries/84FC6D443CD0816FA87093B6B7AD6876ADFC4207-org.eclipse.core.runtime.compatibility.auth_3.2.200.v20110110_nosignature.jar
+	http://hg.netbeans.org/binaries/74069BFD03B2C66A9EBB4370C0B8064E3F5B6594-org.eclipse.equinox.app-1.3.100_nosignature.jar
+	http://hg.netbeans.org/binaries/A7953EEE9D4D7CD896C7D0AD6D21902E6259979B-org.eclipse.equinox.common_3.6.0.v20110523_nosignature.jar
+	http://hg.netbeans.org/binaries/3FB169C95F095B70F05B96BE9496DA63FAE7F707-org.eclipse.equinox.preferences-3.4.2_nosignature.jar
+	http://hg.netbeans.org/binaries/CD5919A707EB6B5C1FC29964C8EF5E2CF3F5A3D4-org.eclipse.equinox.registry_3.5.200.v20120522-1841_nosignature.jar
+	http://hg.netbeans.org/binaries/A4634373DC60650C49CC98AEA2090889F7ADC68F-org.eclipse.equinox.security-1.1.1_nosignature.jar
+	http://hg.netbeans.org/binaries/278049664FFA5447191BD5FE96B0B62B0CFD15D1-org.eclipse.jgit-3.6.2.201501210735-r_nosignature.jar
+	http://hg.netbeans.org/binaries/9039A0C1FA0E56CB56A1A192908814478FA747C5-org.eclipse.jgit.java7-3.6.2.201501210735-r_nosignature.jar
+	http://hg.netbeans.org/binaries/DAA45A7EE529A7532F5DC08625A5A3E81DB2D4CB-org.eclipse.mylyn.bugzilla.core_3.14.2.v20150217-2341.jar
+	http://hg.netbeans.org/binaries/F5AC8FBA216A8C52F319EC2CB455B44FFD734B38-org.eclipse.mylyn.commons.core_3.10.0.20130926-1710_nosignature.jar
+	http://hg.netbeans.org/binaries/B43E7CE55F0DECA3BE1A6E695A3E3ABC6D62567F-org.eclipse.mylyn.commons.net_3.10.0.20131018-1210_nosignature.jar
+	http://hg.netbeans.org/binaries/1B9CBEC0FCB47C279519E52D360199C24EC99B01-org.eclipse.mylyn.commons.repositories.core_1.2.0.20130704-2116_nosignature.jar
+	http://hg.netbeans.org/binaries/6B0A6E9F9179E314944E4ADB831A9D6FCADED3DC-org.eclipse.mylyn.commons.xmlrpc_3.10.0.20130704-2116_nosignature.jar
+	http://hg.netbeans.org/binaries/B28B8EE777232102471EA5334FD70E20851845DD-org.eclipse.mylyn.tasks.core_3.10.0.20131010-2023_nosignature.jar
+	http://hg.netbeans.org/binaries/24A15BD37950663933CC4975EE6E518BEB2C28A3-org.eclipse.mylyn.wikitext.confluence.core_1.9.0.20131007-2055_nosignature.jar
+	http://hg.netbeans.org/binaries/01CD242F06F6F7E4E61C9E05ABBE07318E501D51-org.eclipse.mylyn.wikitext.core_1.9.0.20131007-2055_nosignature.jar
+	http://hg.netbeans.org/binaries/75928E4368CA748131A6767BA1A97D9DA643C306-org.eclipse.mylyn.wikitext.textile.core_1.9.0.20131007-2055_nosignature.jar
+	http://hg.netbeans.org/binaries/8307A44D3F150F1BB317532097A0C7D125C00F2D-org.tmatesoft.svnkit_1.8.10.r10446_v20150526_1454.jar
+	http://hg.netbeans.org/binaries/E90EF50215FFD23928B3308DC76A17B7DADE5F33-processtreekiller-1.0.5.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/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/jsch-0.1.46:0
+	>=dev-java/json-simple-1.1:0
+	dev-java/jsr173:0
+	dev-java/jzlib: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
+	${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}"/ACAB7C860DF78C4A528FD8A64F2C62A0A96639E5-com.trilead.ssh2_1.0.0.build219_t20150519_2322.jar libs.svnClientAdapter.svnkit/external/com.trilead.ssh2_1.0.0.build219_t20150519_2322.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}"/83E794DFF9A39401AC65252C8E10157761584224-css3-spec.zip css.editor/external/css3-spec.zip || die
+	ln -s "${DISTDIR}"/C9A6304FAA121C97CB2458B93D30B1FD6F0F7691-derbysampledb.zip derby/external/derbysampledb.zip || die
+	ln -s "${DISTDIR}"/3502EB7D4A72C2C684D23AFC241CCF50797079D1-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}"/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}"/2541D025F428A361110C4D656CDD99B5C5C5DFCE-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}"/ECEAF316A8FAF0E794296EBE158AE110C7D72A5A-JavaEWAH-0.7.9.jar c.googlecode.javaewah.JavaEWAH/external/JavaEWAH-0.7.9.jar || 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}"/3699DFFE17089F9B9C73857EDA9B8669AAD657D3-js-corestubs.zip javascript2.editor/external/js-corestubs.zip || die
+	ln -s "${DISTDIR}"/2AA13ACCC4059C930C4AD3B6ABD8E1C0FC06235C-js-domstubs.zip javascript2.editor/external/js-domstubs.zip || die
+	ln -s "${DISTDIR}"/7C0C3CFD989EE775198337C11715C1ACD6C84F41-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.process/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}"/F27BF427BE72709F3094BF76ECA8C5A2B9AC6DA9-org.eclipse.core.contenttype_3.4.100.v20110423-0524_nosignature.jar o.eclipse.core.contenttype/external/org.eclipse.core.contenttype_3.4.100.v20110423-0524_nosignature.jar || die
+	ln -s "${DISTDIR}"/9BC512C5BB9A9F5276B9E8672F6B30AD0BD97D88-org.eclipse.core.jobs-3.5.101_nosignature.jar o.eclipse.core.jobs/external/org.eclipse.core.jobs-3.5.101_nosignature.jar || die
+	ln -s "${DISTDIR}"/105DC9A1A93E6EA9A6CD368AD12897B1F247D6AE-org.eclipse.core.net_1.2.100.I20110511-0800_nosignature.jar o.eclipse.core.net/external/org.eclipse.core.net_1.2.100.I20110511-0800_nosignature.jar || die
+	ln -s "${DISTDIR}"/E99C3C29A90F8AB29078A38CF8EBC3860249640C-org.eclipse.core.runtime-3.7.0_nosignature.jar o.eclipse.core.runtime/external/org.eclipse.core.runtime-3.7.0_nosignature.jar || die
+	ln -s "${DISTDIR}"/84FC6D443CD0816FA87093B6B7AD6876ADFC4207-org.eclipse.core.runtime.compatibility.auth_3.2.200.v20110110_nosignature.jar o.eclipse.core.runtime.compatibility.auth/external/org.eclipse.core.runtime.compatibility.auth_3.2.200.v20110110_nosignature.jar || die
+	ln -s "${DISTDIR}"/74069BFD03B2C66A9EBB4370C0B8064E3F5B6594-org.eclipse.equinox.app-1.3.100_nosignature.jar o.eclipse.equinox.app/external/org.eclipse.equinox.app-1.3.100_nosignature.jar || die
+	ln -s "${DISTDIR}"/A7953EEE9D4D7CD896C7D0AD6D21902E6259979B-org.eclipse.equinox.common_3.6.0.v20110523_nosignature.jar o.eclipse.equinox.common/external/org.eclipse.equinox.common_3.6.0.v20110523_nosignature.jar || die
+	ln -s "${DISTDIR}"/3FB169C95F095B70F05B96BE9496DA63FAE7F707-org.eclipse.equinox.preferences-3.4.2_nosignature.jar o.eclipse.equinox.preferences/external/org.eclipse.equinox.preferences-3.4.2_nosignature.jar || die
+	ln -s "${DISTDIR}"/CD5919A707EB6B5C1FC29964C8EF5E2CF3F5A3D4-org.eclipse.equinox.registry_3.5.200.v20120522-1841_nosignature.jar o.eclipse.equinox.registry/external/org.eclipse.equinox.registry_3.5.200.v20120522-1841_nosignature.jar || die
+	ln -s "${DISTDIR}"/A4634373DC60650C49CC98AEA2090889F7ADC68F-org.eclipse.equinox.security-1.1.1_nosignature.jar o.eclipse.equinox.security/external/org.eclipse.equinox.security-1.1.1_nosignature.jar || die
+	ln -s "${DISTDIR}"/278049664FFA5447191BD5FE96B0B62B0CFD15D1-org.eclipse.jgit-3.6.2.201501210735-r_nosignature.jar o.eclipse.jgit/external/org.eclipse.jgit-3.6.2.201501210735-r_nosignature.jar || die
+	ln -s "${DISTDIR}"/9039A0C1FA0E56CB56A1A192908814478FA747C5-org.eclipse.jgit.java7-3.6.2.201501210735-r_nosignature.jar o.eclipse.jgit.java7/external/org.eclipse.jgit.java7-3.6.2.201501210735-r_nosignature.jar || die
+	ln -s "${DISTDIR}"/DAA45A7EE529A7532F5DC08625A5A3E81DB2D4CB-org.eclipse.mylyn.bugzilla.core_3.14.2.v20150217-2341.jar o.eclipse.mylyn.bugzilla.core/external/org.eclipse.mylyn.bugzilla.core_3.14.2.v20150217-2341.jar || die
+	ln -s "${DISTDIR}"/F5AC8FBA216A8C52F319EC2CB455B44FFD734B38-org.eclipse.mylyn.commons.core_3.10.0.20130926-1710_nosignature.jar o.eclipse.mylyn.commons.core/external/org.eclipse.mylyn.commons.core_3.10.0.20130926-1710_nosignature.jar || die
+	ln -s "${DISTDIR}"/B43E7CE55F0DECA3BE1A6E695A3E3ABC6D62567F-org.eclipse.mylyn.commons.net_3.10.0.20131018-1210_nosignature.jar o.eclipse.mylyn.commons.net/external/org.eclipse.mylyn.commons.net_3.10.0.20131018-1210_nosignature.jar || die
+	ln -s "${DISTDIR}"/1B9CBEC0FCB47C279519E52D360199C24EC99B01-org.eclipse.mylyn.commons.repositories.core_1.2.0.20130704-2116_nosignature.jar o.eclipse.mylyn.commons.repositories.core/external/org.eclipse.mylyn.commons.repositories.core_1.2.0.20130704-2116_nosignature.jar || die
+	ln -s "${DISTDIR}"/6B0A6E9F9179E314944E4ADB831A9D6FCADED3DC-org.eclipse.mylyn.commons.xmlrpc_3.10.0.20130704-2116_nosignature.jar o.eclipse.mylyn.commons.xmlrpc/external/org.eclipse.mylyn.commons.xmlrpc_3.10.0.20130704-2116_nosignature.jar || die
+	ln -s "${DISTDIR}"/B28B8EE777232102471EA5334FD70E20851845DD-org.eclipse.mylyn.tasks.core_3.10.0.20131010-2023_nosignature.jar o.eclipse.mylyn.tasks.core/external/org.eclipse.mylyn.tasks.core_3.10.0.20131010-2023_nosignature.jar || die
+	ln -s "${DISTDIR}"/24A15BD37950663933CC4975EE6E518BEB2C28A3-org.eclipse.mylyn.wikitext.confluence.core_1.9.0.20131007-2055_nosignature.jar o.eclipse.mylyn.wikitext.confluence.core/external/org.eclipse.mylyn.wikitext.confluence.core_1.9.0.20131007-2055_nosignature.jar || die
+	ln -s "${DISTDIR}"/01CD242F06F6F7E4E61C9E05ABBE07318E501D51-org.eclipse.mylyn.wikitext.core_1.9.0.20131007-2055_nosignature.jar o.eclipse.mylyn.wikitext.core/external/org.eclipse.mylyn.wikitext.core_1.9.0.20131007-2055_nosignature.jar || die
+	ln -s "${DISTDIR}"/75928E4368CA748131A6767BA1A97D9DA643C306-org.eclipse.mylyn.wikitext.textile.core_1.9.0.20131007-2055_nosignature.jar o.eclipse.mylyn.wikitext.textile.core/external/org.eclipse.mylyn.wikitext.textile.core_1.9.0.20131007-2055_nosignature.jar  || die
+	ln -s "${DISTDIR}"/8307A44D3F150F1BB317532097A0C7D125C00F2D-org.tmatesoft.svnkit_1.8.10.r10446_v20150526_1454.jar libs.svnClientAdapter.svnkit/external/org.tmatesoft.svnkit_1.8.10.r10446_v20150526_1454.jar || die
+	ln -s "${DISTDIR}"/E90EF50215FFD23928B3308DC76A17B7DADE5F33-processtreekiller-1.0.5.jar extexecution.process/external/processtreekiller-1.0.5.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}"/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}"/89BC047153217F5254506F4C622A771A78883CBC-ValidationAPI.jar swing.validation/external/ValidationAPI.jar || die
+	ln -s "${DISTDIR}"/6FC6098C230D7CBA5730106D379CBBB42F6EC48A-validator.jar html.validation/external/validator.jar || die
+	ln -s "${DISTDIR}"/C9757EFB2CFBA523A7375A78FA9ECFAF0D0AC505-winp-1.14-patched.jar extexecution.process/external/winp-1.14-patched.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
+	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 --into c.jcraft.jsch/external jsch jsch.jar jsch-0.1.53.jar
+	java-pkg_jar-from --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.7.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
+	pushd "${D}"/${instdir} >/dev/null || die
+	rm com-jcraft-jsch.jar && dosym /usr/share/jsch/lib/jsch.jar ${instdir}/com-jcraft-jsch.jar || die
+	rm com-jcraft-jzlib.jar && dosym /usr/share/jzlib/lib/jzlib.jar ${instdir}/com-jcraft-jzlib.jar || die
+	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.7.jar && dosym /usr/share/jvyamlb/lib/jvyamlb.jar ${instdir}/jvyamlb-0.2.7.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/Manifest b/dev-java/netbeans-java/Manifest
index 68dc0a3..d1ee28f 100644
--- a/dev-java/netbeans-java/Manifest
+++ b/dev-java/netbeans-java/Manifest
@@ -34,10 +34,12 @@ DIST netbeans-trunk-nightly-201509030002-src.zip 208952012 SHA256 2ab1daf24bd167
 DIST netbeans-trunk-nightly-201509040002-src.zip 208956475 SHA256 4cc75f6e48a6602fd3ba7496733ad5d9e6289baadeb9d7d28dcd2fab25d7a30c SHA512 e5e7f81f38df14c208331946b8e465690488a8238959b5910a2a6f57323b4b654c79f74d332c9b000ce1452998931c0159ce55682e75b1eaed8a35b86544f139 WHIRLPOOL fc7214be63907b6dbef77200e227184a68ba9a8389a4d83ad780799afebdadeda874dd5eafad989398131777f775c3815cf6a341d4b175e1bcfb8308f3f9de1a
 DIST netbeans-trunk-nightly-201509050002-src.zip 208961273 SHA256 0e4ee8605bb5933ec079c7bc1a597d00cecd76d589ea27a1612eb51253d2bf17 SHA512 d87f0251d65b3c44468ce3da97b3a9f077938da2eaa08c7afc887dbcd0054cad88840a1c12e553ba5100ebe4e272f0a89503a694ae3329952102959a530f70fd WHIRLPOOL 9f1409fe6b8775cfaa64af217fbf88220c8307ff4b169d694f431cbaaff3b46bd7f0c3a97654706e0c949d01d0a61515daef679ebea6012b56da3af7af0ac01b
 DIST netbeans-trunk-nightly-201509100002-src.zip 209128741 SHA256 5d5a40a072eab70857662787af171f4af2a73d866e122c465618914c851e790c SHA512 c40b93171efc0d42e84d34d437c15085189078d51a99be10e63a813a9e7ca9451dcaba6748344e585cc444903c29a56fb1a78c43545136910c000accf53dfe83 WHIRLPOOL 033764680db1d66360e33286c05d58e33bf0288f09e2caa9871beee1d727047b8af6a3de079c595ca508f89f0b29ae4aa96298bd4be5cee3b77e32f9759cb527
+DIST netbeans-trunk-nightly-201509110002-src.zip 209149212 SHA256 9833b3b5804a16062972c36bbc1af9ae9445f7313884195e6ac0935a43182b98 SHA512 2ba867e3c5816b08da70cc9fe5a697ae68d55b3eb28ada6c6b9364dd8828a1f16122dd57f7556113d93b4af034f4b6a0aee05d79336e18b9a8f014b86eff448a WHIRLPOOL 21026c2040e6b6d843308065fd6409ebca28a013d8166d19260888beca80dc37f50e3a327cb059f92803591a23a9838484fd2b1fee78fa3b37b378a495bda782
 EBUILD netbeans-java-8.0.2-r3.ebuild 13294 SHA256 4abac657cff75400e92b1f2b19bca696113cdc37611c8c0f49dfa8c82fec4296 SHA512 32e41d7acc3aca026993e5edc791f1314f2bfda47413538af655b0335973c4fe50d998c67f129307b164075c3e0503280b4c1729d700431644ca6610d7f0f635 WHIRLPOOL d7f99c13421d08529b54085138fcffd2959a3c3f97d94a1dbe6e726a6dbc2cded69ec0bf97e1458b56847ac121954e8f173c1adde0703fd2969defa53ac37c51
 EBUILD netbeans-java-9999_p20150901.ebuild 14818 SHA256 2e650037a388a620e743e8212f0099878e8908fe4dc1680b36f6ae8e9a72fa54 SHA512 b7d8475055812c78ee45ceec123fc103641b4070972f0f7e3572a0b07efee2ca2cbcd16600fcfc7f30dff461fc235ccbbc1fde941f528e27f4a2f742f3ee5cdd WHIRLPOOL bb23d595159c481696ba4fefba3e398797db9cea44e4c2f00eef7929fbe1f442362c470163bc460d349da5cb18f627a3892c6d63b17439112becf538352785e2
 EBUILD netbeans-java-9999_p20150903.ebuild 14818 SHA256 f34ba8d98927651ec621ec445d4760fc596073f6857194bfceb5688b2910089b SHA512 ce7c86a52990ec26660a9eee1bc7588a2e069e80e42eb5b521699a9784e1da41411d5e9965c4f77bd4771b7046e9bd99e6563511336744404dd716e54c11faae WHIRLPOOL 5477f4bda878bfa48ba3851b740e5d9f06f594fa953f5ea0fab0a37917c7462b7356f96aaeca5847e85623c37e4bb46df81217451aace87cbcde7c50c38146a6
 EBUILD netbeans-java-9999_p20150904.ebuild 14818 SHA256 e8df0f520bd69b0cd90324491e28c4fbedb5a0235c3aa42e7888b709a6becf5a SHA512 a377f2ad22c62aa3e95cb19d79274191c7ce5b17d1f2f1ed2280831bd3f1bbd905db33d5f2c89780df50d78f0925b6369a66bcab9066fc2c8bd2517ee3eefb26 WHIRLPOOL 7c488ee1a3d724e749aa5eb5aee6a0e2baf36d8f43261112c49369c91ea64270d0ca491823eb81d840b31f5f08a728a6a3d198319d827fb19614680cd271946e
 EBUILD netbeans-java-9999_p20150905.ebuild 14818 SHA256 2dc7c76af383ce332823499c5a30eaad6e4b0ac184ae59f93762025fd1d0eb80 SHA512 bf607edd140cb38e5acefba806598102a5f86636345c1d4180443b925687422c47247ea6321c12d27914ea620bd46f88dc4c314dc936b3f598fce108ee77013f WHIRLPOOL aba652098f65af5f52c1234e242f05a86c2adf66bc4a3e176a61621cadbfcc21261e16cf2ee27c6ef1973c1de6064f733eb7d0fac10fb237977c3fafbafd0ed8
 EBUILD netbeans-java-9999_p20150910.ebuild 14818 SHA256 9ddfbd1fed869fe888de332f58f8c5224d53c30570c7fb33fa1748ef9fb53d4b SHA512 c684c36881ce540359c29bc805522681a21bf59b3b702f0f8461a3db25f1a652c7e026b905d0aaecf641b8e47d4ad9a5a4050e923e6cafd4f740921b2f552cb8 WHIRLPOOL 19a2afaf71b2f4d0230d953e229c0712892d1f51aa196cc708fab1650dae2c3248754511edf25c4d2ef63d923a1fa81a11fcb664ec9fba17fc52f46af7fff20c
+EBUILD netbeans-java-9999_p20150911.ebuild 14818 SHA256 f8818f214d9dc5aa3a1def3c69e1f78e71d1e108f1b0966f78ddf5c772c0e54f SHA512 3dc5dcfdfc1fead693739ecb506a4ac846da0ae6f5b6084e2fdb22636d1bd5aab66b0be769043585d11526e365030623b51a64050ae6b565268748d324cc400e WHIRLPOOL f70c3d8bdf8572da8e95738f1d2f03f727b2e7336d53355995c93bc5918ebe9fb65828e291325572d1e1af9c90a432210be2b7f322ae2923e7b1bc5749ca3ae1
 MISC metadata.xml 251 SHA256 5a4ff53a9862390a48d45c79be24086646e7a6ff0c5bdf0fcb799d0871299003 SHA512 04153cbd9776ad56a94d6a47d043df15d082d8888df8658f18d0d4b659c6c0526ab3a9b22ccbe2471091bf2d8165f224854bc99c51f3664aaf350ccb93532a7c WHIRLPOOL 2ee8a646c6e23bc46c72cac0ecb5cfe43720ec42404ddaeed8ab1b59d139b3d5c1a94764de847f979da978c001c9f02f709d663a68eeea64d19e88f1fefbca43

diff --git a/dev-java/netbeans-java/netbeans-java-9999_p20150911.ebuild b/dev-java/netbeans-java/netbeans-java-9999_p20150911.ebuild
new file mode 100644
index 0000000..f00e1aa
--- /dev/null
+++ b/dev-java/netbeans-java/netbeans-java-9999_p20150911.ebuild
@@ -0,0 +1,273 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+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/2015-09-11_00-02-28/zip/netbeans-trunk-nightly-201509110002-src.zip"
+# jarjar-1.4 contains also asm libraries
+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/E775F5BEB07F8303A9AD3DDC12E3128DD48AB03A-indexer-core-5.1.1-patched.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/B2EB2006BCDB022420BDB4C2D596564539C65699-nb-javac-api.jar
+	http://hg.netbeans.org/binaries/F210CBE1FA591EDAFD64E6076E926A0A9A30F129-nb-javac-impl.jar
+	http://hg.netbeans.org/binaries/CA4F4DB7B6C140E36B0001873BEEA7C26489D2A1-netbeans-cos.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
+	http://hg.netbeans.org/binaries/B572007A07023ADF7ECBDB7FC2D572BF1BDED20D-wagon-http-2.8-shaded.jar"
+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:3
+	dev-java/jdom: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/commons-cli: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/oracle-javamail:0
+	dev-java/saaj:0
+	dev-java/slf4j-api:0
+	dev-java/slf4j-log4j12:0
+	dev-java/slf4j-simple:0
+	dev-java/stax-ex:0
+	dev-java/stax2-api: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}"/E775F5BEB07F8303A9AD3DDC12E3128DD48AB03A-indexer-core-5.1.1-patched.jar maven.indexer/external/indexer-core-5.1.1-patched.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}"/B2EB2006BCDB022420BDB4C2D596564539C65699-nb-javac-api.jar libs.javacapi/external/nb-javac-api.jar || die
+	ln -s "${DISTDIR}"/F210CBE1FA591EDAFD64E6076E926A0A9A30F129-nb-javac-impl.jar libs.javacimpl/external/nb-javac-impl.jar || die
+	ln -s "${DISTDIR}"/CA4F4DB7B6C140E36B0001873BEEA7C26489D2A1-netbeans-cos.jar maven/external/netbeans-cos.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
+	ln -s "${DISTDIR}"/B572007A07023ADF7ECBDB7FC2D572BF1BDED20D-wagon-http-2.8-shaded.jar maven.embedder/external/wagon-http-2.8-shaded.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.cglib/external cglib-3 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.12.jar
+	java-pkg_jar-from --into maven.embedder/external jdom 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}/maven/lib
+	pushd "${D}"/${instdir} >/dev/null || die
+	rm commons-cli-1.2.jar && dosym /usr/share/commons-cli-1/lib/commons-cli.jar ${instdir}/commons-cli-1.2.jar || 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-3/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-3/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
+	rm slf4j-api-1.6.1.jar && dosym /usr/share/slf4j-api/lib/slf4j-api.jar ${instdir}/slf4j-api-1.6.1.jar || die
+	rm slf4j-log4j12-1.6.1.jar && dosym /usr/share/slf4j-log4j12/lib/slf4j-log4j12.jar ${instdir}/slf4j-log4j12-1.6.1.jar || die
+	rm slf4j-simple-1.6.1.jar && dosym /usr/share/slf4j-simple/lib/slf4j-simple.jar ${instdir}/slf4j-simple-1.6.1.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 javax.mail_1.4.jar && dosym /usr/share/oracle-javamail/lib/mail.jar ${instdir}/javax.mail_1.4.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 stax2-api.jar && dosym /usr/share/stax2-api/lib/stax2-api.jar ${instdir}/stax2-api.jar || die
+	rm streambuffer.jar && dosym /usr/share/xmlstreambuffer/lib/xmlstreambuffer.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/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/Manifest b/dev-java/netbeans-javacard/Manifest
index 0762105..cf7e337 100644
--- a/dev-java/netbeans-javacard/Manifest
+++ b/dev-java/netbeans-javacard/Manifest
@@ -9,10 +9,12 @@ DIST netbeans-trunk-nightly-201509030002-src.zip 208952012 SHA256 2ab1daf24bd167
 DIST netbeans-trunk-nightly-201509040002-src.zip 208956475 SHA256 4cc75f6e48a6602fd3ba7496733ad5d9e6289baadeb9d7d28dcd2fab25d7a30c SHA512 e5e7f81f38df14c208331946b8e465690488a8238959b5910a2a6f57323b4b654c79f74d332c9b000ce1452998931c0159ce55682e75b1eaed8a35b86544f139 WHIRLPOOL fc7214be63907b6dbef77200e227184a68ba9a8389a4d83ad780799afebdadeda874dd5eafad989398131777f775c3815cf6a341d4b175e1bcfb8308f3f9de1a
 DIST netbeans-trunk-nightly-201509050002-src.zip 208961273 SHA256 0e4ee8605bb5933ec079c7bc1a597d00cecd76d589ea27a1612eb51253d2bf17 SHA512 d87f0251d65b3c44468ce3da97b3a9f077938da2eaa08c7afc887dbcd0054cad88840a1c12e553ba5100ebe4e272f0a89503a694ae3329952102959a530f70fd WHIRLPOOL 9f1409fe6b8775cfaa64af217fbf88220c8307ff4b169d694f431cbaaff3b46bd7f0c3a97654706e0c949d01d0a61515daef679ebea6012b56da3af7af0ac01b
 DIST netbeans-trunk-nightly-201509100002-src.zip 209128741 SHA256 5d5a40a072eab70857662787af171f4af2a73d866e122c465618914c851e790c SHA512 c40b93171efc0d42e84d34d437c15085189078d51a99be10e63a813a9e7ca9451dcaba6748344e585cc444903c29a56fb1a78c43545136910c000accf53dfe83 WHIRLPOOL 033764680db1d66360e33286c05d58e33bf0288f09e2caa9871beee1d727047b8af6a3de079c595ca508f89f0b29ae4aa96298bd4be5cee3b77e32f9759cb527
+DIST netbeans-trunk-nightly-201509110002-src.zip 209149212 SHA256 9833b3b5804a16062972c36bbc1af9ae9445f7313884195e6ac0935a43182b98 SHA512 2ba867e3c5816b08da70cc9fe5a697ae68d55b3eb28ada6c6b9364dd8828a1f16122dd57f7556113d93b4af034f4b6a0aee05d79336e18b9a8f014b86eff448a WHIRLPOOL 21026c2040e6b6d843308065fd6409ebca28a013d8166d19260888beca80dc37f50e3a327cb059f92803591a23a9838484fd2b1fee78fa3b37b378a495bda782
 EBUILD netbeans-javacard-8.0.2.ebuild 4906 SHA256 944fee40d693c2c287e748f70ba565f3cd84bb7c19110f8be716134ec20694a7 SHA512 1f66cd2756effbfde7d43f9da7d8d93cb6252c58a02ee3d821f6faeaf63bf3c63e28f80c6eb44689e3aa954452a2f3893c65e75de84158dff1da0d94cafea14a WHIRLPOOL 88197e03008b8acb1ce62f72783bb096d9a3fc2a289b83367841a8adbee2bf822031f9bd6051831515ee44b1d5d2a109c5646f98ca723506f27c874301fb4189
 EBUILD netbeans-javacard-9999_p20150901.ebuild 4976 SHA256 f8bbd7f2419ccc07c17b05c295359dc07c55f3cfca78d7760105b82903fa2b79 SHA512 53bb2b9edbe87daecc4feb6b063579517ccea53b52168fc4a6ed03d8351d3f254a819125937aec58f551aa926b4b5a567b5bde3850fc390fad437f45194add80 WHIRLPOOL 9403f1dc9c3042fb5981d340b02d3615db9aefde73f1b2ade96b9010bdd6a37f610387aa303625ae0c979f20ccffd57ca87115321bd42ff9b6dcb39bcff03580
 EBUILD netbeans-javacard-9999_p20150903.ebuild 4976 SHA256 20835b1551b3382cd7a6b3f97fcf7725597e77317e8a5ede489954f99f0eb4e4 SHA512 93dc8f950ec2d8d8ad83eba39699436121729915ceca17ab3a4593ea2ec0a9cbeb81263f52cde443fb2ebe43658620c438664cd112b30774290a8cc03f2dfdb6 WHIRLPOOL 69670cab1e9e12e074a2874ade1cec66b08313763f7380b1839395becdab4bbd617172987d0ddb021dfa29241654119fa2d6d61cb34d507584c3c8e7670f6b83
 EBUILD netbeans-javacard-9999_p20150904.ebuild 4976 SHA256 0109827ea9c50ee4bc784f5423f57a2c2ed4e0b495e1a2165550d552c92559ae SHA512 265a72fa58c431f5fcf5203cf2701e29e1eefd316a613c4c2c3bd430a62da365ce0e00aa4da54f8abec0bf9ec89f5847f5470b68ad129b0b66c5c2ccfe371ac5 WHIRLPOOL 62f067e535d1f6725b4c7efc46465a3dfb7722820f85458fc66088d9a00c2e18e82cabb9fad749298d798837e9e60aa9732ef996744c216ca453afb54c1e5b3e
 EBUILD netbeans-javacard-9999_p20150905.ebuild 4976 SHA256 f398bf9974a37f3cc272471e847f8bdad72ed3634bf9e4e2ca6bd02739d73a3d SHA512 44ed2bfe5caf5e0bad9e3499942c452da0448c8eaa4f34f290e45090e408916615a845efe697719f564328c5c7e3f28d700a1d9460b8b1fdc69efe8de3527793 WHIRLPOOL c7fec664b62d92b29bb8676bfa17504a1c9fe60206e21cd6b142e5542063cfd9af182a930b5a3cd586c34d1fcc74bd0c21dc57e7cc460062ef1ac3559b838b91
 EBUILD netbeans-javacard-9999_p20150910.ebuild 4976 SHA256 5ee46dd22772700a0879a1af1b77608bcf72e4de7e25262bfab2f353c10dd7fb SHA512 b63dbd3ea683572d16ca913cbae9bb8a1824c56435ba7a44a679c2b096596a768275c7ffee35c2bbebefed37489c6a4ae2ba9c797c84ebba3b42bcbe76886710 WHIRLPOOL 6f1c220ec34d4491ded0940c8419b27ba88afc1fa58c976b5a8add0dce2d9e9671e46db4d285a421f2543c8885c5ac034a29260202ea9bcb0b2e2fb79be15b60
+EBUILD netbeans-javacard-9999_p20150911.ebuild 4976 SHA256 d164cd67d26c5f31cfa772de43d6ee0c0c5ee4a52264f2c1ca4c8d97e688ae92 SHA512 88d255feb8bf6f46bb8b31a16a88ebbac8d63ac40579e0ef0c6fa9eb3ec2a3a54957810d0de3a6772d511287cbaefdbe529c327a2d8bb24d727b36326b09fa8f WHIRLPOOL 0f125d6b0548ecb9e41cdb5ec2b1bd02104239ba057fe58d1311226c82829968bb7eb3e890b5bb4fa158bbd6785cd8ae2c0baaf2f867ae662b52012a1010ddf8
 MISC metadata.xml 251 SHA256 5a4ff53a9862390a48d45c79be24086646e7a6ff0c5bdf0fcb799d0871299003 SHA512 04153cbd9776ad56a94d6a47d043df15d082d8888df8658f18d0d4b659c6c0526ab3a9b22ccbe2471091bf2d8165f224854bc99c51f3664aaf350ccb93532a7c WHIRLPOOL 2ee8a646c6e23bc46c72cac0ecb5cfe43720ec42404ddaeed8ab1b59d139b3d5c1a94764de847f979da978c001c9f02f709d663a68eeea64d19e88f1fefbca43

diff --git a/dev-java/netbeans-javacard/netbeans-javacard-9999_p20150911.ebuild b/dev-java/netbeans-javacard/netbeans-javacard-9999_p20150911.ebuild
new file mode 100644
index 0000000..17bca25
--- /dev/null
+++ b/dev-java/netbeans-javacard/netbeans-javacard-9999_p20150911.ebuild
@@ -0,0 +1,134 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+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/2015-09-11_00-02-28/zip/netbeans-trunk-nightly-201509110002-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/Manifest b/dev-java/netbeans-javadoc/Manifest
index a02b7a3..0328559 100644
--- a/dev-java/netbeans-javadoc/Manifest
+++ b/dev-java/netbeans-javadoc/Manifest
@@ -7,10 +7,12 @@ DIST netbeans-trunk-nightly-201509030002-src.zip 208952012 SHA256 2ab1daf24bd167
 DIST netbeans-trunk-nightly-201509040002-src.zip 208956475 SHA256 4cc75f6e48a6602fd3ba7496733ad5d9e6289baadeb9d7d28dcd2fab25d7a30c SHA512 e5e7f81f38df14c208331946b8e465690488a8238959b5910a2a6f57323b4b654c79f74d332c9b000ce1452998931c0159ce55682e75b1eaed8a35b86544f139 WHIRLPOOL fc7214be63907b6dbef77200e227184a68ba9a8389a4d83ad780799afebdadeda874dd5eafad989398131777f775c3815cf6a341d4b175e1bcfb8308f3f9de1a
 DIST netbeans-trunk-nightly-201509050002-src.zip 208961273 SHA256 0e4ee8605bb5933ec079c7bc1a597d00cecd76d589ea27a1612eb51253d2bf17 SHA512 d87f0251d65b3c44468ce3da97b3a9f077938da2eaa08c7afc887dbcd0054cad88840a1c12e553ba5100ebe4e272f0a89503a694ae3329952102959a530f70fd WHIRLPOOL 9f1409fe6b8775cfaa64af217fbf88220c8307ff4b169d694f431cbaaff3b46bd7f0c3a97654706e0c949d01d0a61515daef679ebea6012b56da3af7af0ac01b
 DIST netbeans-trunk-nightly-201509100002-src.zip 209128741 SHA256 5d5a40a072eab70857662787af171f4af2a73d866e122c465618914c851e790c SHA512 c40b93171efc0d42e84d34d437c15085189078d51a99be10e63a813a9e7ca9451dcaba6748344e585cc444903c29a56fb1a78c43545136910c000accf53dfe83 WHIRLPOOL 033764680db1d66360e33286c05d58e33bf0288f09e2caa9871beee1d727047b8af6a3de079c595ca508f89f0b29ae4aa96298bd4be5cee3b77e32f9759cb527
+DIST netbeans-trunk-nightly-201509110002-src.zip 209149212 SHA256 9833b3b5804a16062972c36bbc1af9ae9445f7313884195e6ac0935a43182b98 SHA512 2ba867e3c5816b08da70cc9fe5a697ae68d55b3eb28ada6c6b9364dd8828a1f16122dd57f7556113d93b4af034f4b6a0aee05d79336e18b9a8f014b86eff448a WHIRLPOOL 21026c2040e6b6d843308065fd6409ebca28a013d8166d19260888beca80dc37f50e3a327cb059f92803591a23a9838484fd2b1fee78fa3b37b378a495bda782
 EBUILD netbeans-javadoc-8.0.2.ebuild 5993 SHA256 baf9da38d87b86eb8ed10ef46017361f36ca8583dd90885c9d1667a51851bc52 SHA512 892bc25b30dc26e3ee7c8be9aaf8542c00a7fa1d1d8f883d82bebb816edfa93e1ee9abeac1b0c47ecc8b4169bcaded56c5c71f18151fdc22fe241fcee0fd4521 WHIRLPOOL 2012f28f3ba5074b4d262b20e9a1c8ddf590ce444339ec1a404c890867c1271e38f9f9e09717d0648fae061553f5c8da3d97a70c35c8e853fe4894fb6fd4ec96
 EBUILD netbeans-javadoc-9999_p20150901.ebuild 6228 SHA256 70adb18643384a52dbe2b88467c14663a755609b1a5098cf816c5c0b88994e9e SHA512 529fa63d125fe04aa06c4f444924b0e1390680092ff4a474810b6ede97925cdf907b14283016f9000f54bc9cc1a1d0e89835ca681940152a029eee0f370c2fba WHIRLPOOL e117f345fd2dde9298afd3f8b2f7ac1a699936336a68dee80c50cc33193aba40b069ed8867a1af84efe3a4621fea35daf8b0835bf89f7ca7f35278b60ddaa56a
 EBUILD netbeans-javadoc-9999_p20150903.ebuild 6228 SHA256 9f0dd0e792cbe63c9dad51f0b445a2245ac2931123c3de1fc8079631e3dd4b77 SHA512 76e8762c17b07fdbe1ab65cef9b6b6c0e26355deb5f1827b7d864cf582d1aeecac57c579d439a49f19cbadd6db7f92e626e0c97ef5ddf0b1b883cfdd6282ee6b WHIRLPOOL 0efef7d57f10a275fda7f97c209ae41fc61f8f9961de19325e34c117378d97e7d1b362ffab93e1ac71ce38b13881823937fb8ef10fb014c84e1cd61ae42b3d2c
 EBUILD netbeans-javadoc-9999_p20150904.ebuild 6228 SHA256 d2ca7f3ac0834bdc1b573b334fb658c0d1466b99e65c4cabfd316756f1355616 SHA512 bac1470106a0d86fa6f42bce119970158ff20d3b17601a66699b9eac6b99d85e026af3a5c565b5d97fa4415d0357e8ae4cb43fe326c37482313cb91474faa19c WHIRLPOOL 5b1a351f6130a3d3f4f499709a43f658d5b9d4b0093fd0d797e292ed59a4e1884b6bccf378540bf817561bd450fd4bb05a93bfb3b7da23ab7be025b2dc43e5ff
 EBUILD netbeans-javadoc-9999_p20150905.ebuild 6228 SHA256 916ef349d02270f884d4f2ec72c989127d657a1d4839555bf132b924e1adc6e4 SHA512 76a75c0b46264e02941cc9af34d6aacc8170428b3a729a7e454354b74a6497ad8cce6bd575eb109ec186563b2e52271407403f2b96bbd2dc83accd63df46aefb WHIRLPOOL e6cd8afa92fd661380086543458d4fb1a4a48fdb762c892cb107e254270c5e94aa2c6152c0a7af7eaa02da2694d02c4ad8ec9570ba65e5526a987eefed12bf1a
 EBUILD netbeans-javadoc-9999_p20150910.ebuild 6228 SHA256 616e969d78389ccdb8bd58ab6c10123c6e605331caa7dbb50232a18a1b37f5fc SHA512 483739088c7ab6417e7ee206f4b1eeb10843e64221d0a54565bcce6555cd99bce83c8e2296e8a11a2fab09974a0f1625c4398e1327f976e73ac494846e57c742 WHIRLPOOL be826f957643374b7946e5d05dd2f1ddf25c1b6485fc4b31557c95d0784eb88717a7ff6b7c828195428cb487ba0aa95357c82f36c3d31881f01bf8a03cdde49b
+EBUILD netbeans-javadoc-9999_p20150911.ebuild 6228 SHA256 bbd22580d9902265b98d32486365d38b2ef1b04e23d9f2c1847d4c9ea7429225 SHA512 c2014b89109e8a2c74fb898f7eddcb0841f371fc6f655e71fc2689bb89a2aef1a363133b07d050f8605ed1765471fca04b87bd20a3a394caacb483579e6fc28e WHIRLPOOL 59cf0e44bd8969117e3da8c16a8525b5108132b188ab534a6ca78253059b0685b2092fd82a1ddf9eccaeef1f84682b8d3715a737a3ae63ca2c307e74c1b8f2e8
 MISC metadata.xml 251 SHA256 5a4ff53a9862390a48d45c79be24086646e7a6ff0c5bdf0fcb799d0871299003 SHA512 04153cbd9776ad56a94d6a47d043df15d082d8888df8658f18d0d4b659c6c0526ab3a9b22ccbe2471091bf2d8165f224854bc99c51f3664aaf350ccb93532a7c WHIRLPOOL 2ee8a646c6e23bc46c72cac0ecb5cfe43720ec42404ddaeed8ab1b59d139b3d5c1a94764de847f979da978c001c9f02f709d663a68eeea64d19e88f1fefbca43

diff --git a/dev-java/netbeans-javadoc/netbeans-javadoc-9999_p20150911.ebuild b/dev-java/netbeans-javadoc/netbeans-javadoc-9999_p20150911.ebuild
new file mode 100644
index 0000000..caef30e
--- /dev/null
+++ b/dev-java/netbeans-javadoc/netbeans-javadoc-9999_p20150911.ebuild
@@ -0,0 +1,168 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+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/2015-09-11_00-02-28/zip/netbeans-trunk-nightly-201509110002-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.12.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/Manifest b/dev-java/netbeans-javafx/Manifest
index 789c03b..cce9f2f 100644
--- a/dev-java/netbeans-javafx/Manifest
+++ b/dev-java/netbeans-javafx/Manifest
@@ -13,10 +13,12 @@ DIST netbeans-trunk-nightly-201509030002-src.zip 208952012 SHA256 2ab1daf24bd167
 DIST netbeans-trunk-nightly-201509040002-src.zip 208956475 SHA256 4cc75f6e48a6602fd3ba7496733ad5d9e6289baadeb9d7d28dcd2fab25d7a30c SHA512 e5e7f81f38df14c208331946b8e465690488a8238959b5910a2a6f57323b4b654c79f74d332c9b000ce1452998931c0159ce55682e75b1eaed8a35b86544f139 WHIRLPOOL fc7214be63907b6dbef77200e227184a68ba9a8389a4d83ad780799afebdadeda874dd5eafad989398131777f775c3815cf6a341d4b175e1bcfb8308f3f9de1a
 DIST netbeans-trunk-nightly-201509050002-src.zip 208961273 SHA256 0e4ee8605bb5933ec079c7bc1a597d00cecd76d589ea27a1612eb51253d2bf17 SHA512 d87f0251d65b3c44468ce3da97b3a9f077938da2eaa08c7afc887dbcd0054cad88840a1c12e553ba5100ebe4e272f0a89503a694ae3329952102959a530f70fd WHIRLPOOL 9f1409fe6b8775cfaa64af217fbf88220c8307ff4b169d694f431cbaaff3b46bd7f0c3a97654706e0c949d01d0a61515daef679ebea6012b56da3af7af0ac01b
 DIST netbeans-trunk-nightly-201509100002-src.zip 209128741 SHA256 5d5a40a072eab70857662787af171f4af2a73d866e122c465618914c851e790c SHA512 c40b93171efc0d42e84d34d437c15085189078d51a99be10e63a813a9e7ca9451dcaba6748344e585cc444903c29a56fb1a78c43545136910c000accf53dfe83 WHIRLPOOL 033764680db1d66360e33286c05d58e33bf0288f09e2caa9871beee1d727047b8af6a3de079c595ca508f89f0b29ae4aa96298bd4be5cee3b77e32f9759cb527
+DIST netbeans-trunk-nightly-201509110002-src.zip 209149212 SHA256 9833b3b5804a16062972c36bbc1af9ae9445f7313884195e6ac0935a43182b98 SHA512 2ba867e3c5816b08da70cc9fe5a697ae68d55b3eb28ada6c6b9364dd8828a1f16122dd57f7556113d93b4af034f4b6a0aee05d79336e18b9a8f014b86eff448a WHIRLPOOL 21026c2040e6b6d843308065fd6409ebca28a013d8166d19260888beca80dc37f50e3a327cb059f92803591a23a9838484fd2b1fee78fa3b37b378a495bda782
 EBUILD netbeans-javafx-8.0.2.ebuild 4647 SHA256 15e5e0b1c4729852dd55e5bfb2dcb520ba7c959bd9927d315c0abcb3f94e4ecc SHA512 520c60264fee67b0ccfd50ced0cc8586d5653d5186fa75c6b7cd8b400aae834de446b7e6145ad38df7e68207391fb360ef4834140e096d48add568fed387ac98 WHIRLPOOL 416a56ceb2ba85e3923ada0c8ef485cdd6fa16b3423b8fd0de523fa54dd082cbaedee5da4f1a92b50e440195f9256376f50e99a850d70ccdcb8c0ff370007f7c
 EBUILD netbeans-javafx-9999_p20150901.ebuild 4717 SHA256 e95804f3d997f20e45ff63e57182227513494d00f034115bfea0fb80f7b06f86 SHA512 20431b8026fbcca039f412ab076e9aeea22745f964858dee0cebb070c08113cdabe35edefdb998efd0d146b0a9d055de441b21620e1beadfeb9970009e479eab WHIRLPOOL 1352d5de66acd787070011681f7800e37f7bc9f9420b7e957a16c490b7b0419d88408c13ce930f2e2507ff8a84308a93ed50434ed80c9f26b21e28356b73a716
 EBUILD netbeans-javafx-9999_p20150903.ebuild 4717 SHA256 f8dcd19435adff0ba1a386857b8a0d2624ba16b64e36bfd40f58a2da8616be5f SHA512 776aa675ae3ee669bff503e9ac240e801dd080c34a18f46a53ee9308044152eb4dd067b0ce9b3d89708a56f533426c2010e06d63d2c7465bd3e461193a71c082 WHIRLPOOL 12f7d33492850172e803a4c2fac724d0b6e196bc7d64746fb51f1382cc1d82df5714511dadc1167e5921d6a492e47d5e879f8f5fdcd1bb2d2501e14e2425407c
 EBUILD netbeans-javafx-9999_p20150904.ebuild 4717 SHA256 497c44f9db9fea0521dd95cd34b2c23778effeb5cae79af30f46f14e946ec53b SHA512 764df04a9c6d07515f0e16e4940b8c9e60fb70c8599b78a19f39b14b02faef0577e6e93050d69e4006277c58191365cbe642e1c1ec1c88d6a062b7e6eee82e9a WHIRLPOOL 3b9ba3a1ef0b3db2302eaed6b8a36e5e234a2027b997abd9043ca37e270a7dc806cfe174bd62e35b1f67853847c8c482b7f4065735567e4b80df23c316b1ff90
 EBUILD netbeans-javafx-9999_p20150905.ebuild 4717 SHA256 8c09810810ea11401158131b84c38f3248e5208d76f08717f8a6cf062af3702d SHA512 be8a4137472c1c15c6423cbed94dff65a443b3b3f44050d5b6f0bb0eb2efe722d92a8fa2e072678cc0febdb322ee059d8b956e4a48d4c8b894a086034dc2bf5c WHIRLPOOL 75a210bfad240d6410c24e0165ce3ab6ad0cc75aad47d3f6e210a4a5e0c2fe356b7a1a5941a10025327d43f9aee6ee62582da62592655134135f8223f56bcdb0
 EBUILD netbeans-javafx-9999_p20150910.ebuild 4717 SHA256 285dc98f2546c22ef7cf28d40ce19bce743ca01a78a6cee962f8505e1d8aeafe SHA512 df7a74229d38d46655ce4a55b948815a003a07efaf61a5dcb27e438fd2e67fc3ce496d10d48937568ef86f3d71284492a615f04714eb3377106fb140a0965c55 WHIRLPOOL d0e795aed7c0a6c4194bacd892a992d4fb61b36a0732cd9ae470c543dd197987242a68da31473e436a1793253e5cf7867c35d871b39c4fcff3ca2673d88a89bf
+EBUILD netbeans-javafx-9999_p20150911.ebuild 4717 SHA256 199333103fec23a92ea0dec58dd970513141a3f041a1d4452c4e382d4478094b SHA512 7fad44aebcc400d877afac63fd71b56ae23f39f7a6d84adec00a11320e2476fdcddf295ad43dec20aa097c88e6ad2b50abe9a30688e6154b17b32bcf23dc2000 WHIRLPOOL 84f2a56c12b0345036b1fc530067c15dc877bda8deea7298660a475a19084fffab2aa8b3bba3646a840d31becf68afae9b428da7b5fb568ac31ed2e18b2fce02
 MISC metadata.xml 251 SHA256 5a4ff53a9862390a48d45c79be24086646e7a6ff0c5bdf0fcb799d0871299003 SHA512 04153cbd9776ad56a94d6a47d043df15d082d8888df8658f18d0d4b659c6c0526ab3a9b22ccbe2471091bf2d8165f224854bc99c51f3664aaf350ccb93532a7c WHIRLPOOL 2ee8a646c6e23bc46c72cac0ecb5cfe43720ec42404ddaeed8ab1b59d139b3d5c1a94764de847f979da978c001c9f02f709d663a68eeea64d19e88f1fefbca43

diff --git a/dev-java/netbeans-javafx/netbeans-javafx-9999_p20150911.ebuild b/dev-java/netbeans-javafx/netbeans-javafx-9999_p20150911.ebuild
new file mode 100644
index 0000000..660d7b0
--- /dev/null
+++ b/dev-java/netbeans-javafx/netbeans-javafx-9999_p20150911.ebuild
@@ -0,0 +1,124 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+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/2015-09-11_00-02-28/zip/netbeans-trunk-nightly-201509110002-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/B2EB2006BCDB022420BDB4C2D596564539C65699-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}"/B2EB2006BCDB022420BDB4C2D596564539C65699-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.12.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/Manifest b/dev-java/netbeans-mobility/Manifest
index 96bbd61..1aa2872 100644
--- a/dev-java/netbeans-mobility/Manifest
+++ b/dev-java/netbeans-mobility/Manifest
@@ -6,10 +6,12 @@ DIST netbeans-trunk-nightly-201509030002-src.zip 208952012 SHA256 2ab1daf24bd167
 DIST netbeans-trunk-nightly-201509040002-src.zip 208956475 SHA256 4cc75f6e48a6602fd3ba7496733ad5d9e6289baadeb9d7d28dcd2fab25d7a30c SHA512 e5e7f81f38df14c208331946b8e465690488a8238959b5910a2a6f57323b4b654c79f74d332c9b000ce1452998931c0159ce55682e75b1eaed8a35b86544f139 WHIRLPOOL fc7214be63907b6dbef77200e227184a68ba9a8389a4d83ad780799afebdadeda874dd5eafad989398131777f775c3815cf6a341d4b175e1bcfb8308f3f9de1a
 DIST netbeans-trunk-nightly-201509050002-src.zip 208961273 SHA256 0e4ee8605bb5933ec079c7bc1a597d00cecd76d589ea27a1612eb51253d2bf17 SHA512 d87f0251d65b3c44468ce3da97b3a9f077938da2eaa08c7afc887dbcd0054cad88840a1c12e553ba5100ebe4e272f0a89503a694ae3329952102959a530f70fd WHIRLPOOL 9f1409fe6b8775cfaa64af217fbf88220c8307ff4b169d694f431cbaaff3b46bd7f0c3a97654706e0c949d01d0a61515daef679ebea6012b56da3af7af0ac01b
 DIST netbeans-trunk-nightly-201509100002-src.zip 209128741 SHA256 5d5a40a072eab70857662787af171f4af2a73d866e122c465618914c851e790c SHA512 c40b93171efc0d42e84d34d437c15085189078d51a99be10e63a813a9e7ca9451dcaba6748344e585cc444903c29a56fb1a78c43545136910c000accf53dfe83 WHIRLPOOL 033764680db1d66360e33286c05d58e33bf0288f09e2caa9871beee1d727047b8af6a3de079c595ca508f89f0b29ae4aa96298bd4be5cee3b77e32f9759cb527
+DIST netbeans-trunk-nightly-201509110002-src.zip 209149212 SHA256 9833b3b5804a16062972c36bbc1af9ae9445f7313884195e6ac0935a43182b98 SHA512 2ba867e3c5816b08da70cc9fe5a697ae68d55b3eb28ada6c6b9364dd8828a1f16122dd57f7556113d93b4af034f4b6a0aee05d79336e18b9a8f014b86eff448a WHIRLPOOL 21026c2040e6b6d843308065fd6409ebca28a013d8166d19260888beca80dc37f50e3a327cb059f92803591a23a9838484fd2b1fee78fa3b37b378a495bda782
 EBUILD netbeans-mobility-8.0.2.ebuild 4342 SHA256 e9b4ff8fe38904346bc21a82219696e97322bf9df4e9d4cad2259b6f08bbe7f9 SHA512 338711fe61c469cee80e499ddf8c3ad70a3a38e6658311afcd1d24edd1a99b87566fafcbd392bb958b589796e0913d2574b07570870c8d3382a91a324227082f WHIRLPOOL 855b2817c36bea67c8fb368a0740be18b71dbebb2b98a154552f002a56eaff34f54eee2698379d7200a6042c1de699df23e7717b5b6c532776852d8757b74cb0
 EBUILD netbeans-mobility-9999_p20150901.ebuild 4412 SHA256 24385dc623efa0f82a8ac6b377c867cc43863d1ef24a67cf0a55840d22d24fc8 SHA512 cef8f1359a5a8607376cf3db54b737a637a2efb7e08a3ec34ef911403c3cbe7c3f6201674522554875d96e8870a6a53b9fa54f9bb4d920575b7fd870d00f4448 WHIRLPOOL 7ab52bd93e70de0c6b3c184bce62b22086e81d736224ce66a157c40a052a57d9963030916f96fa54c5be7abfbec33536fe6be968696eff0461d1900366c0acb1
 EBUILD netbeans-mobility-9999_p20150903.ebuild 4412 SHA256 7ba27bee1e24a5cae28b92bd03db76751ef9815e6b9ca1f48e93302e33753edd SHA512 90aa1332c367f89d6fd7cd562376baac469928b71d878f6974bd0435eac1238c49a8215a53286092331fe2b87dff24357928e4811b093bcef8307bbe90d6eb87 WHIRLPOOL cf8378b155e8661bc366ea56ae4078e2e5c0209f9eb1363202b3daa3a9ab531ad21ecee420ac96e62a6ecd006f4e80ef9da8095cce60e9a293c644923e432656
 EBUILD netbeans-mobility-9999_p20150904.ebuild 4412 SHA256 1712463fb2a07efd10e4858c238fca6f3bde473670f7f6d394890f2dfbae7340 SHA512 a8b5b307d8b102a1b856b99ba432c0a309c8cbf6e39ae817f9ce3232e0ac757b9b72c750f4156460b9b6af60e6aaa1dfaa635f4acbd75ac33dda0672d261b73c WHIRLPOOL f77e34109163fc9666164e0e53d5972d84fc79af89ed40ae0a93fee52aaf0d68bfca5b0b95c5b2aae605fc8223d34881d32847ebd11ce0ce85ab88a42fa9e72b
 EBUILD netbeans-mobility-9999_p20150905.ebuild 4412 SHA256 42dbade13b01ed5ec99814098ff1b87d5bc966b412de18386c38aecd721589b4 SHA512 bf71983dd2d76afae9a2eddd3dfd169ec20cf7d33583ad3c1305b8fdd74f0b5eb9fb308125fa784d82d3de8e45f745c15a6955ae9944291b88906b49ca2bd60d WHIRLPOOL 0877e81257c3680e5f89425f703f1d20a100eb90d5080e789e455c5828f04ab3567ca231e6f5dcf2ac674bcf4fd060f8668e5fd9882863283d911e21c268ccec
 EBUILD netbeans-mobility-9999_p20150910.ebuild 4412 SHA256 7117fba9674f59b1c451046ff96cacfef8b43691b92a0f6eeaa1cb4ae1110f0b SHA512 e0bf5f75a57f8aed1dc2ea676651e6546dde3aa6c7c8ee2bea598d0a1c4109477857004fc682e8ba499fa2d5b025dff4f1bcf48609a22f33da3650729ac09f5d WHIRLPOOL 506d643b7ab64a874801720cbaee644b677a03cf4f2c99617a75ab2be482e1d71db142d61e58c3f8514c8a5ad31ae285ac580f264353fa96f6474179529d2afd
+EBUILD netbeans-mobility-9999_p20150911.ebuild 4412 SHA256 d30eaaec4b94d61cf35522c2be6ce82b78bfae1ee80c8acfe8ec0c6f8b73dc9e SHA512 765fc220bd226be4e8252a4df404ec9216f6b2adeebb209b4f881566d4aed1e249ed84c749d2b4aa4ff1e0788e8308eae5f0f731bd743f6343c5597735c5dffb WHIRLPOOL eb14046ebace8b35aab7d661272ccead4959bb3a423e36e59d6f41864d274fb9bc9aa6663eda0c66b8469d9b64250ba66f07f344212b67b9a0ad608e3d6fcc6a
 MISC metadata.xml 251 SHA256 5a4ff53a9862390a48d45c79be24086646e7a6ff0c5bdf0fcb799d0871299003 SHA512 04153cbd9776ad56a94d6a47d043df15d082d8888df8658f18d0d4b659c6c0526ab3a9b22ccbe2471091bf2d8165f224854bc99c51f3664aaf350ccb93532a7c WHIRLPOOL 2ee8a646c6e23bc46c72cac0ecb5cfe43720ec42404ddaeed8ab1b59d139b3d5c1a94764de847f979da978c001c9f02f709d663a68eeea64d19e88f1fefbca43

diff --git a/dev-java/netbeans-mobility/netbeans-mobility-9999_p20150911.ebuild b/dev-java/netbeans-mobility/netbeans-mobility-9999_p20150911.ebuild
new file mode 100644
index 0000000..df34836
--- /dev/null
+++ b/dev-java/netbeans-mobility/netbeans-mobility-9999_p20150911.ebuild
@@ -0,0 +1,126 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+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/2015-09-11_00-02-28/zip/netbeans-trunk-nightly-201509110002-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/Manifest b/dev-java/netbeans-nb/Manifest
index 929d5b6..6217a8c 100644
--- a/dev-java/netbeans-nb/Manifest
+++ b/dev-java/netbeans-nb/Manifest
@@ -9,10 +9,12 @@ DIST netbeans-trunk-nightly-201509030002-src.zip 208952012 SHA256 2ab1daf24bd167
 DIST netbeans-trunk-nightly-201509040002-src.zip 208956475 SHA256 4cc75f6e48a6602fd3ba7496733ad5d9e6289baadeb9d7d28dcd2fab25d7a30c SHA512 e5e7f81f38df14c208331946b8e465690488a8238959b5910a2a6f57323b4b654c79f74d332c9b000ce1452998931c0159ce55682e75b1eaed8a35b86544f139 WHIRLPOOL fc7214be63907b6dbef77200e227184a68ba9a8389a4d83ad780799afebdadeda874dd5eafad989398131777f775c3815cf6a341d4b175e1bcfb8308f3f9de1a
 DIST netbeans-trunk-nightly-201509050002-src.zip 208961273 SHA256 0e4ee8605bb5933ec079c7bc1a597d00cecd76d589ea27a1612eb51253d2bf17 SHA512 d87f0251d65b3c44468ce3da97b3a9f077938da2eaa08c7afc887dbcd0054cad88840a1c12e553ba5100ebe4e272f0a89503a694ae3329952102959a530f70fd WHIRLPOOL 9f1409fe6b8775cfaa64af217fbf88220c8307ff4b169d694f431cbaaff3b46bd7f0c3a97654706e0c949d01d0a61515daef679ebea6012b56da3af7af0ac01b
 DIST netbeans-trunk-nightly-201509100002-src.zip 209128741 SHA256 5d5a40a072eab70857662787af171f4af2a73d866e122c465618914c851e790c SHA512 c40b93171efc0d42e84d34d437c15085189078d51a99be10e63a813a9e7ca9451dcaba6748344e585cc444903c29a56fb1a78c43545136910c000accf53dfe83 WHIRLPOOL 033764680db1d66360e33286c05d58e33bf0288f09e2caa9871beee1d727047b8af6a3de079c595ca508f89f0b29ae4aa96298bd4be5cee3b77e32f9759cb527
+DIST netbeans-trunk-nightly-201509110002-src.zip 209149212 SHA256 9833b3b5804a16062972c36bbc1af9ae9445f7313884195e6ac0935a43182b98 SHA512 2ba867e3c5816b08da70cc9fe5a697ae68d55b3eb28ada6c6b9364dd8828a1f16122dd57f7556113d93b4af034f4b6a0aee05d79336e18b9a8f014b86eff448a WHIRLPOOL 21026c2040e6b6d843308065fd6409ebca28a013d8166d19260888beca80dc37f50e3a327cb059f92803591a23a9838484fd2b1fee78fa3b37b378a495bda782
 EBUILD netbeans-nb-8.0.2.ebuild 4927 SHA256 7531e50c4d76608bf925efdba4f54f522de3a8ceeef4d48807fb4ee48bfabdf6 SHA512 925734f331cf228066c5c9e614f48b756af31cac8b559cfe756347b6a2cb0ce362c7c41489a25084f2ed3f2e415baefd148a54f39fc00269fb14179efe056cb9 WHIRLPOOL e3224c5f22bb8e4792a5f98bbe819e071ff18c99533ce05a3fc1c5898ddcca1e3ce34487ba78159bb4d60155acdf15ae4fe81189ff2d5b1bc77ffd9ee4e20aca
 EBUILD netbeans-nb-9999_p20150901.ebuild 4997 SHA256 4bc20abbd79e622dae684777ea3942b19cdb96e94d76cae254b9bae919055997 SHA512 9eac2a9adbcb86bde4662b9edbb874ba820db2e622a0f4e436a570081cb49e664958e3e8fe6900dbfcfd44a0e1b33047fc25a536e93781b8e9b303ae9738bc83 WHIRLPOOL b83b659bbbd93f830039465b737c190e5031e88a634523f3e2647715e4a5b953d3469ac1c760db9613f3d6987157d89b14f0e740da228c0436950fd339d53ab9
 EBUILD netbeans-nb-9999_p20150903.ebuild 4997 SHA256 f2cbf0e344be20488551d7ad04e8c1f2452c03bc7f6f1e3db68527924c3a9b4f SHA512 f7eb44514e61a0e30d546d43caf3e2239da9faa0e59d6c224df6a102fd194589079833b980fcc719982faa9a35c2fb60dec1cf77f327926955e984e633fafba1 WHIRLPOOL 4995f7d9e24ca16d1d7d5a863692fa221b252f2185beac1c6ca908b3ea731a94f7f150affd8cfd03d16f2f7eb620be60833286d37a8d4b71a1e6b8eadbb32f50
 EBUILD netbeans-nb-9999_p20150904.ebuild 4997 SHA256 4c7fe05cb641765cc286adeb499a5fcd5ec266772a904d005ae76e1cc433575c SHA512 b314a5464173d2c7e14d2b9d82dce17d129d6eae0ea2931a32aaaee4e0f26039593bc996fb19c1280ddaaf72afbb5a32b3ecebf3a33bd6dbe9e3034ae22311a2 WHIRLPOOL d9bcf4ef4c45d83659a6cf3bca01e19a0d448c2b2b1334083891a6ed7140e080934f27ba26e46b8da30247ce72efa188548c7a06d229aa551d817b8b42e4c40d
 EBUILD netbeans-nb-9999_p20150905.ebuild 4997 SHA256 037cf0a9a7748fadfa90e366be3e9ef63af92fb1f0d6a2294216c4b0025dc4fa SHA512 2cb7f5c7764641b82bddc2210ee2ffdc55ed5a66f72c373748495e8e842f852bbb309404c2050ef7d1bff4d5a7ef9ca89d3e71ae47b88dc9bb93e5517a4518f3 WHIRLPOOL c625ef1b79bcc5e84ac7b63b7bd3fcd84c091f0455c4fa57d91b7e52ad3f09481eb8ff6381d7e522e7a14071d5bb9f3dae741fb7d28600814e6efae2d8191a45
 EBUILD netbeans-nb-9999_p20150910.ebuild 4997 SHA256 402d81e548f2b8c7e0e4cf9442886d955ec05e7cc5750f03e736756a1aa1052e SHA512 6561a8487c380679e72070aaac942649ab62c03581e5a78509528c101226ea9ddafaee965c6aefa293ae9c2a045e98f48dbc66b720f9dfa35127e43bab858697 WHIRLPOOL 9f1ad9fd16b6c91b46324715949ddcd450e52014d0027dd3f4550b3c407b62d2473a289b2a5f45db435637b86305816532b4bcb5b54246a4fc998fd24da9bee5
+EBUILD netbeans-nb-9999_p20150911.ebuild 4997 SHA256 7cdcfea353cb124da315b7218d7616fd9c113cc2f9815926b8042eb0eadffc91 SHA512 0dc67fc8bbaeaf671a18d53d94cee1c1482b665f091d8318082a93a82b1ddfb091b5048ea7dd94ae33c3720d70f33e4df1cfec54b2d9e8b898c34445dd6c5ea4 WHIRLPOOL 1e803beeb46a3cd9d4d57577e6b0e424d2f644bb28492672f5b148d4524ba20d99b28e5d958c81d28223d858b470e83b174e461792ed4e783317f8d7b0668395
 MISC metadata.xml 396 SHA256 5083064ed2246a84e2aedbc326d56cc8bf571fd8e7c24af0e4bc14c50f1ebb49 SHA512 a0b2171264f1ea6ba33b184ef802589d679eaba5c4a1753e149d7cd93c2c31aace934eddf5dffed6be341d9e4061c843c849e464afb7b4417c6c2dff3e9ff1c7 WHIRLPOOL 1be3a1a3c2b64d8818108de191db834395ee4ab3cf7994914c9331d6e42ca9015dd2493b9516db20990cb30b4dea385a3dde08b75df956ca39ad65e3fa721cb7

diff --git a/dev-java/netbeans-nb/netbeans-nb-9999_p20150911.ebuild b/dev-java/netbeans-nb/netbeans-nb-9999_p20150911.ebuild
new file mode 100644
index 0000000..1b322c2
--- /dev/null
+++ b/dev-java/netbeans-nb/netbeans-nb-9999_p20150911.ebuild
@@ -0,0 +1,148 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+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/2015-09-11_00-02-28/zip/netbeans-trunk-nightly-201509110002-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 https://wiki.gentoo.org/wiki/Keychain"
+	fi
+}

diff --git a/dev-java/netbeans-php/Manifest b/dev-java/netbeans-php/Manifest
index eb5ca43..be3c8a3 100644
--- a/dev-java/netbeans-php/Manifest
+++ b/dev-java/netbeans-php/Manifest
@@ -11,10 +11,12 @@ DIST netbeans-trunk-nightly-201509030002-src.zip 208952012 SHA256 2ab1daf24bd167
 DIST netbeans-trunk-nightly-201509040002-src.zip 208956475 SHA256 4cc75f6e48a6602fd3ba7496733ad5d9e6289baadeb9d7d28dcd2fab25d7a30c SHA512 e5e7f81f38df14c208331946b8e465690488a8238959b5910a2a6f57323b4b654c79f74d332c9b000ce1452998931c0159ce55682e75b1eaed8a35b86544f139 WHIRLPOOL fc7214be63907b6dbef77200e227184a68ba9a8389a4d83ad780799afebdadeda874dd5eafad989398131777f775c3815cf6a341d4b175e1bcfb8308f3f9de1a
 DIST netbeans-trunk-nightly-201509050002-src.zip 208961273 SHA256 0e4ee8605bb5933ec079c7bc1a597d00cecd76d589ea27a1612eb51253d2bf17 SHA512 d87f0251d65b3c44468ce3da97b3a9f077938da2eaa08c7afc887dbcd0054cad88840a1c12e553ba5100ebe4e272f0a89503a694ae3329952102959a530f70fd WHIRLPOOL 9f1409fe6b8775cfaa64af217fbf88220c8307ff4b169d694f431cbaaff3b46bd7f0c3a97654706e0c949d01d0a61515daef679ebea6012b56da3af7af0ac01b
 DIST netbeans-trunk-nightly-201509100002-src.zip 209128741 SHA256 5d5a40a072eab70857662787af171f4af2a73d866e122c465618914c851e790c SHA512 c40b93171efc0d42e84d34d437c15085189078d51a99be10e63a813a9e7ca9451dcaba6748344e585cc444903c29a56fb1a78c43545136910c000accf53dfe83 WHIRLPOOL 033764680db1d66360e33286c05d58e33bf0288f09e2caa9871beee1d727047b8af6a3de079c595ca508f89f0b29ae4aa96298bd4be5cee3b77e32f9759cb527
+DIST netbeans-trunk-nightly-201509110002-src.zip 209149212 SHA256 9833b3b5804a16062972c36bbc1af9ae9445f7313884195e6ac0935a43182b98 SHA512 2ba867e3c5816b08da70cc9fe5a697ae68d55b3eb28ada6c6b9364dd8828a1f16122dd57f7556113d93b4af034f4b6a0aee05d79336e18b9a8f014b86eff448a WHIRLPOOL 21026c2040e6b6d843308065fd6409ebca28a013d8166d19260888beca80dc37f50e3a327cb059f92803591a23a9838484fd2b1fee78fa3b37b378a495bda782
 EBUILD netbeans-php-8.0.2.ebuild 4347 SHA256 585b2488d748f3d0f87c17c951870e167aac7bf10847428add786e4a8a446583 SHA512 1431305d4f340cb0a2c7c896c54d45f6f02ef82a4201f82053278b98511a5a4a68210317530e9cdf5cf1f495996d3a3f9c4b2c3c479aa407abd375072ab3182f WHIRLPOOL af8476f2ff2d119f2657e6be03cfea1160f86e41bd791f40609f1bc8a8aada46ba1081e4f2417b0fddde931fa4e43d20956c0fe1d4fdf3617b78d01afd23f9b4
 EBUILD netbeans-php-9999_p20150901.ebuild 4417 SHA256 b6f52a63053c7f6d74829800396e15d463a7316c2de194bb0e243385eb8cc95b SHA512 b783d245589b2f43d616f3e3af5ab8bb0d9c5097974c640f8d22996b8185eb921edb851c174bd02a17ef0d29c50f0db03c595b5f23bc717dd3b2c4944c7fbf73 WHIRLPOOL 00d18b2b7f6bff0fcf8852a6137df8eebaa99885091a6363628b7ae18dd9c4ec18e3dfb75f214092be4cde7fe7c1150889ee8c173751089af52e8710f67446b7
 EBUILD netbeans-php-9999_p20150903.ebuild 4417 SHA256 e7c715d04d186e6e62d408485f33ee6c94ec5a76969d95de552d10e590b94940 SHA512 44abb97abf1ae49840e20575bd05374f301870892bde53213df37d5a0b21bd6d9691bfc9f36120225d357572ba6df840cd4ef5f5f5492c24e5ef25f57f64624a WHIRLPOOL 35a1dcede6c295345409ac71f20c53c41b772a523d91d91bcd9b20369bc203e5f7f79e1ce7e2a72bb3cbb50ad693dfd8ad77a4ba22eea72000d70dfa593dfc00
 EBUILD netbeans-php-9999_p20150904.ebuild 4417 SHA256 6ea9bea545050e6c10de271e024ee9b02ad8ee36f588764c305eacdf85466689 SHA512 110c1b3fcaff400bc79f10e3ad51bd97c8a1d03bc565cd9ab48c2a14f71640de07dcc732cbef364eed6720c8c066a1d91d683101ee9deca0c63a689a2371396b WHIRLPOOL 61dfac56e1b35c3da65d03908f0d9b233fd4bb6f936f8590110e04aaff0c9cfba067ca0c6a08ecedc11f2e6a1fd113149de0a3ed64ed9fb1fd023a9fc870f019
 EBUILD netbeans-php-9999_p20150905.ebuild 4417 SHA256 05a81f041949a3b0e88817b1d13fdd67e53182e9a97bc36b3f1d1ab50062ce76 SHA512 955b49444d7a29e79e0de83a3c76b4962faa2f4168b3926b481c7fdc84d2d154b37a6abffff31980bf41a80d64ebed3cdbd0ba53683f44e8c696213dbf2e618d WHIRLPOOL 2e88ce494150366ee293210037f4fc1d57f1b0dfa4b2850d78c7378af7ee77dc8221c82fa4d7f38c9131a3acbab3fe7c0341d8aeb02caa1f83dd4d0a63f88695
 EBUILD netbeans-php-9999_p20150910.ebuild 4417 SHA256 b81a223e9ed4ebf40f856b0282d40de66db4fb45b81a8302909f60cf573b6972 SHA512 4d63cf61f149932e20a745788d888d6e6a6a8b058dd0fe9766ae16d631a96aad4731e08bb72a8066c6d8c3611418ae6e8483dc6faa7613711aaaa6cbda949b6e WHIRLPOOL 2d8d23041b2693a27abc0044f3a14df9a8432f62b566a2907ab551dad97aadaf87cf2af3c90b0f432faa11dc9c031ca4f0e757fab6920a20fdb6bd0d27e0eadb
+EBUILD netbeans-php-9999_p20150911.ebuild 4417 SHA256 e339d6bf1a0f914784bbe163403daf30db522f978e868a9e104433087d07a541 SHA512 b2f4134e133d9922315b4ebdf712c06e57d3a8f77d4481fade2d946c9f4bb5a32de2f644d34c4613945b02ab3b0b542f2d6dff7f1bb5d53a364282d649fb05c5 WHIRLPOOL 9ef7bc81ea8ff36bf88f0b589e67415aaa72ecf7e2c114a11b17b56589d10367dcba77051f455a13d81bbad7d9bc7596299254d1de9820862e91a29fa42e2000
 MISC metadata.xml 251 SHA256 5a4ff53a9862390a48d45c79be24086646e7a6ff0c5bdf0fcb799d0871299003 SHA512 04153cbd9776ad56a94d6a47d043df15d082d8888df8658f18d0d4b659c6c0526ab3a9b22ccbe2471091bf2d8165f224854bc99c51f3664aaf350ccb93532a7c WHIRLPOOL 2ee8a646c6e23bc46c72cac0ecb5cfe43720ec42404ddaeed8ab1b59d139b3d5c1a94764de847f979da978c001c9f02f709d663a68eeea64d19e88f1fefbca43

diff --git a/dev-java/netbeans-php/netbeans-php-9999_p20150911.ebuild b/dev-java/netbeans-php/netbeans-php-9999_p20150911.ebuild
new file mode 100644
index 0000000..94c2313
--- /dev/null
+++ b/dev-java/netbeans-php/netbeans-php-9999_p20150911.ebuild
@@ -0,0 +1,127 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+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/2015-09-11_00-02-28/zip/netbeans-trunk-nightly-201509110002-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/73E9BC8A7AF36E0C95210F61A85AFEF212AEE1A9-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}"/73E9BC8A7AF36E0C95210F61A85AFEF212AEE1A9-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/Manifest b/dev-java/netbeans-platform/Manifest
index feac817..e70cbd3 100644
--- a/dev-java/netbeans-platform/Manifest
+++ b/dev-java/netbeans-platform/Manifest
@@ -30,10 +30,12 @@ DIST netbeans-trunk-nightly-201509030002-src.zip 208952012 SHA256 2ab1daf24bd167
 DIST netbeans-trunk-nightly-201509040002-src.zip 208956475 SHA256 4cc75f6e48a6602fd3ba7496733ad5d9e6289baadeb9d7d28dcd2fab25d7a30c SHA512 e5e7f81f38df14c208331946b8e465690488a8238959b5910a2a6f57323b4b654c79f74d332c9b000ce1452998931c0159ce55682e75b1eaed8a35b86544f139 WHIRLPOOL fc7214be63907b6dbef77200e227184a68ba9a8389a4d83ad780799afebdadeda874dd5eafad989398131777f775c3815cf6a341d4b175e1bcfb8308f3f9de1a
 DIST netbeans-trunk-nightly-201509050002-src.zip 208961273 SHA256 0e4ee8605bb5933ec079c7bc1a597d00cecd76d589ea27a1612eb51253d2bf17 SHA512 d87f0251d65b3c44468ce3da97b3a9f077938da2eaa08c7afc887dbcd0054cad88840a1c12e553ba5100ebe4e272f0a89503a694ae3329952102959a530f70fd WHIRLPOOL 9f1409fe6b8775cfaa64af217fbf88220c8307ff4b169d694f431cbaaff3b46bd7f0c3a97654706e0c949d01d0a61515daef679ebea6012b56da3af7af0ac01b
 DIST netbeans-trunk-nightly-201509100002-src.zip 209128741 SHA256 5d5a40a072eab70857662787af171f4af2a73d866e122c465618914c851e790c SHA512 c40b93171efc0d42e84d34d437c15085189078d51a99be10e63a813a9e7ca9451dcaba6748344e585cc444903c29a56fb1a78c43545136910c000accf53dfe83 WHIRLPOOL 033764680db1d66360e33286c05d58e33bf0288f09e2caa9871beee1d727047b8af6a3de079c595ca508f89f0b29ae4aa96298bd4be5cee3b77e32f9759cb527
+DIST netbeans-trunk-nightly-201509110002-src.zip 209149212 SHA256 9833b3b5804a16062972c36bbc1af9ae9445f7313884195e6ac0935a43182b98 SHA512 2ba867e3c5816b08da70cc9fe5a697ae68d55b3eb28ada6c6b9364dd8828a1f16122dd57f7556113d93b4af034f4b6a0aee05d79336e18b9a8f014b86eff448a WHIRLPOOL 21026c2040e6b6d843308065fd6409ebca28a013d8166d19260888beca80dc37f50e3a327cb059f92803591a23a9838484fd2b1fee78fa3b37b378a495bda782
 EBUILD netbeans-platform-8.0.2.ebuild 5406 SHA256 98e9861da45ead0d2d975a0527315df5282870b2d7e71a089724d91c18852e81 SHA512 cadbe66132d3ad81f6d149e20731b558c11c529e2ec15b1fe47ff97d99a3f4b4612fa5c98c435c4ff979eaefab6702721db009a03162202c96b4b411cf9f872a WHIRLPOOL 9552948e8bbad308f4379eaae69d8c214da9fbfab87d75226949b69ddca3e68c2d36c4d05738196073e5b959ab0b764064c9186d421198937122aa4bdc4988dc
 EBUILD netbeans-platform-9999_p20150901.ebuild 9238 SHA256 85c58de49e8cf1c2202b5f892c9d9283587f255c58c4835f2169dce8b767967a SHA512 5d90e804870b94de49cf76db7e99bd2564f2fcd9984e9dc0b1f0ba02c5a66a2b97e0e59ad0b986d8ef055fb1184ab35998248379b76a456f576df5f87b90f81e WHIRLPOOL 4a74b24b3e8a975f1eff66d95406c629bf860b1956937a44f33eb2d92291d2dd95fb91dd8c34f730a35d6daafa9d16a67f2ed2a300c691d5dcacfd8f435b5185
 EBUILD netbeans-platform-9999_p20150903.ebuild 9334 SHA256 2e3f4bc8579db348c5b81fb1460caec924efd1c59ee4e980f0606673944d0efe SHA512 21e7cd36c60d7ac8d6ac919203d9d0fe800bf02c5d44d7f450f2005a6da86c1ec3ce50cc8a3577af144618964e0d2b9a9183f2957fdfbe087e2e5eefc4ff4186 WHIRLPOOL 1989aeedda0e97d37a5e99ec99899862d057fae52eafa789ef100c80f5ef30339a01f9155c9fb3be7fd3d91a693136eaad259b8706723a7fda51ee2949378eb2
 EBUILD netbeans-platform-9999_p20150904.ebuild 9334 SHA256 298f8551b57f1d0456b99d56e636eb5e72c77b315831eca5cd8ac51754883d53 SHA512 4235d9eceaf3967eb6cb9438bfa5855ac5190fe2be7986a402ef674d1a126f4d437ad6483fd7015d08980022df1e2262537dedace05eaa8ee659c3970bdf392b WHIRLPOOL 8fe22be62c7b784308b4733fab93984e57ff4ffdadeba6e029ccd89d3d2de9036c08aa068d6bb17399b694a4ba0869a78119a7b235aedc972f2e7511d91cdee4
 EBUILD netbeans-platform-9999_p20150905.ebuild 9334 SHA256 82c1cc5831c3248c886975df4cc42f11e73364a4d3efbd1f969e49ce6fb41849 SHA512 2f56821fb17824fcf86d270215e6aacf9b61d4e543c7b7c90422323ae64bc736d757e43134d95bfd5c40d4f6f22b1935ee5020627fbde9b2df862468fc19d5ed WHIRLPOOL 2fa28a80605ae592be2a12c53fe873eccbcf401222facc5eed207a8bb01921b33c38ccdd03e3187f42cb3740fa483b7ca89b78937f8651b98ac72d187393a80a
 EBUILD netbeans-platform-9999_p20150910.ebuild 9334 SHA256 2deb3054116db06de4e2ee3610c812a3b8c33e5bfb9726bf0bcfdb7ac60fe758 SHA512 67d160c319488ee24b13d2e8bae320985c394c3339c3eeb578026f833646a4d0797a1ff77e49c986c8bf7003fa175a790aef3175dc3b95b8f63fbaf03166ec66 WHIRLPOOL b77e63872ad657c20b8953f3124c105d34675d6cfb2db22e600003d05c33c2464fbcf387d01539f2486b7abb8be53c54aa5df812045215965830bb8b819c4901
+EBUILD netbeans-platform-9999_p20150911.ebuild 9334 SHA256 0da7726262fdcc68a35dd78d93883ffd96ec8928f55bcf8e56cc8de976970552 SHA512 2d867668df5ea9cabfc89f7d4473a958ffdce57f93d9c2d0726ebd72c8ec70f7bbd586aba0962b53602bb9e0ba4000998dbe893f186b9c0473ad19801f62fe0d WHIRLPOOL e4d7e49e023329c15c480b4829c9dfc4b3815e9c6dce34890063c268ed1703274f35f4b67abc533d4a38faaf12a48c715d7b5a53fed777c8fec12c6094614069
 MISC metadata.xml 251 SHA256 5a4ff53a9862390a48d45c79be24086646e7a6ff0c5bdf0fcb799d0871299003 SHA512 04153cbd9776ad56a94d6a47d043df15d082d8888df8658f18d0d4b659c6c0526ab3a9b22ccbe2471091bf2d8165f224854bc99c51f3664aaf350ccb93532a7c WHIRLPOOL 2ee8a646c6e23bc46c72cac0ecb5cfe43720ec42404ddaeed8ab1b59d139b3d5c1a94764de847f979da978c001c9f02f709d663a68eeea64d19e88f1fefbca43

diff --git a/dev-java/netbeans-platform/netbeans-platform-9999_p20150911.ebuild b/dev-java/netbeans-platform/netbeans-platform-9999_p20150911.ebuild
new file mode 100644
index 0000000..20b39a0
--- /dev/null
+++ b/dev-java/netbeans-platform/netbeans-platform-9999_p20150911.ebuild
@@ -0,0 +1,166 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+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/2015-09-11_00-02-28/zip/netbeans-trunk-nightly-201509110002-src.zip"
+SRC_URI="${SOURCE_URL}
+	http://dev.gentoo.org/~fordfrog/distfiles/netbeans-9999-r14-build.xml.patch.bz2
+	http://hg.netbeans.org/binaries/2F7553F50B0D14ED811B849C282DA8C1FFC32AAE-asm-all-5.0.1.jar
+	http://hg.netbeans.org/binaries/1BA97A9FFD4A1DFF3E75B76CD3AE3D0EFF8493B7-felix-4.2.1.jar
+	http://hg.netbeans.org/binaries/941A8BE4506C65F0A9001C08812FB7DA1E505E21-junit-4.12-javadoc.jar
+	http://hg.netbeans.org/binaries/E3A5F2A5ABD41D2551DB29361BAE41ED8A985FB5-ko4j-1.2.jar
+	http://hg.netbeans.org/binaries/C610EC75CCEFF8B48FF2EC2BCECE2D4540CC5FD5-net.java.html-1.2.jar
+	http://hg.netbeans.org/binaries/2274D50B71CE1090A372F67105E28076598C7076-net.java.html.boot-1.2.jar
+	http://hg.netbeans.org/binaries/8184917299BC0E616ACB170D3B73EAB71A39D98A-net.java.html.boot.fx-1.2.jar
+	http://hg.netbeans.org/binaries/580F8767F658464D74ACB06E53DAA6DC5163D494-net.java.html.boot.script-1.2.jar
+	http://hg.netbeans.org/binaries/596C9CF835BF8780716303293CF1D0A9BE1BF665-net.java.html.geo-1.2.jar
+	http://hg.netbeans.org/binaries/FA012CF6D4BF8BB584EF5642B85A65544764C1AB-net.java.html.json-1.2.jar
+	http://hg.netbeans.org/binaries/C45CABAA90C7C62FC6F3EABA3C4B82AAA498964D-net.java.html.sound-1.2.jar
+	http://hg.netbeans.org/binaries/B27F1304F18FEDE876F940AEFA6C9EB5632619D7-org.eclipse.osgi_3.9.1.v20140110-1610.jar
+	http://hg.netbeans.org/binaries/1C7FE319052EF49126CF07D0DB6953CB7007229E-swing-layout-1.0.4-doc.zip
+	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/hamcrest-core:1.3
+	dev-java/javahelp:0
+	>=dev-java/jna-3.4:0
+	dev-java/junit:4[source]
+	>=dev-java/osgi-core-api-5:0
+	dev-java/osgi-compendium:0
+	dev-java/swing-layout:1[source]
+	dev-java/testng:0"
+# 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}"/2F7553F50B0D14ED811B849C282DA8C1FFC32AAE-asm-all-5.0.1.jar libs.asm/external/asm-all-5.0.1.jar || die
+	ln -s "${DISTDIR}"/1BA97A9FFD4A1DFF3E75B76CD3AE3D0EFF8493B7-felix-4.2.1.jar libs.felix/external/felix-4.2.1.jar || die
+	ln -s "${DISTDIR}"/941A8BE4506C65F0A9001C08812FB7DA1E505E21-junit-4.12-javadoc.jar junitlib/external/junit-4.12-javadoc.jar || die
+	ln -s "${DISTDIR}"/E3A5F2A5ABD41D2551DB29361BAE41ED8A985FB5-ko4j-1.2.jar o.n.html.ko4j/external/ko4j-1.2.jar || die
+	ln -s "${DISTDIR}"/C610EC75CCEFF8B48FF2EC2BCECE2D4540CC5FD5-net.java.html-1.2.jar net.java.html/external/net.java.html-1.2.jar || die
+	ln -s "${DISTDIR}"/2274D50B71CE1090A372F67105E28076598C7076-net.java.html.boot-1.2.jar net.java.html.boot/external/net.java.html.boot-1.2.jar || die
+	ln -s "${DISTDIR}"/8184917299BC0E616ACB170D3B73EAB71A39D98A-net.java.html.boot.fx-1.2.jar net.java.html.boot.fx/external/net.java.html.boot.fx-1.2.jar || die
+	ln -s "${DISTDIR}"/580F8767F658464D74ACB06E53DAA6DC5163D494-net.java.html.boot.script-1.2.jar net.java.html.boot.script/external/net.java.html.boot.script-1.2.jar || die
+	ln -s "${DISTDIR}"/596C9CF835BF8780716303293CF1D0A9BE1BF665-net.java.html.geo-1.2.jar net.java.html.geo/external/net.java.html.geo-1.2.jar || die
+	ln -s "${DISTDIR}"/FA012CF6D4BF8BB584EF5642B85A65544764C1AB-net.java.html.json-1.2.jar net.java.html.json/external/net.java.html.json-1.2.jar || die
+	ln -s "${DISTDIR}"/C45CABAA90C7C62FC6F3EABA3C4B82AAA498964D-net.java.html.sound-1.2.jar net.java.html.sound/external/net.java.html.sound-1.2.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}"/1C7FE319052EF49126CF07D0DB6953CB7007229E-swing-layout-1.0.4-doc.zip o.jdesktop.layout/external/swing-layout-1.0.4-doc.zip || 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.junit4/external hamcrest-core-1.3 hamcrest-core.jar hamcrest-core-1.3.jar
+	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.junit4/external junit-4 junit.jar junit-4.12.jar
+	ln -s /usr/share/junit-4/sources/junit-src.zip junitlib/external/junit-4.12-sources.jar || die
+	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 libs.osgi/external osgi-compendium osgi-compendium.jar osgi.cmpn-4.2.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_jar-from --into libs.testng/external testng testng.jar testng-6.8.1-dist.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/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/junit-4.12-sources.jar || die
+	dosym /usr/share/junit-4/sources/junit-src.zip ${INSTALL_DIR}/docs/junit-4.12-sources.jar
+	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 hamcrest-core-1.3.jar && dosym /usr/share/hamcrest-core-1.3/lib/hamcrest-core.jar ${instdir}/hamcrest-core-1.3.jar || 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 junit-4.12.jar && dosym /usr/share/junit-4/lib/junit.jar ${instdir}/junit-4.12.jar || die
+	rm osgi.cmpn-4.2.jar && dosym /usr/share/osgi-compendium/lib/osgi-compendium.jar ${instdir}/osgi.cmpn-4.2.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
+	rm testng-6.8.1-dist.jar && dosym /usr/share/testng/lib/testng.jar ${instdir}/testng-6.8.1-dist.jar || die
+	popd >/dev/null || die
+
+	dosym ${INSTALL_DIR} /usr/share/netbeans-nb-${SLOT}/platform
+}

diff --git a/dev-java/netbeans-profiler/Manifest b/dev-java/netbeans-profiler/Manifest
index cc51b92..f117160 100644
--- a/dev-java/netbeans-profiler/Manifest
+++ b/dev-java/netbeans-profiler/Manifest
@@ -6,10 +6,12 @@ DIST netbeans-trunk-nightly-201509030002-src.zip 208952012 SHA256 2ab1daf24bd167
 DIST netbeans-trunk-nightly-201509040002-src.zip 208956475 SHA256 4cc75f6e48a6602fd3ba7496733ad5d9e6289baadeb9d7d28dcd2fab25d7a30c SHA512 e5e7f81f38df14c208331946b8e465690488a8238959b5910a2a6f57323b4b654c79f74d332c9b000ce1452998931c0159ce55682e75b1eaed8a35b86544f139 WHIRLPOOL fc7214be63907b6dbef77200e227184a68ba9a8389a4d83ad780799afebdadeda874dd5eafad989398131777f775c3815cf6a341d4b175e1bcfb8308f3f9de1a
 DIST netbeans-trunk-nightly-201509050002-src.zip 208961273 SHA256 0e4ee8605bb5933ec079c7bc1a597d00cecd76d589ea27a1612eb51253d2bf17 SHA512 d87f0251d65b3c44468ce3da97b3a9f077938da2eaa08c7afc887dbcd0054cad88840a1c12e553ba5100ebe4e272f0a89503a694ae3329952102959a530f70fd WHIRLPOOL 9f1409fe6b8775cfaa64af217fbf88220c8307ff4b169d694f431cbaaff3b46bd7f0c3a97654706e0c949d01d0a61515daef679ebea6012b56da3af7af0ac01b
 DIST netbeans-trunk-nightly-201509100002-src.zip 209128741 SHA256 5d5a40a072eab70857662787af171f4af2a73d866e122c465618914c851e790c SHA512 c40b93171efc0d42e84d34d437c15085189078d51a99be10e63a813a9e7ca9451dcaba6748344e585cc444903c29a56fb1a78c43545136910c000accf53dfe83 WHIRLPOOL 033764680db1d66360e33286c05d58e33bf0288f09e2caa9871beee1d727047b8af6a3de079c595ca508f89f0b29ae4aa96298bd4be5cee3b77e32f9759cb527
+DIST netbeans-trunk-nightly-201509110002-src.zip 209149212 SHA256 9833b3b5804a16062972c36bbc1af9ae9445f7313884195e6ac0935a43182b98 SHA512 2ba867e3c5816b08da70cc9fe5a697ae68d55b3eb28ada6c6b9364dd8828a1f16122dd57f7556113d93b4af034f4b6a0aee05d79336e18b9a8f014b86eff448a WHIRLPOOL 21026c2040e6b6d843308065fd6409ebca28a013d8166d19260888beca80dc37f50e3a327cb059f92803591a23a9838484fd2b1fee78fa3b37b378a495bda782
 EBUILD netbeans-profiler-8.0.2.ebuild 3402 SHA256 8021dea620d1bc26214ff0ec285f8061c24693dd28a62a97a48ac3223707e920 SHA512 2660390337a973256b1aac3a02b14e16782c230fa2714ae695213b0cabc0eb60621c6a1ae234f9e57259a19de22a87447f9a89ab846bd59bcedd2be313c35072 WHIRLPOOL 5d1053ded03143b2de05b64cfbe59b515cb786d60bfa65566be795567bfaf5feb88a2f8e7161a05da512fafd523f871778d5ddeb3c6b89fc95885096e379f65d
 EBUILD netbeans-profiler-9999_p20150901.ebuild 3472 SHA256 2463f091c9f090fd538ea9a18cb2fc00819c7e8d8b3780e0bbdff4a426fb361d SHA512 40e7d264ee795e18ea90278e8e1d792abbe6ad4c4339d76ffbf63dd1126b0c5bedcd259741dff47c624a415aa7e8c57c3d8ef192d74b69373b6bf3ec574d6691 WHIRLPOOL 1d33cc1f24c6b8e3dca00668fa152b5956490d4eabc60bcae55adcee1c45950c02c0ab19daadb7b3691fc0bc908be618f56af9119243770298307a398b181442
 EBUILD netbeans-profiler-9999_p20150903.ebuild 3472 SHA256 9c439061ab5f353d42cd066cc5793626222b9e9e9b40b4217427498e7036ac4b SHA512 0c0cf3b94565f9dbad4cca20fb9abc672655e8a032c4d53794d9db03cde7b400d41126d3eeca82304952f488d232f041675fea7ad417b4f2faa9c5e24bead22a WHIRLPOOL 97d96c8613ed98c787251b8a0d4a556ffb47cd477449044c9dd8b535c9b632650870b70ee6816604701884a83c19f869db0256cb7c1ff83c6af986a22d21a5fa
 EBUILD netbeans-profiler-9999_p20150904.ebuild 3472 SHA256 2ce2d24294cda35057f5d29cc33d32624c137dfbcfbaedfc0a1293a0f5be09f6 SHA512 652e2bc148065c1e8d4e38528b7d862888626929f14e5fb5668fb56878b0f99c08a1782da4b40ad329fe0d35fb18e13bd8a5e08aeb7d7541caa49bb00c29be80 WHIRLPOOL f3747e756e729fec810e6a0eb04737cc773af5838527d63fd28f45549b2c04c67042590e7e90b88f8c062e016cdddcaa164d751ba983169aa41f60ac1c4fcc18
 EBUILD netbeans-profiler-9999_p20150905.ebuild 3472 SHA256 7b39021f88048a7c705a57101e585987b1e873e9b846c5414a80593a6eeda36a SHA512 7df39644cd6d86ec8250e821bb28264352670d4afea8b6451ad5ff63c2df2bb1596d6f82b5c1d7044ba2c927e17beb7491735259335a7e6785096db27715e12c WHIRLPOOL cb344a4427d6c76d56845ee51565cdd08a25dc32339cf83eacedcecd0fda57bde0573d7338c8244b214c62d58ed806c58d7bb77a4b0849ba2bc8d49e23f48aae
 EBUILD netbeans-profiler-9999_p20150910.ebuild 3472 SHA256 ada7d53fd4449f8bf122354e2be89f6a4d88f2de271912adc9bd243c7ded1653 SHA512 e72fdce714f3efbf097f3fb3722420a5b5d205d630b877a4313524857eca2045d6608eac88b0d2afc25cbe5d35dea2c7c4c00cd17c054735950a2781749f5854 WHIRLPOOL 6108e5e5174dcf929dff4b456f1f16f9f060d8ee0b2267813dd4767fd0300d3dfd2f2a3374b5b5f3a3ae99d58b63d8376965cc7dd0dd46b5678512ddccc318fd
+EBUILD netbeans-profiler-9999_p20150911.ebuild 3472 SHA256 f125bd2e5c137f25a2905b4aa62824cbfbbd5d884272d8c0f80139ef934b9fe5 SHA512 62c0740af11cd9cf9e20ca4b08fadf685f219f22f1bab0daae1811793d171165e9eee39357fed661b3cfe85d9ea8e251a0b1c1bb6f69b5fa9497e275b27c6af8 WHIRLPOOL be9d5bd0bde460b5caacb3f6a1c302eb373d7965e66f25d31e3cf4f9f774be8930c3e0c4d068c74758ecb9c088636b1ed827b56bdfe034d3d9779b05f67f5521
 MISC metadata.xml 251 SHA256 5a4ff53a9862390a48d45c79be24086646e7a6ff0c5bdf0fcb799d0871299003 SHA512 04153cbd9776ad56a94d6a47d043df15d082d8888df8658f18d0d4b659c6c0526ab3a9b22ccbe2471091bf2d8165f224854bc99c51f3664aaf350ccb93532a7c WHIRLPOOL 2ee8a646c6e23bc46c72cac0ecb5cfe43720ec42404ddaeed8ab1b59d139b3d5c1a94764de847f979da978c001c9f02f709d663a68eeea64d19e88f1fefbca43

diff --git a/dev-java/netbeans-profiler/netbeans-profiler-9999_p20150911.ebuild b/dev-java/netbeans-profiler/netbeans-profiler-9999_p20150911.ebuild
new file mode 100644
index 0000000..a218684
--- /dev/null
+++ b/dev-java/netbeans-profiler/netbeans-profiler-9999_p20150911.ebuild
@@ -0,0 +1,121 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+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/2015-09-11_00-02-28/zip/netbeans-trunk-nightly-201509110002-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/Manifest b/dev-java/netbeans-webcommon/Manifest
index 0af3c72..b5f497e 100644
--- a/dev-java/netbeans-webcommon/Manifest
+++ b/dev-java/netbeans-webcommon/Manifest
@@ -15,10 +15,12 @@ DIST netbeans-trunk-nightly-201509030002-src.zip 208952012 SHA256 2ab1daf24bd167
 DIST netbeans-trunk-nightly-201509040002-src.zip 208956475 SHA256 4cc75f6e48a6602fd3ba7496733ad5d9e6289baadeb9d7d28dcd2fab25d7a30c SHA512 e5e7f81f38df14c208331946b8e465690488a8238959b5910a2a6f57323b4b654c79f74d332c9b000ce1452998931c0159ce55682e75b1eaed8a35b86544f139 WHIRLPOOL fc7214be63907b6dbef77200e227184a68ba9a8389a4d83ad780799afebdadeda874dd5eafad989398131777f775c3815cf6a341d4b175e1bcfb8308f3f9de1a
 DIST netbeans-trunk-nightly-201509050002-src.zip 208961273 SHA256 0e4ee8605bb5933ec079c7bc1a597d00cecd76d589ea27a1612eb51253d2bf17 SHA512 d87f0251d65b3c44468ce3da97b3a9f077938da2eaa08c7afc887dbcd0054cad88840a1c12e553ba5100ebe4e272f0a89503a694ae3329952102959a530f70fd WHIRLPOOL 9f1409fe6b8775cfaa64af217fbf88220c8307ff4b169d694f431cbaaff3b46bd7f0c3a97654706e0c949d01d0a61515daef679ebea6012b56da3af7af0ac01b
 DIST netbeans-trunk-nightly-201509100002-src.zip 209128741 SHA256 5d5a40a072eab70857662787af171f4af2a73d866e122c465618914c851e790c SHA512 c40b93171efc0d42e84d34d437c15085189078d51a99be10e63a813a9e7ca9451dcaba6748344e585cc444903c29a56fb1a78c43545136910c000accf53dfe83 WHIRLPOOL 033764680db1d66360e33286c05d58e33bf0288f09e2caa9871beee1d727047b8af6a3de079c595ca508f89f0b29ae4aa96298bd4be5cee3b77e32f9759cb527
+DIST netbeans-trunk-nightly-201509110002-src.zip 209149212 SHA256 9833b3b5804a16062972c36bbc1af9ae9445f7313884195e6ac0935a43182b98 SHA512 2ba867e3c5816b08da70cc9fe5a697ae68d55b3eb28ada6c6b9364dd8828a1f16122dd57f7556113d93b4af034f4b6a0aee05d79336e18b9a8f014b86eff448a WHIRLPOOL 21026c2040e6b6d843308065fd6409ebca28a013d8166d19260888beca80dc37f50e3a327cb059f92803591a23a9838484fd2b1fee78fa3b37b378a495bda782
 EBUILD netbeans-webcommon-8.0.2.ebuild 4723 SHA256 e2ba39cb6f22c990acf9a492eac5707f130382d56f9bc1e3636e82cbe4d61938 SHA512 61955d38f829b3ed54bc5cb9a71da07f05676a2bf7219fa8073aeee0f0e2d0e73f7aa6ec1636be39fb071d3d2b9de7ceb813a247a61961874f4cc78697d4e568 WHIRLPOOL 1a272650fc2394716a790b79cb85a9322929c7cc96ea4776cc639fb869c5b536140dbdc632b1a8aa9cb1fc8e740050125c2ebe9390de7a8f4207e88e24924206
 EBUILD netbeans-webcommon-9999_p20150901.ebuild 4991 SHA256 6a58d046976202f9630b42e133fac192593354c8620dfca0bc5f6d5eefb41b63 SHA512 c7d0da7bf9bacf40c8afc1ee6543749b0f30969abd398bddc9109f18e29f93416496d0e31c837358412f1de192953972b3a4ed7f709789dd6abcff9f63b871c6 WHIRLPOOL eb9eefc3b2fa66241f1035309856f3b68c3373cd355d3d275b5dae7bef26d53a93628863b081e4cbde480371dd72a037ce275af31947069fce424c563866e267
 EBUILD netbeans-webcommon-9999_p20150903.ebuild 4991 SHA256 b12f68d20eb276d5787e83ba650885835308517e4de0553dc4bf16487ef5d974 SHA512 5f4fb009a589c9bc36a2908d16009b6d72f476e5fcbea52fd21385448a58335a033ad3e58a410173c0ac029e892db0d2ca2081ae8bd16bed98b62d121690d237 WHIRLPOOL 1deef8a500b05468cf6f3c2623cc38eec880bcaab1dae9ab51ff4424018465db71ed37c7146b289451558d54d858f4246ec3cfb80feecea0e1f42306c105b4a4
 EBUILD netbeans-webcommon-9999_p20150904.ebuild 4991 SHA256 6e6633b309145779324f465299bb3bbc2c512b120b17e11c186b5e635eddcc28 SHA512 1bd3348e4dd5d915c16f864887959b57b5109b3b56b37b528c604d5fc8bcc9a3ab1c1c500703090e5b8de2e16bd857991da709829c04b8104b82b260c7e0441b WHIRLPOOL ab86d94def43bc0d34ddda09bc2d504e400eb5dbe14e092accd8ed2e7ac0abbfe9040ecc6cd8bcdfd683477f6460462038506bbf334810109976bfcb3d08df3a
 EBUILD netbeans-webcommon-9999_p20150905.ebuild 4991 SHA256 8c375182027b28ac6e9edd25700e46462c14cfe9a2cf9c647e35ed35ea6016fa SHA512 de8380efbc22d8989e286c98096eb76a4e86d4ba37d6cdbc59b0b021f2f9bc0888cf1db1dc33f6019655904d476522883cefd78befe507fb057dee4ce8982d7f WHIRLPOOL 5cb5ea2d0d715e5ff14f4f00ee0ee3dbc399d263a70a0919a2e80fa4ee5d734bb442f5404b16893a820efd792bb4ce0fb5dbda99f7d9a139e0cd7c38f3436351
 EBUILD netbeans-webcommon-9999_p20150910.ebuild 4991 SHA256 b00aad27e00cd0900fbd92139350f13689dae966abce2bfef9400f19b6c3a837 SHA512 69331453f497f65d63256d68a660e6a870a2ad4ba55d0df35a6b53343c75c9efcbc6c2b06d527caf2bd3d9095cd8f177e345c09e4c9182329971d599658d1997 WHIRLPOOL b7a22ed49e8db0f81513a3f1ca51b95e33ef7ca9963b42e0b6038b0e7d5e673bd9ea6149cca8feeddbcee84f11de5e76795f56e0ec9039813b69418b90d16f53
+EBUILD netbeans-webcommon-9999_p20150911.ebuild 4991 SHA256 76802501ce512eab2fce0e30705b615739d480d7cd749f0ae6e84c9db386f5d6 SHA512 9101debfa7fdc847d290259322ceada8ce780fc65245773fbbcf07e39b84f5fb3afb8635440d510045cb7a561929353c96c0850039068c843d7d77be3bc1a69d WHIRLPOOL cf97886f0a14ac02e4b83a907d8b23f9c432179a9c9b175541af06cb2f75852cac3cde8c565bc04533b6e95e4c00fa717ae7bfde24b57c6395a8929ec9f39c95
 MISC metadata.xml 251 SHA256 5a4ff53a9862390a48d45c79be24086646e7a6ff0c5bdf0fcb799d0871299003 SHA512 04153cbd9776ad56a94d6a47d043df15d082d8888df8658f18d0d4b659c6c0526ab3a9b22ccbe2471091bf2d8165f224854bc99c51f3664aaf350ccb93532a7c WHIRLPOOL 2ee8a646c6e23bc46c72cac0ecb5cfe43720ec42404ddaeed8ab1b59d139b3d5c1a94764de847f979da978c001c9f02f709d663a68eeea64d19e88f1fefbca43

diff --git a/dev-java/netbeans-webcommon/netbeans-webcommon-9999_p20150911.ebuild b/dev-java/netbeans-webcommon/netbeans-webcommon-9999_p20150911.ebuild
new file mode 100644
index 0000000..a4c96f7
--- /dev/null
+++ b/dev-java/netbeans-webcommon/netbeans-webcommon-9999_p20150911.ebuild
@@ -0,0 +1,123 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+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/2015-09-11_00-02-28/zip/netbeans-trunk-nightly-201509110002-src.zip"
+SRC_URI="${SOURCE_URL}
+	http://dev.gentoo.org/~fordfrog/distfiles/netbeans-9999-r14-build.xml.patch.bz2
+	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}"/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/Manifest b/dev-java/netbeans-websvccommon/Manifest
index 3fce943..4c5afae 100644
--- a/dev-java/netbeans-websvccommon/Manifest
+++ b/dev-java/netbeans-websvccommon/Manifest
@@ -6,10 +6,12 @@ DIST netbeans-trunk-nightly-201509030002-src.zip 208952012 SHA256 2ab1daf24bd167
 DIST netbeans-trunk-nightly-201509040002-src.zip 208956475 SHA256 4cc75f6e48a6602fd3ba7496733ad5d9e6289baadeb9d7d28dcd2fab25d7a30c SHA512 e5e7f81f38df14c208331946b8e465690488a8238959b5910a2a6f57323b4b654c79f74d332c9b000ce1452998931c0159ce55682e75b1eaed8a35b86544f139 WHIRLPOOL fc7214be63907b6dbef77200e227184a68ba9a8389a4d83ad780799afebdadeda874dd5eafad989398131777f775c3815cf6a341d4b175e1bcfb8308f3f9de1a
 DIST netbeans-trunk-nightly-201509050002-src.zip 208961273 SHA256 0e4ee8605bb5933ec079c7bc1a597d00cecd76d589ea27a1612eb51253d2bf17 SHA512 d87f0251d65b3c44468ce3da97b3a9f077938da2eaa08c7afc887dbcd0054cad88840a1c12e553ba5100ebe4e272f0a89503a694ae3329952102959a530f70fd WHIRLPOOL 9f1409fe6b8775cfaa64af217fbf88220c8307ff4b169d694f431cbaaff3b46bd7f0c3a97654706e0c949d01d0a61515daef679ebea6012b56da3af7af0ac01b
 DIST netbeans-trunk-nightly-201509100002-src.zip 209128741 SHA256 5d5a40a072eab70857662787af171f4af2a73d866e122c465618914c851e790c SHA512 c40b93171efc0d42e84d34d437c15085189078d51a99be10e63a813a9e7ca9451dcaba6748344e585cc444903c29a56fb1a78c43545136910c000accf53dfe83 WHIRLPOOL 033764680db1d66360e33286c05d58e33bf0288f09e2caa9871beee1d727047b8af6a3de079c595ca508f89f0b29ae4aa96298bd4be5cee3b77e32f9759cb527
+DIST netbeans-trunk-nightly-201509110002-src.zip 209149212 SHA256 9833b3b5804a16062972c36bbc1af9ae9445f7313884195e6ac0935a43182b98 SHA512 2ba867e3c5816b08da70cc9fe5a697ae68d55b3eb28ada6c6b9364dd8828a1f16122dd57f7556113d93b4af034f4b6a0aee05d79336e18b9a8f014b86eff448a WHIRLPOOL 21026c2040e6b6d843308065fd6409ebca28a013d8166d19260888beca80dc37f50e3a327cb059f92803591a23a9838484fd2b1fee78fa3b37b378a495bda782
 EBUILD netbeans-websvccommon-8.0.2.ebuild 2651 SHA256 a195b307847c466dbb5f46eb04240358ce3c92cadeecb8fda1562304de46820f SHA512 933626bd2073f58e3508180c042e237b9e61ba6f3c992cf37ea43978ac2fc972d2dcc3ef0b5c390b3867296e197ed2605c43452c98e36acf0982e7338b6d1eb7 WHIRLPOOL c3db8f0b50116d0129f50778e1961166e76601d8c165e20e73d75c91b02c8a095067e0f13e18178d849dd29adcedaeee7d3e0e62f99be592d7ce159fd6af632e
 EBUILD netbeans-websvccommon-9999_p20150901.ebuild 2721 SHA256 1b1853b108ea504ea98052027c51e2ab8e55853bc016e1b288f7d5fdfa937ba9 SHA512 f914e9d3d8060c6740ab305233379a6c5cda835a09d1ad9c2d5e4a37fe7154f560899b4dc4e375b4a1d8b724102b522eb02529d65ce562afb914cdabbeebceff WHIRLPOOL 2eb7a4627b93b6bb8bbc033a6e941a64452a5c6377e28b86abcaca6b6be76ddec7df0950e7ef5234f5e3d6addb3dd191cfa00f6fc18b4442a2d7c1e6b27fa19b
 EBUILD netbeans-websvccommon-9999_p20150903.ebuild 2721 SHA256 5b548eaf95bd714f2b32bdbf189f8a5967ebb9ff9f4472b7dec07165540a4bf2 SHA512 d4e19899b1df32711eb649b10bb66ee7daeb463ce87bf330f3405e02788e7acea6a8573aacd2f17c5e09c93762e627dfc88b1f331c40280761cd0bd1d2b0339c WHIRLPOOL e6914d11ecf33f57de66f4bba5f8689f0ffc0ff40df29ec98cc6a0b731cf7c73096124e67433205a3fafaf744cc8b9c0a0361c905be1823b0dbde7e85bd52a66
 EBUILD netbeans-websvccommon-9999_p20150904.ebuild 2721 SHA256 71946d71ff2214b1c9d7b28d2de9a8e12c9f0f48ba1c43e47f655d7bb7e91bbf SHA512 4229d6266d0b39ce19ad0c7c4ecf2e094f5e405e39489abf37bf328c8f9d4b1a92e9773e6fc049e20380f214d703c6f3aa6429bd98b55ab7b4c8b89f24e1cd64 WHIRLPOOL 2f3c6551febca879eec52572d26fce05941163d2ad5b3d6cfbde5984d3563a8c8d67c801007d30a3e08703c1c5b5711798f2dd0a2355071e79d6d7ea348fae42
 EBUILD netbeans-websvccommon-9999_p20150905.ebuild 2721 SHA256 8c3627294310a820630da79b063c973b8b8c45a61936bf51263591941587f045 SHA512 a8e65a4094e542e1ba55aa800394749b121a73324816d8279b86b4bc10033ea6713a7a0c5d40321974102bebbb7b26e2d38c5ef8b4959702cb5916905c0490c2 WHIRLPOOL 9880aa66f43b62da2b289273c0a43a508181df74694850c6bbf30b603612142e93f3955cea1a717567ae572cb8623d0a29deeecf1f6466d0e6262ef45a4fd068
 EBUILD netbeans-websvccommon-9999_p20150910.ebuild 2721 SHA256 3fe5e0f18c2eeb76aef1dcd08f4801444284c2fcec484b32e527f3e3a4b99d21 SHA512 090e755f1f35fc94328a948635285c46551267986d744493d2a9e60e8f0bbcea458cb311844beb383821bede3883dd94c657e585880eae2621fd9a6af771335b WHIRLPOOL ddeea47cd78dac2d720abf63929c41a62341e57c618ff5c5b48d50284645cc8e1b0b7d22a709d586ef43d69cb4311218304b5b00f685a0a1c60a4949fb0d46df
+EBUILD netbeans-websvccommon-9999_p20150911.ebuild 2721 SHA256 7517e8d0862e30bd443ea108b3c705bdcd527af02c0c2939ba9a3ab5bd1204b5 SHA512 53ed1c06586bd32c294f5dc2667f2152bca2e4973327983fe37c9e9ce4fcb3125a827d2becdfe59090cd00ae068abcfba1cae209bdc47fa2b5c6b29d7834c6da WHIRLPOOL fae1d5bc686bfaf78903cd1b8b210b6c6a8cd4baa933a07b38cb4c7e9788c1d9b6d09b47360818ac35f6699001c306b40e2a36a242e98cdcab19647b119014b3
 MISC metadata.xml 251 SHA256 5a4ff53a9862390a48d45c79be24086646e7a6ff0c5bdf0fcb799d0871299003 SHA512 04153cbd9776ad56a94d6a47d043df15d082d8888df8658f18d0d4b659c6c0526ab3a9b22ccbe2471091bf2d8165f224854bc99c51f3664aaf350ccb93532a7c WHIRLPOOL 2ee8a646c6e23bc46c72cac0ecb5cfe43720ec42404ddaeed8ab1b59d139b3d5c1a94764de847f979da978c001c9f02f709d663a68eeea64d19e88f1fefbca43

diff --git a/dev-java/netbeans-websvccommon/netbeans-websvccommon-9999_p20150911.ebuild b/dev-java/netbeans-websvccommon/netbeans-websvccommon-9999_p20150911.ebuild
new file mode 100644
index 0000000..c5dc4c3
--- /dev/null
+++ b/dev-java/netbeans-websvccommon/netbeans-websvccommon-9999_p20150911.ebuild
@@ -0,0 +1,94 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+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/2015-09-11_00-02-28/zip/netbeans-trunk-nightly-201509110002-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/Manifest b/dev-util/netbeans/Manifest
index 92e59a0..f12edaf 100644
--- a/dev-util/netbeans/Manifest
+++ b/dev-util/netbeans/Manifest
@@ -8,10 +8,12 @@ DIST netbeans-trunk-nightly-201509030002-src.zip 208952012 SHA256 2ab1daf24bd167
 DIST netbeans-trunk-nightly-201509040002-src.zip 208956475 SHA256 4cc75f6e48a6602fd3ba7496733ad5d9e6289baadeb9d7d28dcd2fab25d7a30c SHA512 e5e7f81f38df14c208331946b8e465690488a8238959b5910a2a6f57323b4b654c79f74d332c9b000ce1452998931c0159ce55682e75b1eaed8a35b86544f139 WHIRLPOOL fc7214be63907b6dbef77200e227184a68ba9a8389a4d83ad780799afebdadeda874dd5eafad989398131777f775c3815cf6a341d4b175e1bcfb8308f3f9de1a
 DIST netbeans-trunk-nightly-201509050002-src.zip 208961273 SHA256 0e4ee8605bb5933ec079c7bc1a597d00cecd76d589ea27a1612eb51253d2bf17 SHA512 d87f0251d65b3c44468ce3da97b3a9f077938da2eaa08c7afc887dbcd0054cad88840a1c12e553ba5100ebe4e272f0a89503a694ae3329952102959a530f70fd WHIRLPOOL 9f1409fe6b8775cfaa64af217fbf88220c8307ff4b169d694f431cbaaff3b46bd7f0c3a97654706e0c949d01d0a61515daef679ebea6012b56da3af7af0ac01b
 DIST netbeans-trunk-nightly-201509100002-src.zip 209128741 SHA256 5d5a40a072eab70857662787af171f4af2a73d866e122c465618914c851e790c SHA512 c40b93171efc0d42e84d34d437c15085189078d51a99be10e63a813a9e7ca9451dcaba6748344e585cc444903c29a56fb1a78c43545136910c000accf53dfe83 WHIRLPOOL 033764680db1d66360e33286c05d58e33bf0288f09e2caa9871beee1d727047b8af6a3de079c595ca508f89f0b29ae4aa96298bd4be5cee3b77e32f9759cb527
+DIST netbeans-trunk-nightly-201509110002-src.zip 209149212 SHA256 9833b3b5804a16062972c36bbc1af9ae9445f7313884195e6ac0935a43182b98 SHA512 2ba867e3c5816b08da70cc9fe5a697ae68d55b3eb28ada6c6b9364dd8828a1f16122dd57f7556113d93b4af034f4b6a0aee05d79336e18b9a8f014b86eff448a WHIRLPOOL 21026c2040e6b6d843308065fd6409ebca28a013d8166d19260888beca80dc37f50e3a327cb059f92803591a23a9838484fd2b1fee78fa3b37b378a495bda782
 EBUILD netbeans-8.0.2.ebuild 7167 SHA256 80e31382a0ceb680c2a055dc5c78c1dce8edf32c50bbae6a1c14a2c568492519 SHA512 0ab466ca247ec953896ef0ab3b01b43ffea3a9f37e9bcdacecfc0476226d45cef35e4ddf27f2b85628d9512ed304e6cc6cfe963a5e547217d08cad400eefc4b9 WHIRLPOOL d09668e669f4f8d7987ab02cf26104fc6e54ba29b8b497fe0013cc8816a2d7560c99e6e1b02db77ead872d5240b84c09e3fabbc3465587d1d1ca7d6fcae114c1
 EBUILD netbeans-9999_p20150901.ebuild 7210 SHA256 aa601ee01f6fb1485234688933becffe18ee2d30af5045951a2bffc2f24f849a SHA512 98f00da7d90c3425cd718c34d65aa46980a9c10f50dd34a01a1776d1a1488e92b9e657210f61e45724b6c9358a36a44a2fbf8ac5b7012012d163c6c91f7ec421 WHIRLPOOL 008820f5bbb9077bc739629262c1e24bbece9c55b50c270c76c3900424ea77e0dca4a33bdf32535b506d61dacd951f65d669485321837dd83234404ad9143594
 EBUILD netbeans-9999_p20150903.ebuild 7210 SHA256 73a22280e3cd8d717bb224ba8c243faa59493011739522863e3e93b83def156d SHA512 87214a421b60dbe51dd45b0124ba463585096fe7f7820fa48e0cbf7d55b3d3080645ecd9dbd4679d7968a9b90d1ed60b88bbc3e50109a00e3c2a7ea8192ef0b2 WHIRLPOOL b820124da7676168df3529566db7b2ca095972189a1ba848da238caae7a93947c0c664af310edc722146d2daaa9fdab9bbcc5b3477207664a5193c003f289c09
 EBUILD netbeans-9999_p20150904.ebuild 7210 SHA256 26e7f917eab6ce7ea1fb1d6feb75d05226a7eb421351b7e801f8634ef8041184 SHA512 0ff061e016b44bc44d3c998a00a221e6cdf229a17162d572708bff893d794e8cab4ce799690c60a46251e3fa0b7ad04f5fdebea1c016ffb6d5f52ebaa1b0b464 WHIRLPOOL 7abe368a6e798c97f335ce9ae2c597eb7fbd98a08fb373f918177c9ea7e4c0a852fdae97573b5631e71f44759a3cf126545e3137561c5862491e6b96e63e020c
 EBUILD netbeans-9999_p20150905.ebuild 7210 SHA256 580c06c4afbee145d0c2606224b36fef691279aeacc3787470e2ddac42813623 SHA512 84ab7e983f97e210710002fa21645582360b1a3ce645dab2c1487543a692318fb8a23c4791e7dde645b7f81d527a1c75283945a3c6a80ee878b87470fcd882f8 WHIRLPOOL 9e521e648b657653bff5af79932c76a4e8dea05dd023e7daf0562e94b2c24da6ddfd0c15d57e94f9c1ade67c1081f9386b50b368a201e1daa589d1273df5a140
 EBUILD netbeans-9999_p20150910.ebuild 7210 SHA256 e5dac39a15a3bb96f96b40af22168fbeb9791c8d3a4864aca7329b08259ee014 SHA512 0badc6158b0acb2b2b519392e7c55c32c96fc8d8444c2ab70d649ed7ab892ff240b067e722ad79ce1fa909f888858c0ab9a093c7b15ffbac1e120b72b46f50ad WHIRLPOOL b925a840cf164a6520b08f7009b26fedf9b0cf68390858637c2c45e62cbc122ec91f8b08e017a8a9e62499eec85c5020e3a2ecf66a8fa7ca9a0673af1a3ffc9f
+EBUILD netbeans-9999_p20150911.ebuild 7210 SHA256 3d56378edc3b701678b54a30a7867d26611e93fe4c4878b8fbcad2cee5f09dab SHA512 b8fd891ab8ad0fe2aea15c09adb6a104f8424b6e6346473d7c8e0d9eed4a8d01fb03d71c412c53034611ebcbc3cb08c3de8022853d4e2edd6aeb3a9ee0185775 WHIRLPOOL f63cb3f16acbf71ed53180fa5179c2dc12dddd73fcc658faad2b7291975dfe7a61b0765447b78ebcc97ed7e33b2214bdbc403cd9b06579102d90b0b93fc32243
 MISC metadata.xml 333 SHA256 a7c289d7be537b4c51bd8100bca0d8a40ceb5fb011942bbd1b286841cf3c1d0a SHA512 3f730fc27f893489524053e81a465519037a68e297f02a5d6400f85f8bfd8a20006e5515a135b8a5779ebf5951a661d99aaa8bf3b9b96141f863e134dba2265e WHIRLPOOL d37106234351185946f6dc870e9b77babd38bed88673771949d26d176d8dad4071be5f2c59bf72b139a6a35c899c2c7ac9ffde1c7b4885135d52c821780cf3d2

diff --git a/dev-util/netbeans/netbeans-9999_p20150911.ebuild b/dev-util/netbeans/netbeans-9999_p20150911.ebuild
new file mode 100644
index 0000000..3a6e542
--- /dev/null
+++ b/dev-util/netbeans/netbeans-9999_p20150911.ebuild
@@ -0,0 +1,264 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+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/2015-09-11_00-02-28/zip/netbeans-trunk-nightly-201509110002-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:[~2015-09-11  9:15 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-11  9:15 [gentoo-commits] dev/fordfrog:master commit in: dev-java/netbeans-cnd/, dev-java/netbeans-platform/, Miroslav Šulc

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