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

commit:     80f9422329b2ddf22b5415a0a76307fabb007dbf
Author:     Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
AuthorDate: Fri Sep 18 11:16:37 2015 +0000
Commit:     Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
CommitDate: Fri Sep 18 11:16:37 2015 +0000
URL:        https://gitweb.gentoo.org/dev/fordfrog.git/commit/?id=80f94223

netbeans: version bump

Package-Manager: portage-2.2.20.1

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

diff --git a/dev-java/netbeans-apisupport/Manifest b/dev-java/netbeans-apisupport/Manifest
index b1144d5..f851ed6 100644
--- a/dev-java/netbeans-apisupport/Manifest
+++ b/dev-java/netbeans-apisupport/Manifest
@@ -10,6 +10,7 @@ DIST netbeans-trunk-nightly-201509110002-src.zip 209149212 SHA256 9833b3b5804a16
 DIST netbeans-trunk-nightly-201509140002-src.zip 209159147 SHA256 cdcaeab5534f59320d499b5e84f1deec2863f605ccf4f7be5ced8415e0e3a70e SHA512 0a40110edf53330612d3d586eb7931013c5279fb5db2a8383da90da03df12f291d6c7e5c0da14987311efb10cec017abf201fcf0e299141d079c316447ab8234 WHIRLPOOL ce02272125ee84695d786dcf3c66ac89f56deaed2076dd00e35a997235ca32b181257d80246f20e0e26b6983052b490f0507f718d58f164549991a940e1dd598
 DIST netbeans-trunk-nightly-201509150002-src.zip 209172926 SHA256 3b87e8cf796b12d5b032bd3ded3783820cf613654ca900067bbefb889281128b SHA512 2eec90a310df4676d885a2c2e7f9c4d40417330c2bdae19f9f331d2988e2e7b20749a4c06fb3ad7cffabc86aa1762f4e9de77703fa7c3b2d7859603d87f6e807 WHIRLPOOL 4938b146eb06b48a70c7ed7027c3122008c154e894d0e0feddeb8caabacef765a095f45dd4cd18d5b2dc9153b9eb8dbed32888151c7675c1fbee06c6ba6d9d66
 DIST netbeans-trunk-nightly-201509170002-src.zip 209193216 SHA256 b01e0a54bd8b26e24427b42266f0fedbfe00a3aebeb2f6ecdeb3dbe68dee9de2 SHA512 23e37e1565de76c8c755771e548d5c8a2564222936706f0140a25c9f362f9c6e12b0e9e2ab4e81e81a1fae71b9c64ab57523001a1977b31c18f5b94aacfc6c39 WHIRLPOOL 8c4467aef2751c0fe71f296e2d5957625901c0e2d7b9a6a6e8c02a092cf810beae812acfd1ca75df3f81ab96a2d6254c7ca3e498a9b7cab553683e9fd86bedd9
+DIST netbeans-trunk-nightly-201509180002-src.zip 209190887 SHA256 9c28f2f80aa16c2f1465ced753f061cbab8f21ce50b5d7436269049b1047a351 SHA512 a5ca38eb71224c8e70eeab325015b15d08de52e7035f341bc323ad65c5a74943abe0c113dc48da7463886e266b4afdb83b90ab27207630e5055bebbab9b4c2a7 WHIRLPOOL 8d084422f94f15a274549db16a8627a8679dbb8e19662dbc6c4afb253cf22b23f0c5eea0bd8824cf8f5d55d1075131940595f2bd67123d991cc84ff04ad5e6aa
 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
@@ -20,4 +21,5 @@ EBUILD netbeans-apisupport-9999_p20150911.ebuild 3384 SHA256 25fc98d85069546e0fb
 EBUILD netbeans-apisupport-9999_p20150914.ebuild 3384 SHA256 f310c45396c4b7495748d6399c113b3baaf9e7f72ab557ef838928e0809ffafa SHA512 ff390780810d61728b83d5143131c26b3cc4d0461bab9714ac91dda5b7974f5a16410bbca4b20313f5249aa158b631fcda68420824d2e218394d83b01d64ba33 WHIRLPOOL d5b0651cd5390a81b73053ae02efbec5b9261ffb4cfab8e73e8853518dd79b8e10f82665399f9092480a3a4359c0b08fd669e2e44e85cd24e60ff01aa607daa9
 EBUILD netbeans-apisupport-9999_p20150915.ebuild 3384 SHA256 668a58a80517f7f3405f7544e36a51e8210e5b75bda43e0e4214512a4777e41f SHA512 c1587b080b1a7934e91459d5f6538ec07319208a3508d9cef2fde30a9ce59445e67db412a10f95849a7fa423a726d4ec3ab386d3090bf067464b42c9e59c31de WHIRLPOOL 6ca3985d69dccdc245b10a5d9e2fb0ffb7b968af9a67ba44681f9dfda03c23c74aac5adc54736323af4ebaf63e2f5debb78989924849896e50b8f85a3d3fd1a6
 EBUILD netbeans-apisupport-9999_p20150917.ebuild 3384 SHA256 dae98b2d4d423e7256dab2b93b97c0bd8376d71e6a8048561f24b5130966046e SHA512 a5d3fb0b6e4a7883b91f1e12325ff9799a9092ac776b6d0909e3bb86c9edd3da99092de1ac5eeb470e570b26db186f7448c3270c1127c7ce07bdde4a7c62ebe0 WHIRLPOOL 9253508f62d7c0befe555586c00ac316f1f2f6f28426e57f76b4dd9ac3c8014de3595e8dcd666b488004e2f51a8b8fdc287e972aa7efc3c72e56c38549b4d288
+EBUILD netbeans-apisupport-9999_p20150918.ebuild 3384 SHA256 a43565b334be32acbc398cf82a01dc9d5d3fa8c47d05e53d3d311d47fba2504b SHA512 b5e285ed6d58926fe6f50cb29c7e9d8dea61dade04446b2447686c23b0384d695b52f636a6cf50d3159e952cd3f12bb7b029c6c5ab92f53b7cc4167cdd7ccef5 WHIRLPOOL 06ecf7cddaf23924b29dc81ca334d52bc2af07a997c31f17642bfbaab794f1770e8b2459223d54c40263b64c1797bf173e41e90c02b1d0b801b7fb49ea002ebf
 MISC metadata.xml 251 SHA256 5a4ff53a9862390a48d45c79be24086646e7a6ff0c5bdf0fcb799d0871299003 SHA512 04153cbd9776ad56a94d6a47d043df15d082d8888df8658f18d0d4b659c6c0526ab3a9b22ccbe2471091bf2d8165f224854bc99c51f3664aaf350ccb93532a7c WHIRLPOOL 2ee8a646c6e23bc46c72cac0ecb5cfe43720ec42404ddaeed8ab1b59d139b3d5c1a94764de847f979da978c001c9f02f709d663a68eeea64d19e88f1fefbca43

diff --git a/dev-java/netbeans-apisupport/netbeans-apisupport-9999_p20150918.ebuild b/dev-java/netbeans-apisupport/netbeans-apisupport-9999_p20150918.ebuild
new file mode 100644
index 0000000..64a27a5
--- /dev/null
+++ b/dev-java/netbeans-apisupport/netbeans-apisupport-9999_p20150918.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-18_00-02-28/zip/netbeans-trunk-nightly-201509180002-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 16d3e38..ecd5434 100644
--- a/dev-java/netbeans-cnd/Manifest
+++ b/dev-java/netbeans-cnd/Manifest
@@ -6,6 +6,7 @@ DIST 2BCF2047382FB68A2F275677745C80E79B4046AB-cnd-rfs-1.0.zip 152701 SHA256 ee45
 DIST 3E8BABDBD19DBDC2EC829ACEBBB3F44B5E6FC620-clank_0.3.6.zip 7485362 SHA256 c0edc7f32a682614b893e43726f0526e2002f0ecbfd98a429577926be0803c78 SHA512 81c0d4b4d7bc89d2eea35309c7f55f45dae73d21b935c9199d1de5f5c27d32feef9a8e709a8c62b33929095169f901a92c8342668871276094cb64955d240b29 WHIRLPOOL 93871b7fd9db2e25246083305c7fac9464f35f84573b1ae3568326892e3f8706937f3bf54d0d211372847fec7d856bd2c13a2b72c1e67e4d5d78a108bdb05960
 DIST 4E74C6BE42FE89871A878C7C4D6158F21A6D8010-antlr-runtime-3.4.jar 164365 SHA256 8633aa79a2566f51a089195e09a4581af3ee71bfc13eb234af5e0cf6383078b4 SHA512 f1300e2d1e47659f6113a0a3dcc953766b5a8ab32f13bedf4d6ac652ffcf828c17474d47edec08d7ad9039d7abb8570770b48fa53b8ff6b47a028836490777bc WHIRLPOOL 765c87803d9cf622ae7936cb922ad9bff8823a09baf01a6c8b4a81df8ba5fd7cd17b513b36da9910b75349de45185f4641680f35be8335e08b9c30283b6d3345
 DIST 5CAB59D859CAA6598E28131D30DD2E89806DB57F-antlr-3.4.jar 2388361 SHA256 9d3e866b610460664522520f73b81777b5626fb0a282a5952b9800b751550bf7 SHA512 04be4dfba3a21f3ab9d9e439a64958bd8e844a9f151b798383bd9e0dd6ebc416783ae7cb1d1dbb27fb7288ab9756b13b8338cdb8ceb41a10949c852ad45ab1f2 WHIRLPOOL 488b7b9af1d1d06cca163d43e7be190730e2f0421796c21a26ace11196ee37a16b1bdeea78a1e2e64f8ca0e87f67a2aecd066af21505f3dd92dd76de40a94fa0
+DIST 91F81ED36683E7DA584C97FACA3DA8E21F6EBAE4-clank_0.3.6.zip 7290324 SHA256 b6e274a8da5889c0206f342d7e9549ea3b1563d70fff2029e3ad1add0b35b43e SHA512 e826bc72cb839f6f7725d2fff70b45c594645410f2ebab0131c5942648cfaaed67d407ea2dcbe9a1fe060b35fd981ffc9e8fc1bff3e486acb782d073d55d37fd WHIRLPOOL e3a910243d6519b66c45f197f918ef0146250f58967fb37cec8e6a9fb2271cfe9c3b548d58f953d81f2c333cc5b3440b5dd6a156c20903bd119ab6ab7df707e8
 DIST 998FF5E89B7386A5FF0474097C64E2D2D89879E3-clank_0.3.6.zip 7495324 SHA256 ae5588c113577c023ecac708d5836b31414bda68b375e18ad91ce7a04a3805ac SHA512 fbfc9e56c7539dc8c04d6fd89895d2808af4e933c52786c8b62bad2a932b62ffc82080e93cebc977337a2b5a9343a6dd773c8850d1a09c320f3e619bcb29a416 WHIRLPOOL 5773bd9f133336bee513896488cdc5a097b3ea30ed9c7587f3e39a83423e6cc7f619b333558327fbd062f445dd6ddc5bcc932be18c0d4157b3142db9d2f20a59
 DIST A8C1DD1ECB47D9424506C3BB0B40D7148278006E-clank_0.3.6.zip 8275014 SHA256 5ff9d23973dc3ad09d777d2baf9aec58f07c119d14ab168a98006bde20ddfda8 SHA512 b2c58cb116312e8ff06f8c842c0924b8a5db5fba3010e333924318ca5b5963025bcc3a2d048a2333a5f666eca8571c8a59dfb3d8ded6ba3cf99c07a46420f0b8 WHIRLPOOL 5bd5ce58a35403f516591f43b9a18d68be0a4dbe0e0910d3702df390fb7ceee98271cf0c08d92dd1f8627dbb1f1a09459c631c293169aff6639a62c7b3ec00fc
 DIST BB83D4F8047D608858154CB041054F5CAE35B903-cnd-rfs-1.0.zip 177647 SHA256 c92c3d3311b8f75883f4f9280fe8d6932b154c67c9dd1bd65a49beb45e578cd1 SHA512 c42e4f0c1b7efb24a45dc375180bfc8b0e02e74e01233665d3e74bf83a182c2b0bbe8b572a8eeb993d77312f6d118777d0576adfca4ea8f4c2cfe08892155345 WHIRLPOOL 41b573c7ca4b926333f28a9329a2423955055ff716e7be03b7a6f4714e7261e57574b16a0e89b96ae744dc0a36f9a4a72f8d948b11a6b8052159d42cbd40876a
@@ -26,6 +27,7 @@ DIST netbeans-trunk-nightly-201509110002-src.zip 209149212 SHA256 9833b3b5804a16
 DIST netbeans-trunk-nightly-201509140002-src.zip 209159147 SHA256 cdcaeab5534f59320d499b5e84f1deec2863f605ccf4f7be5ced8415e0e3a70e SHA512 0a40110edf53330612d3d586eb7931013c5279fb5db2a8383da90da03df12f291d6c7e5c0da14987311efb10cec017abf201fcf0e299141d079c316447ab8234 WHIRLPOOL ce02272125ee84695d786dcf3c66ac89f56deaed2076dd00e35a997235ca32b181257d80246f20e0e26b6983052b490f0507f718d58f164549991a940e1dd598
 DIST netbeans-trunk-nightly-201509150002-src.zip 209172926 SHA256 3b87e8cf796b12d5b032bd3ded3783820cf613654ca900067bbefb889281128b SHA512 2eec90a310df4676d885a2c2e7f9c4d40417330c2bdae19f9f331d2988e2e7b20749a4c06fb3ad7cffabc86aa1762f4e9de77703fa7c3b2d7859603d87f6e807 WHIRLPOOL 4938b146eb06b48a70c7ed7027c3122008c154e894d0e0feddeb8caabacef765a095f45dd4cd18d5b2dc9153b9eb8dbed32888151c7675c1fbee06c6ba6d9d66
 DIST netbeans-trunk-nightly-201509170002-src.zip 209193216 SHA256 b01e0a54bd8b26e24427b42266f0fedbfe00a3aebeb2f6ecdeb3dbe68dee9de2 SHA512 23e37e1565de76c8c755771e548d5c8a2564222936706f0140a25c9f362f9c6e12b0e9e2ab4e81e81a1fae71b9c64ab57523001a1977b31c18f5b94aacfc6c39 WHIRLPOOL 8c4467aef2751c0fe71f296e2d5957625901c0e2d7b9a6a6e8c02a092cf810beae812acfd1ca75df3f81ab96a2d6254c7ca3e498a9b7cab553683e9fd86bedd9
+DIST netbeans-trunk-nightly-201509180002-src.zip 209190887 SHA256 9c28f2f80aa16c2f1465ced753f061cbab8f21ce50b5d7436269049b1047a351 SHA512 a5ca38eb71224c8e70eeab325015b15d08de52e7035f341bc323ad65c5a74943abe0c113dc48da7463886e266b4afdb83b90ab27207630e5055bebbab9b4c2a7 WHIRLPOOL 8d084422f94f15a274549db16a8627a8679dbb8e19662dbc6c4afb253cf22b23f0c5eea0bd8824cf8f5d55d1075131940595f2bd67123d991cc84ff04ad5e6aa
 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
@@ -36,4 +38,5 @@ EBUILD netbeans-cnd-9999_p20150911.ebuild 4790 SHA256 a0625df95e7b9a9af31338574d
 EBUILD netbeans-cnd-9999_p20150914.ebuild 4790 SHA256 50932d2b0cb6a9edb4cd69bde82d3b68a05f423f3b2da10de6cd7a6228793c51 SHA512 0b3a4d72ae37ecc08c48201ff9129c67b1c70c9175a077630b0480d1bcf60c629a6ac53f81e1f7efbb79ca4aacaaa1be56bbab42ebd0970658ac183fdfa4e58c WHIRLPOOL 909af5ae85c91bf317a984c2601da50aeb3acd8f56d12384b929ffe99cb131bf7e814db8aa4836195953b3cd8ed031813193abc0654b3802e5a7ad63d165b422
 EBUILD netbeans-cnd-9999_p20150915.ebuild 4790 SHA256 46f9d85a375fe1321d05926eaf1ae862600393c07b3b1c03a2f992cb88dc798b SHA512 afe2d3aaa3e9a685b7ffeb70647a8b8865ab6afe086c085e82299748dde3b8dcf0903d566d44136039784e4f1c2af9a4b962ea736df867c7ae8fd57d6c8adbf5 WHIRLPOOL 0c4c1ee5ba4b2d4212a0d1ab6805a66c806576fe8c1bc74fd9731cdf428788f6946515fa558f6d0fee7a5bdbfd1108778ef2f131c0e3bba380b5889d264059f6
 EBUILD netbeans-cnd-9999_p20150917.ebuild 4790 SHA256 e06b859dc1a28fa2f42ee8df2a2ebb19b549d1cf82dbd3c51e55196a877489df SHA512 a44735ac73cfa68844a5461cc1e7c18daabbdb058dac4c73af4ab12e501a121c975dfa9d4659867d4a1cac7ed9c2b73258958253e2e8327ab24b5023c09ab10e WHIRLPOOL b5b07b9a97bb58da7358ef3e047ec7015d88137e3648d93c53789f71287965a81d1980d7310fe5f6d96cc69a3d45d3e7c5b06f01fac5c9b0a195cadf5605ba6f
+EBUILD netbeans-cnd-9999_p20150918.ebuild 4790 SHA256 b2e97eb01204039b65a33885df0de47b5098074414385c15fc63be8ca80b19ed SHA512 830667813e1b7f111b9a5eae3f47fb553c1bca4be166aad7d657834cb1200a729e77c3dd495e6c061dcfa0480a3ecdb5f1fb47927495da458797f8beffbbc1f5 WHIRLPOOL 50555813ce8597792ad964053d72a340cd0e97e219c31c0399835fb8925c7e9eff14e2cf2b5ceb21e74d1b6faf5ccbb0788d43b58363e1243a39618fbb7791c1
 MISC metadata.xml 251 SHA256 5a4ff53a9862390a48d45c79be24086646e7a6ff0c5bdf0fcb799d0871299003 SHA512 04153cbd9776ad56a94d6a47d043df15d082d8888df8658f18d0d4b659c6c0526ab3a9b22ccbe2471091bf2d8165f224854bc99c51f3664aaf350ccb93532a7c WHIRLPOOL 2ee8a646c6e23bc46c72cac0ecb5cfe43720ec42404ddaeed8ab1b59d139b3d5c1a94764de847f979da978c001c9f02f709d663a68eeea64d19e88f1fefbca43

diff --git a/dev-java/netbeans-cnd/netbeans-cnd-9999_p20150918.ebuild b/dev-java/netbeans-cnd/netbeans-cnd-9999_p20150918.ebuild
new file mode 100644
index 0000000..44f3e3b
--- /dev/null
+++ b/dev-java/netbeans-cnd/netbeans-cnd-9999_p20150918.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-18_00-02-28/zip/netbeans-trunk-nightly-201509180002-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/91F81ED36683E7DA584C97FACA3DA8E21F6EBAE4-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}"/91F81ED36683E7DA584C97FACA3DA8E21F6EBAE4-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 a11e426..2b5d884 100644
--- a/dev-java/netbeans-dlight/Manifest
+++ b/dev-java/netbeans-dlight/Manifest
@@ -12,6 +12,7 @@ DIST netbeans-trunk-nightly-201509110002-src.zip 209149212 SHA256 9833b3b5804a16
 DIST netbeans-trunk-nightly-201509140002-src.zip 209159147 SHA256 cdcaeab5534f59320d499b5e84f1deec2863f605ccf4f7be5ced8415e0e3a70e SHA512 0a40110edf53330612d3d586eb7931013c5279fb5db2a8383da90da03df12f291d6c7e5c0da14987311efb10cec017abf201fcf0e299141d079c316447ab8234 WHIRLPOOL ce02272125ee84695d786dcf3c66ac89f56deaed2076dd00e35a997235ca32b181257d80246f20e0e26b6983052b490f0507f718d58f164549991a940e1dd598
 DIST netbeans-trunk-nightly-201509150002-src.zip 209172926 SHA256 3b87e8cf796b12d5b032bd3ded3783820cf613654ca900067bbefb889281128b SHA512 2eec90a310df4676d885a2c2e7f9c4d40417330c2bdae19f9f331d2988e2e7b20749a4c06fb3ad7cffabc86aa1762f4e9de77703fa7c3b2d7859603d87f6e807 WHIRLPOOL 4938b146eb06b48a70c7ed7027c3122008c154e894d0e0feddeb8caabacef765a095f45dd4cd18d5b2dc9153b9eb8dbed32888151c7675c1fbee06c6ba6d9d66
 DIST netbeans-trunk-nightly-201509170002-src.zip 209193216 SHA256 b01e0a54bd8b26e24427b42266f0fedbfe00a3aebeb2f6ecdeb3dbe68dee9de2 SHA512 23e37e1565de76c8c755771e548d5c8a2564222936706f0140a25c9f362f9c6e12b0e9e2ab4e81e81a1fae71b9c64ab57523001a1977b31c18f5b94aacfc6c39 WHIRLPOOL 8c4467aef2751c0fe71f296e2d5957625901c0e2d7b9a6a6e8c02a092cf810beae812acfd1ca75df3f81ab96a2d6254c7ca3e498a9b7cab553683e9fd86bedd9
+DIST netbeans-trunk-nightly-201509180002-src.zip 209190887 SHA256 9c28f2f80aa16c2f1465ced753f061cbab8f21ce50b5d7436269049b1047a351 SHA512 a5ca38eb71224c8e70eeab325015b15d08de52e7035f341bc323ad65c5a74943abe0c113dc48da7463886e266b4afdb83b90ab27207630e5055bebbab9b4c2a7 WHIRLPOOL 8d084422f94f15a274549db16a8627a8679dbb8e19662dbc6c4afb253cf22b23f0c5eea0bd8824cf8f5d55d1075131940595f2bd67123d991cc84ff04ad5e6aa
 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
@@ -22,4 +23,5 @@ EBUILD netbeans-dlight-9999_p20150911.ebuild 2968 SHA256 0a379a8c6162403345249ec
 EBUILD netbeans-dlight-9999_p20150914.ebuild 2968 SHA256 80b05f9d601f411f2211eab2c61e1329d5c27a4f8fe4dec4993723b7f467b571 SHA512 b979693d6a0a0780194296a5a602f912c8c0002206d41077312689b629c0f40cd26af2eebe92c872d96c0d6af8a941576bcd697055df5f4d2065e518a1944a73 WHIRLPOOL 35eb43a94541843b0ce8067b31b710c25c8c9fdd8597c7409c9b2608d24f6972148c46a4c6d013dfd2f47b044ff6afce349bd2df903639436c4e68bd22dfdac8
 EBUILD netbeans-dlight-9999_p20150915.ebuild 2968 SHA256 2f5ee728c24fb9cba9679f58cf40a078232f1b1e7b57fd690f932c2963c600fd SHA512 967ce17a4c5763db073d4c14f81ee85614e39fc74f1046a56467ebe1ca7556fbd8b69c51c8a40fb65c20d7345d10c73d4aeeedd7b3dc3d7168caf4a811ef33aa WHIRLPOOL 701e78019414a9a9557ca265b338bb8704be3852279de51e57dcef8a2b82297048f16ac12c4e1a7b457dede2257cb9ee112e4b58a80a609db5e56379edca0722
 EBUILD netbeans-dlight-9999_p20150917.ebuild 2968 SHA256 826d3e35a159d52e525b17b05725768995ee3f7d72f0a6a30eb9b19a5834733b SHA512 aebaaa3ee51322818897fe2363199b9c00df9983e23bb87df5cca6582a067054577edc2837143a39b397b6542e0ad97f36e341f8b6da09b4295c0dfaa992cab4 WHIRLPOOL f9496c2759450fd5c45cdf39ee1962a6ba557300bea8d0c01f9514bf6421a6390a6b216e3b003fb4aede75586442b56e0a6925f54ec2410c2ec85876eae4e63d
+EBUILD netbeans-dlight-9999_p20150918.ebuild 2968 SHA256 f6edd841e28d88904c0af91d3e1df2c2ffd921a1fce1da3073bf0decba711ef7 SHA512 c2c74e2ff8c883fc11088dd04c8aaa17c104ede19ef8344a51bbd81b941ed570e31ef97beaa0f8103051afa0a7fbcb216065951f41c77a5fe2b84601e681a3bb WHIRLPOOL ffa773eac3ab07e85b38e90c57b0b0bbb5747d04fefdb9440fe85c300dd8af6003419168da3e3ef267ea903028c0749f0e57c1328bb92d436fbcfe3753799710
 MISC metadata.xml 251 SHA256 5a4ff53a9862390a48d45c79be24086646e7a6ff0c5bdf0fcb799d0871299003 SHA512 04153cbd9776ad56a94d6a47d043df15d082d8888df8658f18d0d4b659c6c0526ab3a9b22ccbe2471091bf2d8165f224854bc99c51f3664aaf350ccb93532a7c WHIRLPOOL 2ee8a646c6e23bc46c72cac0ecb5cfe43720ec42404ddaeed8ab1b59d139b3d5c1a94764de847f979da978c001c9f02f709d663a68eeea64d19e88f1fefbca43

diff --git a/dev-java/netbeans-dlight/netbeans-dlight-9999_p20150918.ebuild b/dev-java/netbeans-dlight/netbeans-dlight-9999_p20150918.ebuild
new file mode 100644
index 0000000..b306777
--- /dev/null
+++ b/dev-java/netbeans-dlight/netbeans-dlight-9999_p20150918.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-18_00-02-28/zip/netbeans-trunk-nightly-201509180002-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 b156830..a3ad17f 100644
--- a/dev-java/netbeans-enterprise/Manifest
+++ b/dev-java/netbeans-enterprise/Manifest
@@ -42,6 +42,7 @@ DIST netbeans-trunk-nightly-201509110002-src.zip 209149212 SHA256 9833b3b5804a16
 DIST netbeans-trunk-nightly-201509140002-src.zip 209159147 SHA256 cdcaeab5534f59320d499b5e84f1deec2863f605ccf4f7be5ced8415e0e3a70e SHA512 0a40110edf53330612d3d586eb7931013c5279fb5db2a8383da90da03df12f291d6c7e5c0da14987311efb10cec017abf201fcf0e299141d079c316447ab8234 WHIRLPOOL ce02272125ee84695d786dcf3c66ac89f56deaed2076dd00e35a997235ca32b181257d80246f20e0e26b6983052b490f0507f718d58f164549991a940e1dd598
 DIST netbeans-trunk-nightly-201509150002-src.zip 209172926 SHA256 3b87e8cf796b12d5b032bd3ded3783820cf613654ca900067bbefb889281128b SHA512 2eec90a310df4676d885a2c2e7f9c4d40417330c2bdae19f9f331d2988e2e7b20749a4c06fb3ad7cffabc86aa1762f4e9de77703fa7c3b2d7859603d87f6e807 WHIRLPOOL 4938b146eb06b48a70c7ed7027c3122008c154e894d0e0feddeb8caabacef765a095f45dd4cd18d5b2dc9153b9eb8dbed32888151c7675c1fbee06c6ba6d9d66
 DIST netbeans-trunk-nightly-201509170002-src.zip 209193216 SHA256 b01e0a54bd8b26e24427b42266f0fedbfe00a3aebeb2f6ecdeb3dbe68dee9de2 SHA512 23e37e1565de76c8c755771e548d5c8a2564222936706f0140a25c9f362f9c6e12b0e9e2ab4e81e81a1fae71b9c64ab57523001a1977b31c18f5b94aacfc6c39 WHIRLPOOL 8c4467aef2751c0fe71f296e2d5957625901c0e2d7b9a6a6e8c02a092cf810beae812acfd1ca75df3f81ab96a2d6254c7ca3e498a9b7cab553683e9fd86bedd9
+DIST netbeans-trunk-nightly-201509180002-src.zip 209190887 SHA256 9c28f2f80aa16c2f1465ced753f061cbab8f21ce50b5d7436269049b1047a351 SHA512 a5ca38eb71224c8e70eeab325015b15d08de52e7035f341bc323ad65c5a74943abe0c113dc48da7463886e266b4afdb83b90ab27207630e5055bebbab9b4c2a7 WHIRLPOOL 8d084422f94f15a274549db16a8627a8679dbb8e19662dbc6c4afb253cf22b23f0c5eea0bd8824cf8f5d55d1075131940595f2bd67123d991cc84ff04ad5e6aa
 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
@@ -52,4 +53,5 @@ EBUILD netbeans-enterprise-9999_p20150911.ebuild 15931 SHA256 8efa765f218e10f37d
 EBUILD netbeans-enterprise-9999_p20150914.ebuild 15931 SHA256 9101e110b3d92415c5c316c94265682f2aa856e04cf2ea35a58895e51a17dd31 SHA512 98cc5ffd25d12b0d6b9829b2ba7c5c465ba34b283ae07424ac56ec87312b644cdf497e1be11bd997a0ac6a2666796953903b1e4bb2f6eb9e2dd5204e87c68ec4 WHIRLPOOL 0262e3566d8cdec8250eba494a669c60f90c01493eb5aa4828692d541b1e15c0b11b332e96fb1d937be24d6fa6c00b1e8ab216f8a937d97c698444b19a5f0ae3
 EBUILD netbeans-enterprise-9999_p20150915.ebuild 15931 SHA256 b7c0633ab12f33c821c5712bc5faba9094862bb842dd2110783c6776b03f6f77 SHA512 13d0211d48961cb9cf2dba9a1a9e920f70b5a727f1e476db153988d8b8671020df4caf69cd02fd75b7355e02a7368175ab38b9e06f7b1f347eeac6fbf0fbcb4f WHIRLPOOL aaee47e06134d290f6f0ed3c97cf8b469c8144efff8bd19b529dc419db111b50503ad0be0dfb20e1cbcef5a4b32561d90df77658d531174ba282de4f6bb44ca4
 EBUILD netbeans-enterprise-9999_p20150917.ebuild 15931 SHA256 e4d0579090fe12227b9e293823585523b565e2185259638bdf1377ec1a2011b9 SHA512 891a19b6aad2f8df1d218743c4eed306d98ef220629325b6d5b1f68548ecbd32241b8f3af274e9962687d676d9647a176ab9f8d6295d095cfba037ec43c332ef WHIRLPOOL dd4a471f198fcb6a0d03d2050e1c0dcd0e50036c59c3b3dbde08d5fe949000c21efc9738992a6ee6291739498c00bb1c6fa65be8ed5208321b9fb3253d3f9a6e
+EBUILD netbeans-enterprise-9999_p20150918.ebuild 15931 SHA256 de7697400273b7521001a0a344a5437a586e048790e5b19e9dff078c82504644 SHA512 c46dd2caea3c0c82018d7dd4561c3c1581afe0668a13115f089724e15b6f7518acc54117bdfd373d484575a95bbd5d49b5faba6d1921ecc32567d6201efdd976 WHIRLPOOL 27970777a31b23c1248aeb72823bb183e128ac628a5f4da553c3eaf734e0b3bae96580e8df0197b08deea055f9cd5757fb0607210bfbbe893cbaa5a50e7ae2cf
 MISC metadata.xml 251 SHA256 5a4ff53a9862390a48d45c79be24086646e7a6ff0c5bdf0fcb799d0871299003 SHA512 04153cbd9776ad56a94d6a47d043df15d082d8888df8658f18d0d4b659c6c0526ab3a9b22ccbe2471091bf2d8165f224854bc99c51f3664aaf350ccb93532a7c WHIRLPOOL 2ee8a646c6e23bc46c72cac0ecb5cfe43720ec42404ddaeed8ab1b59d139b3d5c1a94764de847f979da978c001c9f02f709d663a68eeea64d19e88f1fefbca43

diff --git a/dev-java/netbeans-enterprise/netbeans-enterprise-9999_p20150918.ebuild b/dev-java/netbeans-enterprise/netbeans-enterprise-9999_p20150918.ebuild
new file mode 100644
index 0000000..9f890b7
--- /dev/null
+++ b/dev-java/netbeans-enterprise/netbeans-enterprise-9999_p20150918.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-18_00-02-28/zip/netbeans-trunk-nightly-201509180002-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 d5fca05..9aedfe4 100644
--- a/dev-java/netbeans-ergonomics/Manifest
+++ b/dev-java/netbeans-ergonomics/Manifest
@@ -10,6 +10,7 @@ DIST netbeans-trunk-nightly-201509110002-src.zip 209149212 SHA256 9833b3b5804a16
 DIST netbeans-trunk-nightly-201509140002-src.zip 209159147 SHA256 cdcaeab5534f59320d499b5e84f1deec2863f605ccf4f7be5ced8415e0e3a70e SHA512 0a40110edf53330612d3d586eb7931013c5279fb5db2a8383da90da03df12f291d6c7e5c0da14987311efb10cec017abf201fcf0e299141d079c316447ab8234 WHIRLPOOL ce02272125ee84695d786dcf3c66ac89f56deaed2076dd00e35a997235ca32b181257d80246f20e0e26b6983052b490f0507f718d58f164549991a940e1dd598
 DIST netbeans-trunk-nightly-201509150002-src.zip 209172926 SHA256 3b87e8cf796b12d5b032bd3ded3783820cf613654ca900067bbefb889281128b SHA512 2eec90a310df4676d885a2c2e7f9c4d40417330c2bdae19f9f331d2988e2e7b20749a4c06fb3ad7cffabc86aa1762f4e9de77703fa7c3b2d7859603d87f6e807 WHIRLPOOL 4938b146eb06b48a70c7ed7027c3122008c154e894d0e0feddeb8caabacef765a095f45dd4cd18d5b2dc9153b9eb8dbed32888151c7675c1fbee06c6ba6d9d66
 DIST netbeans-trunk-nightly-201509170002-src.zip 209193216 SHA256 b01e0a54bd8b26e24427b42266f0fedbfe00a3aebeb2f6ecdeb3dbe68dee9de2 SHA512 23e37e1565de76c8c755771e548d5c8a2564222936706f0140a25c9f362f9c6e12b0e9e2ab4e81e81a1fae71b9c64ab57523001a1977b31c18f5b94aacfc6c39 WHIRLPOOL 8c4467aef2751c0fe71f296e2d5957625901c0e2d7b9a6a6e8c02a092cf810beae812acfd1ca75df3f81ab96a2d6254c7ca3e498a9b7cab553683e9fd86bedd9
+DIST netbeans-trunk-nightly-201509180002-src.zip 209190887 SHA256 9c28f2f80aa16c2f1465ced753f061cbab8f21ce50b5d7436269049b1047a351 SHA512 a5ca38eb71224c8e70eeab325015b15d08de52e7035f341bc323ad65c5a74943abe0c113dc48da7463886e266b4afdb83b90ab27207630e5055bebbab9b4c2a7 WHIRLPOOL 8d084422f94f15a274549db16a8627a8679dbb8e19662dbc6c4afb253cf22b23f0c5eea0bd8824cf8f5d55d1075131940595f2bd67123d991cc84ff04ad5e6aa
 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
@@ -20,4 +21,5 @@ EBUILD netbeans-ergonomics-9999_p20150911.ebuild 2913 SHA256 cadbf669681bdfa15c7
 EBUILD netbeans-ergonomics-9999_p20150914.ebuild 2913 SHA256 48e1d1f1f682f53c1524d8aa790a653a644fb959a002b14173814e7d4d61bc76 SHA512 91551f3350562d318a9dfa662ba63a04682187df219e9d1cc04f3fa26782233858fabe0ee98f080e228a676084b39c377922f9ee99487eb608aa2aa659eac8f5 WHIRLPOOL 77d4ad318a910ea6e6971b2cb4798edc331d1d4966a05197cba33346109bf05807ec7119f714d6b35f58b06f467efab07406db9bb1f2059578ae250aade6017d
 EBUILD netbeans-ergonomics-9999_p20150915.ebuild 2913 SHA256 42c3f0675e612aa24aedc11d3e687099dffc64d4b344b593a3538ce11a3621e5 SHA512 7a180fa3ea96cc9b2d7181db6482cde317053f490d9cb7490a34765b847701e2538f835da153669e4dea0f2cab5de36442b39bb988998ad37dcea0bed898c5ea WHIRLPOOL 9848e15ddce8d6c6d278c0d8cc91960ec7fd72c7677fbc37be4608718469b021d5334a8c1f6821a9c4179c9e4ae8e4edfd8437ec551b45e426fd62f52b1c2d10
 EBUILD netbeans-ergonomics-9999_p20150917.ebuild 2913 SHA256 85ef5d8aec57d081898cf946fb7077705e8284af8b6d1e807720048356b87b7e SHA512 1c82a0bb0505972a9de717fa6680880147ef916108e5d74980b7bc65ecf6a68ac16fb0058a4fd2d4218797f0dc2e295ee2baee5fe56a485005980e0bb4a7c02b WHIRLPOOL 786bb78561c61aab9ab45b301fb454dedcff1d67ed86e02d85f9d11c7774c8ce164f79daf0ec5dcc6b3f2bba1fdd1fafa265f2f4f3ce54597ba8861360e5b77c
+EBUILD netbeans-ergonomics-9999_p20150918.ebuild 2913 SHA256 f3eebb3f1c8bd7715a3f813fd6314e5ab815395ae1d6f5b6f8f574e320025a0b SHA512 16d7e388444e067327f0bec8b56c84bf408a797c8063be87cad2bb75c55b1bc20a9d85576fbafa2bcf7613cb962e0c427604328188756dc528a8d517bcc97271 WHIRLPOOL 14aff3348579daa52ca0877ba413eb2c910f49c62493142d9bd865f5a5ba75c5bf61f7e68f21677606447e6651714fd91b6ec75d5a8a95003815e06524dc189b
 MISC metadata.xml 251 SHA256 5a4ff53a9862390a48d45c79be24086646e7a6ff0c5bdf0fcb799d0871299003 SHA512 04153cbd9776ad56a94d6a47d043df15d082d8888df8658f18d0d4b659c6c0526ab3a9b22ccbe2471091bf2d8165f224854bc99c51f3664aaf350ccb93532a7c WHIRLPOOL 2ee8a646c6e23bc46c72cac0ecb5cfe43720ec42404ddaeed8ab1b59d139b3d5c1a94764de847f979da978c001c9f02f709d663a68eeea64d19e88f1fefbca43

diff --git a/dev-java/netbeans-ergonomics/netbeans-ergonomics-9999_p20150918.ebuild b/dev-java/netbeans-ergonomics/netbeans-ergonomics-9999_p20150918.ebuild
new file mode 100644
index 0000000..e4a2d1a
--- /dev/null
+++ b/dev-java/netbeans-ergonomics/netbeans-ergonomics-9999_p20150918.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-18_00-02-28/zip/netbeans-trunk-nightly-201509180002-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 7be6527..3a2626c 100644
--- a/dev-java/netbeans-extide/Manifest
+++ b/dev-java/netbeans-extide/Manifest
@@ -12,6 +12,7 @@ DIST netbeans-trunk-nightly-201509110002-src.zip 209149212 SHA256 9833b3b5804a16
 DIST netbeans-trunk-nightly-201509140002-src.zip 209159147 SHA256 cdcaeab5534f59320d499b5e84f1deec2863f605ccf4f7be5ced8415e0e3a70e SHA512 0a40110edf53330612d3d586eb7931013c5279fb5db2a8383da90da03df12f291d6c7e5c0da14987311efb10cec017abf201fcf0e299141d079c316447ab8234 WHIRLPOOL ce02272125ee84695d786dcf3c66ac89f56deaed2076dd00e35a997235ca32b181257d80246f20e0e26b6983052b490f0507f718d58f164549991a940e1dd598
 DIST netbeans-trunk-nightly-201509150002-src.zip 209172926 SHA256 3b87e8cf796b12d5b032bd3ded3783820cf613654ca900067bbefb889281128b SHA512 2eec90a310df4676d885a2c2e7f9c4d40417330c2bdae19f9f331d2988e2e7b20749a4c06fb3ad7cffabc86aa1762f4e9de77703fa7c3b2d7859603d87f6e807 WHIRLPOOL 4938b146eb06b48a70c7ed7027c3122008c154e894d0e0feddeb8caabacef765a095f45dd4cd18d5b2dc9153b9eb8dbed32888151c7675c1fbee06c6ba6d9d66
 DIST netbeans-trunk-nightly-201509170002-src.zip 209193216 SHA256 b01e0a54bd8b26e24427b42266f0fedbfe00a3aebeb2f6ecdeb3dbe68dee9de2 SHA512 23e37e1565de76c8c755771e548d5c8a2564222936706f0140a25c9f362f9c6e12b0e9e2ab4e81e81a1fae71b9c64ab57523001a1977b31c18f5b94aacfc6c39 WHIRLPOOL 8c4467aef2751c0fe71f296e2d5957625901c0e2d7b9a6a6e8c02a092cf810beae812acfd1ca75df3f81ab96a2d6254c7ca3e498a9b7cab553683e9fd86bedd9
+DIST netbeans-trunk-nightly-201509180002-src.zip 209190887 SHA256 9c28f2f80aa16c2f1465ced753f061cbab8f21ce50b5d7436269049b1047a351 SHA512 a5ca38eb71224c8e70eeab325015b15d08de52e7035f341bc323ad65c5a74943abe0c113dc48da7463886e266b4afdb83b90ab27207630e5055bebbab9b4c2a7 WHIRLPOOL 8d084422f94f15a274549db16a8627a8679dbb8e19662dbc6c4afb253cf22b23f0c5eea0bd8824cf8f5d55d1075131940595f2bd67123d991cc84ff04ad5e6aa
 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
@@ -22,4 +23,5 @@ EBUILD netbeans-extide-9999_p20150911.ebuild 3377 SHA256 787bd0b409195b4575d88e9
 EBUILD netbeans-extide-9999_p20150914.ebuild 3377 SHA256 77f2909564d529ada9bfd65450c492a4a8e40ed17b043aa937749a1654194f99 SHA512 6274e8158a874de68a7ad374c629c98e4637f3a9304e6da9d017a2586f606ba8a5d1aca316fa854db86d2b03b694dbb292f670850debfad388d64399ec789a65 WHIRLPOOL da730ad9cf8c9961c7fde8e6cfecdeb7bbde12073957fcba3900ce4dc058bfe6894a4779f9a5a6c03c511b43ede152b692a5ac5db2840c4a871322d73a0db5f3
 EBUILD netbeans-extide-9999_p20150915.ebuild 3377 SHA256 1d93eeae7ca195d902e0d2c4c3b2cd2d14b2899fbf8462e0b9a267d104156de5 SHA512 84fce9b9be88a7612a9a96f053331fb41a92150b555eea703f0cec6cfafc6c501c4ce05658e8e81915be8ba2addc8c2ad3265feef7ecd3a4d6b3dc13bc91902d WHIRLPOOL bb0418715c6538003df46b00dd07a3a4af44af5a7cf3d48cbfee039fdfcdc709ca7039693b5a6defe3eab8ba1aebef57f5cf1b2da415362be6548ff94da5a05f
 EBUILD netbeans-extide-9999_p20150917.ebuild 3377 SHA256 cf76fdbbbf204adefc6fa50c030c35a8d36c5a08eb901fc99ffd988ee3286734 SHA512 7a0370bd5195be2e24935570961efb3ee597f4dde0fa02da01fa3aeada765aa9bf2e8d97386dedc0435904958bebbb70db95b42769e0b84f50738849f23f179e WHIRLPOOL d979395cedc582b59dee2e9ba957f9649ab7ed539a3f01294407f9d3d867d588b109e6064039fdd18a5bb93bedc78c70dd0e94045b9f15cfb2e83958ddb1474a
+EBUILD netbeans-extide-9999_p20150918.ebuild 3377 SHA256 286ba9ad66622f372bde97e34680e06b076b5eacd175ca2141448875edcb9198 SHA512 f270194b4b9c9ab0ed4ac8faab1f510d613329b9f51fe7f7c2e898003cd8a93277095e06586da42b129c954392400720a5dc32fa62519097cf7f42ca1cea8159 WHIRLPOOL fa5fd3997413c1c35ff245235f9a1035dee4812796a3d1c58849fa45c06398aafecd28f2f887096f598ee26e134f664db8f09e21f2ff39f5558ecada7d7f911e
 MISC metadata.xml 251 SHA256 5a4ff53a9862390a48d45c79be24086646e7a6ff0c5bdf0fcb799d0871299003 SHA512 04153cbd9776ad56a94d6a47d043df15d082d8888df8658f18d0d4b659c6c0526ab3a9b22ccbe2471091bf2d8165f224854bc99c51f3664aaf350ccb93532a7c WHIRLPOOL 2ee8a646c6e23bc46c72cac0ecb5cfe43720ec42404ddaeed8ab1b59d139b3d5c1a94764de847f979da978c001c9f02f709d663a68eeea64d19e88f1fefbca43

diff --git a/dev-java/netbeans-extide/netbeans-extide-9999_p20150918.ebuild b/dev-java/netbeans-extide/netbeans-extide-9999_p20150918.ebuild
new file mode 100644
index 0000000..4c5305c
--- /dev/null
+++ b/dev-java/netbeans-extide/netbeans-extide-9999_p20150918.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-18_00-02-28/zip/netbeans-trunk-nightly-201509180002-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 5e7f502..8456d38 100644
--- a/dev-java/netbeans-groovy/Manifest
+++ b/dev-java/netbeans-groovy/Manifest
@@ -11,6 +11,7 @@ DIST netbeans-trunk-nightly-201509110002-src.zip 209149212 SHA256 9833b3b5804a16
 DIST netbeans-trunk-nightly-201509140002-src.zip 209159147 SHA256 cdcaeab5534f59320d499b5e84f1deec2863f605ccf4f7be5ced8415e0e3a70e SHA512 0a40110edf53330612d3d586eb7931013c5279fb5db2a8383da90da03df12f291d6c7e5c0da14987311efb10cec017abf201fcf0e299141d079c316447ab8234 WHIRLPOOL ce02272125ee84695d786dcf3c66ac89f56deaed2076dd00e35a997235ca32b181257d80246f20e0e26b6983052b490f0507f718d58f164549991a940e1dd598
 DIST netbeans-trunk-nightly-201509150002-src.zip 209172926 SHA256 3b87e8cf796b12d5b032bd3ded3783820cf613654ca900067bbefb889281128b SHA512 2eec90a310df4676d885a2c2e7f9c4d40417330c2bdae19f9f331d2988e2e7b20749a4c06fb3ad7cffabc86aa1762f4e9de77703fa7c3b2d7859603d87f6e807 WHIRLPOOL 4938b146eb06b48a70c7ed7027c3122008c154e894d0e0feddeb8caabacef765a095f45dd4cd18d5b2dc9153b9eb8dbed32888151c7675c1fbee06c6ba6d9d66
 DIST netbeans-trunk-nightly-201509170002-src.zip 209193216 SHA256 b01e0a54bd8b26e24427b42266f0fedbfe00a3aebeb2f6ecdeb3dbe68dee9de2 SHA512 23e37e1565de76c8c755771e548d5c8a2564222936706f0140a25c9f362f9c6e12b0e9e2ab4e81e81a1fae71b9c64ab57523001a1977b31c18f5b94aacfc6c39 WHIRLPOOL 8c4467aef2751c0fe71f296e2d5957625901c0e2d7b9a6a6e8c02a092cf810beae812acfd1ca75df3f81ab96a2d6254c7ca3e498a9b7cab553683e9fd86bedd9
+DIST netbeans-trunk-nightly-201509180002-src.zip 209190887 SHA256 9c28f2f80aa16c2f1465ced753f061cbab8f21ce50b5d7436269049b1047a351 SHA512 a5ca38eb71224c8e70eeab325015b15d08de52e7035f341bc323ad65c5a74943abe0c113dc48da7463886e266b4afdb83b90ab27207630e5055bebbab9b4c2a7 WHIRLPOOL 8d084422f94f15a274549db16a8627a8679dbb8e19662dbc6c4afb253cf22b23f0c5eea0bd8824cf8f5d55d1075131940595f2bd67123d991cc84ff04ad5e6aa
 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
@@ -21,4 +22,5 @@ EBUILD netbeans-groovy-9999_p20150911.ebuild 3416 SHA256 ad8fecb923a1adbc56a83a8
 EBUILD netbeans-groovy-9999_p20150914.ebuild 3416 SHA256 cfeac72b47716cfbdd3088db781ee75e7b8b7af226af3eb3db85309db251ea6a SHA512 eeb0c02e56a5f349c6b23a8fe7bb5456eed83af8d413034eb8e20e4851a3b6d12a952d9816bd7011926154212f86689800f12e38d21248b555fd65f1434ed7df WHIRLPOOL 2172c53e64f60003dfec846bad6179a37302109bf4c065b87779db2139bc83946a4e85dd8567a752d26595eb88219be26b88838cf9950b50140a9f4659d0e321
 EBUILD netbeans-groovy-9999_p20150915.ebuild 3416 SHA256 e41c098924e7a8b9d04570463e4f8f83e70349a26c0f4aefffca1a30e005f9f2 SHA512 dcf1f7869d220dfa2ed468a3b29c0e949eed49f46d030b98a0fa95cf8719cd482cdb7d41aed5e95f47ca6f417605139cf962b7fe460d8a20ba0d43931a3b8d46 WHIRLPOOL 93aa161edf3e0eb825c8f77450ed1020f319345eb373b77a5f7e6f5db196527327605fab978d6ffba1d32bf65395ba24ec3f53bdebed0ea9147f2832333e6553
 EBUILD netbeans-groovy-9999_p20150917.ebuild 3416 SHA256 bce5d41221f377f0b1f3e67d1e6d06dae80f190259b99805051d5fcabc63f3d3 SHA512 c58c907dec1152a5a701f50a95124cee9c2f931bab3106c7b82a701209f243494afe0f171f5d7fe45d9051b626a65e8e99319fd1c9bbd279aa3ed0bc3441b1f7 WHIRLPOOL 69502974b6b927adb14f06cf0e6d916d574b97d6b54e8fa1746e44132ca86bf54d3b5df44d4130324565f79c4ba926d00a23065dbf1e5a5ec71befaac56362fa
+EBUILD netbeans-groovy-9999_p20150918.ebuild 3416 SHA256 afe84b876d8343e452591d6feb0829d1dcb0463a164d25ef40382564cfa8e74c SHA512 a615d49a41bbdeb9213fe7aa856d3f0a1c2498dd3a22b39bfa8db0f75038bf2c5930244730c80071f3e0e9d6ba3b787b60d7a60ac93e674277bc6cf8d3166db9 WHIRLPOOL 04c6034304191b501c295e0772a2dda50159f903c182c7c487dec21a6332618c671499db21b552fc31ee46b1f8a5e829c34c1d961749fcd77c4ff24fc72ac59a
 MISC metadata.xml 251 SHA256 5a4ff53a9862390a48d45c79be24086646e7a6ff0c5bdf0fcb799d0871299003 SHA512 04153cbd9776ad56a94d6a47d043df15d082d8888df8658f18d0d4b659c6c0526ab3a9b22ccbe2471091bf2d8165f224854bc99c51f3664aaf350ccb93532a7c WHIRLPOOL 2ee8a646c6e23bc46c72cac0ecb5cfe43720ec42404ddaeed8ab1b59d139b3d5c1a94764de847f979da978c001c9f02f709d663a68eeea64d19e88f1fefbca43

diff --git a/dev-java/netbeans-groovy/netbeans-groovy-9999_p20150918.ebuild b/dev-java/netbeans-groovy/netbeans-groovy-9999_p20150918.ebuild
new file mode 100644
index 0000000..dd39b82
--- /dev/null
+++ b/dev-java/netbeans-groovy/netbeans-groovy-9999_p20150918.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-18_00-02-28/zip/netbeans-trunk-nightly-201509180002-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 5b9666d..37ad41a 100644
--- a/dev-java/netbeans-harness/Manifest
+++ b/dev-java/netbeans-harness/Manifest
@@ -15,6 +15,7 @@ DIST netbeans-trunk-nightly-201509110002-src.zip 209149212 SHA256 9833b3b5804a16
 DIST netbeans-trunk-nightly-201509140002-src.zip 209159147 SHA256 cdcaeab5534f59320d499b5e84f1deec2863f605ccf4f7be5ced8415e0e3a70e SHA512 0a40110edf53330612d3d586eb7931013c5279fb5db2a8383da90da03df12f291d6c7e5c0da14987311efb10cec017abf201fcf0e299141d079c316447ab8234 WHIRLPOOL ce02272125ee84695d786dcf3c66ac89f56deaed2076dd00e35a997235ca32b181257d80246f20e0e26b6983052b490f0507f718d58f164549991a940e1dd598
 DIST netbeans-trunk-nightly-201509150002-src.zip 209172926 SHA256 3b87e8cf796b12d5b032bd3ded3783820cf613654ca900067bbefb889281128b SHA512 2eec90a310df4676d885a2c2e7f9c4d40417330c2bdae19f9f331d2988e2e7b20749a4c06fb3ad7cffabc86aa1762f4e9de77703fa7c3b2d7859603d87f6e807 WHIRLPOOL 4938b146eb06b48a70c7ed7027c3122008c154e894d0e0feddeb8caabacef765a095f45dd4cd18d5b2dc9153b9eb8dbed32888151c7675c1fbee06c6ba6d9d66
 DIST netbeans-trunk-nightly-201509170002-src.zip 209193216 SHA256 b01e0a54bd8b26e24427b42266f0fedbfe00a3aebeb2f6ecdeb3dbe68dee9de2 SHA512 23e37e1565de76c8c755771e548d5c8a2564222936706f0140a25c9f362f9c6e12b0e9e2ab4e81e81a1fae71b9c64ab57523001a1977b31c18f5b94aacfc6c39 WHIRLPOOL 8c4467aef2751c0fe71f296e2d5957625901c0e2d7b9a6a6e8c02a092cf810beae812acfd1ca75df3f81ab96a2d6254c7ca3e498a9b7cab553683e9fd86bedd9
+DIST netbeans-trunk-nightly-201509180002-src.zip 209190887 SHA256 9c28f2f80aa16c2f1465ced753f061cbab8f21ce50b5d7436269049b1047a351 SHA512 a5ca38eb71224c8e70eeab325015b15d08de52e7035f341bc323ad65c5a74943abe0c113dc48da7463886e266b4afdb83b90ab27207630e5055bebbab9b4c2a7 WHIRLPOOL 8d084422f94f15a274549db16a8627a8679dbb8e19662dbc6c4afb253cf22b23f0c5eea0bd8824cf8f5d55d1075131940595f2bd67123d991cc84ff04ad5e6aa
 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
@@ -25,4 +26,5 @@ EBUILD netbeans-harness-9999_p20150911.ebuild 4125 SHA256 1a33f003625fce99e14e4e
 EBUILD netbeans-harness-9999_p20150914.ebuild 4125 SHA256 44bcecb8562b2e40d845b081f8a464447599a4d45e512f9b390dea97fea4e8c9 SHA512 1598fb8ed5b8317638ef150ab940e51d30b2225ab78b263290a409c801feb816adf8459659c25db29d27de0cefef490a4024bf646d22857547578322166fc9ad WHIRLPOOL a863567647c7e790e2b332a53c95822465e1040aec58171c3207c80397cdb4b9257e3a7e6f3bc438f936644e4de3ccdedb2d8735b3beaf43725a77c194b317bd
 EBUILD netbeans-harness-9999_p20150915.ebuild 4125 SHA256 7eba29a96ce66e9da3188e3dc96c703ae971be2f35d6f91a7d9331c3b3599b5a SHA512 9e3220e9eb11593aba5da5d12debbfb424e3f4aaba89bd72f71661fce5d1832aa2d276323e56480b5ab21d60e24cb015315c2d652de040d79509c56562ebe833 WHIRLPOOL 93944c73aa362fe0140ae9a8eaa75d67d1b09ab1ba7d819202a4cc0ca0571ff0c6eccc1e4f6122a6ba398e0d09ebb4c0965846ca403c46a8a775a0e998514814
 EBUILD netbeans-harness-9999_p20150917.ebuild 4125 SHA256 5824a579dc460ba199dd0ed752c6edce4f95b781e619a3ce50ea61b6a0915fcc SHA512 338c7c445a6564ae8a815e64d81ae009a5134453138d4ed90472669190df57c4c474fa30baf1033215a0139b0d953103440275b0d714e306c21378f7d9620a90 WHIRLPOOL 5a50aab07d4cac57f4299ab61336769078679b6e17a60abcc35d5cc232f75aaeec398fa24a18f15553d58313137fe97ef60ff2111bb2b4dc86858a641b237d44
+EBUILD netbeans-harness-9999_p20150918.ebuild 4125 SHA256 b002dcf97ce4c2c8e19c7f0c59b53666991b1c9a74e63bff6af44b1ceec3e5b0 SHA512 65dc1b728b36e9114c1853f40cff47d35293ab4716ebc95b2cae327d5e7773694e755cbdd69e22464c08f2775340a4bdf733986da11b9e0bd225ac917121caee WHIRLPOOL 15b5039ff1c867012d556e30d1555336deccd4bcc11426eff3d5454aeaae9bdc9efe56634950b8c445dd991d7a5a4c0d009669582f93fe8ae417f163ca023032
 MISC metadata.xml 251 SHA256 5a4ff53a9862390a48d45c79be24086646e7a6ff0c5bdf0fcb799d0871299003 SHA512 04153cbd9776ad56a94d6a47d043df15d082d8888df8658f18d0d4b659c6c0526ab3a9b22ccbe2471091bf2d8165f224854bc99c51f3664aaf350ccb93532a7c WHIRLPOOL 2ee8a646c6e23bc46c72cac0ecb5cfe43720ec42404ddaeed8ab1b59d139b3d5c1a94764de847f979da978c001c9f02f709d663a68eeea64d19e88f1fefbca43

diff --git a/dev-java/netbeans-harness/netbeans-harness-9999_p20150918.ebuild b/dev-java/netbeans-harness/netbeans-harness-9999_p20150918.ebuild
new file mode 100644
index 0000000..d0e83ce
--- /dev/null
+++ b/dev-java/netbeans-harness/netbeans-harness-9999_p20150918.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-18_00-02-28/zip/netbeans-trunk-nightly-201509180002-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 b84544a..3281755 100644
--- a/dev-java/netbeans-ide/Manifest
+++ b/dev-java/netbeans-ide/Manifest
@@ -116,6 +116,7 @@ DIST netbeans-trunk-nightly-201509110002-src.zip 209149212 SHA256 9833b3b5804a16
 DIST netbeans-trunk-nightly-201509140002-src.zip 209159147 SHA256 cdcaeab5534f59320d499b5e84f1deec2863f605ccf4f7be5ced8415e0e3a70e SHA512 0a40110edf53330612d3d586eb7931013c5279fb5db2a8383da90da03df12f291d6c7e5c0da14987311efb10cec017abf201fcf0e299141d079c316447ab8234 WHIRLPOOL ce02272125ee84695d786dcf3c66ac89f56deaed2076dd00e35a997235ca32b181257d80246f20e0e26b6983052b490f0507f718d58f164549991a940e1dd598
 DIST netbeans-trunk-nightly-201509150002-src.zip 209172926 SHA256 3b87e8cf796b12d5b032bd3ded3783820cf613654ca900067bbefb889281128b SHA512 2eec90a310df4676d885a2c2e7f9c4d40417330c2bdae19f9f331d2988e2e7b20749a4c06fb3ad7cffabc86aa1762f4e9de77703fa7c3b2d7859603d87f6e807 WHIRLPOOL 4938b146eb06b48a70c7ed7027c3122008c154e894d0e0feddeb8caabacef765a095f45dd4cd18d5b2dc9153b9eb8dbed32888151c7675c1fbee06c6ba6d9d66
 DIST netbeans-trunk-nightly-201509170002-src.zip 209193216 SHA256 b01e0a54bd8b26e24427b42266f0fedbfe00a3aebeb2f6ecdeb3dbe68dee9de2 SHA512 23e37e1565de76c8c755771e548d5c8a2564222936706f0140a25c9f362f9c6e12b0e9e2ab4e81e81a1fae71b9c64ab57523001a1977b31c18f5b94aacfc6c39 WHIRLPOOL 8c4467aef2751c0fe71f296e2d5957625901c0e2d7b9a6a6e8c02a092cf810beae812acfd1ca75df3f81ab96a2d6254c7ca3e498a9b7cab553683e9fd86bedd9
+DIST netbeans-trunk-nightly-201509180002-src.zip 209190887 SHA256 9c28f2f80aa16c2f1465ced753f061cbab8f21ce50b5d7436269049b1047a351 SHA512 a5ca38eb71224c8e70eeab325015b15d08de52e7035f341bc323ad65c5a74943abe0c113dc48da7463886e266b4afdb83b90ab27207630e5055bebbab9b4c2a7 WHIRLPOOL 8d084422f94f15a274549db16a8627a8679dbb8e19662dbc6c4afb253cf22b23f0c5eea0bd8824cf8f5d55d1075131940595f2bd67123d991cc84ff04ad5e6aa
 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
@@ -126,4 +127,5 @@ EBUILD netbeans-ide-9999_p20150911.ebuild 30334 SHA256 8159f5809cf9cf368a76b8cec
 EBUILD netbeans-ide-9999_p20150914.ebuild 30334 SHA256 4c3267a9fe8092d970cd132a24f268402faa9fce9b0f80b9981d163d3faf8bb3 SHA512 2bc8699ddc6b588cd6e83a8bacad1f7ef9cab9c1a7b482862f0a537a12502078b01fffe5841d6161ebde0ccdfc2ffc9b355aca4d07573a8aa436baa21b187134 WHIRLPOOL 744458c4d2103007c06b97675567d135c385863a6d6b186ce23fa32a91f317c0f1e85fda8ad22688770f53fec33a6001fd5c60a3c58f4aeb27a2eef3a612ffa8
 EBUILD netbeans-ide-9999_p20150915.ebuild 30334 SHA256 24c2a755350b98cc6cc2c6e469c09aa73f6093927f5abe40e46333ac221be9c8 SHA512 7f13eb44b043189769cb9a7df7d9108af4121fb56b0092624d213872c3d40d0c457a75d957095506c9232895e042e1f1a02f7329384016a19cbe1d4237c2c107 WHIRLPOOL 851393911b3ce9495b4df4fbb73bed943abdcaa79d37b9bdd8934c03ba735c171b2b253cf3cde1af72ae6b45943602254c4cb5187ca33fdab34e2163cfdea4d8
 EBUILD netbeans-ide-9999_p20150917.ebuild 30334 SHA256 e188b0a3fe35149080e3208a1242fc10c4715447e9955cfa9fd9badf6ffbe794 SHA512 f755e5268b129080dde7ec9b6cc1b619d3f51ab5e141f8c3ddc262f1b551a19450fcf30f3374d8c5174fda1789371786e92f71fa4e2fc38d2d6e27c4e785a108 WHIRLPOOL b47558519fe93ccf6465e6be74b4ab3fcaa69201da857c557332b8a8b266b8e28ac1b62120caf46e959e64bb6c33418b4dc8bffa024f2cd8165b78133875e9ca
+EBUILD netbeans-ide-9999_p20150918.ebuild 30334 SHA256 f6b5d820973a9990b4a3a5d18323baeceed0b13811c495621823a6412de9ddd0 SHA512 44439f9e5d64b60969ed7016e91efb85866b6756389ee41454c49e9d142640a6fd5d1a77c7cfc17608d48dc016d6de796f297d9bbea2ec9b14cf25d62c7644e8 WHIRLPOOL bb28b65bafb2c79e4ce60aeabe5df226a1785773f0c39d84d5c03fb3897d8313e33c306346c13a93478ade8ca36a8dd0e822b4f1d3300505617c11f461bdc7c5
 MISC metadata.xml 251 SHA256 5a4ff53a9862390a48d45c79be24086646e7a6ff0c5bdf0fcb799d0871299003 SHA512 04153cbd9776ad56a94d6a47d043df15d082d8888df8658f18d0d4b659c6c0526ab3a9b22ccbe2471091bf2d8165f224854bc99c51f3664aaf350ccb93532a7c WHIRLPOOL 2ee8a646c6e23bc46c72cac0ecb5cfe43720ec42404ddaeed8ab1b59d139b3d5c1a94764de847f979da978c001c9f02f709d663a68eeea64d19e88f1fefbca43

diff --git a/dev-java/netbeans-ide/netbeans-ide-9999_p20150918.ebuild b/dev-java/netbeans-ide/netbeans-ide-9999_p20150918.ebuild
new file mode 100644
index 0000000..8053121
--- /dev/null
+++ b/dev-java/netbeans-ide/netbeans-ide-9999_p20150918.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-18_00-02-28/zip/netbeans-trunk-nightly-201509180002-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 820df2f..1f12077 100644
--- a/dev-java/netbeans-java/Manifest
+++ b/dev-java/netbeans-java/Manifest
@@ -39,6 +39,7 @@ DIST netbeans-trunk-nightly-201509110002-src.zip 209149212 SHA256 9833b3b5804a16
 DIST netbeans-trunk-nightly-201509140002-src.zip 209159147 SHA256 cdcaeab5534f59320d499b5e84f1deec2863f605ccf4f7be5ced8415e0e3a70e SHA512 0a40110edf53330612d3d586eb7931013c5279fb5db2a8383da90da03df12f291d6c7e5c0da14987311efb10cec017abf201fcf0e299141d079c316447ab8234 WHIRLPOOL ce02272125ee84695d786dcf3c66ac89f56deaed2076dd00e35a997235ca32b181257d80246f20e0e26b6983052b490f0507f718d58f164549991a940e1dd598
 DIST netbeans-trunk-nightly-201509150002-src.zip 209172926 SHA256 3b87e8cf796b12d5b032bd3ded3783820cf613654ca900067bbefb889281128b SHA512 2eec90a310df4676d885a2c2e7f9c4d40417330c2bdae19f9f331d2988e2e7b20749a4c06fb3ad7cffabc86aa1762f4e9de77703fa7c3b2d7859603d87f6e807 WHIRLPOOL 4938b146eb06b48a70c7ed7027c3122008c154e894d0e0feddeb8caabacef765a095f45dd4cd18d5b2dc9153b9eb8dbed32888151c7675c1fbee06c6ba6d9d66
 DIST netbeans-trunk-nightly-201509170002-src.zip 209193216 SHA256 b01e0a54bd8b26e24427b42266f0fedbfe00a3aebeb2f6ecdeb3dbe68dee9de2 SHA512 23e37e1565de76c8c755771e548d5c8a2564222936706f0140a25c9f362f9c6e12b0e9e2ab4e81e81a1fae71b9c64ab57523001a1977b31c18f5b94aacfc6c39 WHIRLPOOL 8c4467aef2751c0fe71f296e2d5957625901c0e2d7b9a6a6e8c02a092cf810beae812acfd1ca75df3f81ab96a2d6254c7ca3e498a9b7cab553683e9fd86bedd9
+DIST netbeans-trunk-nightly-201509180002-src.zip 209190887 SHA256 9c28f2f80aa16c2f1465ced753f061cbab8f21ce50b5d7436269049b1047a351 SHA512 a5ca38eb71224c8e70eeab325015b15d08de52e7035f341bc323ad65c5a74943abe0c113dc48da7463886e266b4afdb83b90ab27207630e5055bebbab9b4c2a7 WHIRLPOOL 8d084422f94f15a274549db16a8627a8679dbb8e19662dbc6c4afb253cf22b23f0c5eea0bd8824cf8f5d55d1075131940595f2bd67123d991cc84ff04ad5e6aa
 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
@@ -49,4 +50,5 @@ EBUILD netbeans-java-9999_p20150911.ebuild 14818 SHA256 f8818f214d9dc5aa3a1def3c
 EBUILD netbeans-java-9999_p20150914.ebuild 14818 SHA256 0b3ea17a460bed5d409d466392b7b8868b5f11d2227cad477a9887c6166fc7b9 SHA512 069cf42315117a89beb7255f42ca56643cbc4bfde90e55a8aba611284a2cabdda89ed736c243930b19856cbe1df472dba605ffed2b5baa8de6f90c13aee0e448 WHIRLPOOL 4dcab901e6f83addcd969657bfa0c5f6c5a33c36160c4fb96dabb023cd65dc1b5388e6c8c3060a72187c74167b98ca26f8f32fb9a0fa6736437004909670c4af
 EBUILD netbeans-java-9999_p20150915.ebuild 14818 SHA256 dbc97e28543c2bd6cd3a344394e0ea4fba87fc33a89cef7dc9768306efc91086 SHA512 a2de236bd5a4629e01d5ece58839ff4feaf94441f9007fe0329822d072ed26c27654104596ea1549bdf79a38bbf530c055852c48472cc117095333ee7b95640b WHIRLPOOL c408590ba6a37c620c75adbbed41e7fcf2b814b6bdb8b3bbbbed26d02f9ec7730ef3873e35d70fe76a0289a96a3c3b568202e5038ba7d118a75c9f2ada86f558
 EBUILD netbeans-java-9999_p20150917.ebuild 14818 SHA256 cf02b7f6f35c87246cdf3c674d64155a4b4656e2480e3316c17238776334e7d2 SHA512 f667b54a8c69d59ef61253161781010abe7d1a9e541cdc7d91a24f457fa5e74330c931ad0155b7df50a5e8b49f3ff8783d78133bdf5881922bc5504980909497 WHIRLPOOL c5ec3c80c718f0439fb1fc3ddc6280b6381c5f1b04e9617f19bf7819dd3e4e7fe326a4648f67f3fe73cbf106577ada863677a577d6a20eaaed28c5817127da24
+EBUILD netbeans-java-9999_p20150918.ebuild 14818 SHA256 f647306f8a5f5408048978447686c88779d642db430370be4bcdf93a68eebe12 SHA512 dae337b313851a2780d0e493d9261b14d3989596a309fd31f244e1306d37b1b5957e599628a1de6f73d7bf12f166b301d95add14a55cc8901ed0cbafadbf6f0c WHIRLPOOL 676e62210d06ef772dffc99cee10adbe8e17502a3a1132210c6a3cc9b22b892e6016440419ac20dc8fdee3d88805eedd9671d72eb6c08a1a773ff29d8e962306
 MISC metadata.xml 251 SHA256 5a4ff53a9862390a48d45c79be24086646e7a6ff0c5bdf0fcb799d0871299003 SHA512 04153cbd9776ad56a94d6a47d043df15d082d8888df8658f18d0d4b659c6c0526ab3a9b22ccbe2471091bf2d8165f224854bc99c51f3664aaf350ccb93532a7c WHIRLPOOL 2ee8a646c6e23bc46c72cac0ecb5cfe43720ec42404ddaeed8ab1b59d139b3d5c1a94764de847f979da978c001c9f02f709d663a68eeea64d19e88f1fefbca43

diff --git a/dev-java/netbeans-java/netbeans-java-9999_p20150918.ebuild b/dev-java/netbeans-java/netbeans-java-9999_p20150918.ebuild
new file mode 100644
index 0000000..1d0dfad
--- /dev/null
+++ b/dev-java/netbeans-java/netbeans-java-9999_p20150918.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-18_00-02-28/zip/netbeans-trunk-nightly-201509180002-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/7B98BEC9E6D1A447C9C3DDC61EF6658BA000008C-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}"/7B98BEC9E6D1A447C9C3DDC61EF6658BA000008C-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 cc2feb0..06fb863 100644
--- a/dev-java/netbeans-javacard/Manifest
+++ b/dev-java/netbeans-javacard/Manifest
@@ -13,6 +13,7 @@ DIST netbeans-trunk-nightly-201509110002-src.zip 209149212 SHA256 9833b3b5804a16
 DIST netbeans-trunk-nightly-201509140002-src.zip 209159147 SHA256 cdcaeab5534f59320d499b5e84f1deec2863f605ccf4f7be5ced8415e0e3a70e SHA512 0a40110edf53330612d3d586eb7931013c5279fb5db2a8383da90da03df12f291d6c7e5c0da14987311efb10cec017abf201fcf0e299141d079c316447ab8234 WHIRLPOOL ce02272125ee84695d786dcf3c66ac89f56deaed2076dd00e35a997235ca32b181257d80246f20e0e26b6983052b490f0507f718d58f164549991a940e1dd598
 DIST netbeans-trunk-nightly-201509150002-src.zip 209172926 SHA256 3b87e8cf796b12d5b032bd3ded3783820cf613654ca900067bbefb889281128b SHA512 2eec90a310df4676d885a2c2e7f9c4d40417330c2bdae19f9f331d2988e2e7b20749a4c06fb3ad7cffabc86aa1762f4e9de77703fa7c3b2d7859603d87f6e807 WHIRLPOOL 4938b146eb06b48a70c7ed7027c3122008c154e894d0e0feddeb8caabacef765a095f45dd4cd18d5b2dc9153b9eb8dbed32888151c7675c1fbee06c6ba6d9d66
 DIST netbeans-trunk-nightly-201509170002-src.zip 209193216 SHA256 b01e0a54bd8b26e24427b42266f0fedbfe00a3aebeb2f6ecdeb3dbe68dee9de2 SHA512 23e37e1565de76c8c755771e548d5c8a2564222936706f0140a25c9f362f9c6e12b0e9e2ab4e81e81a1fae71b9c64ab57523001a1977b31c18f5b94aacfc6c39 WHIRLPOOL 8c4467aef2751c0fe71f296e2d5957625901c0e2d7b9a6a6e8c02a092cf810beae812acfd1ca75df3f81ab96a2d6254c7ca3e498a9b7cab553683e9fd86bedd9
+DIST netbeans-trunk-nightly-201509180002-src.zip 209190887 SHA256 9c28f2f80aa16c2f1465ced753f061cbab8f21ce50b5d7436269049b1047a351 SHA512 a5ca38eb71224c8e70eeab325015b15d08de52e7035f341bc323ad65c5a74943abe0c113dc48da7463886e266b4afdb83b90ab27207630e5055bebbab9b4c2a7 WHIRLPOOL 8d084422f94f15a274549db16a8627a8679dbb8e19662dbc6c4afb253cf22b23f0c5eea0bd8824cf8f5d55d1075131940595f2bd67123d991cc84ff04ad5e6aa
 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
@@ -23,4 +24,5 @@ EBUILD netbeans-javacard-9999_p20150911.ebuild 4976 SHA256 d164cd67d26c5f31cfa77
 EBUILD netbeans-javacard-9999_p20150914.ebuild 4976 SHA256 a88bcaa47f91d1526fdbed8a323a939fb94a7a7ea78483644852c9cfb376243c SHA512 a47471278379d1e264f1cce3a33d7b27a084cec57a3d98558a230107fd1fe9dc457ac9848e80d759e90bc8a7728d28d71ca7ddf0bc95f5bb8dcf05a981ba172e WHIRLPOOL efeeffd5f2a4ee1c81b0874afb09a1005f1d32b748b9031cf9d86a628ecfa776a5259a614eeef788287af254ec9717ba394349b76ec56578333d78f5fa61bc94
 EBUILD netbeans-javacard-9999_p20150915.ebuild 4976 SHA256 f701de86cf5f4aa3c43ab7140f4f171972ef8095f90ac8b6be37fe71ecf99363 SHA512 c5b3ea03d025d81283090271d42613a20a325b037c2c1c47d4825709cf6c44f1304e43a391295d243564725554ae08b412734e98c0f15f918704ce44221fda5d WHIRLPOOL 546b4ccde436b314c0bbfc9647bf753cb24e4b535babba0bc3b3c5ce26a581e34a67729c46127305701e990855e8be205fa507ee17df2ecf622ac98c8a90c9fb
 EBUILD netbeans-javacard-9999_p20150917.ebuild 4976 SHA256 0829a2132778352cbbd939589c79b86c2e5427d2376fc5c27071a867c8b8d1f0 SHA512 a01292f44ebfe44e4b8f8d94d3ddafe1ee60c5c2c531d4262f0bc01d6dfebe63ecbb1e469086ffa99c640230a3285c292999d76971de7abeba15acbd83cbf177 WHIRLPOOL 68c9ba16c31651bbbd08475f00b6995360cd002237b8af2440c5c97913dd7f574d168eda7b726382ef2a3b440f1520f5120a8d65ad37d6615c75fe77971058df
+EBUILD netbeans-javacard-9999_p20150918.ebuild 4976 SHA256 f6f0450f29f166795c2004c133a8f0503853026c8b4cee9384bab237d111675a SHA512 2a560d4a542c3f56519d885cbe01ae36edf97e9d4d9e6807345abddd7d12ae1906e8a2f817fa82eaf909914c9e074d527064f36e087be7f3a1e90e650f9261db WHIRLPOOL 2e5b6e911cf35c1af2d0db10fa992ffb4a53bf6018b14cda9e179b37fe0d84d766328f8732500bfcaa87e5e7eca4f13a33c2da0f67783ff61f4a2c5be30e4bfc
 MISC metadata.xml 251 SHA256 5a4ff53a9862390a48d45c79be24086646e7a6ff0c5bdf0fcb799d0871299003 SHA512 04153cbd9776ad56a94d6a47d043df15d082d8888df8658f18d0d4b659c6c0526ab3a9b22ccbe2471091bf2d8165f224854bc99c51f3664aaf350ccb93532a7c WHIRLPOOL 2ee8a646c6e23bc46c72cac0ecb5cfe43720ec42404ddaeed8ab1b59d139b3d5c1a94764de847f979da978c001c9f02f709d663a68eeea64d19e88f1fefbca43

diff --git a/dev-java/netbeans-javacard/netbeans-javacard-9999_p20150918.ebuild b/dev-java/netbeans-javacard/netbeans-javacard-9999_p20150918.ebuild
new file mode 100644
index 0000000..6b4f056
--- /dev/null
+++ b/dev-java/netbeans-javacard/netbeans-javacard-9999_p20150918.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-18_00-02-28/zip/netbeans-trunk-nightly-201509180002-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 9d2c9d6..cdf74b4 100644
--- a/dev-java/netbeans-javadoc/Manifest
+++ b/dev-java/netbeans-javadoc/Manifest
@@ -11,6 +11,7 @@ DIST netbeans-trunk-nightly-201509110002-src.zip 209149212 SHA256 9833b3b5804a16
 DIST netbeans-trunk-nightly-201509140002-src.zip 209159147 SHA256 cdcaeab5534f59320d499b5e84f1deec2863f605ccf4f7be5ced8415e0e3a70e SHA512 0a40110edf53330612d3d586eb7931013c5279fb5db2a8383da90da03df12f291d6c7e5c0da14987311efb10cec017abf201fcf0e299141d079c316447ab8234 WHIRLPOOL ce02272125ee84695d786dcf3c66ac89f56deaed2076dd00e35a997235ca32b181257d80246f20e0e26b6983052b490f0507f718d58f164549991a940e1dd598
 DIST netbeans-trunk-nightly-201509150002-src.zip 209172926 SHA256 3b87e8cf796b12d5b032bd3ded3783820cf613654ca900067bbefb889281128b SHA512 2eec90a310df4676d885a2c2e7f9c4d40417330c2bdae19f9f331d2988e2e7b20749a4c06fb3ad7cffabc86aa1762f4e9de77703fa7c3b2d7859603d87f6e807 WHIRLPOOL 4938b146eb06b48a70c7ed7027c3122008c154e894d0e0feddeb8caabacef765a095f45dd4cd18d5b2dc9153b9eb8dbed32888151c7675c1fbee06c6ba6d9d66
 DIST netbeans-trunk-nightly-201509170002-src.zip 209193216 SHA256 b01e0a54bd8b26e24427b42266f0fedbfe00a3aebeb2f6ecdeb3dbe68dee9de2 SHA512 23e37e1565de76c8c755771e548d5c8a2564222936706f0140a25c9f362f9c6e12b0e9e2ab4e81e81a1fae71b9c64ab57523001a1977b31c18f5b94aacfc6c39 WHIRLPOOL 8c4467aef2751c0fe71f296e2d5957625901c0e2d7b9a6a6e8c02a092cf810beae812acfd1ca75df3f81ab96a2d6254c7ca3e498a9b7cab553683e9fd86bedd9
+DIST netbeans-trunk-nightly-201509180002-src.zip 209190887 SHA256 9c28f2f80aa16c2f1465ced753f061cbab8f21ce50b5d7436269049b1047a351 SHA512 a5ca38eb71224c8e70eeab325015b15d08de52e7035f341bc323ad65c5a74943abe0c113dc48da7463886e266b4afdb83b90ab27207630e5055bebbab9b4c2a7 WHIRLPOOL 8d084422f94f15a274549db16a8627a8679dbb8e19662dbc6c4afb253cf22b23f0c5eea0bd8824cf8f5d55d1075131940595f2bd67123d991cc84ff04ad5e6aa
 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
@@ -21,4 +22,5 @@ EBUILD netbeans-javadoc-9999_p20150911.ebuild 6228 SHA256 bbd22580d9902265b98d32
 EBUILD netbeans-javadoc-9999_p20150914.ebuild 6228 SHA256 55dd9bf613c5bf6c5998afcdc3fd8194e58492ed3acd3897223bc8eaea80cfb8 SHA512 aeb46693635b14b92659b2f7f913aa2bc198098803e5653c8226822b84bde4e0a37212e32c3cfbbfc6307d49e778b7d1a7048e09e8c7f590b1a88b2fd4861e98 WHIRLPOOL 1c56c5b63744fd251f5f7c5264ee30011f0d067a70891211892bb195b32aa078f1cee5fcb4fc9522fd74a79acd1933d0360c07086b9e5c197161904b7d136351
 EBUILD netbeans-javadoc-9999_p20150915.ebuild 6228 SHA256 d625f760cd0315fe3cb5a0269cbf375270b7ccd9aa4beac38332ed256cc50d26 SHA512 8507ddc16f487909b816300d12c58df827ab5ee0be48b4e2571157c4e8a8686dbdf94f209e9a9eb89a43aed82db1c83f440ee287d2fcf0d45193f8991d68733f WHIRLPOOL 4f192fbd53fe2fd5e1262edce86619ed745e90d8d868dd9225fe28538ea93b7732014e728b4a8a6616f46e73c8dd090bfbeba5822802bd10e8a96ae7ddca5be4
 EBUILD netbeans-javadoc-9999_p20150917.ebuild 6228 SHA256 8a2724621fe7ce51252ab18db404a66f578a2ea1e9494baed341ae16805423d1 SHA512 c0e0b347b8c1729729dbb8b7f57b837e169d4ea8958ea73217d8ea7b855f6628106786d92c5b9ae7e9dc3f4ee7b9a55ff7c619a9f79d7d9b7c58dddb509adcba WHIRLPOOL eddec75f3b671d5f43e61f71de09c83d8cf4fd8df212c8d679d15996c56535d1c48e496d7f9109d812f05dc1dea282910e894fd21825895f79bdd4af1fd4ed31
+EBUILD netbeans-javadoc-9999_p20150918.ebuild 6228 SHA256 3af026a5bd0350fdaabb3ba0c98b1637f8ba030e57eb50f9e3719e09ee47c6f4 SHA512 d1304a3075c2267df13bac5060162c9af7d29493e07cbfd8ef0a726c3cb5f66084424f0522ee9154150cf3a0f27137b8cc34cf0676c65a3307cddbeb66f1e2a8 WHIRLPOOL f57f2c6a7303fd581fcd4da23f15147323a696943bccfebd5bccf3bb3cdd82b1ee207779b6a80e5dbc5f89a3fd32f3ed49b4c803c4391d4f531954e63bd9b603
 MISC metadata.xml 251 SHA256 5a4ff53a9862390a48d45c79be24086646e7a6ff0c5bdf0fcb799d0871299003 SHA512 04153cbd9776ad56a94d6a47d043df15d082d8888df8658f18d0d4b659c6c0526ab3a9b22ccbe2471091bf2d8165f224854bc99c51f3664aaf350ccb93532a7c WHIRLPOOL 2ee8a646c6e23bc46c72cac0ecb5cfe43720ec42404ddaeed8ab1b59d139b3d5c1a94764de847f979da978c001c9f02f709d663a68eeea64d19e88f1fefbca43

diff --git a/dev-java/netbeans-javadoc/netbeans-javadoc-9999_p20150918.ebuild b/dev-java/netbeans-javadoc/netbeans-javadoc-9999_p20150918.ebuild
new file mode 100644
index 0000000..ec3c8cb
--- /dev/null
+++ b/dev-java/netbeans-javadoc/netbeans-javadoc-9999_p20150918.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-18_00-02-28/zip/netbeans-trunk-nightly-201509180002-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 304e0e4..61b87e2 100644
--- a/dev-java/netbeans-javafx/Manifest
+++ b/dev-java/netbeans-javafx/Manifest
@@ -17,6 +17,7 @@ DIST netbeans-trunk-nightly-201509110002-src.zip 209149212 SHA256 9833b3b5804a16
 DIST netbeans-trunk-nightly-201509140002-src.zip 209159147 SHA256 cdcaeab5534f59320d499b5e84f1deec2863f605ccf4f7be5ced8415e0e3a70e SHA512 0a40110edf53330612d3d586eb7931013c5279fb5db2a8383da90da03df12f291d6c7e5c0da14987311efb10cec017abf201fcf0e299141d079c316447ab8234 WHIRLPOOL ce02272125ee84695d786dcf3c66ac89f56deaed2076dd00e35a997235ca32b181257d80246f20e0e26b6983052b490f0507f718d58f164549991a940e1dd598
 DIST netbeans-trunk-nightly-201509150002-src.zip 209172926 SHA256 3b87e8cf796b12d5b032bd3ded3783820cf613654ca900067bbefb889281128b SHA512 2eec90a310df4676d885a2c2e7f9c4d40417330c2bdae19f9f331d2988e2e7b20749a4c06fb3ad7cffabc86aa1762f4e9de77703fa7c3b2d7859603d87f6e807 WHIRLPOOL 4938b146eb06b48a70c7ed7027c3122008c154e894d0e0feddeb8caabacef765a095f45dd4cd18d5b2dc9153b9eb8dbed32888151c7675c1fbee06c6ba6d9d66
 DIST netbeans-trunk-nightly-201509170002-src.zip 209193216 SHA256 b01e0a54bd8b26e24427b42266f0fedbfe00a3aebeb2f6ecdeb3dbe68dee9de2 SHA512 23e37e1565de76c8c755771e548d5c8a2564222936706f0140a25c9f362f9c6e12b0e9e2ab4e81e81a1fae71b9c64ab57523001a1977b31c18f5b94aacfc6c39 WHIRLPOOL 8c4467aef2751c0fe71f296e2d5957625901c0e2d7b9a6a6e8c02a092cf810beae812acfd1ca75df3f81ab96a2d6254c7ca3e498a9b7cab553683e9fd86bedd9
+DIST netbeans-trunk-nightly-201509180002-src.zip 209190887 SHA256 9c28f2f80aa16c2f1465ced753f061cbab8f21ce50b5d7436269049b1047a351 SHA512 a5ca38eb71224c8e70eeab325015b15d08de52e7035f341bc323ad65c5a74943abe0c113dc48da7463886e266b4afdb83b90ab27207630e5055bebbab9b4c2a7 WHIRLPOOL 8d084422f94f15a274549db16a8627a8679dbb8e19662dbc6c4afb253cf22b23f0c5eea0bd8824cf8f5d55d1075131940595f2bd67123d991cc84ff04ad5e6aa
 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
@@ -27,4 +28,5 @@ EBUILD netbeans-javafx-9999_p20150911.ebuild 4717 SHA256 199333103fec23a92ea0dec
 EBUILD netbeans-javafx-9999_p20150914.ebuild 4717 SHA256 c94fb1e23128e30fa73bbb32f64b5b253a06a3ec1d824d84ff6712d7ece8551d SHA512 416f91922ba69496cc1de0720559c933b053487bbe1587fe3cff56c640ec836eba6f9b4e7697c489b13c69a39b226ac41bb2108511b26a16c84f017ac8b37369 WHIRLPOOL 936e030931b83ead8beba2d397f24b049e189c0faabf27aa7ef36de371ec6d294f40070834d6b5e05d76fe790726b3d0253a3a8fcc91e202f2a2d2b405f939b0
 EBUILD netbeans-javafx-9999_p20150915.ebuild 4717 SHA256 9dee7bd9b0d7ad12992b2de6023fcedb0677576503a570a890f1ea767321f7dc SHA512 7d876a715012d9cb3fa574ef33c32d2f249b5342c62036580c611632b103c67b0b5131e9ae0e31e82d22b1df1e73024d0361acd10cd2f77eb5c1ab39ad47bde2 WHIRLPOOL 77ffe11f3ff24d5cb76d6ac8a38a41cd93e5328cf8c402cb154b87f88b5b6df40a3c44141e27af46d5c83e14f06ff9644cf28f7e5cda20e53cc2c658142e3a8b
 EBUILD netbeans-javafx-9999_p20150917.ebuild 4717 SHA256 e8b3f5619ad658ed9bd0dbfab3f86ec676271d34ad29511b3c9f65c6f57696d6 SHA512 500da763b9e457a869c1a27b6a55269e094f6be9ffd57079baa5bced745551c75d698c1a9876e9cfb7f73d7e144a46c8bca9b596df3210e0552204b47df63f0e WHIRLPOOL 46ed3b250ae3218b55d709ee029870756b2d1527210b5d5f12df46ffb796205fdc97bbb570aac51da94191c15930eed7fc10a02e07fe8fffd5daf13806fd2f3d
+EBUILD netbeans-javafx-9999_p20150918.ebuild 4717 SHA256 77790919ad9710c918f39259c23f76504cc63ba3ebbdd3dc3aae52e55f0c8126 SHA512 e7e3186fe2cc6b5459fd6bed6711154f17ba95a34ba15ecf3135cc36f2ca2a346fc631277df9a1fa06d34c674bb54a31c3a540e81ec23bcbdb0c34908bb85463 WHIRLPOOL cb16427be7744ba14b03b7e33fd20ad2f33355b96cfac3e874c629d9bcd6f56de7c8fb49156cecc7cd2b074b7fdc5632675c0079b087490083b877e79508c59c
 MISC metadata.xml 251 SHA256 5a4ff53a9862390a48d45c79be24086646e7a6ff0c5bdf0fcb799d0871299003 SHA512 04153cbd9776ad56a94d6a47d043df15d082d8888df8658f18d0d4b659c6c0526ab3a9b22ccbe2471091bf2d8165f224854bc99c51f3664aaf350ccb93532a7c WHIRLPOOL 2ee8a646c6e23bc46c72cac0ecb5cfe43720ec42404ddaeed8ab1b59d139b3d5c1a94764de847f979da978c001c9f02f709d663a68eeea64d19e88f1fefbca43

diff --git a/dev-java/netbeans-javafx/netbeans-javafx-9999_p20150918.ebuild b/dev-java/netbeans-javafx/netbeans-javafx-9999_p20150918.ebuild
new file mode 100644
index 0000000..2fab028
--- /dev/null
+++ b/dev-java/netbeans-javafx/netbeans-javafx-9999_p20150918.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-18_00-02-28/zip/netbeans-trunk-nightly-201509180002-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 cae98e8..84e80f0 100644
--- a/dev-java/netbeans-mobility/Manifest
+++ b/dev-java/netbeans-mobility/Manifest
@@ -10,6 +10,7 @@ DIST netbeans-trunk-nightly-201509110002-src.zip 209149212 SHA256 9833b3b5804a16
 DIST netbeans-trunk-nightly-201509140002-src.zip 209159147 SHA256 cdcaeab5534f59320d499b5e84f1deec2863f605ccf4f7be5ced8415e0e3a70e SHA512 0a40110edf53330612d3d586eb7931013c5279fb5db2a8383da90da03df12f291d6c7e5c0da14987311efb10cec017abf201fcf0e299141d079c316447ab8234 WHIRLPOOL ce02272125ee84695d786dcf3c66ac89f56deaed2076dd00e35a997235ca32b181257d80246f20e0e26b6983052b490f0507f718d58f164549991a940e1dd598
 DIST netbeans-trunk-nightly-201509150002-src.zip 209172926 SHA256 3b87e8cf796b12d5b032bd3ded3783820cf613654ca900067bbefb889281128b SHA512 2eec90a310df4676d885a2c2e7f9c4d40417330c2bdae19f9f331d2988e2e7b20749a4c06fb3ad7cffabc86aa1762f4e9de77703fa7c3b2d7859603d87f6e807 WHIRLPOOL 4938b146eb06b48a70c7ed7027c3122008c154e894d0e0feddeb8caabacef765a095f45dd4cd18d5b2dc9153b9eb8dbed32888151c7675c1fbee06c6ba6d9d66
 DIST netbeans-trunk-nightly-201509170002-src.zip 209193216 SHA256 b01e0a54bd8b26e24427b42266f0fedbfe00a3aebeb2f6ecdeb3dbe68dee9de2 SHA512 23e37e1565de76c8c755771e548d5c8a2564222936706f0140a25c9f362f9c6e12b0e9e2ab4e81e81a1fae71b9c64ab57523001a1977b31c18f5b94aacfc6c39 WHIRLPOOL 8c4467aef2751c0fe71f296e2d5957625901c0e2d7b9a6a6e8c02a092cf810beae812acfd1ca75df3f81ab96a2d6254c7ca3e498a9b7cab553683e9fd86bedd9
+DIST netbeans-trunk-nightly-201509180002-src.zip 209190887 SHA256 9c28f2f80aa16c2f1465ced753f061cbab8f21ce50b5d7436269049b1047a351 SHA512 a5ca38eb71224c8e70eeab325015b15d08de52e7035f341bc323ad65c5a74943abe0c113dc48da7463886e266b4afdb83b90ab27207630e5055bebbab9b4c2a7 WHIRLPOOL 8d084422f94f15a274549db16a8627a8679dbb8e19662dbc6c4afb253cf22b23f0c5eea0bd8824cf8f5d55d1075131940595f2bd67123d991cc84ff04ad5e6aa
 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
@@ -20,4 +21,5 @@ EBUILD netbeans-mobility-9999_p20150911.ebuild 4412 SHA256 d30eaaec4b94d61cf3552
 EBUILD netbeans-mobility-9999_p20150914.ebuild 4412 SHA256 318aaed2311c749e72dc270361abfd97a8be75dd6fe5295688b69c82cea84ca4 SHA512 54768745327eb30abd6316d9b5b89e542542d0999fcf73155dfcb70b2a18e59e7a89a1fcf9e0fae3be2523ce68bb4ee5a2731d9c98263db66a4e6970b6c663c6 WHIRLPOOL 4d57661356f650fe83588f05d3cfcf5c374c90ee1232f053ee56d3253bdb9443c07589cdf25706b00c8b5564d660083ee160358b5741d4b6fd96ca5de7dc1cbd
 EBUILD netbeans-mobility-9999_p20150915.ebuild 4412 SHA256 98336daeec91af700857ef8ec83b186b965fe3c61f3da057c1b542799f9533d1 SHA512 3ab4669733f78ee4d17f6e16524af78cbd93af99cd3c2d1f7db0b21f8b08606ad6d710e92d3d11057ab43ad5706b618184044294cc8604d301a385a0946e3a93 WHIRLPOOL 6fc5d7e032a0fb8a2ca43e02396ea648f2b96b030a81e9fe2030a6ecbcc94446c6eb5a26c0e3a1be896d0128cfd9b2b81c0ded941a431716c25f7ea10ab254a1
 EBUILD netbeans-mobility-9999_p20150917.ebuild 4412 SHA256 e0cc47552db618d8bf78f41b01b22e680d2c332ffe1667640deec500dc9e8fd1 SHA512 eb43cc6815fd0e383c63e8c267ca8c3008ff869ea406c9faf9b42c60fdf4f7b1cfe824c69beb118bf5d2b3f3f9d6c9e450e25f97cccef5c2ed5115d5169191bb WHIRLPOOL 477434bf0e0a83533ec520e7e1978209180b3eec57e940e445dfa7661eee6fbabff309b44512c48ce22d5e7d5ea6e5c9f85259e63025a9200988a007460dca9f
+EBUILD netbeans-mobility-9999_p20150918.ebuild 4412 SHA256 7a2e15321e7887c932a5355824bfc419296cc9728ea492485d17fe008d7fdf75 SHA512 a3778d709b2636a3d746913c31850ad9f9e3d617a470679dae8aa879a4ff1d20669c79c2ac0d791e4477eb6238aa75eaf1910d2eb62bd034ef9d67fe69cef38f WHIRLPOOL 94fda7aa694c92a47e93d26ab7d821f43476e50a047e5a5ecef1fb4017dbb3e415b58b5b6869012d2250470036e7ba09bff45b5b5d574857038a50f7289bfceb
 MISC metadata.xml 251 SHA256 5a4ff53a9862390a48d45c79be24086646e7a6ff0c5bdf0fcb799d0871299003 SHA512 04153cbd9776ad56a94d6a47d043df15d082d8888df8658f18d0d4b659c6c0526ab3a9b22ccbe2471091bf2d8165f224854bc99c51f3664aaf350ccb93532a7c WHIRLPOOL 2ee8a646c6e23bc46c72cac0ecb5cfe43720ec42404ddaeed8ab1b59d139b3d5c1a94764de847f979da978c001c9f02f709d663a68eeea64d19e88f1fefbca43

diff --git a/dev-java/netbeans-mobility/netbeans-mobility-9999_p20150918.ebuild b/dev-java/netbeans-mobility/netbeans-mobility-9999_p20150918.ebuild
new file mode 100644
index 0000000..491efdc
--- /dev/null
+++ b/dev-java/netbeans-mobility/netbeans-mobility-9999_p20150918.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-18_00-02-28/zip/netbeans-trunk-nightly-201509180002-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 abe21bb..627f2a4 100644
--- a/dev-java/netbeans-nb/Manifest
+++ b/dev-java/netbeans-nb/Manifest
@@ -13,6 +13,7 @@ DIST netbeans-trunk-nightly-201509110002-src.zip 209149212 SHA256 9833b3b5804a16
 DIST netbeans-trunk-nightly-201509140002-src.zip 209159147 SHA256 cdcaeab5534f59320d499b5e84f1deec2863f605ccf4f7be5ced8415e0e3a70e SHA512 0a40110edf53330612d3d586eb7931013c5279fb5db2a8383da90da03df12f291d6c7e5c0da14987311efb10cec017abf201fcf0e299141d079c316447ab8234 WHIRLPOOL ce02272125ee84695d786dcf3c66ac89f56deaed2076dd00e35a997235ca32b181257d80246f20e0e26b6983052b490f0507f718d58f164549991a940e1dd598
 DIST netbeans-trunk-nightly-201509150002-src.zip 209172926 SHA256 3b87e8cf796b12d5b032bd3ded3783820cf613654ca900067bbefb889281128b SHA512 2eec90a310df4676d885a2c2e7f9c4d40417330c2bdae19f9f331d2988e2e7b20749a4c06fb3ad7cffabc86aa1762f4e9de77703fa7c3b2d7859603d87f6e807 WHIRLPOOL 4938b146eb06b48a70c7ed7027c3122008c154e894d0e0feddeb8caabacef765a095f45dd4cd18d5b2dc9153b9eb8dbed32888151c7675c1fbee06c6ba6d9d66
 DIST netbeans-trunk-nightly-201509170002-src.zip 209193216 SHA256 b01e0a54bd8b26e24427b42266f0fedbfe00a3aebeb2f6ecdeb3dbe68dee9de2 SHA512 23e37e1565de76c8c755771e548d5c8a2564222936706f0140a25c9f362f9c6e12b0e9e2ab4e81e81a1fae71b9c64ab57523001a1977b31c18f5b94aacfc6c39 WHIRLPOOL 8c4467aef2751c0fe71f296e2d5957625901c0e2d7b9a6a6e8c02a092cf810beae812acfd1ca75df3f81ab96a2d6254c7ca3e498a9b7cab553683e9fd86bedd9
+DIST netbeans-trunk-nightly-201509180002-src.zip 209190887 SHA256 9c28f2f80aa16c2f1465ced753f061cbab8f21ce50b5d7436269049b1047a351 SHA512 a5ca38eb71224c8e70eeab325015b15d08de52e7035f341bc323ad65c5a74943abe0c113dc48da7463886e266b4afdb83b90ab27207630e5055bebbab9b4c2a7 WHIRLPOOL 8d084422f94f15a274549db16a8627a8679dbb8e19662dbc6c4afb253cf22b23f0c5eea0bd8824cf8f5d55d1075131940595f2bd67123d991cc84ff04ad5e6aa
 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
@@ -23,4 +24,5 @@ EBUILD netbeans-nb-9999_p20150911.ebuild 4997 SHA256 7cdcfea353cb124da315b7218d7
 EBUILD netbeans-nb-9999_p20150914.ebuild 4997 SHA256 b732bb9b9e9f525270f0f99f8975a6dcb82c07a6eb04ef2056c5afc387256bb7 SHA512 9275d710948861173aed8f0e37b5195684a7322a8ae4a21ff5b53647ce3e742b9d7c3eb3d1ae2562de2f72c6c948f3fb4f3da69f8ebac3acb3118422c03cd076 WHIRLPOOL 202450d4b7ab806dfe7e89958f9b2c998f189f48eb327532522f922040b38eee747351d055c97c29448cecfa674ab3332edbde40b15dd1ce741b8ab36697d5d3
 EBUILD netbeans-nb-9999_p20150915.ebuild 4997 SHA256 45fd4112173ece3725e02d07090bbd1e5410a4d4fd604166b330edebf30beb80 SHA512 8ca91374ed381c2eff48229ccdb47ad6c093c4928c4fda4d771546435107cedb10d97967a52dbdc3e4c787d2f7ef7bd8aab8c7ced1174de2697bbeede34ae96c WHIRLPOOL bd26aa895bc284d793564c7c42c43a74ca267ffe82c49d688f14da13cb1ef586221072e58b5466e0327513348396a67ab5bbb1e1d2deaefe82cefc94b848a993
 EBUILD netbeans-nb-9999_p20150917.ebuild 4997 SHA256 50f0f0aca57013f16d6093113cfb31200f3beb818f41e214bb02c45da3b42c02 SHA512 baa6f1d536f58c0457707d23f941e47550591750992aa6d42cdd45e06c3f25ea64e0b6597d39d231c5cf2fc8d44d9315a7ded027d9b77ce813f4bbe0b72c5ad3 WHIRLPOOL cec51f3a4b73a29e174b4a9de12e2e2afdfdbce55940aac2b26ffedb63c86d0e8b1c3be1e172102bccf123d8faade931b9d62c9d410e0e851aa6e8bc14c3b414
+EBUILD netbeans-nb-9999_p20150918.ebuild 4997 SHA256 6f3b5a2724eb3bd424280fddbe2b7105e010e079f1676c29d1f4d53fd95051d3 SHA512 6bdb9dce06a61178128d1d5f36210fa8d9b93b51b277a05dc8e57c033fe2700d8939b03efc38639021b56f0b385e5c65ee37e9d05a41358490dd8831aa187518 WHIRLPOOL 49161806b8a64dec5b0119bf3242ec63a65aaea99570e4a73e196855d0ffd667a6508061d9b46a88c607789b3fe03f7683d975753a3309b03d24751570e946b9
 MISC metadata.xml 396 SHA256 5083064ed2246a84e2aedbc326d56cc8bf571fd8e7c24af0e4bc14c50f1ebb49 SHA512 a0b2171264f1ea6ba33b184ef802589d679eaba5c4a1753e149d7cd93c2c31aace934eddf5dffed6be341d9e4061c843c849e464afb7b4417c6c2dff3e9ff1c7 WHIRLPOOL 1be3a1a3c2b64d8818108de191db834395ee4ab3cf7994914c9331d6e42ca9015dd2493b9516db20990cb30b4dea385a3dde08b75df956ca39ad65e3fa721cb7

diff --git a/dev-java/netbeans-nb/netbeans-nb-9999_p20150918.ebuild b/dev-java/netbeans-nb/netbeans-nb-9999_p20150918.ebuild
new file mode 100644
index 0000000..2f8e6af
--- /dev/null
+++ b/dev-java/netbeans-nb/netbeans-nb-9999_p20150918.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-18_00-02-28/zip/netbeans-trunk-nightly-201509180002-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 77031e6..95dde1b 100644
--- a/dev-java/netbeans-php/Manifest
+++ b/dev-java/netbeans-php/Manifest
@@ -15,6 +15,7 @@ DIST netbeans-trunk-nightly-201509110002-src.zip 209149212 SHA256 9833b3b5804a16
 DIST netbeans-trunk-nightly-201509140002-src.zip 209159147 SHA256 cdcaeab5534f59320d499b5e84f1deec2863f605ccf4f7be5ced8415e0e3a70e SHA512 0a40110edf53330612d3d586eb7931013c5279fb5db2a8383da90da03df12f291d6c7e5c0da14987311efb10cec017abf201fcf0e299141d079c316447ab8234 WHIRLPOOL ce02272125ee84695d786dcf3c66ac89f56deaed2076dd00e35a997235ca32b181257d80246f20e0e26b6983052b490f0507f718d58f164549991a940e1dd598
 DIST netbeans-trunk-nightly-201509150002-src.zip 209172926 SHA256 3b87e8cf796b12d5b032bd3ded3783820cf613654ca900067bbefb889281128b SHA512 2eec90a310df4676d885a2c2e7f9c4d40417330c2bdae19f9f331d2988e2e7b20749a4c06fb3ad7cffabc86aa1762f4e9de77703fa7c3b2d7859603d87f6e807 WHIRLPOOL 4938b146eb06b48a70c7ed7027c3122008c154e894d0e0feddeb8caabacef765a095f45dd4cd18d5b2dc9153b9eb8dbed32888151c7675c1fbee06c6ba6d9d66
 DIST netbeans-trunk-nightly-201509170002-src.zip 209193216 SHA256 b01e0a54bd8b26e24427b42266f0fedbfe00a3aebeb2f6ecdeb3dbe68dee9de2 SHA512 23e37e1565de76c8c755771e548d5c8a2564222936706f0140a25c9f362f9c6e12b0e9e2ab4e81e81a1fae71b9c64ab57523001a1977b31c18f5b94aacfc6c39 WHIRLPOOL 8c4467aef2751c0fe71f296e2d5957625901c0e2d7b9a6a6e8c02a092cf810beae812acfd1ca75df3f81ab96a2d6254c7ca3e498a9b7cab553683e9fd86bedd9
+DIST netbeans-trunk-nightly-201509180002-src.zip 209190887 SHA256 9c28f2f80aa16c2f1465ced753f061cbab8f21ce50b5d7436269049b1047a351 SHA512 a5ca38eb71224c8e70eeab325015b15d08de52e7035f341bc323ad65c5a74943abe0c113dc48da7463886e266b4afdb83b90ab27207630e5055bebbab9b4c2a7 WHIRLPOOL 8d084422f94f15a274549db16a8627a8679dbb8e19662dbc6c4afb253cf22b23f0c5eea0bd8824cf8f5d55d1075131940595f2bd67123d991cc84ff04ad5e6aa
 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
@@ -25,4 +26,5 @@ EBUILD netbeans-php-9999_p20150911.ebuild 4417 SHA256 e339d6bf1a0f914784bbe16340
 EBUILD netbeans-php-9999_p20150914.ebuild 4417 SHA256 62e159a5b5c0c29209b706551be320ca84450dc78e29154daf8edb484976b8d1 SHA512 e52ce209b828467b94ca3436c94bfdb120bb214aa49c598f6f296cfbca0a7e21572e9982d450725d9d851a089dcbbf9d19b33bb358aacdcf7d0e5a21a2a55078 WHIRLPOOL b82b7d0d8c002a4a61e67f8061e49e1900462a73126513c47016ee20ead9aec304db025eeeb10c425a49ce0ae0d422f43af78c014ff17c113c33e5aa1b61167f
 EBUILD netbeans-php-9999_p20150915.ebuild 4417 SHA256 34bb3f6a62d26958609bc0cc647f145fdee3807404f7cc8f50f85085db6ada91 SHA512 07a3a77ca9a4fd5a7eeba9ea755139c4e5e037a06451603affd8a0de2f3f5a8ca492b4d426606609a44fcd97084aa85567c19d5c83b281de70f347d7ba1cf8c6 WHIRLPOOL 576b0b07e2193b4416f38e24997c4bdaaa04837f94fe571937c18ca194cdaa5e817710ce6d06d14dd7e17e74cf41fb1be272d056de9eefc440b282c3f356a20c
 EBUILD netbeans-php-9999_p20150917.ebuild 4417 SHA256 0fb40465f843a043319e55c14b7f679abb4b9453dabaeee5574b91af54b1b20a SHA512 d7b83799605ad86af16c6ba7e3731cda9fcc7bf7c9ce8e96fdcb2aefb96d8344667ba764353467c6144bd402ab77970264043d1a1c066b4262246b708926aed3 WHIRLPOOL b92cb4a3fa84ee7a35304b4fb5367d6be08cbb039287644513accd9cc590b227e16123208d2a8cd037697491c094081b3ddbd77a31632fcecd205c76fe94af92
+EBUILD netbeans-php-9999_p20150918.ebuild 4417 SHA256 b146f1e1ee53dd9cd90f9459e56fc19b363d87a64d92ed897012f5f817c6ebae SHA512 067998b31665688b4ea1540e7e66fd7b6bed6ab94d245626c30163ede3405dab41ec5b564268c51e8e82ecbf1fbb63d8a0fa211ab60c19250f4bd1bdf36fa468 WHIRLPOOL ef2abe000f95e265d9eb92cbc0db9cd159378b81428f6d2174a6627b4c4a42d686c978a664a75077316dd288967ae7fd82583fc6a760fc182a27ec7651b0eb90
 MISC metadata.xml 251 SHA256 5a4ff53a9862390a48d45c79be24086646e7a6ff0c5bdf0fcb799d0871299003 SHA512 04153cbd9776ad56a94d6a47d043df15d082d8888df8658f18d0d4b659c6c0526ab3a9b22ccbe2471091bf2d8165f224854bc99c51f3664aaf350ccb93532a7c WHIRLPOOL 2ee8a646c6e23bc46c72cac0ecb5cfe43720ec42404ddaeed8ab1b59d139b3d5c1a94764de847f979da978c001c9f02f709d663a68eeea64d19e88f1fefbca43

diff --git a/dev-java/netbeans-php/netbeans-php-9999_p20150918.ebuild b/dev-java/netbeans-php/netbeans-php-9999_p20150918.ebuild
new file mode 100644
index 0000000..b63ec24
--- /dev/null
+++ b/dev-java/netbeans-php/netbeans-php-9999_p20150918.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-18_00-02-28/zip/netbeans-trunk-nightly-201509180002-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 945e803..a2cd7d7 100644
--- a/dev-java/netbeans-platform/Manifest
+++ b/dev-java/netbeans-platform/Manifest
@@ -42,6 +42,7 @@ DIST netbeans-trunk-nightly-201509110002-src.zip 209149212 SHA256 9833b3b5804a16
 DIST netbeans-trunk-nightly-201509140002-src.zip 209159147 SHA256 cdcaeab5534f59320d499b5e84f1deec2863f605ccf4f7be5ced8415e0e3a70e SHA512 0a40110edf53330612d3d586eb7931013c5279fb5db2a8383da90da03df12f291d6c7e5c0da14987311efb10cec017abf201fcf0e299141d079c316447ab8234 WHIRLPOOL ce02272125ee84695d786dcf3c66ac89f56deaed2076dd00e35a997235ca32b181257d80246f20e0e26b6983052b490f0507f718d58f164549991a940e1dd598
 DIST netbeans-trunk-nightly-201509150002-src.zip 209172926 SHA256 3b87e8cf796b12d5b032bd3ded3783820cf613654ca900067bbefb889281128b SHA512 2eec90a310df4676d885a2c2e7f9c4d40417330c2bdae19f9f331d2988e2e7b20749a4c06fb3ad7cffabc86aa1762f4e9de77703fa7c3b2d7859603d87f6e807 WHIRLPOOL 4938b146eb06b48a70c7ed7027c3122008c154e894d0e0feddeb8caabacef765a095f45dd4cd18d5b2dc9153b9eb8dbed32888151c7675c1fbee06c6ba6d9d66
 DIST netbeans-trunk-nightly-201509170002-src.zip 209193216 SHA256 b01e0a54bd8b26e24427b42266f0fedbfe00a3aebeb2f6ecdeb3dbe68dee9de2 SHA512 23e37e1565de76c8c755771e548d5c8a2564222936706f0140a25c9f362f9c6e12b0e9e2ab4e81e81a1fae71b9c64ab57523001a1977b31c18f5b94aacfc6c39 WHIRLPOOL 8c4467aef2751c0fe71f296e2d5957625901c0e2d7b9a6a6e8c02a092cf810beae812acfd1ca75df3f81ab96a2d6254c7ca3e498a9b7cab553683e9fd86bedd9
+DIST netbeans-trunk-nightly-201509180002-src.zip 209190887 SHA256 9c28f2f80aa16c2f1465ced753f061cbab8f21ce50b5d7436269049b1047a351 SHA512 a5ca38eb71224c8e70eeab325015b15d08de52e7035f341bc323ad65c5a74943abe0c113dc48da7463886e266b4afdb83b90ab27207630e5055bebbab9b4c2a7 WHIRLPOOL 8d084422f94f15a274549db16a8627a8679dbb8e19662dbc6c4afb253cf22b23f0c5eea0bd8824cf8f5d55d1075131940595f2bd67123d991cc84ff04ad5e6aa
 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
@@ -52,4 +53,5 @@ EBUILD netbeans-platform-9999_p20150911.ebuild 9334 SHA256 0da7726262fdcc68a35dd
 EBUILD netbeans-platform-9999_p20150914.ebuild 9382 SHA256 d7484e54be1695327a998c284835af5647524c0faf30647e203482bfc2b42a9f SHA512 d2437197848e0cb0cb15ac5162d3d8118d84596e2029bd6856f22b0632a084c96744493c5f6e21ee6538b6673ee5a98fc776935c0db4c832ebae72053d46adbf WHIRLPOOL ddcaf68172239149f7587eb6f0958103bf1f81888b3e2564c8efe5ae78683b812add70312c84c0e8252daebd6f6d60daebf462db111e2932618f60ef06f5fed8
 EBUILD netbeans-platform-9999_p20150915.ebuild 9382 SHA256 f2d9e3502a2fa112ea60705c08c151460f3a1174fd51ec135c3849c9d8bf5701 SHA512 a232648374fe21c10ee74ca3f90647971ecd7ec0e3555e4e91ee5e730dce657e72920d11e0383833b55df130ffdaec6cca76e1d7de67541c125888746959d183 WHIRLPOOL b19164a85a91651fb0bc4d173331fb68de74ec57a56e6a49c7ec84367418d586319445aa8e0d316edeba3346407b539a307bfaadb709b89a04e9465c198d9dd2
 EBUILD netbeans-platform-9999_p20150917.ebuild 9382 SHA256 45f3f1a96f9e045a94ddae04b32db40ae87947492db8d03c2156e7fca1764ad4 SHA512 c53bb78ae286703fde953989f2b8d6dbc102c37bdc1061f77c8f610f758d0517397ca55b3c34b01b845ed7ce47ef5c05e855991ad7109e5c6c65f155322a0861 WHIRLPOOL 543640c9bf3d6ed8dedec85018f14ed5388205eb527c2db2b72a59c131728f73fefabe8387834bb6bca376c19696823202c917590d61a25b066ffe7f4944fd15
+EBUILD netbeans-platform-9999_p20150918.ebuild 9382 SHA256 1009f597af3b96aebfb9c4d4f6bddd47a400e3397a0a5f1b82df5eac3356dd12 SHA512 7e8fc26f6058182bfae46b6a42c1d0259a43e1f5100d914934ce9a9fc0bf5de06a244bb5edae25afba0eec803c0c0fcccfa51bc6172a291308c349fc5400f446 WHIRLPOOL e8cffc25a99f97f612bba0ff49651c7f903a3d0c7c1c9acca61621f7fb2c088288c3fb9969297d541ba30b132a11ddab6d94d251f1cd2b03cfe87966419623ef
 MISC metadata.xml 251 SHA256 5a4ff53a9862390a48d45c79be24086646e7a6ff0c5bdf0fcb799d0871299003 SHA512 04153cbd9776ad56a94d6a47d043df15d082d8888df8658f18d0d4b659c6c0526ab3a9b22ccbe2471091bf2d8165f224854bc99c51f3664aaf350ccb93532a7c WHIRLPOOL 2ee8a646c6e23bc46c72cac0ecb5cfe43720ec42404ddaeed8ab1b59d139b3d5c1a94764de847f979da978c001c9f02f709d663a68eeea64d19e88f1fefbca43

diff --git a/dev-java/netbeans-platform/netbeans-platform-9999_p20150918.ebuild b/dev-java/netbeans-platform/netbeans-platform-9999_p20150918.ebuild
new file mode 100644
index 0000000..64afaa8
--- /dev/null
+++ b/dev-java/netbeans-platform/netbeans-platform-9999_p20150918.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-18_00-02-28/zip/netbeans-trunk-nightly-201509180002-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/D85E2725EE887261A5533F546CD1997BDC838464-ko4j-1.2.1.jar
+	http://hg.netbeans.org/binaries/F8DEDF1222AAF1F460B4DEE4F4FB6C689D7FD51E-net.java.html-1.2.1.jar
+	http://hg.netbeans.org/binaries/091957C242A6FF3AC88D00C57B1703ED2D342B04-net.java.html.boot-1.2.1.jar
+	http://hg.netbeans.org/binaries/E96EBE549375A4FCB3FACFEBB42F553C8F108606-net.java.html.boot.fx-1.2.1.jar
+	http://hg.netbeans.org/binaries/CD9F9B8C8971346400FF6CCE9A31AE9C8A5CE46E-net.java.html.boot.script-1.2.1.jar
+	http://hg.netbeans.org/binaries/448219090165A0BFAC6A8350291637618ACC3CE8-net.java.html.geo-1.2.1.jar
+	http://hg.netbeans.org/binaries/E27E4D0AE8C8DC507A06C4432F85FEC4918FCA60-net.java.html.json-1.2.1.jar
+	http://hg.netbeans.org/binaries/4F8300CCBF919EFD997FABB7666BCDBC369FB2B6-net.java.html.sound-1.2.1.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}"/D85E2725EE887261A5533F546CD1997BDC838464-ko4j-1.2.1.jar o.n.html.ko4j/external/ko4j-1.2.1.jar || die
+	ln -s "${DISTDIR}"/F8DEDF1222AAF1F460B4DEE4F4FB6C689D7FD51E-net.java.html-1.2.1.jar net.java.html/external/net.java.html-1.2.1.jar || die
+	ln -s "${DISTDIR}"/091957C242A6FF3AC88D00C57B1703ED2D342B04-net.java.html.boot-1.2.1.jar net.java.html.boot/external/net.java.html.boot-1.2.1.jar || die
+	ln -s "${DISTDIR}"/E96EBE549375A4FCB3FACFEBB42F553C8F108606-net.java.html.boot.fx-1.2.1.jar net.java.html.boot.fx/external/net.java.html.boot.fx-1.2.1.jar || die
+	ln -s "${DISTDIR}"/CD9F9B8C8971346400FF6CCE9A31AE9C8A5CE46E-net.java.html.boot.script-1.2.1.jar net.java.html.boot.script/external/net.java.html.boot.script-1.2.1.jar || die
+	ln -s "${DISTDIR}"/448219090165A0BFAC6A8350291637618ACC3CE8-net.java.html.geo-1.2.1.jar net.java.html.geo/external/net.java.html.geo-1.2.1.jar || die
+	ln -s "${DISTDIR}"/E27E4D0AE8C8DC507A06C4432F85FEC4918FCA60-net.java.html.json-1.2.1.jar net.java.html.json/external/net.java.html.json-1.2.1.jar || die
+	ln -s "${DISTDIR}"/4F8300CCBF919EFD997FABB7666BCDBC369FB2B6-net.java.html.sound-1.2.1.jar net.java.html.sound/external/net.java.html.sound-1.2.1.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 52770f0..892c157 100644
--- a/dev-java/netbeans-profiler/Manifest
+++ b/dev-java/netbeans-profiler/Manifest
@@ -10,6 +10,7 @@ DIST netbeans-trunk-nightly-201509110002-src.zip 209149212 SHA256 9833b3b5804a16
 DIST netbeans-trunk-nightly-201509140002-src.zip 209159147 SHA256 cdcaeab5534f59320d499b5e84f1deec2863f605ccf4f7be5ced8415e0e3a70e SHA512 0a40110edf53330612d3d586eb7931013c5279fb5db2a8383da90da03df12f291d6c7e5c0da14987311efb10cec017abf201fcf0e299141d079c316447ab8234 WHIRLPOOL ce02272125ee84695d786dcf3c66ac89f56deaed2076dd00e35a997235ca32b181257d80246f20e0e26b6983052b490f0507f718d58f164549991a940e1dd598
 DIST netbeans-trunk-nightly-201509150002-src.zip 209172926 SHA256 3b87e8cf796b12d5b032bd3ded3783820cf613654ca900067bbefb889281128b SHA512 2eec90a310df4676d885a2c2e7f9c4d40417330c2bdae19f9f331d2988e2e7b20749a4c06fb3ad7cffabc86aa1762f4e9de77703fa7c3b2d7859603d87f6e807 WHIRLPOOL 4938b146eb06b48a70c7ed7027c3122008c154e894d0e0feddeb8caabacef765a095f45dd4cd18d5b2dc9153b9eb8dbed32888151c7675c1fbee06c6ba6d9d66
 DIST netbeans-trunk-nightly-201509170002-src.zip 209193216 SHA256 b01e0a54bd8b26e24427b42266f0fedbfe00a3aebeb2f6ecdeb3dbe68dee9de2 SHA512 23e37e1565de76c8c755771e548d5c8a2564222936706f0140a25c9f362f9c6e12b0e9e2ab4e81e81a1fae71b9c64ab57523001a1977b31c18f5b94aacfc6c39 WHIRLPOOL 8c4467aef2751c0fe71f296e2d5957625901c0e2d7b9a6a6e8c02a092cf810beae812acfd1ca75df3f81ab96a2d6254c7ca3e498a9b7cab553683e9fd86bedd9
+DIST netbeans-trunk-nightly-201509180002-src.zip 209190887 SHA256 9c28f2f80aa16c2f1465ced753f061cbab8f21ce50b5d7436269049b1047a351 SHA512 a5ca38eb71224c8e70eeab325015b15d08de52e7035f341bc323ad65c5a74943abe0c113dc48da7463886e266b4afdb83b90ab27207630e5055bebbab9b4c2a7 WHIRLPOOL 8d084422f94f15a274549db16a8627a8679dbb8e19662dbc6c4afb253cf22b23f0c5eea0bd8824cf8f5d55d1075131940595f2bd67123d991cc84ff04ad5e6aa
 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
@@ -20,4 +21,5 @@ EBUILD netbeans-profiler-9999_p20150911.ebuild 3472 SHA256 f125bd2e5c137f25a2905
 EBUILD netbeans-profiler-9999_p20150914.ebuild 3472 SHA256 70e6661ae19b9266a061eeae848bfc222db8ce83c0e63637938067ff772faaf6 SHA512 9a453a6ddb59beeff6c76e35cfd583c9d96aa0a6cb3ffa76bcc954289dd10b37e8217c06e5098b0b7caebf839ae6f3e6cc8debd0965f0ed465add1a4ff0b952c WHIRLPOOL d9716e833060942bb6ed623db92d0c8e4d9b7a0ba3a469202a2231cf3e284ebcaf3b003e267a51a515e302bb230a342341d34445690e2402a02584f71c7d2e05
 EBUILD netbeans-profiler-9999_p20150915.ebuild 3472 SHA256 01581023520ea4635eda739ffb179de6d38c872a1ce42e6ed792220a06d5f311 SHA512 c544c37dd73b6ff1731546ddd9385d123b7dd13dab285942866717ac400bf80cc6ca845a8c85f3ad99455a7e4bdc262f5c03a0e0a36129bcd1578f6a879387dc WHIRLPOOL e5ba068860153926651ce45fd7e1faaca227309cf526bcc89a17d5d36c77ce31c60f5e84ec36ba90b4f4910aa9b7ba0aacf74f387e2f597ede1f4f47d5d4144d
 EBUILD netbeans-profiler-9999_p20150917.ebuild 3472 SHA256 2b949c0af59dacd0e30d51e60659528b55041b000a1aef96cc7422a829bd2320 SHA512 485ca7879e90647fe574fd12db26e9c8b6f7394e5f92f3e044b51e5be6ebdf56f5043a1dd0b210d14eefafd8b16de9ec17da2fb859302b45d840b3dad5096c11 WHIRLPOOL b6a701fea76f991c55fffa914aefa67aeaaf07f65c376d972b5fa7efd31c9832b88cc33ad84a07773d07a29822975ff3f65755eb4f895a46ca2b5e5236e75e17
+EBUILD netbeans-profiler-9999_p20150918.ebuild 3472 SHA256 4b067d0cf88e07520b898d1517d8cc9424c0f3ffe8566ba95fab1f09e8156b11 SHA512 094a3e1b7c34d56eafce16c6390a0a6350a5085fcafcdb2b397047b3f7099c2cc3e6134226d0f7179108e3661b5b0f50667a2d6210ab57646e6ac4bb71bd4bcd WHIRLPOOL 188edf451ed3900a9304acfe331ff406a6975964f2ec2cccbaced4d476efece2efb1780d85b64f802c5bd61cd38642c487f61a3f78d6c358180ee810b6bb79da
 MISC metadata.xml 251 SHA256 5a4ff53a9862390a48d45c79be24086646e7a6ff0c5bdf0fcb799d0871299003 SHA512 04153cbd9776ad56a94d6a47d043df15d082d8888df8658f18d0d4b659c6c0526ab3a9b22ccbe2471091bf2d8165f224854bc99c51f3664aaf350ccb93532a7c WHIRLPOOL 2ee8a646c6e23bc46c72cac0ecb5cfe43720ec42404ddaeed8ab1b59d139b3d5c1a94764de847f979da978c001c9f02f709d663a68eeea64d19e88f1fefbca43

diff --git a/dev-java/netbeans-profiler/netbeans-profiler-9999_p20150918.ebuild b/dev-java/netbeans-profiler/netbeans-profiler-9999_p20150918.ebuild
new file mode 100644
index 0000000..906e685
--- /dev/null
+++ b/dev-java/netbeans-profiler/netbeans-profiler-9999_p20150918.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-18_00-02-28/zip/netbeans-trunk-nightly-201509180002-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 5a18dce..deb04fd 100644
--- a/dev-java/netbeans-webcommon/Manifest
+++ b/dev-java/netbeans-webcommon/Manifest
@@ -19,6 +19,7 @@ DIST netbeans-trunk-nightly-201509110002-src.zip 209149212 SHA256 9833b3b5804a16
 DIST netbeans-trunk-nightly-201509140002-src.zip 209159147 SHA256 cdcaeab5534f59320d499b5e84f1deec2863f605ccf4f7be5ced8415e0e3a70e SHA512 0a40110edf53330612d3d586eb7931013c5279fb5db2a8383da90da03df12f291d6c7e5c0da14987311efb10cec017abf201fcf0e299141d079c316447ab8234 WHIRLPOOL ce02272125ee84695d786dcf3c66ac89f56deaed2076dd00e35a997235ca32b181257d80246f20e0e26b6983052b490f0507f718d58f164549991a940e1dd598
 DIST netbeans-trunk-nightly-201509150002-src.zip 209172926 SHA256 3b87e8cf796b12d5b032bd3ded3783820cf613654ca900067bbefb889281128b SHA512 2eec90a310df4676d885a2c2e7f9c4d40417330c2bdae19f9f331d2988e2e7b20749a4c06fb3ad7cffabc86aa1762f4e9de77703fa7c3b2d7859603d87f6e807 WHIRLPOOL 4938b146eb06b48a70c7ed7027c3122008c154e894d0e0feddeb8caabacef765a095f45dd4cd18d5b2dc9153b9eb8dbed32888151c7675c1fbee06c6ba6d9d66
 DIST netbeans-trunk-nightly-201509170002-src.zip 209193216 SHA256 b01e0a54bd8b26e24427b42266f0fedbfe00a3aebeb2f6ecdeb3dbe68dee9de2 SHA512 23e37e1565de76c8c755771e548d5c8a2564222936706f0140a25c9f362f9c6e12b0e9e2ab4e81e81a1fae71b9c64ab57523001a1977b31c18f5b94aacfc6c39 WHIRLPOOL 8c4467aef2751c0fe71f296e2d5957625901c0e2d7b9a6a6e8c02a092cf810beae812acfd1ca75df3f81ab96a2d6254c7ca3e498a9b7cab553683e9fd86bedd9
+DIST netbeans-trunk-nightly-201509180002-src.zip 209190887 SHA256 9c28f2f80aa16c2f1465ced753f061cbab8f21ce50b5d7436269049b1047a351 SHA512 a5ca38eb71224c8e70eeab325015b15d08de52e7035f341bc323ad65c5a74943abe0c113dc48da7463886e266b4afdb83b90ab27207630e5055bebbab9b4c2a7 WHIRLPOOL 8d084422f94f15a274549db16a8627a8679dbb8e19662dbc6c4afb253cf22b23f0c5eea0bd8824cf8f5d55d1075131940595f2bd67123d991cc84ff04ad5e6aa
 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
@@ -29,4 +30,5 @@ EBUILD netbeans-webcommon-9999_p20150911.ebuild 4991 SHA256 76802501ce512eab2fce
 EBUILD netbeans-webcommon-9999_p20150914.ebuild 4991 SHA256 effe63f53cba64c97aa72a551076e34370fc9c828dd714532f49d53de98236d6 SHA512 b9387c353e55afff01908a5215806a4ea00d84523f61dd61d546c62a3eb2cf16b23d9b55558dd3bf5d2afdc789c79ad92329189bfd8f6a61c2578ba70444d5f5 WHIRLPOOL 7f86faa1190f131fa6496a2ddfb3fa8ace8b59f76a834f6b5aafe991530ebc6326c67610f605888d490894a47908a627ffaf5126fd7f23b896732add9a26f3ed
 EBUILD netbeans-webcommon-9999_p20150915.ebuild 4991 SHA256 bef812c5765a056781fc7b1c8e6a554d456b1d0f8cdcb6f1b7a9c49b25100716 SHA512 9deff5fe35c1124124252530d7da3f49c27a920e241660ca7aec2392e0e0fbd6c2243d353d0061dcca3cc6ef40fbf7345e546976b5a1f5da69296b7d7aa6f291 WHIRLPOOL d8f69ad718dddc79dd2790f99178be0ce474cb8981c51e3f74d77d83f6ea6bbca90ca0743cd3b13024adfada29b545d3c156ac7cd7272a75e916ed056951c601
 EBUILD netbeans-webcommon-9999_p20150917.ebuild 4991 SHA256 816b5cc5fb6dae8e4a7c948e09e28ceccd33c5773a6e51f10c9cab83eee18b5d SHA512 1a575277c9782a7719bea261aea8c91db9147ead65890fa7ef73c1457e52fd372e161b7215cc2be9c978c262c4c90c74b5bb018210b97719fe1a532f2e862d47 WHIRLPOOL 414ddb288bcd132ef470af12d75d0e50d52b43be4aa6acf5effcdb904fdd53635c792cf16b1895e44710205f3c4dfc500ad786a40adb3a4719cc5cdd11c6d89f
+EBUILD netbeans-webcommon-9999_p20150918.ebuild 4991 SHA256 6c72305b0f1d5211d0e806e9802ce38c922d2670606f107eebd09464b3960adc SHA512 e1f0c1bbb2b28e49d93035bffb58549ad890893f598aa98c4c8eb3df506b93089af4ab8c6ad987ec8483479a484feb29844980dc717a94e8e9fcb5eb3cd7bc81 WHIRLPOOL ba37439bef64a145862fed28cb2f97f23ef6397549d2ec8f453b721a66491fe4f8be1fa33ca7ab5e01515fe93b15d2e0fdb5c8e26c85f824df7d2df75c83d443
 MISC metadata.xml 251 SHA256 5a4ff53a9862390a48d45c79be24086646e7a6ff0c5bdf0fcb799d0871299003 SHA512 04153cbd9776ad56a94d6a47d043df15d082d8888df8658f18d0d4b659c6c0526ab3a9b22ccbe2471091bf2d8165f224854bc99c51f3664aaf350ccb93532a7c WHIRLPOOL 2ee8a646c6e23bc46c72cac0ecb5cfe43720ec42404ddaeed8ab1b59d139b3d5c1a94764de847f979da978c001c9f02f709d663a68eeea64d19e88f1fefbca43

diff --git a/dev-java/netbeans-webcommon/netbeans-webcommon-9999_p20150918.ebuild b/dev-java/netbeans-webcommon/netbeans-webcommon-9999_p20150918.ebuild
new file mode 100644
index 0000000..be097c3
--- /dev/null
+++ b/dev-java/netbeans-webcommon/netbeans-webcommon-9999_p20150918.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-18_00-02-28/zip/netbeans-trunk-nightly-201509180002-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 ecfcbbb..c5b49b7 100644
--- a/dev-java/netbeans-websvccommon/Manifest
+++ b/dev-java/netbeans-websvccommon/Manifest
@@ -10,6 +10,7 @@ DIST netbeans-trunk-nightly-201509110002-src.zip 209149212 SHA256 9833b3b5804a16
 DIST netbeans-trunk-nightly-201509140002-src.zip 209159147 SHA256 cdcaeab5534f59320d499b5e84f1deec2863f605ccf4f7be5ced8415e0e3a70e SHA512 0a40110edf53330612d3d586eb7931013c5279fb5db2a8383da90da03df12f291d6c7e5c0da14987311efb10cec017abf201fcf0e299141d079c316447ab8234 WHIRLPOOL ce02272125ee84695d786dcf3c66ac89f56deaed2076dd00e35a997235ca32b181257d80246f20e0e26b6983052b490f0507f718d58f164549991a940e1dd598
 DIST netbeans-trunk-nightly-201509150002-src.zip 209172926 SHA256 3b87e8cf796b12d5b032bd3ded3783820cf613654ca900067bbefb889281128b SHA512 2eec90a310df4676d885a2c2e7f9c4d40417330c2bdae19f9f331d2988e2e7b20749a4c06fb3ad7cffabc86aa1762f4e9de77703fa7c3b2d7859603d87f6e807 WHIRLPOOL 4938b146eb06b48a70c7ed7027c3122008c154e894d0e0feddeb8caabacef765a095f45dd4cd18d5b2dc9153b9eb8dbed32888151c7675c1fbee06c6ba6d9d66
 DIST netbeans-trunk-nightly-201509170002-src.zip 209193216 SHA256 b01e0a54bd8b26e24427b42266f0fedbfe00a3aebeb2f6ecdeb3dbe68dee9de2 SHA512 23e37e1565de76c8c755771e548d5c8a2564222936706f0140a25c9f362f9c6e12b0e9e2ab4e81e81a1fae71b9c64ab57523001a1977b31c18f5b94aacfc6c39 WHIRLPOOL 8c4467aef2751c0fe71f296e2d5957625901c0e2d7b9a6a6e8c02a092cf810beae812acfd1ca75df3f81ab96a2d6254c7ca3e498a9b7cab553683e9fd86bedd9
+DIST netbeans-trunk-nightly-201509180002-src.zip 209190887 SHA256 9c28f2f80aa16c2f1465ced753f061cbab8f21ce50b5d7436269049b1047a351 SHA512 a5ca38eb71224c8e70eeab325015b15d08de52e7035f341bc323ad65c5a74943abe0c113dc48da7463886e266b4afdb83b90ab27207630e5055bebbab9b4c2a7 WHIRLPOOL 8d084422f94f15a274549db16a8627a8679dbb8e19662dbc6c4afb253cf22b23f0c5eea0bd8824cf8f5d55d1075131940595f2bd67123d991cc84ff04ad5e6aa
 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
@@ -20,4 +21,5 @@ EBUILD netbeans-websvccommon-9999_p20150911.ebuild 2721 SHA256 7517e8d0862e30bd4
 EBUILD netbeans-websvccommon-9999_p20150914.ebuild 2721 SHA256 41de18c1c6beef6483dd0059ae110ab4daef1a6072695a9e6076567a603d0ab1 SHA512 43f23cd5773be7a6e3d2859ce4218271510bb6318adce194edb90fa342e96d89221bb5edd381985dd7dc1ab5d7c3cee02cf0cb72c4c840191fb59c9ab77b2352 WHIRLPOOL e09384741bbe250f95b231eff35d645d77788a7c425909261db2fdf780267d2c92d45fe63583e37f4b086c767a32b1ada38e28c3884b5c4a7e84d8bb2d76c5b4
 EBUILD netbeans-websvccommon-9999_p20150915.ebuild 2721 SHA256 0f0f19b5b504755044f2163eb8d58600bb455f7c2f0c5ca3894201c70aee8b53 SHA512 ecf6502a0ab6aaa16864cb1ebe48ccbad67652a0328fb2b6958ef16f0fbb7687864021bbe4ca57f78719f88c7b83bb8ae8344541ad07895841d06184c522519a WHIRLPOOL a206ed6ffc4519c834a6896d36901dac247aea282af224aab31033a153b1c6dfab978e50c2b91b45e47402628c859b58c6a8fcc372dad9ea0e4ee97bbe675c4e
 EBUILD netbeans-websvccommon-9999_p20150917.ebuild 2721 SHA256 fddc5f2f4634748be7d62ffa334a541629134eca816830a841fe0cf1175060d3 SHA512 190cb574c86cc9ad4cd30843ec6d959dbbb1d90d742de577de0713ba4a7c250a0d67f8c509e6f0752b78846696b9926d2c3aa44fab771c92074fc5241133add0 WHIRLPOOL 3600eb77b4f0e7606a3ce09d50abbdb302bd4b1320767b2f277d20ea228e700c32fbb6928023daad0a5b56296fa234c3cbff566bfe0c4e7b84de4d54743d6609
+EBUILD netbeans-websvccommon-9999_p20150918.ebuild 2721 SHA256 eff32ee9fdeb23e2027e15658e8172b08c9e83cd92b60207583e2e6de985c3d6 SHA512 910767e736ed22ba93c551d1d4f2d1b34d6c3817c2bfcf8945bf93c95971c6988f9fdb321343c704c48c5a290ec7dc1c49feb0d038b2e8dd1c6c39769ae73750 WHIRLPOOL 4fce933e0a75b63ae0860419e395617c18c0a0e59f4b85b6a5538a747ceed66bab02a692058e0cd57a31c4475567dc06c8202622a58fc770caee700bfce29b2a
 MISC metadata.xml 251 SHA256 5a4ff53a9862390a48d45c79be24086646e7a6ff0c5bdf0fcb799d0871299003 SHA512 04153cbd9776ad56a94d6a47d043df15d082d8888df8658f18d0d4b659c6c0526ab3a9b22ccbe2471091bf2d8165f224854bc99c51f3664aaf350ccb93532a7c WHIRLPOOL 2ee8a646c6e23bc46c72cac0ecb5cfe43720ec42404ddaeed8ab1b59d139b3d5c1a94764de847f979da978c001c9f02f709d663a68eeea64d19e88f1fefbca43

diff --git a/dev-java/netbeans-websvccommon/netbeans-websvccommon-9999_p20150918.ebuild b/dev-java/netbeans-websvccommon/netbeans-websvccommon-9999_p20150918.ebuild
new file mode 100644
index 0000000..ab76835
--- /dev/null
+++ b/dev-java/netbeans-websvccommon/netbeans-websvccommon-9999_p20150918.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-18_00-02-28/zip/netbeans-trunk-nightly-201509180002-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 c1d5c02..b360e8d 100644
--- a/dev-util/netbeans/Manifest
+++ b/dev-util/netbeans/Manifest
@@ -12,6 +12,7 @@ DIST netbeans-trunk-nightly-201509110002-src.zip 209149212 SHA256 9833b3b5804a16
 DIST netbeans-trunk-nightly-201509140002-src.zip 209159147 SHA256 cdcaeab5534f59320d499b5e84f1deec2863f605ccf4f7be5ced8415e0e3a70e SHA512 0a40110edf53330612d3d586eb7931013c5279fb5db2a8383da90da03df12f291d6c7e5c0da14987311efb10cec017abf201fcf0e299141d079c316447ab8234 WHIRLPOOL ce02272125ee84695d786dcf3c66ac89f56deaed2076dd00e35a997235ca32b181257d80246f20e0e26b6983052b490f0507f718d58f164549991a940e1dd598
 DIST netbeans-trunk-nightly-201509150002-src.zip 209172926 SHA256 3b87e8cf796b12d5b032bd3ded3783820cf613654ca900067bbefb889281128b SHA512 2eec90a310df4676d885a2c2e7f9c4d40417330c2bdae19f9f331d2988e2e7b20749a4c06fb3ad7cffabc86aa1762f4e9de77703fa7c3b2d7859603d87f6e807 WHIRLPOOL 4938b146eb06b48a70c7ed7027c3122008c154e894d0e0feddeb8caabacef765a095f45dd4cd18d5b2dc9153b9eb8dbed32888151c7675c1fbee06c6ba6d9d66
 DIST netbeans-trunk-nightly-201509170002-src.zip 209193216 SHA256 b01e0a54bd8b26e24427b42266f0fedbfe00a3aebeb2f6ecdeb3dbe68dee9de2 SHA512 23e37e1565de76c8c755771e548d5c8a2564222936706f0140a25c9f362f9c6e12b0e9e2ab4e81e81a1fae71b9c64ab57523001a1977b31c18f5b94aacfc6c39 WHIRLPOOL 8c4467aef2751c0fe71f296e2d5957625901c0e2d7b9a6a6e8c02a092cf810beae812acfd1ca75df3f81ab96a2d6254c7ca3e498a9b7cab553683e9fd86bedd9
+DIST netbeans-trunk-nightly-201509180002-src.zip 209190887 SHA256 9c28f2f80aa16c2f1465ced753f061cbab8f21ce50b5d7436269049b1047a351 SHA512 a5ca38eb71224c8e70eeab325015b15d08de52e7035f341bc323ad65c5a74943abe0c113dc48da7463886e266b4afdb83b90ab27207630e5055bebbab9b4c2a7 WHIRLPOOL 8d084422f94f15a274549db16a8627a8679dbb8e19662dbc6c4afb253cf22b23f0c5eea0bd8824cf8f5d55d1075131940595f2bd67123d991cc84ff04ad5e6aa
 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
@@ -22,4 +23,5 @@ EBUILD netbeans-9999_p20150911.ebuild 7210 SHA256 3d56378edc3b701678b54a30a7867d
 EBUILD netbeans-9999_p20150914.ebuild 7210 SHA256 97559b1aa14f762847a1866723d6fba2265203b61f390e3481c0cd68bb0a654a SHA512 12555ef853b5f47fb74f6c1974bb2f894f3d82897d980ca5fa5d1ea17273a52db382cccf3b1b0b80a97f870c5622d750f0dcc4da30b87153749630bba797eeab WHIRLPOOL 30cd5c2fcfca12b002115631d708dac0330ded807dfdfb5fb38d5dda9a275d204e5dab59745fbf95aec218acdcadf95b9408fda9e440405d4c10a90e1961137c
 EBUILD netbeans-9999_p20150915.ebuild 7210 SHA256 d626cd9558b4db4a9b8a5d0c6c8497c82f9b5ca97b8f8c4e7de987a0e75bfe0e SHA512 12792811d356aaf69f4535e1bafdc91262171c47f2deedfe39e77e2880ff9a84aada41b9efe986f169ee49311c2276141ed36bbc37659a6328124c51cc18b0ae WHIRLPOOL 67231845cb37e69f5ae3e90d833d176d5dc34d0f19905026622b9a6ce68a215a9bc607ce5e65d95956252341079e6014fa2db51f2a75163146be99c29e2cddda
 EBUILD netbeans-9999_p20150917.ebuild 7210 SHA256 479daaf0328332bdc8be6df0fd8aaafc7d69b435c58aeed37e0162f3cc63eb69 SHA512 2de64289cf2aabc435c06a672ab884ffc5d1c472ca06ca2c73ec1222f8ff50d940278ae584d5bd275f58f40a18f9813d66a69cc29bfece4730e4080daa944e98 WHIRLPOOL 33e9c508a642bc0997687ce475967672c95874b598e3dd4671cb5674e7c80d5ecea241588499f095c1aa74447723c0fe7b64ddc9bd9ccd43f423aaf52e1dafeb
+EBUILD netbeans-9999_p20150918.ebuild 7210 SHA256 f3e860cadeeea4ae4b1f602daeebf8718ce12f43ae349e164cf340add069d776 SHA512 0ef3ea0f865b21a61ed7b9d0c8df878e080c6fb37a2548ed817261486338211b06e11a469770e962906ef412b8347a6af60dddac278afe07930a2924026e39b2 WHIRLPOOL ccffbaeb50933fd8040722eaab452dba16f37f4efc94076d0945d3c2d687422592f0923cd4d9b2012117c984685403559eb352e288edb124d503c4e997e61e73
 MISC metadata.xml 333 SHA256 a7c289d7be537b4c51bd8100bca0d8a40ceb5fb011942bbd1b286841cf3c1d0a SHA512 3f730fc27f893489524053e81a465519037a68e297f02a5d6400f85f8bfd8a20006e5515a135b8a5779ebf5951a661d99aaa8bf3b9b96141f863e134dba2265e WHIRLPOOL d37106234351185946f6dc870e9b77babd38bed88673771949d26d176d8dad4071be5f2c59bf72b139a6a35c899c2c7ac9ffde1c7b4885135d52c821780cf3d2

diff --git a/dev-util/netbeans/netbeans-9999_p20150918.ebuild b/dev-util/netbeans/netbeans-9999_p20150918.ebuild
new file mode 100644
index 0000000..7012fa3
--- /dev/null
+++ b/dev-util/netbeans/netbeans-9999_p20150918.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-18_00-02-28/zip/netbeans-trunk-nightly-201509180002-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-18 11:18 UTC | newest]

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

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