public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] dev/fordfrog:master commit in: dev-java/netbeans-dlight/, dev-java/netbeans-php/, dev-java/netbeans-webcommon/, ...
@ 2016-03-23  9:06 Miroslav Šulc
  0 siblings, 0 replies; only message in thread
From: Miroslav Šulc @ 2016-03-23  9:06 UTC (permalink / raw
  To: gentoo-commits

commit:     a33f2edb2f2c413a9d423f851fd5e73c91c4b3bc
Author:     Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
AuthorDate: Wed Mar 23 09:05:59 2016 +0000
Commit:     Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
CommitDate: Wed Mar 23 09:05:59 2016 +0000
URL:        https://gitweb.gentoo.org/dev/fordfrog.git/commit/?id=a33f2edb

netbeans: bumped to the latest nightly sources

Package-Manager: portage-2.2.28

 dev-java/netbeans-apisupport/Manifest              |   2 +
 .../netbeans-apisupport-9999_p20160323.ebuild      | 111 ++++++
 dev-java/netbeans-cnd/Manifest                     |   3 +
 .../netbeans-cnd-9999_p20160323.ebuild             | 127 +++++++
 dev-java/netbeans-dlight/Manifest                  |   2 +
 .../netbeans-dlight-9999_p20160323.ebuild          | 101 ++++++
 dev-java/netbeans-enterprise/Manifest              |   2 +
 .../netbeans-enterprise-9999_p20160323.ebuild      | 266 +++++++++++++++
 dev-java/netbeans-ergonomics/Manifest              |   2 +
 .../netbeans-ergonomics-9999_p20160323.ebuild      | 101 ++++++
 dev-java/netbeans-extide/Manifest                  |   2 +
 .../netbeans-extide-9999_p20160323.ebuild          | 108 ++++++
 dev-java/netbeans-groovy/Manifest                  |   2 +
 .../netbeans-groovy-9999_p20160323.ebuild          | 111 ++++++
 dev-java/netbeans-harness/Manifest                 |   2 +
 .../netbeans-harness-9999_p20160323.ebuild         | 114 +++++++
 dev-java/netbeans-ide/Manifest                     |   2 +
 .../netbeans-ide-9999_p20160323.ebuild             | 378 +++++++++++++++++++++
 dev-java/netbeans-java/Manifest                    |   3 +
 .../netbeans-java-9999_p20160323.ebuild            | 274 +++++++++++++++
 dev-java/netbeans-javacard/Manifest                |   2 +
 .../netbeans-javacard-9999_p20160323.ebuild        | 134 ++++++++
 dev-java/netbeans-javadoc/Manifest                 |   2 +
 .../netbeans-javadoc-9999_p20160323.ebuild         | 168 +++++++++
 dev-java/netbeans-javafx/Manifest                  |   2 +
 .../netbeans-javafx-9999_p20160323.ebuild          | 124 +++++++
 dev-java/netbeans-mobility/Manifest                |   2 +
 .../netbeans-mobility-9999_p20160323.ebuild        | 126 +++++++
 dev-java/netbeans-nb/Manifest                      |   2 +
 .../netbeans-nb/netbeans-nb-9999_p20160323.ebuild  | 128 +++++++
 dev-java/netbeans-php/Manifest                     |   2 +
 .../netbeans-php-9999_p20160323.ebuild             | 127 +++++++
 dev-java/netbeans-platform/Manifest                |   2 +
 .../netbeans-platform-9999_p20160323.ebuild        | 167 +++++++++
 dev-java/netbeans-profiler/Manifest                |   2 +
 .../netbeans-profiler-9999_p20160323.ebuild        | 121 +++++++
 dev-java/netbeans-webcommon/Manifest               |   2 +
 .../netbeans-webcommon-9999_p20160323.ebuild       | 122 +++++++
 dev-java/netbeans-websvccommon/Manifest            |   2 +
 .../netbeans-websvccommon-9999_p20160323.ebuild    |  94 +++++
 dev-util/netbeans/Manifest                         |   2 +
 dev-util/netbeans/netbeans-9999_p20160323.ebuild   | 254 ++++++++++++++
 42 files changed, 3300 insertions(+)

diff --git a/dev-java/netbeans-apisupport/Manifest b/dev-java/netbeans-apisupport/Manifest
index 6302228..52d5246 100644
--- a/dev-java/netbeans-apisupport/Manifest
+++ b/dev-java/netbeans-apisupport/Manifest
@@ -23,6 +23,7 @@ DIST netbeans-trunk-nightly-201603150001-src.zip 210021503 SHA256 b0ea2aa58d93a6
 DIST netbeans-trunk-nightly-201603160001-src.zip 210026634 SHA256 4d66f16a798e9c89599c9d9ca42493a477d2c2d11cae3e5e1e7b6c3876bc953a SHA512 be94af9676f2559c959c213683ff23720798fe3fb8c5849e7d3422a89ab7de011bcd7eb90d7d480789461a8270ed6c2cbac6536f4ba5b5196472a73c1ac3ce73 WHIRLPOOL 53d7422959ba36b979d9b37333863479f811697f880f2e1c1861a1ff83a735364b265c32314e5ecc4a08e94f1478da3e74ed14112bc5a09b5c7b6b9e97385d4d
 DIST netbeans-trunk-nightly-201603170001-src.zip 210039061 SHA256 dbc6ec1a007e00802af0f2b09ce7f8bb66181329339adf912727f0faa8853489 SHA512 0999a494f2c6e93a4caca24c4e50291111fd73c874da130c7bd1a834509689381bc8f59794d5c6d9d6f67e1b8998b12b107efec9d1a19fa31486ad62863c94f1 WHIRLPOOL bf1472b80804371be9fb0ad8f35659c7ac372842b361175d87cc1f580786c8cb064e7aa8447a5957f32ed5aecf3bb0f9b5e89d4157b316e5294e4ff28d5fb9ef
 DIST netbeans-trunk-nightly-201603180001-src.zip 210042763 SHA256 28228314edea02fe1d6d07cb82cad7b1146635d7523ea5f52a1246f6b7d23de8 SHA512 687b12d299eea84a4b9acde9006304a9822686fecbf3df20ce2f18fa7008a42b4adb8bdcbc31d72abc3bb3a434a8b4ddc58377aa9ab1b53228c4a89a61d1ccad WHIRLPOOL 008d327accadf7ee64ff8b12f2d71ecad282bee6a0964815949bd5609b035cfae7be0d26e0b19d18d3a6997d5c7c9f508933f506f377d87cb7488402a8b59c67
+DIST netbeans-trunk-nightly-201603230001-src.zip 210048386 SHA256 4c00dfb9e00a18022cfbb6dfc856de70f76f608fa844dcc50fa0a86f897714ea SHA512 e228c048dd46da6810a92568e57f164d37e5845670013ca7eac8a6d9ba234f758a9691d75a78a9517f06052cc392a6ef5645d3e831cdc433af9534847b726e14 WHIRLPOOL dca834fa3054db92fcd19e69094764b9f95683b7a1a404b3965922df8495d6d0a01030646e1c17312b9a1645ea5c981e26ad2a8e65f53cce680e934093754375
 EBUILD netbeans-apisupport-8.0.2.ebuild 3314 SHA256 b68fe791f275fe4fcc8b00888688949b8927cb39db2cf9ad7860017c6d20adee SHA512 35c4bbcd34ec0eaef8a2de86c13333d2bf092db61af48558c3e173bb17dbf8fcd15001307bd7c498f4ccdbaa4277e1ee42ff0909af6170039165b547f646c383 WHIRLPOOL 206fe8d5f64e76827d3eb958a629ba087e8a16c2797752f5d9e62dff4166653677587a81be19e0a2c6adcf49292255d532e1f542c02550b1cf6ffd51467bde3c
 EBUILD netbeans-apisupport-8.1.ebuild 3338 SHA256 d249a09cd1a527bfc4f0dc87b1768aad9f05fc7fe7079fad0094c27d416d030c SHA512 47e5db58581625b23157ef7a7b6e340fce1327db85e015369ac32791178a0836af3348397ac6ff4439ab246170d3318c2062994c81019ff361084f00d432c9c8 WHIRLPOOL 8e379c9219b7730a15c10216bed00c3ec104f84b252d32da629f066095897398a4d8818e07cda5afdf94b115b97ead8de6a9529f38c81c1c41144067f119e54e
 EBUILD netbeans-apisupport-9999_p20160223.ebuild 3384 SHA256 5daddd74a5e1320640ad7a6cea09ffce0c25a669d6fc44f8352dca5ec286a155 SHA512 dd285243d5a43cf86b74914c9b5ff70ec0bd07977e9288244202f17d19092d47bf4724298c3e9e3c75d8b9c3ec6d99fbd1999226c91aeb2f09266eaea4fc8d1d WHIRLPOOL a9ce0642d90e2a2870d0992e7198f18a0cb8d1523efca5d553320be5ed4f9ae6c408f34200bf354ce577c14065f35de81ada7c22a1ae57872b496f2d9e8001da
@@ -44,4 +45,5 @@ EBUILD netbeans-apisupport-9999_p20160315.ebuild 3384 SHA256 eddc33cae34a58ddb64
 EBUILD netbeans-apisupport-9999_p20160316.ebuild 3384 SHA256 2b0dc286cd42bd6d61b58c51f737ea5b4e5a4d827948d0ef7b2b33768f2784a2 SHA512 098f86b858fdf6fe8434bc47f43be7a44191ca81cc8b0e435db1f2e8c22d12023d062b18805cff7bb7aa5ddfc86f7026a22b9569c0366a2a8ec99eaece6cbf1b WHIRLPOOL a2dda23b09b40a15495b2386be00aa1e747bc6692af8cf54421a0e58a17c557c354cd8a4bca2bfb92b2c8f5a48db0513ca5c527b5fd25162be9323d27a1d2f21
 EBUILD netbeans-apisupport-9999_p20160317.ebuild 3384 SHA256 1a071cabfe5f4815a401c0024b9c755e721528c6aa08e27f657003f61d43515b SHA512 ff5c867796d03be732d0e4877c2098c4c7287b7c140416b1f8e257492b5cab8c39eb355ccd28fbbe3cfcf1f0ccbf4b55d774608a76da8042d716f8a29ef5004e WHIRLPOOL 4b5ddeede7455c8163d340d95f40ebdc815bc64c26406b693991c731f56b512da3623b715727f7a517dce15d3a9292057cd3ff0f02d61fee60ad4b80365dfbf9
 EBUILD netbeans-apisupport-9999_p20160318.ebuild 3384 SHA256 a4bf2510eb7029190e63338a58d9527f53b1dbb65bcc9502b782df59d6faa157 SHA512 cb0795fdee3eded2db10d7da62009d0569315a15e2079520fee27077de26d576649c57345d93318837d4640dc3f095d0c8728a56c18bd0633b1540de64065495 WHIRLPOOL 0b04a21f24b2761b1c348053b0beefc87bb5d4151c91eeb9a348ef972e3a8e8671ec12e229437c8a62e708074844194759949964e74a4a57e05de8f72783d16c
+EBUILD netbeans-apisupport-9999_p20160323.ebuild 3384 SHA256 88eaedaad525293991e3452d337d3f9ccc7f53265450fd6ced94b3c7e4fc10f6 SHA512 6805198573b4ee320ff940bb6b1c0ee141053694593037a05ce6a497f1be71181a098b1bc99c7049297ca6b64bf126ecb427a856fa70e98370e15d2fde788df4 WHIRLPOOL d4811090e31e79712918c7ef184eecb13104eee5d1bd3b6927fdeff67fc28465eb9b8a77f39b3f6d7a911c21009a26ec8969c1fe890c1bae5bdd80a00f749bf7
 MISC metadata.xml 247 SHA256 8e0ccbf349cdd36adaaa8c3becadea9b65febd7868f27664ef7e70a1197765fe SHA512 1a68c1448a18938e13e6e39e718934a3e700b1d2ca708332d9cefd522d30049794b281c1cc8f788f1d0eb73c468a55b67a4bafbcf6e43317978d661d5d736faf WHIRLPOOL aaa66eab1db9d82717d76e5c65990f7f30e9527a6573006ebc43cc0edb05550ddce87e8e911ba7c7d67de863e6a191cc351b31fed299c4654a7b894f9eb13740

diff --git a/dev-java/netbeans-apisupport/netbeans-apisupport-9999_p20160323.ebuild b/dev-java/netbeans-apisupport/netbeans-apisupport-9999_p20160323.ebuild
new file mode 100644
index 0000000..ff822eb
--- /dev/null
+++ b/dev-java/netbeans-apisupport/netbeans-apisupport-9999_p20160323.ebuild
@@ -0,0 +1,111 @@
+# Copyright 1999-2016 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/2016-03-23_00-01-48/zip/netbeans-trunk-nightly-201603230001-src.zip"
+SRC_URI="${SOURCE_URL}
+	http://dev.gentoo.org/~fordfrog/distfiles/netbeans-9999-r15-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-r15-build.xml.patch.bz2
+}
+
+src_prepare() {
+	einfo "Deleting bundled class files..."
+	find -name "*.class" -type f | xargs rm -vf
+
+	epatch netbeans-9999-r15-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 7f9cdec..34de38f 100644
--- a/dev-java/netbeans-cnd/Manifest
+++ b/dev-java/netbeans-cnd/Manifest
@@ -1,5 +1,6 @@
 DIST 24C58A1D3C410AD3E23CD828871630C17068B238-cnd-build-trace-1.0.zip 28980 SHA256 205a14a41fb7232c2a20779278ee1e303e6d3dedb3c84496b370ae397a7767b5 SHA512 0e570745cfb163cb54ac8b6b0f6feb6c76e3c414f03eab213f93637dc84471c0bb5b786af096acdd6265383474bf26db763ebda066add398efe601e5749a51b9 WHIRLPOOL 2d0042e180eba66269d4ccdf6279dcd166b4a34947406b5f7279b0017ebed27b2ea95f1565e57908e3567b303fb69d2cb5ca6504653126611ced84f103650a0c
 DIST 2BCF2047382FB68A2F275677745C80E79B4046AB-cnd-rfs-1.0.zip 152701 SHA256 ee454c52dab7af01a0c292bbbd9bd5fa62e07480d4284a34e38746aba4bb501b SHA512 222ae7d6fc8a1f5610a107264fd249180a7a865094979dd5426fb266b94e1d24ef421199cdcb923ab58577c292a183863c45a1434b4dcb35bd67dbdcde945e54 WHIRLPOOL 821c0e5e9534955ee9b4200476fa1fe65b453520551cb71a71a225bb96ac69ba6c408e9d59b5df7008ec1b8d173035e76358172cf3ebafbbd50d0971db3a8983
+DIST 38DAC4EB409E96D3AABD4D3F5807505BB751C043-clank_0.3.6.zip 7448420 SHA256 a3bd876e500feb3f90b760e625f0be9a4962133758708ccacc4844b9add86aa3 SHA512 c220f6c592d29d2a9c5946de84d6bd8c76d2b9f6aa01405c13e5af44bf6c574a3ca221cd1f18d757f0501e91794128ed3681e783e7b997385a71bcd20c53ca6d WHIRLPOOL 7754189e7fef3578e8b6b56f8642db94d7e25ad6635abb25ad87e88dc2470279b21b53b72fb11de6ae1d6f6dfd813a68042e093b22a99235f10cefbf03129e4d
 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 688488BF9E65AC39749AF959A5653F536EDABACD-clank_0.3.6.zip 7548154 SHA256 a73d7132dd4975afde7deb961d686ba0e1db132537847883d640da218bc79ff1 SHA512 c49e4cdb65b050a682bdca47e4ccaedd68e2b37768f024ed6162e49821b7c98e94ebc533d59f3dcdc18f918de237aa261753d319cd274dd3b3c405f5e42b69bd WHIRLPOOL af9b669227ae611116b2d93740eac429be16b8ff78c312f848aeab4fca31a8b2e9ed5b96e976a81591f702e6636fc753ccc35118dbd1fb36cccc988fa076bf5e
@@ -36,6 +37,7 @@ DIST netbeans-trunk-nightly-201603150001-src.zip 210021503 SHA256 b0ea2aa58d93a6
 DIST netbeans-trunk-nightly-201603160001-src.zip 210026634 SHA256 4d66f16a798e9c89599c9d9ca42493a477d2c2d11cae3e5e1e7b6c3876bc953a SHA512 be94af9676f2559c959c213683ff23720798fe3fb8c5849e7d3422a89ab7de011bcd7eb90d7d480789461a8270ed6c2cbac6536f4ba5b5196472a73c1ac3ce73 WHIRLPOOL 53d7422959ba36b979d9b37333863479f811697f880f2e1c1861a1ff83a735364b265c32314e5ecc4a08e94f1478da3e74ed14112bc5a09b5c7b6b9e97385d4d
 DIST netbeans-trunk-nightly-201603170001-src.zip 210039061 SHA256 dbc6ec1a007e00802af0f2b09ce7f8bb66181329339adf912727f0faa8853489 SHA512 0999a494f2c6e93a4caca24c4e50291111fd73c874da130c7bd1a834509689381bc8f59794d5c6d9d6f67e1b8998b12b107efec9d1a19fa31486ad62863c94f1 WHIRLPOOL bf1472b80804371be9fb0ad8f35659c7ac372842b361175d87cc1f580786c8cb064e7aa8447a5957f32ed5aecf3bb0f9b5e89d4157b316e5294e4ff28d5fb9ef
 DIST netbeans-trunk-nightly-201603180001-src.zip 210042763 SHA256 28228314edea02fe1d6d07cb82cad7b1146635d7523ea5f52a1246f6b7d23de8 SHA512 687b12d299eea84a4b9acde9006304a9822686fecbf3df20ce2f18fa7008a42b4adb8bdcbc31d72abc3bb3a434a8b4ddc58377aa9ab1b53228c4a89a61d1ccad WHIRLPOOL 008d327accadf7ee64ff8b12f2d71ecad282bee6a0964815949bd5609b035cfae7be0d26e0b19d18d3a6997d5c7c9f508933f506f377d87cb7488402a8b59c67
+DIST netbeans-trunk-nightly-201603230001-src.zip 210048386 SHA256 4c00dfb9e00a18022cfbb6dfc856de70f76f608fa844dcc50fa0a86f897714ea SHA512 e228c048dd46da6810a92568e57f164d37e5845670013ca7eac8a6d9ba234f758a9691d75a78a9517f06052cc392a6ef5645d3e831cdc433af9534847b726e14 WHIRLPOOL dca834fa3054db92fcd19e69094764b9f95683b7a1a404b3965922df8495d6d0a01030646e1c17312b9a1645ea5c981e26ad2a8e65f53cce680e934093754375
 EBUILD netbeans-cnd-8.0.2.ebuild 4510 SHA256 0a9a4e58e28f395b5bcb017016b6ddb1b77afe393d0e5bd81cc05e3a32076c71 SHA512 2b1fedfe292fa140920fd11829e77127f9535e08b8307886accfa37e6d11195a1204e6b71b2640937da0711c3ce0bbf80c0eaa3c248a64fd61b6a3d99d5de14e WHIRLPOOL 10b1518360ade5d6f1f27c79a10f630b94a2ec5062e18df11f9828d4b374e6cbdea0b9f770e01c117ca90fa194dff9bd3be6a468075c2d35167fb78a7bb32794
 EBUILD netbeans-cnd-8.1.ebuild 4744 SHA256 e008e92761489558e039a07d4858b5a9745aa38c38c57668cba8b5f6a28dbd9b SHA512 724af3f292851fa1a04ccc95fe0a4f9d0fab5503ce31d2ff11be73779d67bd0f38835b334684f628f8eea2dde44543e6b872611b2bd6c01191ccfe26e69f4ec2 WHIRLPOOL 59ddd65a105dafeb8b783f457ec7a8c67a5a3aceb78ca60ac7c4f45f330b28b429ba6236a643ca0023189a9ebdb1ca0182ec0546943ec2494693859aa8f95515
 EBUILD netbeans-cnd-9999_p20160223.ebuild 4790 SHA256 bbeabbad72c5a0a2ca07c4c9c1d7573788751cc376176375df8de4e7aba4eeef SHA512 34848e0c3bfc54ab1a616d3a77b2d786eadd776a791cfce50c647535ad36e230635f6e8ebcb05d6c5e0a9d84256d76cbe39bb82a409827e27df64ca44a6e39d9 WHIRLPOOL a60479dfdea44d40d74e351b58f33322e921046a9e1a8a47e70b0df2739672a072e6d55f3a3ae7fe0de4a45edc528cd7381fc80142a1762e52687e23ef024aaf
@@ -57,4 +59,5 @@ EBUILD netbeans-cnd-9999_p20160315.ebuild 4790 SHA256 8c7be18ef04ffda9d3ba73a864
 EBUILD netbeans-cnd-9999_p20160316.ebuild 4790 SHA256 58fd8b3ccf7caf0f0e98d40c46498cbafbb4e3c3dc3c0069c59799689efef8b5 SHA512 a2a109f10d084aac30a7e6aa3d1c665fac9a3e14abf26f3b2bf8e00ec1bc405f54feca62c53e0e991516f380edd961e3832282364eb56f861c1d6b941df59cf4 WHIRLPOOL 60ba0bb3fa15ce41c46ea9df3e8bf766794269f3c48f658519abdcf5eaa2fa026e77f9a4b91151e79bf5991a39714b334b4c4cd45c939969a0c01f4aa20771ed
 EBUILD netbeans-cnd-9999_p20160317.ebuild 4790 SHA256 9033abd5562dc6e6da55eba4d73dce9eabf25b49f3da473e6eaefaaf203f261d SHA512 76aa042f77ef990617dbc9f4f719a2048dcfe32e5ea38ff4d17a0b7ea2c4dc8ff00ed0b5471f53882f0bbe4fc04980e8557dec6b1869b01cc7469ac0a9a9b39e WHIRLPOOL 1832ca113daa66150afdcd73c2af6b7dacb60b70ed298151ee13517dd4d2640a6b2607102573fbcbf50b7df30086ebaebef80aece1ffcdc014d5efe6a856cf32
 EBUILD netbeans-cnd-9999_p20160318.ebuild 4790 SHA256 df1601c74401f28b42e367cf55f93faf5c57eb1b342d5aaa47061dfac73b70cb SHA512 70848039871673c546e6956b30592628b91aa6510774f557a654cc06b0d09af69626573f3df68be91cbaa9de91c087a07fbff7370bace1dcec5731c5ec563a13 WHIRLPOOL 46de36701caf7f46ca010ca4890289d2dc74bbb6411194accf584ef68827f18bf92ef005fbf5f18abd51b36bbd0556635a933ab84d4fc2a47dfa21a9eac75c03
+EBUILD netbeans-cnd-9999_p20160323.ebuild 4790 SHA256 b45a5478c2329595bc11fe97e89a02d0732f5c8fd75a299292e29d7d5970a3f1 SHA512 cadb56df12a4544c795f56efe929e944c504d4a851144c0b959d7a8005a861186fbbc6fbb6fd05a7b6950af6a30224e3194bd1933a48baa2e36d785c4db6dd6c WHIRLPOOL 1b0368afa7fe0c42c52cd09eb2bfe698399cc0e749eddec1ad8924dfc1a7113de5e1f5329bb617b12064d232bbb55df232f0ffabe8793cb1f8bac7a83b827c1e
 MISC metadata.xml 247 SHA256 8e0ccbf349cdd36adaaa8c3becadea9b65febd7868f27664ef7e70a1197765fe SHA512 1a68c1448a18938e13e6e39e718934a3e700b1d2ca708332d9cefd522d30049794b281c1cc8f788f1d0eb73c468a55b67a4bafbcf6e43317978d661d5d736faf WHIRLPOOL aaa66eab1db9d82717d76e5c65990f7f30e9527a6573006ebc43cc0edb05550ddce87e8e911ba7c7d67de863e6a191cc351b31fed299c4654a7b894f9eb13740

diff --git a/dev-java/netbeans-cnd/netbeans-cnd-9999_p20160323.ebuild b/dev-java/netbeans-cnd/netbeans-cnd-9999_p20160323.ebuild
new file mode 100644
index 0000000..9b85ce8
--- /dev/null
+++ b/dev-java/netbeans-cnd/netbeans-cnd-9999_p20160323.ebuild
@@ -0,0 +1,127 @@
+# Copyright 1999-2016 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/2016-03-23_00-01-48/zip/netbeans-trunk-nightly-201603230001-src.zip"
+SRC_URI="${SOURCE_URL}
+	http://dev.gentoo.org/~fordfrog/distfiles/netbeans-9999-r15-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/38DAC4EB409E96D3AABD4D3F5807505BB751C043-clank_0.3.6.zip
+	http://hg.netbeans.org/binaries/BF2C234985CF9BD6CDE18114406C67EC7C32B84A-cnd-build-trace-1.0.zip
+	http://hg.netbeans.org/binaries/E59851B0E49C05D728D5C653E52750FA5B6A8F0E-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-r15-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}"/38DAC4EB409E96D3AABD4D3F5807505BB751C043-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}"/E59851B0E49C05D728D5C653E52750FA5B6A8F0E-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-r15-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.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-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 65f5a8d..3165cda 100644
--- a/dev-java/netbeans-dlight/Manifest
+++ b/dev-java/netbeans-dlight/Manifest
@@ -26,6 +26,7 @@ DIST netbeans-trunk-nightly-201603150001-src.zip 210021503 SHA256 b0ea2aa58d93a6
 DIST netbeans-trunk-nightly-201603160001-src.zip 210026634 SHA256 4d66f16a798e9c89599c9d9ca42493a477d2c2d11cae3e5e1e7b6c3876bc953a SHA512 be94af9676f2559c959c213683ff23720798fe3fb8c5849e7d3422a89ab7de011bcd7eb90d7d480789461a8270ed6c2cbac6536f4ba5b5196472a73c1ac3ce73 WHIRLPOOL 53d7422959ba36b979d9b37333863479f811697f880f2e1c1861a1ff83a735364b265c32314e5ecc4a08e94f1478da3e74ed14112bc5a09b5c7b6b9e97385d4d
 DIST netbeans-trunk-nightly-201603170001-src.zip 210039061 SHA256 dbc6ec1a007e00802af0f2b09ce7f8bb66181329339adf912727f0faa8853489 SHA512 0999a494f2c6e93a4caca24c4e50291111fd73c874da130c7bd1a834509689381bc8f59794d5c6d9d6f67e1b8998b12b107efec9d1a19fa31486ad62863c94f1 WHIRLPOOL bf1472b80804371be9fb0ad8f35659c7ac372842b361175d87cc1f580786c8cb064e7aa8447a5957f32ed5aecf3bb0f9b5e89d4157b316e5294e4ff28d5fb9ef
 DIST netbeans-trunk-nightly-201603180001-src.zip 210042763 SHA256 28228314edea02fe1d6d07cb82cad7b1146635d7523ea5f52a1246f6b7d23de8 SHA512 687b12d299eea84a4b9acde9006304a9822686fecbf3df20ce2f18fa7008a42b4adb8bdcbc31d72abc3bb3a434a8b4ddc58377aa9ab1b53228c4a89a61d1ccad WHIRLPOOL 008d327accadf7ee64ff8b12f2d71ecad282bee6a0964815949bd5609b035cfae7be0d26e0b19d18d3a6997d5c7c9f508933f506f377d87cb7488402a8b59c67
+DIST netbeans-trunk-nightly-201603230001-src.zip 210048386 SHA256 4c00dfb9e00a18022cfbb6dfc856de70f76f608fa844dcc50fa0a86f897714ea SHA512 e228c048dd46da6810a92568e57f164d37e5845670013ca7eac8a6d9ba234f758a9691d75a78a9517f06052cc392a6ef5645d3e831cdc433af9534847b726e14 WHIRLPOOL dca834fa3054db92fcd19e69094764b9f95683b7a1a404b3965922df8495d6d0a01030646e1c17312b9a1645ea5c981e26ad2a8e65f53cce680e934093754375
 EBUILD netbeans-dlight-8.0.2.ebuild 2898 SHA256 08402481b573b90396431be03bda45904b2dd29f0086e09a111fe362e310c3f7 SHA512 3f6d6c9ea0043382562fbe47ad16e3273032407a74cb44ec7ff26736f96483835af4be8674361e910912a550b9fe592cc5a28c2b93b6b993076553195c35eac5 WHIRLPOOL 9d8706ccbc0d97b0f5d64ebf22c36316b08d8fbccd57408119ca5f5faef08c7f82677bf67488ff611eabeaa730e4c9a730c50966d94d738cfe79330ac147863d
 EBUILD netbeans-dlight-8.1.ebuild 2922 SHA256 f003a099e3f82f5ab53dcc56d86c00a662c98f47480feacac2a77ffea90ccd0f SHA512 94706ac4d8570deb8860236300cfeddfb2c3cbfd385ecb438a039991deeb018f292f6dbb2267d7c701b7f1b5b88d200f2c25696fb3204fcf205c15155b26d1fc WHIRLPOOL 1e44f40c8e2c03b7aa7385ef20a3247ea15a4d4705ce4b5f860bffe236eb578ab3d912f2cc2457e5906158ae747edc3b6b92463336c69af9cd58eca3fccb223d
 EBUILD netbeans-dlight-9999_p20160223.ebuild 2968 SHA256 5c71a5d3b3984fdbcb1d2226f70acfb024f514090341bdb21320f294aa5f710c SHA512 53f8dd01002daef65a7aafaa1dcd8d16f5fa6e6679930eeea987fcfd0c1dd44eb1997eb4f765cb8a017eaf0549c27ceba876e9c3b25610ded868da8df1a2fb78 WHIRLPOOL ab9074b255f9e0041148f5a9d715a6ecff2ea3ce62b931f7eb588b3e71335c66ccd080bf01f8d14d3ad1608f790a3d47b61bef0bc1077ba4f3f667e538696bd0
@@ -47,4 +48,5 @@ EBUILD netbeans-dlight-9999_p20160315.ebuild 2968 SHA256 8a98e95657fb45aecde8544
 EBUILD netbeans-dlight-9999_p20160316.ebuild 2968 SHA256 6d1c43401d93014a97b07f85faa1713559797e52aa39c1d449039f93297d1cbe SHA512 31133f6dfe5ec0e2de41b93368499816cfdd6f105ea59cd860ce9dbd9564c4d086ff4589ee94234905ccb83e9831ee88bcc0a1c17a7bb1df7070549295ac8811 WHIRLPOOL f597bcd667d5b7aefb32bb74d6d667e877bfb34d239229fe6692f93f9da6fc3cc47ea7bbbf2991e870e5ad39e60409d2ec55b7a43cbf70086352160948b9970c
 EBUILD netbeans-dlight-9999_p20160317.ebuild 2968 SHA256 8915c4c2d0aa3cafe72d4b55c44cb6db5579e97f47717794c615b6df5343650f SHA512 ecda9c9ded00fbddd9da5b4e381783f10ef2b58e8b86e2128d6964c219539508bb80123291e91647cb65d33ebc4112117e1469390513db4429587067a9d79a42 WHIRLPOOL 8bfa9cd428c26c9e1c47a9b5363634f479671d2aebe3d3f42963ada537d467b57d1ba729a999c632a80170947bfe6fb811566db73c369c2326648b398622a79c
 EBUILD netbeans-dlight-9999_p20160318.ebuild 2968 SHA256 9fd185fed7b6965963c5b533347e7d63528235af613dadc2f348ab81cbfbe874 SHA512 bb1d6a4e63daaed2909179ba75375e7da5edc5ca73736166d2938af7094863d528eebdb197b8575abaf9578c10abc46be3d05d1b64973348db920568a7f30553 WHIRLPOOL 1f5ce94abe9a9202c8cfd11ffa6254e7b00ec3d4fd427436ed4aa3fb843fac6f70e98275f154fa4d78023805b73cbe67cee4135660e5f67f4ea9e925a4ce3770
+EBUILD netbeans-dlight-9999_p20160323.ebuild 2968 SHA256 91643a3d24626b8209a58899f272f0776f882d7e1330ed76fe83a2a72b985eaa SHA512 aefd98a2a7b88b6a4edca6876be5c83dab37c86312e16a7d7feccaf7ce956a08ff3e8381aa753a6fdef4c35937b69540076d07bf8e0cdc492b738caa7995920e WHIRLPOOL f135a3b61b8d03d2e466089c6d7abe5acde926a1dd60490d69257dc3142da7715bcb4143b59b14dec27fa7bb99ad10a2bae59db2a84f8950283d6a2460ddc111
 MISC metadata.xml 247 SHA256 8e0ccbf349cdd36adaaa8c3becadea9b65febd7868f27664ef7e70a1197765fe SHA512 1a68c1448a18938e13e6e39e718934a3e700b1d2ca708332d9cefd522d30049794b281c1cc8f788f1d0eb73c468a55b67a4bafbcf6e43317978d661d5d736faf WHIRLPOOL aaa66eab1db9d82717d76e5c65990f7f30e9527a6573006ebc43cc0edb05550ddce87e8e911ba7c7d67de863e6a191cc351b31fed299c4654a7b894f9eb13740

diff --git a/dev-java/netbeans-dlight/netbeans-dlight-9999_p20160323.ebuild b/dev-java/netbeans-dlight/netbeans-dlight-9999_p20160323.ebuild
new file mode 100644
index 0000000..3a32828
--- /dev/null
+++ b/dev-java/netbeans-dlight/netbeans-dlight-9999_p20160323.ebuild
@@ -0,0 +1,101 @@
+# Copyright 1999-2016 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/2016-03-23_00-01-48/zip/netbeans-trunk-nightly-201603230001-src.zip"
+SRC_URI="${SOURCE_URL}
+	http://dev.gentoo.org/~fordfrog/distfiles/netbeans-9999-r15-build.xml.patch.bz2
+	http://hg.netbeans.org/binaries/0F89C62CA701D20BA9A9A526D4D017888C3B5A65-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-r15-build.xml.patch.bz2
+
+	pushd "${S}" >/dev/null || die
+	ln -s "${DISTDIR}"/0F89C62CA701D20BA9A9A526D4D017888C3B5A65-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-r15-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 25ab488..4f8fcfe 100644
--- a/dev-java/netbeans-enterprise/Manifest
+++ b/dev-java/netbeans-enterprise/Manifest
@@ -55,6 +55,7 @@ DIST netbeans-trunk-nightly-201603150001-src.zip 210021503 SHA256 b0ea2aa58d93a6
 DIST netbeans-trunk-nightly-201603160001-src.zip 210026634 SHA256 4d66f16a798e9c89599c9d9ca42493a477d2c2d11cae3e5e1e7b6c3876bc953a SHA512 be94af9676f2559c959c213683ff23720798fe3fb8c5849e7d3422a89ab7de011bcd7eb90d7d480789461a8270ed6c2cbac6536f4ba5b5196472a73c1ac3ce73 WHIRLPOOL 53d7422959ba36b979d9b37333863479f811697f880f2e1c1861a1ff83a735364b265c32314e5ecc4a08e94f1478da3e74ed14112bc5a09b5c7b6b9e97385d4d
 DIST netbeans-trunk-nightly-201603170001-src.zip 210039061 SHA256 dbc6ec1a007e00802af0f2b09ce7f8bb66181329339adf912727f0faa8853489 SHA512 0999a494f2c6e93a4caca24c4e50291111fd73c874da130c7bd1a834509689381bc8f59794d5c6d9d6f67e1b8998b12b107efec9d1a19fa31486ad62863c94f1 WHIRLPOOL bf1472b80804371be9fb0ad8f35659c7ac372842b361175d87cc1f580786c8cb064e7aa8447a5957f32ed5aecf3bb0f9b5e89d4157b316e5294e4ff28d5fb9ef
 DIST netbeans-trunk-nightly-201603180001-src.zip 210042763 SHA256 28228314edea02fe1d6d07cb82cad7b1146635d7523ea5f52a1246f6b7d23de8 SHA512 687b12d299eea84a4b9acde9006304a9822686fecbf3df20ce2f18fa7008a42b4adb8bdcbc31d72abc3bb3a434a8b4ddc58377aa9ab1b53228c4a89a61d1ccad WHIRLPOOL 008d327accadf7ee64ff8b12f2d71ecad282bee6a0964815949bd5609b035cfae7be0d26e0b19d18d3a6997d5c7c9f508933f506f377d87cb7488402a8b59c67
+DIST netbeans-trunk-nightly-201603230001-src.zip 210048386 SHA256 4c00dfb9e00a18022cfbb6dfc856de70f76f608fa844dcc50fa0a86f897714ea SHA512 e228c048dd46da6810a92568e57f164d37e5845670013ca7eac8a6d9ba234f758a9691d75a78a9517f06052cc392a6ef5645d3e831cdc433af9534847b726e14 WHIRLPOOL dca834fa3054db92fcd19e69094764b9f95683b7a1a404b3965922df8495d6d0a01030646e1c17312b9a1645ea5c981e26ad2a8e65f53cce680e934093754375
 EBUILD netbeans-enterprise-8.0.2-r1.ebuild 15075 SHA256 41d376117ad1d8d59c8194debfd29dc42f5fd4de70aee12a2134ec143a604dda SHA512 4cd9de88e9a401cc0be88e3e2605abc411c47307818376b2bcc00f9ae570b21324f2bf00fd83e819bfa076da0fb07811fa1f0f9362a6cd0ee05b63221a199000 WHIRLPOOL 73f4518c14430fe7aa3614ebf1b11a06ba0e9bce7479af2770db3a114f149d575a16a655218f757ed416b5149228ac56dac700f5a8d5e034cc838bfa4092e636
 EBUILD netbeans-enterprise-8.1-r1.ebuild 15888 SHA256 d4c04ccfee01a46819020cb7cf8fd8297618f3c0431ae2d9dd7eec8131f988ab SHA512 6c7c39c378cb79d3f382cb80d07710a8c5233aaf0df8fb58889ee6aa6bde73624efa6aa49b43f84105685094a7aff89e4b6367ffd1fd113da27b42d50d07e983 WHIRLPOOL e678e2a6957e428c1b6e51469c0e7cc6a08da2c797f1575b6bb660a7f3281c00f071179de459e27c983304915b005baaf94ad4fae0a4c08162f218bf53b7d821
 EBUILD netbeans-enterprise-9999_p20160223.ebuild 15825 SHA256 31e2790d5ab2f3cf60e63f961bd691819376197b39ad8280589d7002d2f2faea SHA512 93513a9390f16e5748fd9b51a219f9c7200206fcf3c4f2f40707549350b85a1af11151fdcd7d51cd97dfe27f4d2f9d92da6226bb3dedc23cfb9dd01bb1a45b33 WHIRLPOOL 9aebe0834717768a3f2f140c3b6af9d1c1d59036775f1ee27803b6db5ed3a863b6b1752b5c3a59cde27117ce5c0e09e6d74c4c4deeaae4ec243ecce328a8aced
@@ -76,4 +77,5 @@ EBUILD netbeans-enterprise-9999_p20160315.ebuild 15825 SHA256 c9504a69cabdb1d947
 EBUILD netbeans-enterprise-9999_p20160316.ebuild 15825 SHA256 ff3f2c1a3e30aacaa3dd133f1c183b74df10890d54405aa05ebd3cd34d225c18 SHA512 34ff07b9414e699db1871da94a0cdbb8b951e5bac8eb40ba4ffbd9fdef6715a93f20df4a8953b961a8e48cf579b58f93c62314b1c9a33511f62fdec9dab1033a WHIRLPOOL d44ee053465e092d53349137252e1d06cf82a6964cbb9b018ea819702cd17fc788fb7f602f94a844abc87e99abd24445a4bd23d5051526431ce47bafcc7aad2e
 EBUILD netbeans-enterprise-9999_p20160317.ebuild 15825 SHA256 4f2fa626c07ffeb3e1cb40e3c5c4087e30a16d842b8d7394568074bad37f1327 SHA512 2d75b7ae04cde94528f22e67661621f6a2128d9ac4cab2666f7d8b7dbb67c543202d391fec60587cf41b7c4ba77df7d223b0e63581606fda4fd9a74d2b284860 WHIRLPOOL 4957421c384f39bf9068af973a6b633d8293836ae3fafe4dc048cf0967f77d5445682591e9bc2e627230e8af559aa32ed250e3d86d065b17dc44c0683befc259
 EBUILD netbeans-enterprise-9999_p20160318.ebuild 15825 SHA256 e1153728673703675acd0655006d6d4414c130d47d1ef48ba3aa282e12ad2db4 SHA512 1f78c2496cbd01ea5ce4a06d626d978228ef75895508d4e88b7a3410a5ad1c2771ed53e81598a94e7adecb8744649d3314d8c5b0dbc05d274e7fb2eeac7ebf6c WHIRLPOOL 4acc2564cb3d2b6f2639000a673e83ca8830482dbfecf4b88db28a617d636b1b05faf45aa1760e82aa3fe4eb56cc07015ed22e7924fb8065391e7de3341f4a05
+EBUILD netbeans-enterprise-9999_p20160323.ebuild 15825 SHA256 ff658282faaf219891dbf9a1c2d95320f26a084fe1b38d123a7154c54eca36e7 SHA512 cf018a3be15ed0a97f6d5c8b1be2155085c57cefb65853013c25e7b94fde6ffc4dbcf016a50a40712b8b41f5f57786a9017f4d1f53ea1ab400775e986c8270bf WHIRLPOOL 0a1e3d705a21e2ab915cdfef89f8f362cd220540130a1019116f7c31d0861c2de2dc0089679243fa5289151fa57208aeb9733e8a906c25cce621695fee0b31a8
 MISC metadata.xml 247 SHA256 8e0ccbf349cdd36adaaa8c3becadea9b65febd7868f27664ef7e70a1197765fe SHA512 1a68c1448a18938e13e6e39e718934a3e700b1d2ca708332d9cefd522d30049794b281c1cc8f788f1d0eb73c468a55b67a4bafbcf6e43317978d661d5d736faf WHIRLPOOL aaa66eab1db9d82717d76e5c65990f7f30e9527a6573006ebc43cc0edb05550ddce87e8e911ba7c7d67de863e6a191cc351b31fed299c4654a7b894f9eb13740

diff --git a/dev-java/netbeans-enterprise/netbeans-enterprise-9999_p20160323.ebuild b/dev-java/netbeans-enterprise/netbeans-enterprise-9999_p20160323.ebuild
new file mode 100644
index 0000000..dc3b6af
--- /dev/null
+++ b/dev-java/netbeans-enterprise/netbeans-enterprise-9999_p20160323.ebuild
@@ -0,0 +1,266 @@
+# Copyright 1999-2016 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/2016-03-23_00-01-48/zip/netbeans-trunk-nightly-201603230001-src.zip"
+SRC_URI="${SOURCE_URL}
+	http://dev.gentoo.org/~fordfrog/distfiles/netbeans-9999-r15-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
+	dev-java/jsr181:0"
+DEPEND=">=virtual/jdk-1.7
+	app-arch/unzip
+	${CDEPEND}
+	dev-java/javahelp:0
+	>=dev-java/junit-4.4:4
+	dev-java/tomcat-servlet-api:2.3"
+RDEPEND=">=virtual/jdk-1.7
+	${CDEPEND}
+	>=dev-java/antlr-2.7.7-r7:0
+	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-r15-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-r15-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 --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="${D}"/${INSTALL_DIR}/modules/ext
+	pushd "${instdir}" >/dev/null || die
+	rm commons-fileupload-1.3.jar && java-pkg_jar-from --into "${instdir}" commons-fileupload commons-fileupload.jar commons-fileupload-1.3.jar
+	rm jsr88javax.jar && java-pkg_jar-from --into "${instdir}" glassfish-deployment-api-1.2 glassfish-deployment-api.jar jsr88javax.jar
+	popd >/dev/null || die
+
+	local instdir="${D}"/${INSTALL_DIR}/modules/ext/aws-sdk
+	pushd "${instdir}" >/dev/null || die
+	rm commons-codec-1.3.jar && java-pkg_jar-from --into "${instdir}" commons-codec commons-codec.jar commons-codec-1.3.jar
+	rm commons-logging-1.1.1.jar && java-pkg_jar-from --into "${instdir}" commons-logging commons-logging.jar commons-logging-1.1.1.jar
+	popd >/dev/null || die
+
+	local instdir="${D}"/${INSTALL_DIR}/modules/ext/javaee7-endorsed
+	pushd "${instdir}" >/dev/null || die
+	rm jsr181-api.jar && java-pkg_jar-from --into "${instdir}" jsr181 jsr181.jar jsr181-api.jar
+	popd >/dev/null || die
+
+	local instdir="${D}"/${INSTALL_DIR}/modules/ext/jersey2/ext
+	pushd "${instdir}" >/dev/null || die
+	rm cglib-2.2.0-b21.jar && java-pkg_jar-from --into "${instdir}" cglib-3 cglib.jar cglib-2.2.0-b21.jar
+	rm guava-14.0.1.jar && java-pkg_jar-from --into "${instdir}" guava-14 guava.jar guava-14.0.1.jar
+	rm org.osgi.core-4.2.0.jar && java-pkg_jar-from --into "${instdir}" osgi-core-api osgi-core-api.jar org.osgi.core-4.2.0.jar
+	rm persistence-api-1.0.jar && java-pkg_jar-from --into "${instdir}" glassfish-persistence glassfish-persistence.jar persistence-api-1.0.jar
+	rm validation-api-1.1.0.Final.jar && java-pkg_jar-from --into "${instdir}" validation-api-1.0 validation-api.jar validation-api-1.1.0.Final.jar
+	popd >/dev/null || die
+
+	local instdir="${D}"/${INSTALL_DIR}/modules/ext/jsf-1_2
+	pushd "${instdir}" >/dev/null || die
+	rm commons-beanutils.jar && java-pkg_jar-from --into "${instdir}" commons-beanutils-1.7 commons-beanutils.jar
+	rm commons-collections.jar && java-pkg_jar-from --into "${instdir}" commons-collections commons-collections.jar
+	rm commons-digester.jar && java-pkg_jar-from --into "${instdir}" commons-digester commons-digester.jar
+	rm commons-logging.jar && java-pkg_jar-from --into "${instdir}" commons-logging commons-logging.jar
+	popd >/dev/null || die
+
+	local instdir="${D}"/${INSTALL_DIR}/modules/ext/struts
+	pushd "${instdir}" >/dev/null || die
+	rm antlr-2.7.2.jar && java-pkg_jar-from --into "${instdir}" antlr antlr.jar antlr-2.7.2.jar
+	rm bsf-2.3.0.jar && java-pkg_jar-from --into "${instdir}" bsf-2.3 bsf.jar bsf-2.3.0.jar
+	rm commons-beanutils-1.8.0.jar && java-pkg_jar-from --into "${instdir}" commons-beanutils-1.7 commons-beanutils.jar commons-beanutils-1.8.0.jar
+	rm commons-digester-1.8.jar && java-pkg_jar-from --into "${instdir}" commons-digester commons-digester.jar commons-digester-1.8.jar
+	rm commons-fileupload-1.1.1.jar && java-pkg_jar-from --into "${instdir}" commons-fileupload commons-fileupload.jar commons-fileupload-1.1.1.jar
+	rm commons-io-1.1.jar && java-pkg_jar-from --into "${instdir}" commons-io-1 commons-io.jar commons-io-1.1.jar
+	rm commons-logging-1.0.4.jar && java-pkg_jar-from --into "${instdir}" commons-logging commons-logging.jar commons-logging-1.0.4.jar
+	rm commons-validator-1.3.1.jar && java-pkg_jar-from --into "${instdir}" commons-validator commons-validator.jar commons-validator-1.3.1.jar
+	rm oro-2.0.8.jar && java-pkg_jar-from --into "${instdir}" jakarta-oro-2.0 jakarta-oro.jar oro-2.0.8.jar
+	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 abcf252..d8c0ceb 100644
--- a/dev-java/netbeans-ergonomics/Manifest
+++ b/dev-java/netbeans-ergonomics/Manifest
@@ -23,6 +23,7 @@ DIST netbeans-trunk-nightly-201603150001-src.zip 210021503 SHA256 b0ea2aa58d93a6
 DIST netbeans-trunk-nightly-201603160001-src.zip 210026634 SHA256 4d66f16a798e9c89599c9d9ca42493a477d2c2d11cae3e5e1e7b6c3876bc953a SHA512 be94af9676f2559c959c213683ff23720798fe3fb8c5849e7d3422a89ab7de011bcd7eb90d7d480789461a8270ed6c2cbac6536f4ba5b5196472a73c1ac3ce73 WHIRLPOOL 53d7422959ba36b979d9b37333863479f811697f880f2e1c1861a1ff83a735364b265c32314e5ecc4a08e94f1478da3e74ed14112bc5a09b5c7b6b9e97385d4d
 DIST netbeans-trunk-nightly-201603170001-src.zip 210039061 SHA256 dbc6ec1a007e00802af0f2b09ce7f8bb66181329339adf912727f0faa8853489 SHA512 0999a494f2c6e93a4caca24c4e50291111fd73c874da130c7bd1a834509689381bc8f59794d5c6d9d6f67e1b8998b12b107efec9d1a19fa31486ad62863c94f1 WHIRLPOOL bf1472b80804371be9fb0ad8f35659c7ac372842b361175d87cc1f580786c8cb064e7aa8447a5957f32ed5aecf3bb0f9b5e89d4157b316e5294e4ff28d5fb9ef
 DIST netbeans-trunk-nightly-201603180001-src.zip 210042763 SHA256 28228314edea02fe1d6d07cb82cad7b1146635d7523ea5f52a1246f6b7d23de8 SHA512 687b12d299eea84a4b9acde9006304a9822686fecbf3df20ce2f18fa7008a42b4adb8bdcbc31d72abc3bb3a434a8b4ddc58377aa9ab1b53228c4a89a61d1ccad WHIRLPOOL 008d327accadf7ee64ff8b12f2d71ecad282bee6a0964815949bd5609b035cfae7be0d26e0b19d18d3a6997d5c7c9f508933f506f377d87cb7488402a8b59c67
+DIST netbeans-trunk-nightly-201603230001-src.zip 210048386 SHA256 4c00dfb9e00a18022cfbb6dfc856de70f76f608fa844dcc50fa0a86f897714ea SHA512 e228c048dd46da6810a92568e57f164d37e5845670013ca7eac8a6d9ba234f758a9691d75a78a9517f06052cc392a6ef5645d3e831cdc433af9534847b726e14 WHIRLPOOL dca834fa3054db92fcd19e69094764b9f95683b7a1a404b3965922df8495d6d0a01030646e1c17312b9a1645ea5c981e26ad2a8e65f53cce680e934093754375
 EBUILD netbeans-ergonomics-8.0.2.ebuild 2843 SHA256 f9262f6ee7f2aed1fab9bf4cf756f565272e9894afa50b349735e39961e7acc3 SHA512 f158c27640541f7aef31da050e0811c07a251ae4797cc663b95a074a47eaf9d6bb7a9aa11ba38ea55e75c185f7dba74629ba6716a819e8ad68eb3db9ada71451 WHIRLPOOL 4fe9634fb673fb05dbba25996efc3a212ef3bb23ab6e7c732cb75de076feb930735e3901806fd9c801abc7ee8aa8eb800718065325d415371255a886474061d4
 EBUILD netbeans-ergonomics-8.1.ebuild 2867 SHA256 6d2c0b7221d47b64c77b243c8c5232c6d8c24d3199eae5799adafeac609b2e2a SHA512 6302c8c13d43ec51048e8b0439916746a01bb67f14e7cd21be95b4179df6106dcff1d3973b9191f7a36cf6f29d53b1d2308864f5f64d9f87f980ea264b1a97c0 WHIRLPOOL 63ceaad04323d9085dfb90d1e5075ad13f6e14e8991b13aafaf3fc174440152054f32498ac8d03f57917744887db3bc1efdfc30b473b8d1a33b514ec4960ea6f
 EBUILD netbeans-ergonomics-9999_p20160223.ebuild 2913 SHA256 6ff5f86044c351beff5dcefb88b1789dd0e92ce6202a958ee0e3e8bdc63604b8 SHA512 4a9c5cb7f7b45be903cc9005bd179dd7ac402f444669d0297cce4c4d5cacdab0e34db98a75795e29ec80a3b451607f0ef093e3bb58af8293a86caf6b876ca1a1 WHIRLPOOL be19765e738e8cee8298eb87efbe40dc3e037f6d1814a605e339dcdc4b4109cc20156c55b117c8b0cdc3532e2347b78d428729c87427bf1aba2559dc2bf10adf
@@ -44,4 +45,5 @@ EBUILD netbeans-ergonomics-9999_p20160315.ebuild 2913 SHA256 7c08e624e7790cb90d4
 EBUILD netbeans-ergonomics-9999_p20160316.ebuild 2913 SHA256 fdd9d8564ee09ebcd6aadeb102f6db8f94206447b889a60236738f393712e3dd SHA512 0831595349999afa3568bbb2f7b523feebc4506836e6c9d050fed54af42eb4df04754d8389905c5d6bdfd11acdf305a3750c6e0f4aed8c3ed1820101a20630e7 WHIRLPOOL 3ea7aeca83746382a8445d95828486a0f439f8fd9c0094b96f1894ade992dff28f530a2be0b9a55b797dc8615d57e19e73530c192c7d10e70112b49a076bb292
 EBUILD netbeans-ergonomics-9999_p20160317.ebuild 2913 SHA256 52f165b1a959e0d0d1d49ed05825bb48851c8c61a2003b0373dacadd8a7a7dfc SHA512 f18c58e496bc0d2cc1865f3771e1ea33253758624bea93016092a4f8eae3c88df25530ce39624ef3b803ece62afe5ded9ff302c70c5dc6ac8945528b5c5e787c WHIRLPOOL c04d952c243d0e0be48d70d4fa92ad8cbb36e8191d44cf49ae0ec3f8228c71d3f691761bb2dd0539ca6ef3da79807247c439a645fd0102a9b07fb5cf034edd4d
 EBUILD netbeans-ergonomics-9999_p20160318.ebuild 2913 SHA256 2edf1ef963b14ced4503f9a90d5f984ea8c5b09124f46072ace319e2e6ca9f99 SHA512 8fff57c0c944ea948b82f2a64d01095259079e754baa5ce65fb4d3284981d2c57f2778537b4af4c7978137259bda90f332bde95106397f28827533d74967386f WHIRLPOOL 0f4a9588486f1661b795fca54479ecc9cadcb371712af38ad56473b5d7f1739c90fb532e7758a8b5085d1777ab4f422b255077dbe435f563f9564c0ae6b426e8
+EBUILD netbeans-ergonomics-9999_p20160323.ebuild 2913 SHA256 bed218767277e7c09f35753e37f5d6bc3eb7b6472d0ab86ff0b6a6dcb1bc3b3d SHA512 69840a6b0971ad77db60bfb34b59b3b33d355a1e98c8eac6d887429ae3cff4fa75521055f458cc47c9c35210e28ffafa6712634300ac626d4620939c97dcfa96 WHIRLPOOL d3cc043d84e34937ecb38ff653caeb817d26226b9c972d17d4e7e0723fd48a6e7e288e7dbfd07b42a53e8df4b86aeeb59d302e3d205013842f07b3a9922aabe9
 MISC metadata.xml 247 SHA256 8e0ccbf349cdd36adaaa8c3becadea9b65febd7868f27664ef7e70a1197765fe SHA512 1a68c1448a18938e13e6e39e718934a3e700b1d2ca708332d9cefd522d30049794b281c1cc8f788f1d0eb73c468a55b67a4bafbcf6e43317978d661d5d736faf WHIRLPOOL aaa66eab1db9d82717d76e5c65990f7f30e9527a6573006ebc43cc0edb05550ddce87e8e911ba7c7d67de863e6a191cc351b31fed299c4654a7b894f9eb13740

diff --git a/dev-java/netbeans-ergonomics/netbeans-ergonomics-9999_p20160323.ebuild b/dev-java/netbeans-ergonomics/netbeans-ergonomics-9999_p20160323.ebuild
new file mode 100644
index 0000000..77bc013
--- /dev/null
+++ b/dev-java/netbeans-ergonomics/netbeans-ergonomics-9999_p20160323.ebuild
@@ -0,0 +1,101 @@
+# Copyright 1999-2016 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/2016-03-23_00-01-48/zip/netbeans-trunk-nightly-201603230001-src.zip"
+SRC_URI="${SOURCE_URL}
+	http://dev.gentoo.org/~fordfrog/distfiles/netbeans-9999-r15-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-r15-build.xml.patch.bz2
+}
+
+src_prepare() {
+	einfo "Deleting bundled class files..."
+	find -name "*.class" -type f | xargs rm -vf
+
+	epatch netbeans-9999-r15-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 ac86f30..6f9be47 100644
--- a/dev-java/netbeans-extide/Manifest
+++ b/dev-java/netbeans-extide/Manifest
@@ -25,6 +25,7 @@ DIST netbeans-trunk-nightly-201603150001-src.zip 210021503 SHA256 b0ea2aa58d93a6
 DIST netbeans-trunk-nightly-201603160001-src.zip 210026634 SHA256 4d66f16a798e9c89599c9d9ca42493a477d2c2d11cae3e5e1e7b6c3876bc953a SHA512 be94af9676f2559c959c213683ff23720798fe3fb8c5849e7d3422a89ab7de011bcd7eb90d7d480789461a8270ed6c2cbac6536f4ba5b5196472a73c1ac3ce73 WHIRLPOOL 53d7422959ba36b979d9b37333863479f811697f880f2e1c1861a1ff83a735364b265c32314e5ecc4a08e94f1478da3e74ed14112bc5a09b5c7b6b9e97385d4d
 DIST netbeans-trunk-nightly-201603170001-src.zip 210039061 SHA256 dbc6ec1a007e00802af0f2b09ce7f8bb66181329339adf912727f0faa8853489 SHA512 0999a494f2c6e93a4caca24c4e50291111fd73c874da130c7bd1a834509689381bc8f59794d5c6d9d6f67e1b8998b12b107efec9d1a19fa31486ad62863c94f1 WHIRLPOOL bf1472b80804371be9fb0ad8f35659c7ac372842b361175d87cc1f580786c8cb064e7aa8447a5957f32ed5aecf3bb0f9b5e89d4157b316e5294e4ff28d5fb9ef
 DIST netbeans-trunk-nightly-201603180001-src.zip 210042763 SHA256 28228314edea02fe1d6d07cb82cad7b1146635d7523ea5f52a1246f6b7d23de8 SHA512 687b12d299eea84a4b9acde9006304a9822686fecbf3df20ce2f18fa7008a42b4adb8bdcbc31d72abc3bb3a434a8b4ddc58377aa9ab1b53228c4a89a61d1ccad WHIRLPOOL 008d327accadf7ee64ff8b12f2d71ecad282bee6a0964815949bd5609b035cfae7be0d26e0b19d18d3a6997d5c7c9f508933f506f377d87cb7488402a8b59c67
+DIST netbeans-trunk-nightly-201603230001-src.zip 210048386 SHA256 4c00dfb9e00a18022cfbb6dfc856de70f76f608fa844dcc50fa0a86f897714ea SHA512 e228c048dd46da6810a92568e57f164d37e5845670013ca7eac8a6d9ba234f758a9691d75a78a9517f06052cc392a6ef5645d3e831cdc433af9534847b726e14 WHIRLPOOL dca834fa3054db92fcd19e69094764b9f95683b7a1a404b3965922df8495d6d0a01030646e1c17312b9a1645ea5c981e26ad2a8e65f53cce680e934093754375
 EBUILD netbeans-extide-8.0.2.ebuild 3307 SHA256 084e952eae1708b0fab785fd34313985e864dbc74a8531a0d5cdcf906e88f85a SHA512 ade8dc37aa932d7ec20966199e521311716061c23df08d02635f78efd2776f1d7bf040b0f9c9488b947bbbdfb3e33fa764723e3dfffa2214892bc6d685428f6f WHIRLPOOL ad2c26b005675ebca7d902ff1e6caa28552f3fda6795e327cc3584cf109f0ad6efad6516e15af5e70d689be236298b0948003e09a3da4991b3e29a1c85607b2f
 EBUILD netbeans-extide-8.1.ebuild 3331 SHA256 7d81adb3cba102e13678052bfe288e8417753ebceb69f69ce528ede3fedcef04 SHA512 ae445552036799069f31b40c145879ac55cf0964e168f328ac84f2d434171de8c4848e3416ad7425563e8565c09f798c9520bb3cb7511348f5d6a7522b878e40 WHIRLPOOL 44142233d4d3047ebb5c152992b484e5fef1fddd04cf274cc370f00beece5a75a986e5fadedd4bc18a01559c4f6cb58289cefbfc24d8d098d70056707e8b8f57
 EBUILD netbeans-extide-9999_p20160223.ebuild 3377 SHA256 d0c25e373788ffe46d79bae6d6d94588c767d48b9c37935cdfe8f5bed5ca93aa SHA512 4341073759bda3e69ca842de17b00235cd105a358a5a9c13386ef5aef3592dd632c5ccd0414bacead5537b065782ce1d4ac68ceef9f90ce63d46489aab7e3a76 WHIRLPOOL 383677b45d93edf0de469d73b148a9a24e9f02d2aec19a838065de72ea3199acbfa9af986f7e8d5600c422c7c2cff0b56edd065693c9e2d456a6e86b7e3e827f
@@ -46,4 +47,5 @@ EBUILD netbeans-extide-9999_p20160315.ebuild 3377 SHA256 858ca1db2453181db8451fc
 EBUILD netbeans-extide-9999_p20160316.ebuild 3377 SHA256 109463728e454d659cadbc7e828810a2951775ad95e0c80543a1498a28f561ed SHA512 9aea6ebe66ec5d55402b53019829fca6e22b6d6c0ebcd91d967d487c7c8966cb37214b601ac3955f1760de121fc6d20aeb253d97aa477c7f800b7df04a6544fb WHIRLPOOL f492f5a70706a9187931fc3c989de8cae35035e63475ac924c7747238f0466d54865fa721da064d210cf5acaa4f3422db3f0f7a1980a03f6317e4ffe65ba0691
 EBUILD netbeans-extide-9999_p20160317.ebuild 3377 SHA256 f68c3456143ad28df02562514720a6baedeb7fa67223e43a979e937c1510bb8b SHA512 4ef90f0dac9ed68e2c071a3c75fec783434c6e506ae8a92e4e332725b11e063585e1ba983435ce2f526baaa42f37f777059eb79979700bfbed00352b860d3ea9 WHIRLPOOL e1db60ffa1dfb73e9c2b24c202bbe23ba0c10285c0d8cd76d9b717d0f3668cc229e4c8cce99bc8107473640d00c1fd550d5e73af140148ca6650e6d0c7e045d6
 EBUILD netbeans-extide-9999_p20160318.ebuild 3377 SHA256 b9a02da0791616ec505c1c2a2db90dbb61f96e916b13e1dca95935492bec7a9f SHA512 e49d40d1d4c10171f864b175ced60552d0840c8b226579d682d9b404b53532715a3541a1bcdf91f57b8e5cf9ee97201b2ee7e5a07dcfaf5f8601fc746402e4e2 WHIRLPOOL 9892c5c4d6c2729f6454912e48b1e42c0bcb4ca3aaa5693ecdb5ef2a31ee71e89de42093998a7e2523106e5eb5052715d559226c72c4decfe08da22bcf28c14b
+EBUILD netbeans-extide-9999_p20160323.ebuild 3377 SHA256 c583f98fb3dddfe84291425cc2475a5799f010089c83c7da06391d114fd87f58 SHA512 7ba61d1c8cf405daaf3da17d5a1f28c922c904852482e54c320281b78dc10f4c6531f0335d548fb563353aac976ca165b1603ceec24a54b773bb8d5408e3f513 WHIRLPOOL 95cfb50e92e1f654f70445a46b139385e716b2d170f6ddd1eb4e8f6aa724f1c9740dcac9d0f581165d41b8fe37e7f21366afb33b69386daeca4848721b41826c
 MISC metadata.xml 247 SHA256 8e0ccbf349cdd36adaaa8c3becadea9b65febd7868f27664ef7e70a1197765fe SHA512 1a68c1448a18938e13e6e39e718934a3e700b1d2ca708332d9cefd522d30049794b281c1cc8f788f1d0eb73c468a55b67a4bafbcf6e43317978d661d5d736faf WHIRLPOOL aaa66eab1db9d82717d76e5c65990f7f30e9527a6573006ebc43cc0edb05550ddce87e8e911ba7c7d67de863e6a191cc351b31fed299c4654a7b894f9eb13740

diff --git a/dev-java/netbeans-extide/netbeans-extide-9999_p20160323.ebuild b/dev-java/netbeans-extide/netbeans-extide-9999_p20160323.ebuild
new file mode 100644
index 0000000..d0e0195
--- /dev/null
+++ b/dev-java/netbeans-extide/netbeans-extide-9999_p20160323.ebuild
@@ -0,0 +1,108 @@
+# Copyright 1999-2016 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/2016-03-23_00-01-48/zip/netbeans-trunk-nightly-201603230001-src.zip"
+SRC_URI="${SOURCE_URL}
+	http://dev.gentoo.org/~fordfrog/distfiles/netbeans-9999-r15-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-r15-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-r15-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 0525036..6021581 100644
--- a/dev-java/netbeans-groovy/Manifest
+++ b/dev-java/netbeans-groovy/Manifest
@@ -25,6 +25,7 @@ DIST netbeans-trunk-nightly-201603150001-src.zip 210021503 SHA256 b0ea2aa58d93a6
 DIST netbeans-trunk-nightly-201603160001-src.zip 210026634 SHA256 4d66f16a798e9c89599c9d9ca42493a477d2c2d11cae3e5e1e7b6c3876bc953a SHA512 be94af9676f2559c959c213683ff23720798fe3fb8c5849e7d3422a89ab7de011bcd7eb90d7d480789461a8270ed6c2cbac6536f4ba5b5196472a73c1ac3ce73 WHIRLPOOL 53d7422959ba36b979d9b37333863479f811697f880f2e1c1861a1ff83a735364b265c32314e5ecc4a08e94f1478da3e74ed14112bc5a09b5c7b6b9e97385d4d
 DIST netbeans-trunk-nightly-201603170001-src.zip 210039061 SHA256 dbc6ec1a007e00802af0f2b09ce7f8bb66181329339adf912727f0faa8853489 SHA512 0999a494f2c6e93a4caca24c4e50291111fd73c874da130c7bd1a834509689381bc8f59794d5c6d9d6f67e1b8998b12b107efec9d1a19fa31486ad62863c94f1 WHIRLPOOL bf1472b80804371be9fb0ad8f35659c7ac372842b361175d87cc1f580786c8cb064e7aa8447a5957f32ed5aecf3bb0f9b5e89d4157b316e5294e4ff28d5fb9ef
 DIST netbeans-trunk-nightly-201603180001-src.zip 210042763 SHA256 28228314edea02fe1d6d07cb82cad7b1146635d7523ea5f52a1246f6b7d23de8 SHA512 687b12d299eea84a4b9acde9006304a9822686fecbf3df20ce2f18fa7008a42b4adb8bdcbc31d72abc3bb3a434a8b4ddc58377aa9ab1b53228c4a89a61d1ccad WHIRLPOOL 008d327accadf7ee64ff8b12f2d71ecad282bee6a0964815949bd5609b035cfae7be0d26e0b19d18d3a6997d5c7c9f508933f506f377d87cb7488402a8b59c67
+DIST netbeans-trunk-nightly-201603230001-src.zip 210048386 SHA256 4c00dfb9e00a18022cfbb6dfc856de70f76f608fa844dcc50fa0a86f897714ea SHA512 e228c048dd46da6810a92568e57f164d37e5845670013ca7eac8a6d9ba234f758a9691d75a78a9517f06052cc392a6ef5645d3e831cdc433af9534847b726e14 WHIRLPOOL dca834fa3054db92fcd19e69094764b9f95683b7a1a404b3965922df8495d6d0a01030646e1c17312b9a1645ea5c981e26ad2a8e65f53cce680e934093754375
 EBUILD netbeans-groovy-8.0.2.ebuild 3346 SHA256 907e6cd11c222f15c826494b44929483803f0e4249de0d54db51e6855b574148 SHA512 8bb37121e7e32621959318d109b1d982e2c705a9deb7171f5fef1dcaed55fc5718b0bc9e6bbb2592cdaa5e96d874bb6e6bfa96d06fe09f14d5250c1485eb1da5 WHIRLPOOL d5e09fa1e975835f05c6132c091fee4ae9fc9dd671af9f5f88a9195d5cd4a93804f96687ed3f2bd741117fa65773f2c464b3cfd6697425039cc51a940efa2a31
 EBUILD netbeans-groovy-8.1.ebuild 3370 SHA256 ca32569d438060704e4d5d5e46be2ebf20bffdb0ae2471d8718ada8676f32082 SHA512 40555d2ffa0ddab1e55ca514eddbd98c6e721caa230cd174050fb56f144def46f389b0ac018068c9f509936c83235b2d3423cae8676db7c96e8782b0da73e4ad WHIRLPOOL 7b2b021581db21aa8ff90ea188ddeea0974ec84fdb064cf367a56a6fa53487affe89edb1880a83934a2cf0c586060a9192838687ffebf33b55e79d9ddc7ac986
 EBUILD netbeans-groovy-9999_p20160223.ebuild 3416 SHA256 cc089bee4a8b4574f642ca131ed8c7bfb55588938f452ccdbb6d06fc46833085 SHA512 4ae13ae2b1b43c5f53c3119114bc184974cd402bf9d81d76a369a399d3402a6052ef650f016765310111b3be17a756713cab63a03f6e58056a87c72f1e1bd981 WHIRLPOOL e97e7198d220497f158caaf02f66aa606b05032484e9284d202637ff6d08da8a655a9e2aa5f911748fa3f3ac5b170674b8d4993bcc62d4e0ae2a73b545f59554
@@ -46,4 +47,5 @@ EBUILD netbeans-groovy-9999_p20160315.ebuild 3416 SHA256 707fb6ce8a2effa220886a2
 EBUILD netbeans-groovy-9999_p20160316.ebuild 3416 SHA256 98385adf344a4b4ebadb33af9ab0fdb2fcaf0170f33a985b651e0ac72f2c6bfe SHA512 c1ae8a64da34f06296dfb46bbcb94e08183454d600e510d4737533674033196a6f94d125f7d30cd26605a6ea6ba6696f731886c61f406f955ffd6064850f81c4 WHIRLPOOL 85ac1736cd80ce349b53219e7cc82b5f559ea741f4416bd0c0579a0361f4d38ae642ccc3f014cbc1e81445800a4c7f297cf1b1388c909d0c066e2dcde3841eef
 EBUILD netbeans-groovy-9999_p20160317.ebuild 3416 SHA256 c9c15ab6709d20709a6375fff328411d9cca28ab714eb05790fad5432a9a5514 SHA512 97202604f1e4db1a816a1b08fa41565c92c168a7ddbbaf09206f6f00ffdf484ecf5156f9b1985db1e8fda56a98f562192285e86300ff6703032f1ab3704aad1d WHIRLPOOL 8e1732891548a904861eb3be803a4e75a4f1cae2dfa547a07266336d3f1c3d324cf217c4536edbc14bd7e14f23425875c5a17f5b5cdf8eeda075e3b018cd7f36
 EBUILD netbeans-groovy-9999_p20160318.ebuild 3416 SHA256 4a926c35e0df3789d6403a6fdf761eb6f5d70c7634c3957b0d3ea8473bd987af SHA512 fb676c7154871b994cba18b40d70e12e9504f53465d3be27e095ee2a2702982f520fbafd3296e6f5cdb88c3cd57327caf6e59421c847fefdfdc79dd1fa38848c WHIRLPOOL 4589efafa72d8ffb90243e758597ae172d4c4d6e33e060b2210b3d266505235f09b63d3ffa7bc02571f8522ec3480c258a250e74184b6a3c76552b6aaee4041e
+EBUILD netbeans-groovy-9999_p20160323.ebuild 3416 SHA256 cae40b6dee59adc072b92f47ca65705df610e33f52c4a5419b3f4a588d7092e6 SHA512 061b3da802905ec04e2162e3802957df73d2b753be7f0c8abd5db73a16e9b5a150589792e30d7b017c23b522774f424cb2b5d6f12ec7ffebceea8bebd5d6bbee WHIRLPOOL d2a7c2648c7bfa42e4d79caaf38bcc6afac696b7d35af4407925d61b13c72941ccd2f832a65802590655eb86ccad014584227695419cdcb529b3c868e218d161
 MISC metadata.xml 247 SHA256 8e0ccbf349cdd36adaaa8c3becadea9b65febd7868f27664ef7e70a1197765fe SHA512 1a68c1448a18938e13e6e39e718934a3e700b1d2ca708332d9cefd522d30049794b281c1cc8f788f1d0eb73c468a55b67a4bafbcf6e43317978d661d5d736faf WHIRLPOOL aaa66eab1db9d82717d76e5c65990f7f30e9527a6573006ebc43cc0edb05550ddce87e8e911ba7c7d67de863e6a191cc351b31fed299c4654a7b894f9eb13740

diff --git a/dev-java/netbeans-groovy/netbeans-groovy-9999_p20160323.ebuild b/dev-java/netbeans-groovy/netbeans-groovy-9999_p20160323.ebuild
new file mode 100644
index 0000000..ad1add0
--- /dev/null
+++ b/dev-java/netbeans-groovy/netbeans-groovy-9999_p20160323.ebuild
@@ -0,0 +1,111 @@
+# Copyright 1999-2016 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/2016-03-23_00-01-48/zip/netbeans-trunk-nightly-201603230001-src.zip"
+SRC_URI="${SOURCE_URL}
+	http://dev.gentoo.org/~fordfrog/distfiles/netbeans-9999-r15-build.xml.patch.bz2
+	http://hg.netbeans.org/binaries/01730F61E9C9E59FD1B814371265334D7BE0B8D2-groovy-all-2.4.5.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-r15-build.xml.patch.bz2
+
+	pushd "${S}" >/dev/null || die
+	ln -s "${DISTDIR}"/01730F61E9C9E59FD1B814371265334D7BE0B8D2-groovy-all-2.4.5.jar libs.groovy/external/groovy-all-2.4.5.jar || die
+	popd >/dev/null || die
+}
+
+src_prepare() {
+	einfo "Deleting bundled class files..."
+	find -name "*.class" -type f | xargs rm -vf
+
+	epatch netbeans-9999-r15-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 054434b..e1cfc1a 100644
--- a/dev-java/netbeans-harness/Manifest
+++ b/dev-java/netbeans-harness/Manifest
@@ -28,6 +28,7 @@ DIST netbeans-trunk-nightly-201603150001-src.zip 210021503 SHA256 b0ea2aa58d93a6
 DIST netbeans-trunk-nightly-201603160001-src.zip 210026634 SHA256 4d66f16a798e9c89599c9d9ca42493a477d2c2d11cae3e5e1e7b6c3876bc953a SHA512 be94af9676f2559c959c213683ff23720798fe3fb8c5849e7d3422a89ab7de011bcd7eb90d7d480789461a8270ed6c2cbac6536f4ba5b5196472a73c1ac3ce73 WHIRLPOOL 53d7422959ba36b979d9b37333863479f811697f880f2e1c1861a1ff83a735364b265c32314e5ecc4a08e94f1478da3e74ed14112bc5a09b5c7b6b9e97385d4d
 DIST netbeans-trunk-nightly-201603170001-src.zip 210039061 SHA256 dbc6ec1a007e00802af0f2b09ce7f8bb66181329339adf912727f0faa8853489 SHA512 0999a494f2c6e93a4caca24c4e50291111fd73c874da130c7bd1a834509689381bc8f59794d5c6d9d6f67e1b8998b12b107efec9d1a19fa31486ad62863c94f1 WHIRLPOOL bf1472b80804371be9fb0ad8f35659c7ac372842b361175d87cc1f580786c8cb064e7aa8447a5957f32ed5aecf3bb0f9b5e89d4157b316e5294e4ff28d5fb9ef
 DIST netbeans-trunk-nightly-201603180001-src.zip 210042763 SHA256 28228314edea02fe1d6d07cb82cad7b1146635d7523ea5f52a1246f6b7d23de8 SHA512 687b12d299eea84a4b9acde9006304a9822686fecbf3df20ce2f18fa7008a42b4adb8bdcbc31d72abc3bb3a434a8b4ddc58377aa9ab1b53228c4a89a61d1ccad WHIRLPOOL 008d327accadf7ee64ff8b12f2d71ecad282bee6a0964815949bd5609b035cfae7be0d26e0b19d18d3a6997d5c7c9f508933f506f377d87cb7488402a8b59c67
+DIST netbeans-trunk-nightly-201603230001-src.zip 210048386 SHA256 4c00dfb9e00a18022cfbb6dfc856de70f76f608fa844dcc50fa0a86f897714ea SHA512 e228c048dd46da6810a92568e57f164d37e5845670013ca7eac8a6d9ba234f758a9691d75a78a9517f06052cc392a6ef5645d3e831cdc433af9534847b726e14 WHIRLPOOL dca834fa3054db92fcd19e69094764b9f95683b7a1a404b3965922df8495d6d0a01030646e1c17312b9a1645ea5c981e26ad2a8e65f53cce680e934093754375
 EBUILD netbeans-harness-8.0.2.ebuild 4055 SHA256 2674d562adc57648c82cac9f714f74f9d29dd7b7ff7fa7f0ef37c43ef0975489 SHA512 7d72bed5b955b2365a4c11fcd97a2d6f2372ab939fb9a03b3ff7915053f24d695373c1aa154f6e6916d37ef3ace7b38864d575419460382760500576dae52e49 WHIRLPOOL 72f54a6cb83f282a75f0abb073109414a7b8bcd4e9263466281e68ff34148a7343ed3bd78ebdc8afd109b6b9f5b9f15bfd0e250f418fcaa4986a7c886b57b9f6
 EBUILD netbeans-harness-8.1.ebuild 4079 SHA256 116b90d6e6fd1b1ad8ce99c81104262a416a485b3a3110beed70e9381333cec2 SHA512 77ca4bbaf078adf6e13c0fea0a8e673262aaed60dd799ec161584589fb4c791d9bd758c87f4272297d863d3992b54a66b77b7bf05135cada530d111e1c428e68 WHIRLPOOL d385cd6292f31a5817a2c096f960330186a68242b51ed26e4272f33a690a98175e0b622a5d5309e1e6a72ff824662964785b7d235cf3a73ba4d715cd19e89dbb
 EBUILD netbeans-harness-9999_p20160223.ebuild 4126 SHA256 57311330141b3f7b60f7e643652f8805bffbc170b1d4de9bb1caa55bd1c2d6c2 SHA512 60b4b0c90306a9249798047d43a152a64b03a13ad46ebd7a417262d69837adafc94b220539d06ec10ff54b1bab55593a90bcff5884c88c4c6b3e677f97f1a93f WHIRLPOOL 132160c30789f7f5a66c84f34555fbae7a76fdb1321e37f6a3559abeac25aba8463fd323a740eee3586c2fcb8b19fb2928a8ff57f562d55d1f1390e9d0cf0ac7
@@ -49,4 +50,5 @@ EBUILD netbeans-harness-9999_p20160315.ebuild 4126 SHA256 ddc05082c1cd678882a412
 EBUILD netbeans-harness-9999_p20160316.ebuild 4126 SHA256 6deec86c975f542f29865f0378d933d5cd5b53ef8f687bb44362035d4fb9c7c1 SHA512 2c8ecd5103e783f0b4c489742b34a56bc85f671c0c63a94cb81aec650556844c33cac97534d312caeb37b955f122e50af3d4e21512b76f526b50184480ff2784 WHIRLPOOL 1d65c245b5c444a2468d5310ade6a3b809c04dc978724055252f34f1c938e2c26ad41deb53b0ddd72f6a6e130997ab381ad1a6628c5d4a55d23d9fbd64252192
 EBUILD netbeans-harness-9999_p20160317.ebuild 4126 SHA256 ce03fcd0de453da4e2a92e0f25cf46681fd64c403a5fddd5f4b745ae2eb067ef SHA512 73feb0a1fddc05fcfc8dbdda8ad541359bbd196862c575723c0d217b048d08d8c16d570e18e713299dc7bd0e19e053fccbffaa85d0fb6564f40fd50f0f9cf664 WHIRLPOOL f9cb2cf168be7f07c70c46103ff7d6cb9b649ff98b593ee021920407ff46f3e979b23e5403ed0badc7a13fead4024c557dca000476aec8fb6d99c1666184311d
 EBUILD netbeans-harness-9999_p20160318.ebuild 4126 SHA256 6ae8166ae7e7384b5e91bd09aa8e30bc0f830150a618c2c27db5319ee6c18851 SHA512 d06edabe7275a2a35f4b627bf33efc6147b859197a75f601a069684845d6ac9eac2ceb7710d43b4b0702041ae18fa1f7e4ae0449d41ee1cc0b1e5dbce5fb3105 WHIRLPOOL ed980870f12b1caf4ea2cef8878c06900d4fc3191f553b2441aec137251c4962590b524d3e8dec30864b48edcb435c4285b7d6a3d8a0b7fd43dd04c0c3490e24
+EBUILD netbeans-harness-9999_p20160323.ebuild 4126 SHA256 64a3e3eee2f5b7a30ced6a751742f0018eb14556d27af01342869f4acc59d179 SHA512 217c9adf60a041d2e8924b4a76a54e6454e7d1e0577d7a3329b16bda8741026fbed47af84627b606178d8b6c9ae287e8ab05b79640a875568febf1ad5afae8b3 WHIRLPOOL 2b05a70fe465352ed4a785aa8c4e654fdead5c8a8ffca2822aa068f6cc096f5404769abd87920e14e59f8999384c611cb64702f9a6a8b6c2a7aeb1ed8c8c52bc
 MISC metadata.xml 247 SHA256 8e0ccbf349cdd36adaaa8c3becadea9b65febd7868f27664ef7e70a1197765fe SHA512 1a68c1448a18938e13e6e39e718934a3e700b1d2ca708332d9cefd522d30049794b281c1cc8f788f1d0eb73c468a55b67a4bafbcf6e43317978d661d5d736faf WHIRLPOOL aaa66eab1db9d82717d76e5c65990f7f30e9527a6573006ebc43cc0edb05550ddce87e8e911ba7c7d67de863e6a191cc351b31fed299c4654a7b894f9eb13740

diff --git a/dev-java/netbeans-harness/netbeans-harness-9999_p20160323.ebuild b/dev-java/netbeans-harness/netbeans-harness-9999_p20160323.ebuild
new file mode 100644
index 0000000..42794ec
--- /dev/null
+++ b/dev-java/netbeans-harness/netbeans-harness-9999_p20160323.ebuild
@@ -0,0 +1,114 @@
+# Copyright 1999-2016 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/2016-03-23_00-01-48/zip/netbeans-trunk-nightly-201603230001-src.zip"
+SRC_URI="${SOURCE_URL}
+	http://dev.gentoo.org/~fordfrog/distfiles/netbeans-9999-r15-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-r15-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-r15-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="${D}"/${INSTALL_DIR}/antlib
+	pushd "${instdir}" >/dev/null || die
+	rm jsearch-2.0_05.jar && java-pkg_jar-from --into "${instdir}" javahelp jsearch.jar jsearch-2.0_05.jar
+	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 93151eb..6978c0e 100644
--- a/dev-java/netbeans-ide/Manifest
+++ b/dev-java/netbeans-ide/Manifest
@@ -155,6 +155,7 @@ DIST netbeans-trunk-nightly-201603150001-src.zip 210021503 SHA256 b0ea2aa58d93a6
 DIST netbeans-trunk-nightly-201603160001-src.zip 210026634 SHA256 4d66f16a798e9c89599c9d9ca42493a477d2c2d11cae3e5e1e7b6c3876bc953a SHA512 be94af9676f2559c959c213683ff23720798fe3fb8c5849e7d3422a89ab7de011bcd7eb90d7d480789461a8270ed6c2cbac6536f4ba5b5196472a73c1ac3ce73 WHIRLPOOL 53d7422959ba36b979d9b37333863479f811697f880f2e1c1861a1ff83a735364b265c32314e5ecc4a08e94f1478da3e74ed14112bc5a09b5c7b6b9e97385d4d
 DIST netbeans-trunk-nightly-201603170001-src.zip 210039061 SHA256 dbc6ec1a007e00802af0f2b09ce7f8bb66181329339adf912727f0faa8853489 SHA512 0999a494f2c6e93a4caca24c4e50291111fd73c874da130c7bd1a834509689381bc8f59794d5c6d9d6f67e1b8998b12b107efec9d1a19fa31486ad62863c94f1 WHIRLPOOL bf1472b80804371be9fb0ad8f35659c7ac372842b361175d87cc1f580786c8cb064e7aa8447a5957f32ed5aecf3bb0f9b5e89d4157b316e5294e4ff28d5fb9ef
 DIST netbeans-trunk-nightly-201603180001-src.zip 210042763 SHA256 28228314edea02fe1d6d07cb82cad7b1146635d7523ea5f52a1246f6b7d23de8 SHA512 687b12d299eea84a4b9acde9006304a9822686fecbf3df20ce2f18fa7008a42b4adb8bdcbc31d72abc3bb3a434a8b4ddc58377aa9ab1b53228c4a89a61d1ccad WHIRLPOOL 008d327accadf7ee64ff8b12f2d71ecad282bee6a0964815949bd5609b035cfae7be0d26e0b19d18d3a6997d5c7c9f508933f506f377d87cb7488402a8b59c67
+DIST netbeans-trunk-nightly-201603230001-src.zip 210048386 SHA256 4c00dfb9e00a18022cfbb6dfc856de70f76f608fa844dcc50fa0a86f897714ea SHA512 e228c048dd46da6810a92568e57f164d37e5845670013ca7eac8a6d9ba234f758a9691d75a78a9517f06052cc392a6ef5645d3e831cdc433af9534847b726e14 WHIRLPOOL dca834fa3054db92fcd19e69094764b9f95683b7a1a404b3965922df8495d6d0a01030646e1c17312b9a1645ea5c981e26ad2a8e65f53cce680e934093754375
 EBUILD netbeans-ide-8.0.2-r2.ebuild 29330 SHA256 4822cbe26fc19685164c35d69e75bc20578ca8a5ce3394fe97bde6acc721fd2d SHA512 552f35cb1aa5429beb70c72a0cd2a3aa3a006f5870ec4084e88632a39e2ccdc05d0b2b15a87f26c72cdffb3c9a6fa0a124a8d501edeef9aa9580396922071e8d WHIRLPOOL 4c9bce3ca21d5ae61ef9392b9282c2dff9de7f82f2e83d2944a2906ca2180ef0ffab59489bdbb6afc7ba88d5143d77b47a0cf6b219a5a4d385b68afcacd3fe6d
 EBUILD netbeans-ide-8.1-r2.ebuild 30301 SHA256 892f20531352d85b5b72b1c85352eefa444917b515b0b564f04c4f91d1e654f9 SHA512 50af4873fd3ea7755b0d33b086be7e07766b6c009a46ec3954a67a1da9930378bcf9da6d18b7e60078b31af4b36ccf060f22378a8ef26b3829ccf30a529dd023 WHIRLPOOL 1024af16e7cae7f4728dd37f88031be33253b7c62548a095d3e827abeccb6c183d34ce312bd1a0f808f0d107aff217e4b81b7a17eecc6842e1d914d7061df2c9
 EBUILD netbeans-ide-9999_p20160223.ebuild 30235 SHA256 42a75953a9bdeee192bf1f6ba62b4a7d9b2916656e49633c270025726e951844 SHA512 ef07e842663d9de4d43bf95a178f21a54e9ba50c42f77e2b6baf539cb8bed2d92fc277e5be568e6ad5c65cb84ec9f2f9c9d81e43783c222b00bac850fa7770b2 WHIRLPOOL d732d829d40f779573a6a4cb8f669844abf79985aa9afde6e32c0c643def9e0f007daeece0fd275268b44b161d65b7b92f78038c15d4b1655f53e493f566b2cc
@@ -176,4 +177,5 @@ EBUILD netbeans-ide-9999_p20160315.ebuild 30250 SHA256 61f00b3029fd34d5d6b8a30b2
 EBUILD netbeans-ide-9999_p20160316.ebuild 30250 SHA256 1c00e9ce20992f520a4ed254db5cb7244f0917bc2c2a6fdb30b04197f5f42a19 SHA512 156358d9d6bd9256b5e40d64ecc010acdf8ec077e0913df4a2deb1397678fa0950f17f75929b327f0485da36661fd7e1cf3d2fd7db8c8799f146bd24be7310e4 WHIRLPOOL 6b4c3180ada9053ef9c16b3e432d560e6256c9cbb94a11ade8cd1826f9f94c224742636431180daa9817e014a97855cfed48f13d6a0409debdec39d34cda6fde
 EBUILD netbeans-ide-9999_p20160317.ebuild 30250 SHA256 280833d0184aa941e05a2bf9ba7292ace7929536eb69b70f66e55e62640101d1 SHA512 84f301cd9a9e442c92f80b0217a553b9c6332355210a8699136d7975d4cb4f0b232285e6b5063825152f8c9814f14148a496d5f412136b69bbb62e5eb19da36a WHIRLPOOL 398ad8adde07f0d1f2c716adfc28078141d015fcf9a7587fe580b4f90558f88914ce9357e2029a20660108c5cacfcc82ace837401296a7b19d1ddc47f7b98b8c
 EBUILD netbeans-ide-9999_p20160318.ebuild 30250 SHA256 d9180327b8af7764ec36c8bb8bcd39f77776922482810290acf54d12af4c24b8 SHA512 5ceabfa4c585ba734aa8961d5ef65ed27f871e17c3f0f328add00ef6caa77d2dde7ec4f048a600a0f2e5211235fdc4cc00572c181b544e267a1e78fbd63e6247 WHIRLPOOL 2ae77f9a6a195fef9614ea7456907c0d9504bdaf43e5673d646300daab9888f56114a4e3dba07edd8c0f66c4df2daeafc6b6dd8b7f7f610c46466096ac35e9c5
+EBUILD netbeans-ide-9999_p20160323.ebuild 30250 SHA256 2bda5de8b196a6ffed491baea0330ab492b40d95510c336705ee8738255365bd SHA512 dbc858271d0823a30357b958abd0ed1b8374a2b31f946d6902e5d520006d5d3f37903f6d058082af71c226fb4034cfe41f40d7f336d7cb5df2097aaca9a672f0 WHIRLPOOL 10b0beb0952f480a5e22e7e1ad09d266e7952f399458132e2e41693ef606df64f5743caadb7a1bb6053a4bf47f336479b6ea732f7104c1bb465215ca18d5f86b
 MISC metadata.xml 247 SHA256 8e0ccbf349cdd36adaaa8c3becadea9b65febd7868f27664ef7e70a1197765fe SHA512 1a68c1448a18938e13e6e39e718934a3e700b1d2ca708332d9cefd522d30049794b281c1cc8f788f1d0eb73c468a55b67a4bafbcf6e43317978d661d5d736faf WHIRLPOOL aaa66eab1db9d82717d76e5c65990f7f30e9527a6573006ebc43cc0edb05550ddce87e8e911ba7c7d67de863e6a191cc351b31fed299c4654a7b894f9eb13740

diff --git a/dev-java/netbeans-ide/netbeans-ide-9999_p20160323.ebuild b/dev-java/netbeans-ide/netbeans-ide-9999_p20160323.ebuild
new file mode 100644
index 0000000..457a40e
--- /dev/null
+++ b/dev-java/netbeans-ide/netbeans-ide-9999_p20160323.ebuild
@@ -0,0 +1,378 @@
+# Copyright 1999-2016 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/2016-03-23_00-01-48/zip/netbeans-trunk-nightly-201603230001-src.zip"
+SRC_URI="${SOURCE_URL}
+	http://dev.gentoo.org/~fordfrog/distfiles/netbeans-9999-r15-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/0CE1EDB914C94EBC388F086C6827E8BDEEC71AC2-commons-lang-2.6.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/ED727A8D9F247E2050281CB083F1C77B09DCB5CD-guava-15.0.jar
+	http://hg.netbeans.org/binaries/23123BB29025254556B6E573023FCDF0F6715A66-html-4.01.zip
+	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/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/F406B7784A0DA5C4670B038BF55A4DCD4AF30AEB-jzlib-1.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/AA2671239EBB762FEEE8B908E9F35473A72AFE1B-org.eclipse.core.contenttype_3.4.100.v20110423-0524_nosignature.jar
+	http://hg.netbeans.org/binaries/1605B38BB28EAE32C11EAB8F9E238A497754A5B8-org.eclipse.core.jobs-3.5.101_nosignature.jar
+	http://hg.netbeans.org/binaries/20800206EB8B490F3CE5BB8AC8A7C3B9E8004A30-org.eclipse.core.net_1.2.100.I20110511-0800_nosignature.jar
+	http://hg.netbeans.org/binaries/D2D2105B1E3C9E2FA6240AD088237A57590DDA8D-org.eclipse.core.runtime-3.7.0_nosignature.jar
+	http://hg.netbeans.org/binaries/16507EAFDC2B95121AA718895BDB54D616EE4B0F-org.eclipse.core.runtime.compatibility.auth_3.2.200.v20110110_nosignature.jar
+	http://hg.netbeans.org/binaries/BD55836AABD558DC643A7844B78866AD990544BC-org.eclipse.equinox.app-1.3.100_nosignature.jar
+	http://hg.netbeans.org/binaries/4EE275AE73A140A403903D7E4DBA68C8FBB07001-org.eclipse.equinox.common_3.6.0.v20110523_nosignature.jar
+	http://hg.netbeans.org/binaries/B7001D9CC2E2AC4E167D22A13063F0350C71AAA9-org.eclipse.equinox.preferences-3.4.2_nosignature.jar
+	http://hg.netbeans.org/binaries/C647079E36A4EB7A24AED2C545E4F0F94194C4D1-org.eclipse.equinox.registry_3.5.200.v20120522-1841_nosignature.jar
+	http://hg.netbeans.org/binaries/9267CF311F979078211A70C1B19AF8A8EE71DC8E-org.eclipse.equinox.security-1.1.1_nosignature.jar
+	http://hg.netbeans.org/binaries/B580E446B543A8DD2F5AA368B07F9C4C9C2E7029-org.eclipse.jgit-3.6.2.201501210735-r_nosignature.jar
+	http://hg.netbeans.org/binaries/244560B99152F3F9BC75DF2D6FAFA8A5216B06B6-org.eclipse.jgit.java7-3.6.2.201501210735-r_nosignature.jar
+	http://hg.netbeans.org/binaries/8E2776DE17446EC7450285F19F2C6366117748A8-org.eclipse.mylyn.bugzilla.core_3.17.0.v20150828-2026.jar
+	http://hg.netbeans.org/binaries/D4F2BE52B5C048158B5C046C0ACAC3965027FE12-org.eclipse.mylyn.commons.core_3.17.0.v20150625-2042.jar
+	http://hg.netbeans.org/binaries/4C753A9D8AB768A55EC99A377A0D22EDA67BAE25-org.eclipse.mylyn.commons.net_3.17.0.v20150706-2057.jar
+	http://hg.netbeans.org/binaries/8E52A783A3700FE2F3AED720CBEF6D895C0D5DBC-org.eclipse.mylyn.commons.repositories.core_1.9.0.v20150625-2042.jar
+	http://hg.netbeans.org/binaries/50F0A49BDF7C5610E3E602609926065D47A16C6E-org.eclipse.mylyn.commons.xmlrpc_3.17.0.v20150625-2042.jar
+	http://hg.netbeans.org/binaries/4F2E28BDB091E2DD215FB9B16C8708513288F16A-org.eclipse.mylyn.tasks.core_3.17.0.v20150828-2026.jar
+	http://hg.netbeans.org/binaries/11D1982BE23B06B2721240F424DBEF9F5FDE7F45-org.eclipse.mylyn.wikitext.confluence.core_2.6.0.v20150901-2143.jar
+	http://hg.netbeans.org/binaries/A3FEF6144ED1622E4CDD506B9D745527CC675D8D-org.eclipse.mylyn.wikitext.core_2.6.0.v20150901-2143-patched-nosignature.jar
+	http://hg.netbeans.org/binaries/C3024631DD14008D2FF35A576C3D82AC6FCB2E10-org.eclipse.mylyn.wikitext.textile.core_2.6.0.v20150901-2143.jar
+	http://hg.netbeans.org/binaries/8307A44D3F150F1BB317532097A0C7D125C00F2D-org.tmatesoft.svnkit_1.8.10.r10446_v20150526_1454.jar
+	http://hg.netbeans.org/binaries/6819C79348FCF4F5125C834E7D3B742582DCA34D-processtreekiller-1.0.7.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/5C322A10E13FADE0451263035B7AA26B63AAFA47-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-compress:0
+	dev-java/commons-httpclient:3
+	dev-java/commons-logging:0
+	dev-java/icu4j:55
+	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/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/commons-lang:2.1 fails with "Missing manifest tag OpenIDE-Module"
+#	dev-java/freemarker:2.3
+#	dev-java/guava:15 fails with "Missing manifest tag OpenIDE-Module"
+#	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/jzlib:0 fails with "Missing manifest tag OpenIDE-Module"
+#	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-r15-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}"/0CE1EDB914C94EBC388F086C6827E8BDEEC71AC2-commons-lang-2.6.jar o.apache.commons.lang/external/commons-lang-2.6.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}"/ED727A8D9F247E2050281CB083F1C77B09DCB5CD-guava-15.0.jar c.google.guava/external/guava-15.0.jar || die
+	ln -s "${DISTDIR}"/23123BB29025254556B6E573023FCDF0F6715A66-html-4.01.zip html.editor/external/html-4.01.zip || 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}"/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}"/F406B7784A0DA5C4670B038BF55A4DCD4AF30AEB-jzlib-1.0.7.jar c.jcraft.jzlib/external/jzlib-1.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}"/AA2671239EBB762FEEE8B908E9F35473A72AFE1B-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}"/1605B38BB28EAE32C11EAB8F9E238A497754A5B8-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}"/20800206EB8B490F3CE5BB8AC8A7C3B9E8004A30-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}"/D2D2105B1E3C9E2FA6240AD088237A57590DDA8D-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}"/16507EAFDC2B95121AA718895BDB54D616EE4B0F-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}"/BD55836AABD558DC643A7844B78866AD990544BC-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}"/4EE275AE73A140A403903D7E4DBA68C8FBB07001-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}"/B7001D9CC2E2AC4E167D22A13063F0350C71AAA9-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}"/C647079E36A4EB7A24AED2C545E4F0F94194C4D1-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}"/9267CF311F979078211A70C1B19AF8A8EE71DC8E-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}"/B580E446B543A8DD2F5AA368B07F9C4C9C2E7029-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}"/244560B99152F3F9BC75DF2D6FAFA8A5216B06B6-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}"/8E2776DE17446EC7450285F19F2C6366117748A8-org.eclipse.mylyn.bugzilla.core_3.17.0.v20150828-2026.jar o.eclipse.mylyn.bugzilla.core/external/org.eclipse.mylyn.bugzilla.core_3.17.0.v20150828-2026.jar || die
+	ln -s "${DISTDIR}"/D4F2BE52B5C048158B5C046C0ACAC3965027FE12-org.eclipse.mylyn.commons.core_3.17.0.v20150625-2042.jar o.eclipse.mylyn.commons.core/external/org.eclipse.mylyn.commons.core_3.17.0.v20150625-2042.jar || die
+	ln -s "${DISTDIR}"/4C753A9D8AB768A55EC99A377A0D22EDA67BAE25-org.eclipse.mylyn.commons.net_3.17.0.v20150706-2057.jar o.eclipse.mylyn.commons.net/external/org.eclipse.mylyn.commons.net_3.17.0.v20150706-2057.jar || die
+	ln -s "${DISTDIR}"/8E52A783A3700FE2F3AED720CBEF6D895C0D5DBC-org.eclipse.mylyn.commons.repositories.core_1.9.0.v20150625-2042.jar o.eclipse.mylyn.commons.repositories.core/external/org.eclipse.mylyn.commons.repositories.core_1.9.0.v20150625-2042.jar || die
+	ln -s "${DISTDIR}"/50F0A49BDF7C5610E3E602609926065D47A16C6E-org.eclipse.mylyn.commons.xmlrpc_3.17.0.v20150625-2042.jar o.eclipse.mylyn.commons.xmlrpc/external/org.eclipse.mylyn.commons.xmlrpc_3.17.0.v20150625-2042.jar || die
+	ln -s "${DISTDIR}"/4F2E28BDB091E2DD215FB9B16C8708513288F16A-org.eclipse.mylyn.tasks.core_3.17.0.v20150828-2026.jar o.eclipse.mylyn.tasks.core/external/org.eclipse.mylyn.tasks.core_3.17.0.v20150828-2026.jar || die
+	ln -s "${DISTDIR}"/11D1982BE23B06B2721240F424DBEF9F5FDE7F45-org.eclipse.mylyn.wikitext.confluence.core_2.6.0.v20150901-2143.jar o.eclipse.mylyn.wikitext.confluence.core/external/org.eclipse.mylyn.wikitext.confluence.core_2.6.0.v20150901-2143.jar || die
+	ln -s "${DISTDIR}"/A3FEF6144ED1622E4CDD506B9D745527CC675D8D-org.eclipse.mylyn.wikitext.core_2.6.0.v20150901-2143-patched-nosignature.jar o.eclipse.mylyn.wikitext.core/external/org.eclipse.mylyn.wikitext.core_2.6.0.v20150901-2143-patched-nosignature.jar || die
+	ln -s "${DISTDIR}"/C3024631DD14008D2FF35A576C3D82AC6FCB2E10-org.eclipse.mylyn.wikitext.textile.core_2.6.0.v20150901-2143.jar o.eclipse.mylyn.wikitext.textile.core/external/org.eclipse.mylyn.wikitext.textile.core_2.6.0.v20150901-2143.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}"/6819C79348FCF4F5125C834E7D3B742582DCA34D-processtreekiller-1.0.7.jar extexecution.process/external/processtreekiller-1.0.7.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}"/5C322A10E13FADE0451263035B7AA26B63AAFA47-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-r15-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 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-55 icu4j.jar icu4j-4_4_2.jar
+	java-pkg_jar-from --into html.validation/external iso-relax iso-relax.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.commons_compress/external commons-compress commons-compress.jar commons-compress-1.8.1.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.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="${D}"/${INSTALL_DIR}/modules
+	pushd "${instdir}" >/dev/null || die
+	rm com-jcraft-jsch.jar && java-pkg_jar-from --into "${instdir}" jsch jsch.jar com-jcraft-jsch.jar
+	popd >/dev/null || die
+
+	local instdir="${D}"/${INSTALL_DIR}/modules/ext
+	pushd "${instdir}" >/dev/null || die
+	rm commons-compress-1.8.1.jar && java-pkg_jar-from --into "${instdir}" commons-compress commons-compress.jar commons-compress-1.8.1.jar
+	# 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 && java-pkg_jar-from --into "${instdir}" icu4j-55 icu4j.jar icu4j-4_4_2.jar
+	rm isorelax.jar && java-pkg_jar-from --into "${instdir}" iso-relax iso-relax.jar isorelax.jar
+	rm json-simple-1.1.1.jar && java-pkg_jar-from --into "${instdir}" json-simple json-simple.jar json-simple-1.1.1.jar
+	rm jvyamlb-0.2.7.jar && java-pkg_jar-from --into "${instdir}" jvyamlb jvyamlb.jar jvyamlb-0.2.7.jar
+	rm log4j-1.2.15.jar && java-pkg_jar-from --into "${instdir}" log4j log4j.jar log4j-1.2.15.jar
+	rm lucene-core-3.5.0.jar && java-pkg_jar-from --into "${instdir}" lucene-3.5 lucene-core.jar lucene-core-3.5.0.jar
+	rm mysql-connector-java-5.1.23-bin.jar && java-pkg_jar-from --into "${instdir}" jdbc-mysql jdbc-mysql.jar mysql-connector-java-5.1.23-bin.jar
+	rm postgresql-9.2-1002.jdbc4.jar && java-pkg_jar-from --into "${instdir}" jdbc-postgresql jdbc-postgresql.jar postgresql-9.2-1002.jdbc4.jar
+	rm saxon9B.jar && java-pkg_jar-from --into "${instdir}" saxon-9 saxon.jar saxon9B.jar
+	rm servlet-2.2.jar && java-pkg_jar-from --into "${instdir}" tomcat-servlet-api-2.2 servlet.jar servlet-2.2.jar
+	rm smack.jar && java-pkg_jar-from --into "${instdir}" smack-2.2 smack.jar
+	rm smackx.jar && java-pkg_jar-from --into "${instdir}" smack-2.2 smackx.jar
+	# rm svnjavahl.jar && dosym /usr/share/subversion/lib/svn-javahl.jar ${instdir}/svnjavahl.jar || die
+	rm xerces-2.8.0.jar && java-pkg_jar-from --into "${instdir}" xerces-2 xercesImpl.jar xerces-2.8.0.jar
+	popd >/dev/null || die
+
+	local instdir="${D}"/${INSTALL_DIR}/modules/ext/jaxb
+	pushd "${instdir}" >/dev/null || die
+	rm activation.jar && java-pkg_jar-from --into "${instdir}" sun-jaf activation.jar
+	popd >/dev/null || die
+
+	local instdir="${D}"/${INSTALL_DIR}/modules/ext/jaxb/api
+	pushd "${instdir}" >/dev/null || die
+	rm jsr173_1.0_api.jar && java-pkg_jar-from --into "${instdir}" jsr173 jsr173.jar jsr173_1.0_api.jar
+	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 4809aa2..35edc5e 100644
--- a/dev-java/netbeans-java/Manifest
+++ b/dev-java/netbeans-java/Manifest
@@ -13,6 +13,7 @@ DIST 8BDE88C9512D8783E64788F32A50E4CCBC48485E-nb-javac-impl.jar 2759394 SHA256 3
 DIST 8ECD169E9E308C258287E4F28B03B6D6F1E55F47-jaxws-api-doc.zip 266314 SHA256 36c3189a2d495bc713bfeac0eaf05612fe90d8df6c3c20d943bea38d290cd375 SHA512 f08cf953e56966a239d3ff31adc1b3ad74aac76207c4f92d860b13a2ddfbc6cb9ebe8223959ebebbdc6eb8f358a170ff8de544e58bf72a7c12eb101c32b02f46 WHIRLPOOL f3734e3b036eb9e8407478c9b27f86b616506db89d6b7411b531679e89db62f69b0434c490d9c2b1656887d1d8ce2bfa2f6464821a19e0b2b67a12a9da11414e
 DIST 91B55CDAC59BC4DDDF0AF9A54EAAE4304EDEF266-spring-framework-4.0.1.RELEASE.zip 6377019 SHA256 4257d1d0586bffbd66dcf3bd97913b0ec0e82f9f8dfb9cc4d3c74f0d82960240 SHA512 b43fce0d1e39985395b3f161908d52a3c7eb4b1d70b9f0485cde5b782c2ef861594e1f49d71059cbab8fb71d5fbdeabbdb9c40866b9596bc8677359b79876c99 WHIRLPOOL dbb3a33546aebded4fef949a54d02380e1d202d09923e52e3f3d3dd8feb8ec77dc5f997d815e271d3afa649a3f445943f365233d04a63673fd1b06baf0e919de
 DIST 9EC77E2507F9CC01756964C71D91EFD8154A8C47-lucene-core-3.6.2.jar 1539086 SHA256 cef4436bae85c31417443284f736e321511cd1615268103378a9bf00b1df036d SHA512 cf8c1218f59a20e4bff22a1b179299e632258dbab92992b6600f1af3ddba1ffd10daa709e758deade56f37dc34245bff23a0789b0d57c97805767a1639602653 WHIRLPOOL 56fe9714058c7d661fb39e4d80becf17c799a9083c1a236da65446897e3c1e81c2773923b7a50dd4b3ad396b182731c750484da14965d1ee263c74d051884882
+DIST A53B309173366CAECC47E78F2B4B17121A9798CE-nb-javac-impl.jar 3035514 SHA256 ae3beb1007f24b5f22bc64173e344d73a461e2193544ed9c4f5eec11c6355c92 SHA512 b48d843c8cdfa51249dd13f72d2c5a0fbb44502e656e3ddf7351f307036ed43a84973d910ceb7ff2a13a3048993b0498b47811548c72d1a5d0da66a0ea68ece6 WHIRLPOOL 0b8c497ca50d60754c2c2c686fd688f7ba1c2a2adb59ad2c1c6e893c589d9ad7913788737bf9b6c8bc6e39cf23191cb32317176de268cef1138866f4e387e433
 DIST A8BD39C5B88571B4D4697E78DD1A56566E44B1DD-JPAjavadocs04032013.zip 675425 SHA256 088464e2a7e6650b6f57434087ebe8f48947a3d343986741d79ca6bb23624b67 SHA512 bff8f89e96ae7b5cf22bbdbcbf95c1b6c789626a4f3f972a7216c3a545b3f85a67950c022f19c36edefb8e3fa605968b31e267166922dfb46fdd56bc16e4bd7e WHIRLPOOL 13cc312ba143fed133394d054d8a2b4f086d0dc9f5a5da3bebd83a62c30109bd16c6da5619ee6f0c4d66160280f6659685730f98e46063686aca4d4df8ef9fdb
 DIST A90682C6BC0B9E105BD260C9A041FEFEA9579E46-lucene-highlighter-3.6.2.jar 89171 SHA256 377b2ddcb7c902daf5dd3d22a1ff5b8da4ad6f7fd6c5e5da4731d17a8d935534 SHA512 b66922bb86a5eb787a76714a6bf2c2adfd8469ea9c3031d9b5970373f71a2349b1e8156213397b9119cc9510e48905b181388744bf2189e04e18922023dacb12 WHIRLPOOL 9a5c93989dd79f803e050189d5cf1e741f0a2a1514b848fcbd51ee868125533a816525738f491da1f0915050343b73f7f8b58e4fe35230610a20b13475143663
 DIST A9A0648BD7D9FD2CDFBD22C25366E71DA72438DA-hibernate-release-4.3.1-lib.zip 19717645 SHA256 618aa42390667bd4cf2343edfe134f5665d9815379ec311c3c776c9dbd21831d SHA512 160fa0353baa9b31090432053a2d602fdffa663fe1f83ad79de4788ed74d3e5938d0bba0ef28ff4a946e6bc99c3a629b3fc8ff7d44ada98348fee816cb39b42e WHIRLPOOL 23408ae921b1712584eef8d51678547cf24ce3db75743524cbb046511cac60f162ab46e4c3b65e639d9c8b3f2463b674791f491d6e377ef69207ef701b7dbc09
@@ -52,6 +53,7 @@ DIST netbeans-trunk-nightly-201603150001-src.zip 210021503 SHA256 b0ea2aa58d93a6
 DIST netbeans-trunk-nightly-201603160001-src.zip 210026634 SHA256 4d66f16a798e9c89599c9d9ca42493a477d2c2d11cae3e5e1e7b6c3876bc953a SHA512 be94af9676f2559c959c213683ff23720798fe3fb8c5849e7d3422a89ab7de011bcd7eb90d7d480789461a8270ed6c2cbac6536f4ba5b5196472a73c1ac3ce73 WHIRLPOOL 53d7422959ba36b979d9b37333863479f811697f880f2e1c1861a1ff83a735364b265c32314e5ecc4a08e94f1478da3e74ed14112bc5a09b5c7b6b9e97385d4d
 DIST netbeans-trunk-nightly-201603170001-src.zip 210039061 SHA256 dbc6ec1a007e00802af0f2b09ce7f8bb66181329339adf912727f0faa8853489 SHA512 0999a494f2c6e93a4caca24c4e50291111fd73c874da130c7bd1a834509689381bc8f59794d5c6d9d6f67e1b8998b12b107efec9d1a19fa31486ad62863c94f1 WHIRLPOOL bf1472b80804371be9fb0ad8f35659c7ac372842b361175d87cc1f580786c8cb064e7aa8447a5957f32ed5aecf3bb0f9b5e89d4157b316e5294e4ff28d5fb9ef
 DIST netbeans-trunk-nightly-201603180001-src.zip 210042763 SHA256 28228314edea02fe1d6d07cb82cad7b1146635d7523ea5f52a1246f6b7d23de8 SHA512 687b12d299eea84a4b9acde9006304a9822686fecbf3df20ce2f18fa7008a42b4adb8bdcbc31d72abc3bb3a434a8b4ddc58377aa9ab1b53228c4a89a61d1ccad WHIRLPOOL 008d327accadf7ee64ff8b12f2d71ecad282bee6a0964815949bd5609b035cfae7be0d26e0b19d18d3a6997d5c7c9f508933f506f377d87cb7488402a8b59c67
+DIST netbeans-trunk-nightly-201603230001-src.zip 210048386 SHA256 4c00dfb9e00a18022cfbb6dfc856de70f76f608fa844dcc50fa0a86f897714ea SHA512 e228c048dd46da6810a92568e57f164d37e5845670013ca7eac8a6d9ba234f758a9691d75a78a9517f06052cc392a6ef5645d3e831cdc433af9534847b726e14 WHIRLPOOL dca834fa3054db92fcd19e69094764b9f95683b7a1a404b3965922df8495d6d0a01030646e1c17312b9a1645ea5c981e26ad2a8e65f53cce680e934093754375
 EBUILD netbeans-java-8.0.2-r4.ebuild 13298 SHA256 d4172dfdec5afecb1cd099e18a21aa872c7822bff40b192b5f4ec4d35e6e0ef8 SHA512 48ae6f7141117fbf58123ded750d76f2e7311211a6be3b62bd491349817460da11f781ec5694da91584315547c32008f568fac3bfb406dbdb5ed7fd825ff694e WHIRLPOOL 73fb68aec003707c14b2b390c2de80f24e1e5413cf7e16cf7e661af47c908e2d559214580379e45e21d316767987ac906b5a119a61ae39f03c3d01dafad49b7c
 EBUILD netbeans-java-8.1-r2.ebuild 14814 SHA256 1f49212c90fcaa9a6483f19bb60c963520f20aa08c2a509aa19cc7fda12e4564 SHA512 2d6b225f5d32f0ce1801124808b0cc2101f16a703540877c4818be06694742cfa262c3a2e7018761254f9244a7992eb7fe9bc15cdb20f6f4cb83958789c0ef42 WHIRLPOOL 8557163a46ea91a47efec3c272b8a8a0f2acbf9eaa8f6c280d0ddaac6dd8b2185f06716ab12ebf76fb87fe6c05ab1a14bfd281875ebef586f1304d2162e5f2dc
 EBUILD netbeans-java-9999_p20160223.ebuild 14930 SHA256 b277782f4837d65401fb02c278256ec2644d66f890907769aa8f0723cf2e3680 SHA512 7586e79abd8e88ace311a543b52a76653d8d6d6a2f21c2d19f0ab0e0cd869538fa561552e591188f36d7a0aa5634d71cfbd7f2602deb3143a8deccfa66f49420 WHIRLPOOL e9d97aa78c4786b646e84dc50951b4818440517a328c74c32f59e665f8b775d425f4b9a83d56bf3230cadda12fe9708b676bea680a1f659fa66b068eeff49fc3
@@ -73,4 +75,5 @@ EBUILD netbeans-java-9999_p20160315.ebuild 14930 SHA256 3223d62bb9696ef736434c6a
 EBUILD netbeans-java-9999_p20160316.ebuild 14930 SHA256 825e6e76d356b0cac519ea8f82dbf3ba8cf35a7bee2b90d106ef520bd95e56cb SHA512 9042f1f891fa9a8400058179031a6f521ebefa2fe20af5e25eab70c10204db34e2b6b354404ab5bf4367e1fbcffbf7eb2a23258a3255220f9d303d674fb0f93e WHIRLPOOL 1b1cdac4a6698713f0673ad957c77bf4d2047db611ec999bb17f9d89b24df6ff692c5a53525c3cea0cbb905297b4ce46b6c1a75dab6c4558d7b089653ad4bac9
 EBUILD netbeans-java-9999_p20160317.ebuild 14930 SHA256 795be76cd0800c4bc46f7492e7f69efe55866f87f23e6e6add82ad1f2f22bf79 SHA512 c3da9f0a49e973db43b353c339247b73619787e8806a54178c4683cc15d5dd085ba5d3167bc639985a924fd30d2f71ad84bf3f73e303945a610650779049be70 WHIRLPOOL acf15d379a561863838b99a2816da85aee0a6248a1e5fc69992162be599cb6c4a1e95042907fcf013979cb7e8723b4356041775f449b91e8f831ede3ef73742b
 EBUILD netbeans-java-9999_p20160318.ebuild 14930 SHA256 ed99658a8aa6b5fff711e5117d68e428f79a789dba4bcfd5a1fe61805fdfcd59 SHA512 c1ca5e2c5d5862009fbc532f140b9b77ed6130edff37dbe069635d3ed7f3ea05f32c7e7336763807bf391cc75f67fa62ca5c2480ed4a8fa389aca86e153030eb WHIRLPOOL c9953168b1cb056079284e65196e0b10565a5bdaeb570639155cc2051a01e7a892f7110ee743db13ecb2b18e05f02a5a6ada48f42bd9be8b30b82b4c6a3045a1
+EBUILD netbeans-java-9999_p20160323.ebuild 14930 SHA256 c6ce42878879b67b80dde5580208c87c15391646f3df1866e8e1c73a2213b1c7 SHA512 3fcba554c4d3f22c093082393974885a329bb2d7ac3c3b9559e3307946a9a67f6c44b45b321448fe68a0b1e47d0db2262b6c8c3dac7f2c1df6e63b2e7a8b2201 WHIRLPOOL 32802eb70b582d546ca3a955146f007e9c6ed0919bf965693ca0da2b4de98cf6dce16fc4964ed6c893e0356994744a35ecf19507026850490895c2af58764562
 MISC metadata.xml 247 SHA256 8e0ccbf349cdd36adaaa8c3becadea9b65febd7868f27664ef7e70a1197765fe SHA512 1a68c1448a18938e13e6e39e718934a3e700b1d2ca708332d9cefd522d30049794b281c1cc8f788f1d0eb73c468a55b67a4bafbcf6e43317978d661d5d736faf WHIRLPOOL aaa66eab1db9d82717d76e5c65990f7f30e9527a6573006ebc43cc0edb05550ddce87e8e911ba7c7d67de863e6a191cc351b31fed299c4654a7b894f9eb13740

diff --git a/dev-java/netbeans-java/netbeans-java-9999_p20160323.ebuild b/dev-java/netbeans-java/netbeans-java-9999_p20160323.ebuild
new file mode 100644
index 0000000..e83b25d
--- /dev/null
+++ b/dev-java/netbeans-java/netbeans-java-9999_p20160323.ebuild
@@ -0,0 +1,274 @@
+# Copyright 1999-2016 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/2016-03-23_00-01-48/zip/netbeans-trunk-nightly-201603230001-src.zip"
+# jarjar-1.4 contains also asm libraries
+SRC_URI="${SOURCE_URL}
+	http://dev.gentoo.org/~fordfrog/distfiles/netbeans-9999-r15-build.xml.patch.bz2
+	http://hg.netbeans.org/binaries/839F93A5213FB3E233B09BFD6D6B95669F7043C0-aether-api-1.0.2.v20150114.jar
+	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/5D007C6037A8501E73A3D3FB98A1F6AE5768C3DD-nb-javac-api.jar
+	http://hg.netbeans.org/binaries/A53B309173366CAECC47E78F2B4B17121A9798CE-nb-javac-impl.jar
+	http://hg.netbeans.org/binaries/29AF1D338CBB76290D1A96F5A6610F1E8C319AE5-org.eclipse.persistence.jpa.jpql_2.5.2.v20140319-9ad6abd.jar
+	http://hg.netbeans.org/binaries/3CE04BDB48FE315736B1DCE407362C57DFAE286D-org.eclipse.persistence.jpa.modelgen_2.5.2.v20140319-9ad6abd.jar
+	http://hg.netbeans.org/binaries/7666B94C1004AFFFE88E5328BD70EBA6F60125F4-spring-framework-3.2.7.RELEASE.zip
+	http://hg.netbeans.org/binaries/91B55CDAC59BC4DDDF0AF9A54EAAE4304EDEF266-spring-framework-4.0.1.RELEASE.zip
+	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-2.7.7-r7:0
+	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-1: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-r15-build.xml.patch.bz2
+
+	pushd "${S}" >/dev/null || die
+	ln -s "${DISTDIR}"/839F93A5213FB3E233B09BFD6D6B95669F7043C0-aether-api-1.0.2.v20150114.jar maven/external/aether-api-1.0.2.v20150114.jar || 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}"/5D007C6037A8501E73A3D3FB98A1F6AE5768C3DD-nb-javac-api.jar libs.javacapi/external/nb-javac-api.jar || die
+	ln -s "${DISTDIR}"/A53B309173366CAECC47E78F2B4B17121A9798CE-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-r15-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="${D}"/${INSTALL_DIR}/maven/lib
+	pushd "${instdir}" >/dev/null || die
+	rm commons-cli-1.2.jar && java-pkg_jar-from --into "${instdir}" commons-cli-1 commons-cli.jar commons-cli-1.2.jar
+	popd >/dev/null || die
+
+	local instdir="${D}"/${INSTALL_DIR}/modules/ext
+	pushd "${instdir}" >/dev/null || die
+	rm AbsoluteLayout.jar  && java-pkg_jar-from --into "${instdir}" absolutelayout absolutelayout.jar AbsoluteLayout.jar
+	rm beansbinding-1.2.1.jar && java-pkg_jar-from --into "${instdir}" beansbinding beansbinding.jar beansbinding-1.2.1.jar
+	rm cglib-2.2.jar && java-pkg_jar-from --into "${instdir}" cglib-3 cglib.jar cglib-2.2.jar
+	popd >/dev/null || die
+
+	local instdir="${D}"/${INSTALL_DIR}/modules/ext/hibernate4
+	pushd "${instdir}" >/dev/null || die
+	rm antlr-2.7.7.jar && java-pkg_jar-from --into "${instdir}" antlr antlr.jar antlr-2.7.7.jar
+	rm c3p0-0.9.2.1.jar && java-pkg_jar-from --into "${instdir}" c3p0 c3p0.jar c3p0-0.9.2.1.jar
+	rm cglib-2.2.jar && java-pkg_jar-from --into "${instdir}" cglib-3 cglib.jar cglib-2.2.jar
+	rm commons-collections-3.2.1.jar && java-pkg_jar-from --into "${instdir}" commons-collections commons-collections.jar commons-collections-3.2.1.jar
+	rm dom4j-1.6.1.jar && java-pkg_jar-from --into "${instdir}" dom4j-1 dom4j.jar dom4j-1.6.1.jar
+	rm javassist-3.18.1-GA.jar && java-pkg_jar-from --into "${instdir}" javassist-3 javassist.jar javassist-3.18.1-GA.jar
+	rm jboss-logging-3.1.3.GA.jar && java-pkg_jar-from --into "${instdir}" jboss-logging jboss-logging.jar jboss-logging-3.1.3.GA.jar
+	rm jboss-transaction-api_1.2_spec-1.0.0.Final.jar && java-pkg_jar-from --into "${instdir}" glassfish-transaction-api jta.jar jboss-transaction-api_1.2_spec-1.0.0.Final.jar
+	rm jtidy-r8-20060801.jar && java-pkg_jar-from --into "${instdir}" jtidy jtidy.jar jtidy-r8-20060801.jar
+	rm log4j-1.2.12.jar && java-pkg_jar-from --into "${instdir}" log4j log4j.jar log4j-1.2.12.jar
+	rm slf4j-api-1.6.1.jar && java-pkg_jar-from --into "${instdir}" slf4j-api slf4j-api.jar slf4j-api-1.6.1.jar
+	rm slf4j-log4j12-1.6.1.jar && java-pkg_jar-from --into "${instdir}" slf4j-log4j12 slf4j-log4j12.jar slf4j-log4j12-1.6.1.jar
+	rm slf4j-simple-1.6.1.jar && java-pkg_jar-from --into "${instdir}" slf4j-simple slf4j-simple.jar slf4j-simple-1.6.1.jar
+	popd >/dev/null || die
+
+	local instdir="${D}"/${INSTALL_DIR}/modules/ext/jaxws22
+	pushd "${instdir}" >/dev/null || die
+	rm FastInfoset.jar && java-pkg_jar-from --into "${instdir}" fastinfoset fastinfoset.jar FastInfoset.jar
+	rm javax.mail_1.4.jar && java-pkg_jar-from --into "${instdir}" oracle-javamail mail.jar javax.mail_1.4.jar
+	rm mimepull.jar && java-pkg_jar-from --into "${instdir}" mimepull mimepull.jar
+	rm saaj-impl.jar && java-pkg_jar-from --into "${instdir}" saaj saaj.jar saaj-impl.jar
+	rm stax-ex.jar && java-pkg_jar-from --into "${instdir}" stax-ex stax-ex.jar
+	rm stax2-api.jar && java-pkg_jar-from --into "${instdir}" stax2-api stax2-api.jar
+	rm streambuffer.jar && java-pkg_jar-from --into "${instdir}" xmlstreambuffer xmlstreambuffer.jar streambuffer.jar
+	popd >/dev/null || die
+
+	local instdir="${D}"/${INSTALL_DIR}/modules/ext/jaxws22/api
+	pushd "${instdir}" >/dev/null || die
+	rm jsr181-api.jar && java-pkg_jar-from --into "${instdir}" jsr181 jsr181.jar jsr181-api.jar
+	rm saaj-api.jar && java-pkg_jar-from --into "${instdir}" jsr67 jsr67.jar saaj-api.jar
+	popd >/dev/null || die
+
+	local instdir="${D}"/${INSTALL_DIR}/modules/ext/maven
+	pushd "${instdir}" >/dev/null || die
+	rm jdom-1.0.jar && java-pkg_jar-from --into "${instdir}" jdom jdom.jar jdom-1.0.jar
+	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 03b5feb..9983d93 100644
--- a/dev-java/netbeans-javacard/Manifest
+++ b/dev-java/netbeans-javacard/Manifest
@@ -26,6 +26,7 @@ DIST netbeans-trunk-nightly-201603150001-src.zip 210021503 SHA256 b0ea2aa58d93a6
 DIST netbeans-trunk-nightly-201603160001-src.zip 210026634 SHA256 4d66f16a798e9c89599c9d9ca42493a477d2c2d11cae3e5e1e7b6c3876bc953a SHA512 be94af9676f2559c959c213683ff23720798fe3fb8c5849e7d3422a89ab7de011bcd7eb90d7d480789461a8270ed6c2cbac6536f4ba5b5196472a73c1ac3ce73 WHIRLPOOL 53d7422959ba36b979d9b37333863479f811697f880f2e1c1861a1ff83a735364b265c32314e5ecc4a08e94f1478da3e74ed14112bc5a09b5c7b6b9e97385d4d
 DIST netbeans-trunk-nightly-201603170001-src.zip 210039061 SHA256 dbc6ec1a007e00802af0f2b09ce7f8bb66181329339adf912727f0faa8853489 SHA512 0999a494f2c6e93a4caca24c4e50291111fd73c874da130c7bd1a834509689381bc8f59794d5c6d9d6f67e1b8998b12b107efec9d1a19fa31486ad62863c94f1 WHIRLPOOL bf1472b80804371be9fb0ad8f35659c7ac372842b361175d87cc1f580786c8cb064e7aa8447a5957f32ed5aecf3bb0f9b5e89d4157b316e5294e4ff28d5fb9ef
 DIST netbeans-trunk-nightly-201603180001-src.zip 210042763 SHA256 28228314edea02fe1d6d07cb82cad7b1146635d7523ea5f52a1246f6b7d23de8 SHA512 687b12d299eea84a4b9acde9006304a9822686fecbf3df20ce2f18fa7008a42b4adb8bdcbc31d72abc3bb3a434a8b4ddc58377aa9ab1b53228c4a89a61d1ccad WHIRLPOOL 008d327accadf7ee64ff8b12f2d71ecad282bee6a0964815949bd5609b035cfae7be0d26e0b19d18d3a6997d5c7c9f508933f506f377d87cb7488402a8b59c67
+DIST netbeans-trunk-nightly-201603230001-src.zip 210048386 SHA256 4c00dfb9e00a18022cfbb6dfc856de70f76f608fa844dcc50fa0a86f897714ea SHA512 e228c048dd46da6810a92568e57f164d37e5845670013ca7eac8a6d9ba234f758a9691d75a78a9517f06052cc392a6ef5645d3e831cdc433af9534847b726e14 WHIRLPOOL dca834fa3054db92fcd19e69094764b9f95683b7a1a404b3965922df8495d6d0a01030646e1c17312b9a1645ea5c981e26ad2a8e65f53cce680e934093754375
 EBUILD netbeans-javacard-8.0.2.ebuild 4906 SHA256 944fee40d693c2c287e748f70ba565f3cd84bb7c19110f8be716134ec20694a7 SHA512 1f66cd2756effbfde7d43f9da7d8d93cb6252c58a02ee3d821f6faeaf63bf3c63e28f80c6eb44689e3aa954452a2f3893c65e75de84158dff1da0d94cafea14a WHIRLPOOL 88197e03008b8acb1ce62f72783bb096d9a3fc2a289b83367841a8adbee2bf822031f9bd6051831515ee44b1d5d2a109c5646f98ca723506f27c874301fb4189
 EBUILD netbeans-javacard-8.1.ebuild 4930 SHA256 5342d0d3f4207da3d36eb19f0fa78015f33b4a6e6435fcf43b7f568afabb9d02 SHA512 5275ae0fd617e26cd8580f6256a766bdd9cc0299f5a488be5a97744ec6abddf262e5fb1db358b9ac00203bbedfe7ac152828b174856d9cf6fa06e1e2128e219b WHIRLPOOL 427bfed5b61a421340acf7ec0cfb5e88a8b4a68cb546b9d0546b7c69ab0e29700d03e2bf58641bde63a2a43579b0521c028cf57dbf25af280fb0732565a30617
 EBUILD netbeans-javacard-9999_p20160223.ebuild 4971 SHA256 81eaadb7b246ee0314f77557067d32da709ce6be3bb6f9fcaafddba33fd6129a SHA512 3c68f002019a464bcf5892befff75778eb4af2dcf63c922cda3f400c78e59eab65bc9034d71e1677d6c1ff54c4fc0bee464c5cb54bff2170f746b3a2306d92c7 WHIRLPOOL 0955a607abd596b29acfcb94a6bfaba00760e8da438b9cbf4ec7561696729078f9747615f68654d902c1be8e448a12256205e75cfadf5455b791b577e2c1bda2
@@ -47,4 +48,5 @@ EBUILD netbeans-javacard-9999_p20160315.ebuild 4971 SHA256 4dc593056ecac0ea7ff71
 EBUILD netbeans-javacard-9999_p20160316.ebuild 4971 SHA256 f49fc339a8fc9eb802540f8602cc83da965793e7e8e9263b732d92944eef31e9 SHA512 01c897c31a975ac8d8f1bea21c5648653fe4e36fb0e7e563c487c092f38d76ae8d4cd354848fdb448a364fd301eed409d4bc8f496499a04402794a65bf748ee3 WHIRLPOOL 7e67fd153f8b0542d37f84b64f8a45cdd100ccca8ccfc407f4bd66a5f5d9febab3a65b8d4ee614355ae1a43cc3c9ad64175bf73af1c5aec27c9f1b59838b1de5
 EBUILD netbeans-javacard-9999_p20160317.ebuild 4971 SHA256 491df3c98164a05ae23d9b5e73223b3b41dc9351feff5cacdb34b97f048c244d SHA512 cfd8484e25fa1695b0f63d230e13819abe002762cb45151e4484f736888dbc5f161adc07898c06e5af5062eb50018f03b05de8d92629153ccf288208c9504cc1 WHIRLPOOL ea3182004a92930e60b3c3ea3edf98a2e9e6610c91b45bb75721d07d1e15b10ed7cb2b23e99b3cd217f239f94c23ebb7b2f838629cffc22a30a9d3b519df38e9
 EBUILD netbeans-javacard-9999_p20160318.ebuild 4971 SHA256 056699e04063ee897948036907be6bf83365b0f8305e3dc516c75cfd22f935b8 SHA512 c00f7a769bb86713a7f6e08b10459972da5a8b0d64290316b11d0764302c851c08dcdf24d3c9a351d7921287395a17b75dafc2620c3df498b541b22c3e7e4627 WHIRLPOOL 06362f02d0a87760e59ed257a06c2d9df21c25fe38cae339e3fc424f813abb46a7ccab6197cc76131258ed6a78987e5764ea49842c0745a0562933f8ab4813fb
+EBUILD netbeans-javacard-9999_p20160323.ebuild 4971 SHA256 304241fa6209ff3e1cf3bfc82965b593e706860bdc9fdbf898428725b602b014 SHA512 cb95ddafcda3a2f94f4535e9d106f2ccf3a23e027cea3f510aafb508c13e899132bec1f89512805515fbec872a917b197425c9e5db80cb4f5637a16b7ba731ea WHIRLPOOL 001a3357ef99f759d08eba878eeb9d1f829338ab21e5a0806d02477419081663708c98a9f7c2d56d5b97b67d1a9cf457f5917f0e247764910114d4b2e34cdeb8
 MISC metadata.xml 247 SHA256 8e0ccbf349cdd36adaaa8c3becadea9b65febd7868f27664ef7e70a1197765fe SHA512 1a68c1448a18938e13e6e39e718934a3e700b1d2ca708332d9cefd522d30049794b281c1cc8f788f1d0eb73c468a55b67a4bafbcf6e43317978d661d5d736faf WHIRLPOOL aaa66eab1db9d82717d76e5c65990f7f30e9527a6573006ebc43cc0edb05550ddce87e8e911ba7c7d67de863e6a191cc351b31fed299c4654a7b894f9eb13740

diff --git a/dev-java/netbeans-javacard/netbeans-javacard-9999_p20160323.ebuild b/dev-java/netbeans-javacard/netbeans-javacard-9999_p20160323.ebuild
new file mode 100644
index 0000000..254b7ff
--- /dev/null
+++ b/dev-java/netbeans-javacard/netbeans-javacard-9999_p20160323.ebuild
@@ -0,0 +1,134 @@
+# Copyright 1999-2016 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/2016-03-23_00-01-48/zip/netbeans-trunk-nightly-201603230001-src.zip"
+SRC_URI="${SOURCE_URL}
+	http://dev.gentoo.org/~fordfrog/distfiles/netbeans-9999-r15-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-r15-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-r15-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="${D}"/${INSTALL_DIR}/JCDK3.0.2_ConnectedEdition/lib
+	pushd "${instdir}" >/dev/null || die
+	rm ant-contrib-1.0b3.jar && java-pkg_jar-from --into "${instdir}" ant-contrib ant-contrib.jar ant-contrib-1.0b3.jar
+	rm asm-all-3.1.jar && java-pkg_jar-from --into "${instdir}" asm-3 asm.jar asm-all-3.1.jar
+	rm bcel-5.2.jar && java-pkg_jar-from --into "${instdir}" bcel bcel.jar bcel-5.2.jar
+	rm commons-cli-1.0.jar && java-pkg_jar-from --into "${instdir}" commons-cli-1 commons-cli.jar commons-cli-1.0.jar
+	rm commons-codec-1.3.jar && java-pkg_jar-from --into "${instdir}" commons-codec commons-codec.jar commons-codec-1.3.jar
+	rm commons-httpclient-3.0.jar && java-pkg_jar-from --into "${instdir}" commons-httpclient-3 commons-httpclient.jar commons-httpclient-3.0.jar
+	rm commons-logging-1.1.jar && java-pkg_jar-from --into "${instdir}" commons-logging commons-logging.jar commons-logging-1.1.jar
+	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 189511e..7742b92 100644
--- a/dev-java/netbeans-javadoc/Manifest
+++ b/dev-java/netbeans-javadoc/Manifest
@@ -24,6 +24,7 @@ DIST netbeans-trunk-nightly-201603150001-src.zip 210021503 SHA256 b0ea2aa58d93a6
 DIST netbeans-trunk-nightly-201603160001-src.zip 210026634 SHA256 4d66f16a798e9c89599c9d9ca42493a477d2c2d11cae3e5e1e7b6c3876bc953a SHA512 be94af9676f2559c959c213683ff23720798fe3fb8c5849e7d3422a89ab7de011bcd7eb90d7d480789461a8270ed6c2cbac6536f4ba5b5196472a73c1ac3ce73 WHIRLPOOL 53d7422959ba36b979d9b37333863479f811697f880f2e1c1861a1ff83a735364b265c32314e5ecc4a08e94f1478da3e74ed14112bc5a09b5c7b6b9e97385d4d
 DIST netbeans-trunk-nightly-201603170001-src.zip 210039061 SHA256 dbc6ec1a007e00802af0f2b09ce7f8bb66181329339adf912727f0faa8853489 SHA512 0999a494f2c6e93a4caca24c4e50291111fd73c874da130c7bd1a834509689381bc8f59794d5c6d9d6f67e1b8998b12b107efec9d1a19fa31486ad62863c94f1 WHIRLPOOL bf1472b80804371be9fb0ad8f35659c7ac372842b361175d87cc1f580786c8cb064e7aa8447a5957f32ed5aecf3bb0f9b5e89d4157b316e5294e4ff28d5fb9ef
 DIST netbeans-trunk-nightly-201603180001-src.zip 210042763 SHA256 28228314edea02fe1d6d07cb82cad7b1146635d7523ea5f52a1246f6b7d23de8 SHA512 687b12d299eea84a4b9acde9006304a9822686fecbf3df20ce2f18fa7008a42b4adb8bdcbc31d72abc3bb3a434a8b4ddc58377aa9ab1b53228c4a89a61d1ccad WHIRLPOOL 008d327accadf7ee64ff8b12f2d71ecad282bee6a0964815949bd5609b035cfae7be0d26e0b19d18d3a6997d5c7c9f508933f506f377d87cb7488402a8b59c67
+DIST netbeans-trunk-nightly-201603230001-src.zip 210048386 SHA256 4c00dfb9e00a18022cfbb6dfc856de70f76f608fa844dcc50fa0a86f897714ea SHA512 e228c048dd46da6810a92568e57f164d37e5845670013ca7eac8a6d9ba234f758a9691d75a78a9517f06052cc392a6ef5645d3e831cdc433af9534847b726e14 WHIRLPOOL dca834fa3054db92fcd19e69094764b9f95683b7a1a404b3965922df8495d6d0a01030646e1c17312b9a1645ea5c981e26ad2a8e65f53cce680e934093754375
 EBUILD netbeans-javadoc-8.0.2.ebuild 5993 SHA256 baf9da38d87b86eb8ed10ef46017361f36ca8583dd90885c9d1667a51851bc52 SHA512 892bc25b30dc26e3ee7c8be9aaf8542c00a7fa1d1d8f883d82bebb816edfa93e1ee9abeac1b0c47ecc8b4169bcaded56c5c71f18151fdc22fe241fcee0fd4521 WHIRLPOOL 2012f28f3ba5074b4d262b20e9a1c8ddf590ce444339ec1a404c890867c1271e38f9f9e09717d0648fae061553f5c8da3d97a70c35c8e853fe4894fb6fd4ec96
 EBUILD netbeans-javadoc-8.1.ebuild 6247 SHA256 5f0ab01cbea85353ac471a46e341750785f4889732c9da111d77b87bbd1bcc2d SHA512 4a4636f4f58a9baba9d9f5bac4ee7d4f57c0e07d6790902d34974383660f2926c4c4b16a27bacc2a3a7a0a6d5b7699caae90bb2ac513ac8e0535e46d11ec345e WHIRLPOOL 9cbac0234b9f1a8122df116512d5154b7e85561fd9541e0a77dc5c2b5863cf3238400ac17d05499e950705309faa97caace6da00c912ea07d6a74b0076f683ed
 EBUILD netbeans-javadoc-9999_p20160223.ebuild 6293 SHA256 ab491f58251c66c9b1c0fc2daa7839dd5720ff13a841a34dc19a7b136fb3b747 SHA512 69dccbf92f435fee525321b3fe00e4d615ae89e4c92018492623e8c8c987220dd27bbc772707551c02e07e28e6a104c28d8f88f3fc93da319804190f0607cfbe WHIRLPOOL 52d861f5748d1a6542286c1422dd7a3f2973c531aceac0b23dfdf6da9fd19c3eea37c20555ddc14e7ebd928fe6fc156088b4e84351f116320dd0cffe24c8a5c7
@@ -45,4 +46,5 @@ EBUILD netbeans-javadoc-9999_p20160315.ebuild 6293 SHA256 857667472fc304f18c2c51
 EBUILD netbeans-javadoc-9999_p20160316.ebuild 6293 SHA256 522dc944441e51c7cef0fb129c2779588d4282ac2aa315bae1c267821f6a3ef3 SHA512 0cae801105968a8123aaaadb95629cca04fe23dfccc1b0e2872bcacdbb802462d0213315e4846112ec63cee60bca270db63a344a5ce9196c1196a8ae9cd68c8d WHIRLPOOL 99131e7238a64ebbfba835e3ff4716e95fdb76cd192de6fe5e48cfb06328ef05138e56729a2f6e468c0bb7d546ee35332547b3cae3c80f359ca52b795283dfab
 EBUILD netbeans-javadoc-9999_p20160317.ebuild 6293 SHA256 ccba0cc3f2c9c218e249dbcb4212ede5a0cc3aab0ca730c098bb676af31e319f SHA512 0145f315f13f6a0b2ccde9945c1e28abfb060dd4bbb7150de508500bbdede9aa633e38027452c1b6e1a8854e5533f37adb0f4c5c26c49f03c4fe299f32291acd WHIRLPOOL 2c0dcdecb1682c057612b39d91b3eddaec685dda5277a8a1f438890659bd84f55932d6e80114062a9964e78135795ada6e47de7969942a7ee7f16a7b38a7ab97
 EBUILD netbeans-javadoc-9999_p20160318.ebuild 6293 SHA256 94c55bf82cc3a3c779f08957a2d8c0532bff6f9f9fd9f8bd691199c34ba17960 SHA512 a253b65835d939c2e88ff7f1d6d0f30992ccdff1d89f6a20517a74c1b76941b2cd4d5e279be7b28dd422b47d60f55911770ec5e5fa1f18b59f1ec5df1367b8ac WHIRLPOOL 2b7047fe8b601b61a3f4639f058bfd531e409a61a95bda0582d4c44d68e9e3c3c2be85a8faf4a750a95303f3ac8908703106576eeef571bb89b7da7e9e8f868c
+EBUILD netbeans-javadoc-9999_p20160323.ebuild 6293 SHA256 a0d7dfbb1f4ad34d6cfe54c149cdad842345449c3c640917bdbf96fa9b2e16e9 SHA512 09a676ab446a5b13157ca1290f034c8d85fc185f2fed5e62bbf2d47a005d5edad7fbe1df2c11e85e1267132d511ffef5237fa6dadc980f3688d108e199358406 WHIRLPOOL 4428da9319652f8000a3a83fefaf5eef6bb77364817c287c5565008962592074fb06e69f40b9d147ecfa7887f945d397a417e9e365fcc6c2bbefe08b6683652a
 MISC metadata.xml 247 SHA256 8e0ccbf349cdd36adaaa8c3becadea9b65febd7868f27664ef7e70a1197765fe SHA512 1a68c1448a18938e13e6e39e718934a3e700b1d2ca708332d9cefd522d30049794b281c1cc8f788f1d0eb73c468a55b67a4bafbcf6e43317978d661d5d736faf WHIRLPOOL aaa66eab1db9d82717d76e5c65990f7f30e9527a6573006ebc43cc0edb05550ddce87e8e911ba7c7d67de863e6a191cc351b31fed299c4654a7b894f9eb13740

diff --git a/dev-java/netbeans-javadoc/netbeans-javadoc-9999_p20160323.ebuild b/dev-java/netbeans-javadoc/netbeans-javadoc-9999_p20160323.ebuild
new file mode 100644
index 0000000..eed11f0
--- /dev/null
+++ b/dev-java/netbeans-javadoc/netbeans-javadoc-9999_p20160323.ebuild
@@ -0,0 +1,168 @@
+# Copyright 1999-2016 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/2016-03-23_00-01-48/zip/netbeans-trunk-nightly-201603230001-src.zip"
+SRC_URI="${SOURCE_URL}
+	http://dev.gentoo.org/~fordfrog/distfiles/netbeans-9999-r15-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 of javafx which is not currently packaged separately
+DEPEND="dev-java/oracle-jdk-bin:1.8[javafx]
+	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.8"
+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-r15-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-r15-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 -Dpermit.jdk8.builds=true -f nbbuild/build.xml bootstrap || die
+	ANT_OPTS="-Xmx1536m" eant -Dpermit.jdk8.builds=true -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 ea09c67..8f0bfbb 100644
--- a/dev-java/netbeans-javafx/Manifest
+++ b/dev-java/netbeans-javafx/Manifest
@@ -31,6 +31,7 @@ DIST netbeans-trunk-nightly-201603150001-src.zip 210021503 SHA256 b0ea2aa58d93a6
 DIST netbeans-trunk-nightly-201603160001-src.zip 210026634 SHA256 4d66f16a798e9c89599c9d9ca42493a477d2c2d11cae3e5e1e7b6c3876bc953a SHA512 be94af9676f2559c959c213683ff23720798fe3fb8c5849e7d3422a89ab7de011bcd7eb90d7d480789461a8270ed6c2cbac6536f4ba5b5196472a73c1ac3ce73 WHIRLPOOL 53d7422959ba36b979d9b37333863479f811697f880f2e1c1861a1ff83a735364b265c32314e5ecc4a08e94f1478da3e74ed14112bc5a09b5c7b6b9e97385d4d
 DIST netbeans-trunk-nightly-201603170001-src.zip 210039061 SHA256 dbc6ec1a007e00802af0f2b09ce7f8bb66181329339adf912727f0faa8853489 SHA512 0999a494f2c6e93a4caca24c4e50291111fd73c874da130c7bd1a834509689381bc8f59794d5c6d9d6f67e1b8998b12b107efec9d1a19fa31486ad62863c94f1 WHIRLPOOL bf1472b80804371be9fb0ad8f35659c7ac372842b361175d87cc1f580786c8cb064e7aa8447a5957f32ed5aecf3bb0f9b5e89d4157b316e5294e4ff28d5fb9ef
 DIST netbeans-trunk-nightly-201603180001-src.zip 210042763 SHA256 28228314edea02fe1d6d07cb82cad7b1146635d7523ea5f52a1246f6b7d23de8 SHA512 687b12d299eea84a4b9acde9006304a9822686fecbf3df20ce2f18fa7008a42b4adb8bdcbc31d72abc3bb3a434a8b4ddc58377aa9ab1b53228c4a89a61d1ccad WHIRLPOOL 008d327accadf7ee64ff8b12f2d71ecad282bee6a0964815949bd5609b035cfae7be0d26e0b19d18d3a6997d5c7c9f508933f506f377d87cb7488402a8b59c67
+DIST netbeans-trunk-nightly-201603230001-src.zip 210048386 SHA256 4c00dfb9e00a18022cfbb6dfc856de70f76f608fa844dcc50fa0a86f897714ea SHA512 e228c048dd46da6810a92568e57f164d37e5845670013ca7eac8a6d9ba234f758a9691d75a78a9517f06052cc392a6ef5645d3e831cdc433af9534847b726e14 WHIRLPOOL dca834fa3054db92fcd19e69094764b9f95683b7a1a404b3965922df8495d6d0a01030646e1c17312b9a1645ea5c981e26ad2a8e65f53cce680e934093754375
 EBUILD netbeans-javafx-8.0.2.ebuild 4647 SHA256 15e5e0b1c4729852dd55e5bfb2dcb520ba7c959bd9927d315c0abcb3f94e4ecc SHA512 520c60264fee67b0ccfd50ced0cc8586d5653d5186fa75c6b7cd8b400aae834de446b7e6145ad38df7e68207391fb360ef4834140e096d48add568fed387ac98 WHIRLPOOL 416a56ceb2ba85e3923ada0c8ef485cdd6fa16b3423b8fd0de523fa54dd082cbaedee5da4f1a92b50e440195f9256376f50e99a850d70ccdcb8c0ff370007f7c
 EBUILD netbeans-javafx-8.1.ebuild 4671 SHA256 2a12bebaca0ddbb03b84c33de7f5933f76a8381db3c40013fc4014687ded6cd4 SHA512 ff410f96e808c414e3e9485461866239080098e46e843ee771a78a0afffddc1c776697dccb276daf7f87dadf915a212bfe9c2a07b3a8a9057cb3ea19b77163fb WHIRLPOOL 51729142255a16d4cd949d4bf5f3b681d36bc83f30dad39aad9d1dd56f7dcec0dae4377817350e7947d518129a74eec7f227c3cb1600ac168ea90d056b87d195
 EBUILD netbeans-javafx-9999_p20160223.ebuild 4717 SHA256 25d4a8912785b067f6dd613c6514cdfe999b0bebe59f22da20f626ccf2cbfaac SHA512 00f8e10a57e386752083fc639244212f709603d3013abc966b5db24996bbf347074d1ab7a6a37b7bb6faa94d38fe7cf39d93194afb8055ee65be5568c5f01ba2 WHIRLPOOL f7aa8804118828ffd06a2d5226d935d2dac3185ae7a369b6e407df90e89be86ddd3ba13ef7672414826f8e570f8a0507f89b2a7988c243c25157bc28f37063b2
@@ -52,4 +53,5 @@ EBUILD netbeans-javafx-9999_p20160315.ebuild 4717 SHA256 7a3117eda7d8012a76c3e05
 EBUILD netbeans-javafx-9999_p20160316.ebuild 4717 SHA256 764340a3f0915bd67ef742dd8403815a517d3d127333fdb0214d8386d42c913f SHA512 975b7c9206e8cdadc9da21fa8c1a783339b1d8178d0012417c22667588a8ce297cbbf1daa59fc966c25dcbde07f05bc8d67fd42cb60f66e4234f208871746b69 WHIRLPOOL cf2273d03cbd3f4c76572e0bd111c836f953b35dd72db8874d1e578a903051fd1deb243b94050f4f08502a7486dd267cd2e9d3dd37ac55821c331e8ebf87deb3
 EBUILD netbeans-javafx-9999_p20160317.ebuild 4717 SHA256 fb1f635f5c5704857ea78a0a16da84600acc9fe2f60abef9e154c639ea8f4f16 SHA512 90b84a7e610f5c7d49eb119bec67cfbfea7bccba2a6d71e3db34e2176f249eda189066950788f4d67202b15ce47bfdd0c2a4c9cf6e56a13feb3cd04d7e32f92b WHIRLPOOL 741d79a2c97aa0e864a9fa8faf7da363b8b5d723060f6f712ca84cfb6f5dd4aeb57ab38c06b5813e349b05168f2228e65e43613945aa666fcca22cadedddd441
 EBUILD netbeans-javafx-9999_p20160318.ebuild 4717 SHA256 a98b52d8510e05b83888095205f09ca6e6aef0a8974e3f7e02f89db3d9b9ad4a SHA512 de84cda652907da0af796186bf487db82ec633899ed93d4e6d9df538bf0893aa97f364083707d573e115a2eaf3c4d85dabfca3586be6712c8098e883159eb8a5 WHIRLPOOL 3193c22d944a64b2f7b471098ae0ed136052a91b6f7ec2efc7bf4cde4b53cc8966a0c1a2e80b4ae78d16bbc3310ffab876f7577f13676442e0f3a8ec781a2c7e
+EBUILD netbeans-javafx-9999_p20160323.ebuild 4717 SHA256 acee79578d7f2ddc855790643f5c3cab5c04789a55609ee1748f112a28539bca SHA512 6ebf45a1e5db61d201d9131a1ce5b38105a2863b71b2ce8b8c6220d75505e874809f4a2f87ae7c0065458c896210b279d326cae108288797c0c23c84bda11c72 WHIRLPOOL f9a674934de5f0dc52a785884b0e7b746d9176f3d387ea3097e74ba8f8e093960ce5d5f7d2751caa05899e4d48773712283f68f5753b7a8bd300d984b04e135d
 MISC metadata.xml 247 SHA256 8e0ccbf349cdd36adaaa8c3becadea9b65febd7868f27664ef7e70a1197765fe SHA512 1a68c1448a18938e13e6e39e718934a3e700b1d2ca708332d9cefd522d30049794b281c1cc8f788f1d0eb73c468a55b67a4bafbcf6e43317978d661d5d736faf WHIRLPOOL aaa66eab1db9d82717d76e5c65990f7f30e9527a6573006ebc43cc0edb05550ddce87e8e911ba7c7d67de863e6a191cc351b31fed299c4654a7b894f9eb13740

diff --git a/dev-java/netbeans-javafx/netbeans-javafx-9999_p20160323.ebuild b/dev-java/netbeans-javafx/netbeans-javafx-9999_p20160323.ebuild
new file mode 100644
index 0000000..6eb09fc
--- /dev/null
+++ b/dev-java/netbeans-javafx/netbeans-javafx-9999_p20160323.ebuild
@@ -0,0 +1,124 @@
+# Copyright 1999-2016 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/2016-03-23_00-01-48/zip/netbeans-trunk-nightly-201603230001-src.zip"
+SRC_URI="${SOURCE_URL}
+	http://dev.gentoo.org/~fordfrog/distfiles/netbeans-9999-r15-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/5D007C6037A8501E73A3D3FB98A1F6AE5768C3DD-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-r15-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}"/5D007C6037A8501E73A3D3FB98A1F6AE5768C3DD-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-r15-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 022ccfe..720ea68 100644
--- a/dev-java/netbeans-mobility/Manifest
+++ b/dev-java/netbeans-mobility/Manifest
@@ -23,6 +23,7 @@ DIST netbeans-trunk-nightly-201603150001-src.zip 210021503 SHA256 b0ea2aa58d93a6
 DIST netbeans-trunk-nightly-201603160001-src.zip 210026634 SHA256 4d66f16a798e9c89599c9d9ca42493a477d2c2d11cae3e5e1e7b6c3876bc953a SHA512 be94af9676f2559c959c213683ff23720798fe3fb8c5849e7d3422a89ab7de011bcd7eb90d7d480789461a8270ed6c2cbac6536f4ba5b5196472a73c1ac3ce73 WHIRLPOOL 53d7422959ba36b979d9b37333863479f811697f880f2e1c1861a1ff83a735364b265c32314e5ecc4a08e94f1478da3e74ed14112bc5a09b5c7b6b9e97385d4d
 DIST netbeans-trunk-nightly-201603170001-src.zip 210039061 SHA256 dbc6ec1a007e00802af0f2b09ce7f8bb66181329339adf912727f0faa8853489 SHA512 0999a494f2c6e93a4caca24c4e50291111fd73c874da130c7bd1a834509689381bc8f59794d5c6d9d6f67e1b8998b12b107efec9d1a19fa31486ad62863c94f1 WHIRLPOOL bf1472b80804371be9fb0ad8f35659c7ac372842b361175d87cc1f580786c8cb064e7aa8447a5957f32ed5aecf3bb0f9b5e89d4157b316e5294e4ff28d5fb9ef
 DIST netbeans-trunk-nightly-201603180001-src.zip 210042763 SHA256 28228314edea02fe1d6d07cb82cad7b1146635d7523ea5f52a1246f6b7d23de8 SHA512 687b12d299eea84a4b9acde9006304a9822686fecbf3df20ce2f18fa7008a42b4adb8bdcbc31d72abc3bb3a434a8b4ddc58377aa9ab1b53228c4a89a61d1ccad WHIRLPOOL 008d327accadf7ee64ff8b12f2d71ecad282bee6a0964815949bd5609b035cfae7be0d26e0b19d18d3a6997d5c7c9f508933f506f377d87cb7488402a8b59c67
+DIST netbeans-trunk-nightly-201603230001-src.zip 210048386 SHA256 4c00dfb9e00a18022cfbb6dfc856de70f76f608fa844dcc50fa0a86f897714ea SHA512 e228c048dd46da6810a92568e57f164d37e5845670013ca7eac8a6d9ba234f758a9691d75a78a9517f06052cc392a6ef5645d3e831cdc433af9534847b726e14 WHIRLPOOL dca834fa3054db92fcd19e69094764b9f95683b7a1a404b3965922df8495d6d0a01030646e1c17312b9a1645ea5c981e26ad2a8e65f53cce680e934093754375
 EBUILD netbeans-mobility-8.0.2.ebuild 4342 SHA256 e9b4ff8fe38904346bc21a82219696e97322bf9df4e9d4cad2259b6f08bbe7f9 SHA512 338711fe61c469cee80e499ddf8c3ad70a3a38e6658311afcd1d24edd1a99b87566fafcbd392bb958b589796e0913d2574b07570870c8d3382a91a324227082f WHIRLPOOL 855b2817c36bea67c8fb368a0740be18b71dbebb2b98a154552f002a56eaff34f54eee2698379d7200a6042c1de699df23e7717b5b6c532776852d8757b74cb0
 EBUILD netbeans-mobility-8.1.ebuild 4366 SHA256 fe10d103a284b8f82b67179ea52d51d57b43cfc4a4084b97e3f9650526621497 SHA512 36bdf0948b41bfe4f9c66fe093030d5f27b90f5a89be94dfbd176e3887b249d5aa3eb9b0924df142291f0d693f274eef840ed3a7f658106847327befd0374710 WHIRLPOOL f9dd44e6401367b2df73c5f1428bff53547ac012068297667666d0241c29310aed4413a368e5350a996af37ad026e875325467b1a165cba6953d99a5da3a0d76
 EBUILD netbeans-mobility-9999_p20160223.ebuild 4412 SHA256 67e415144e9fce632d238454d32f3035f596c3bae87065d5a3b4a8702acbc3b2 SHA512 08b8f044ef846999e65c1fb928ca2f89088755694c87648b5e4de49321e03df67338a3e7cc5a6ef93207236de127074984e56e2c76b2b3ba3a68a7d82dba8a8e WHIRLPOOL 44f24e92b3d3aecf16ba3f5ceaf1caf0616c9ecf26b436690c8d33e6a29bb89717fc1f26d0b645d65edae12ddf4bb58606434f9878db53aa16886b7128a6c3f9
@@ -44,4 +45,5 @@ EBUILD netbeans-mobility-9999_p20160315.ebuild 4412 SHA256 0c7901b03cc9788d79ff5
 EBUILD netbeans-mobility-9999_p20160316.ebuild 4412 SHA256 ea5cfd184f876ba7820e0445313ba89d52967b54fd52a2af7be746f0819a1a62 SHA512 170b2967bae914b35b7e6451eef48ef7c9288f7b99694dff9d4fd29831e82526484c979b9118846a5a3c2fd39310745d211fdec281daa8c70eb96eb8b8039b63 WHIRLPOOL 65e40a9b307446b0d03b6fc59175722d12920c53c80a628cc03b8437bc66df9960d50fe5c9f90356559cb01f9e7311588d6a719413dd0293976f0767ba148044
 EBUILD netbeans-mobility-9999_p20160317.ebuild 4412 SHA256 c874d20f71d2227100460844e28bb4bc00bd19aa4d7483eea1b129f5c814e820 SHA512 75e6e3afc5a62312103a33b503208e0493307174fb50dddfa04723b7ce9eeb9fd6ac58a0cf7d688f93cb01671155ba5879fed235d8708dd5e9ebaf8c5b01c80b WHIRLPOOL d5fc34223f3b84d8af14f871b6589e47e0b5417a4446e74d50d088d67392e2944d5e3b690af0168be84310d963a4af03a62402419d21ab7873a7b4aa652ded7d
 EBUILD netbeans-mobility-9999_p20160318.ebuild 4412 SHA256 357ef62e12cdb2bf03ed092bdc0a11d1a438827263d12f34dbc4ed63ead26751 SHA512 1110898e3b5d77ab0c7237daa1091b2c34e2de0cb9b9f9bfce195be22e32e0b74e2c669aa94575cd45535fbcaa084694cae85c9378b79dd556d038ab5696f8dc WHIRLPOOL 72e4781b2ee1d5e067f461ae0559a6a9397284a93ed1a3d422c151f662a2756050efd2ca1762aec78401fe7ad9555f0d3bfe0db65b9cc484db34ee86bfb952ef
+EBUILD netbeans-mobility-9999_p20160323.ebuild 4412 SHA256 2c08c29b61f44d19335f0bf220f7ec820b0192d0ca47d769c711a2d72ead05d0 SHA512 4b398ca24c711f2f1bcf1afc481ed4a280afd96cb80a12f110b0e0413fe9b16d2d256675a10d40b7e53b70715487af45717513300268b97cc15d76228300e212 WHIRLPOOL 8c18bd51f1b207fc4e50bc627cb4486eb214cac313445bebabb1219a77df8c9f373a4be08b8653fa42a17c7f271ba29d0adf305adba642f9ec7726e351bcc5d8
 MISC metadata.xml 247 SHA256 8e0ccbf349cdd36adaaa8c3becadea9b65febd7868f27664ef7e70a1197765fe SHA512 1a68c1448a18938e13e6e39e718934a3e700b1d2ca708332d9cefd522d30049794b281c1cc8f788f1d0eb73c468a55b67a4bafbcf6e43317978d661d5d736faf WHIRLPOOL aaa66eab1db9d82717d76e5c65990f7f30e9527a6573006ebc43cc0edb05550ddce87e8e911ba7c7d67de863e6a191cc351b31fed299c4654a7b894f9eb13740

diff --git a/dev-java/netbeans-mobility/netbeans-mobility-9999_p20160323.ebuild b/dev-java/netbeans-mobility/netbeans-mobility-9999_p20160323.ebuild
new file mode 100644
index 0000000..9c0eef7
--- /dev/null
+++ b/dev-java/netbeans-mobility/netbeans-mobility-9999_p20160323.ebuild
@@ -0,0 +1,126 @@
+# Copyright 1999-2016 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/2016-03-23_00-01-48/zip/netbeans-trunk-nightly-201603230001-src.zip"
+SRC_URI="${SOURCE_URL}
+	http://dev.gentoo.org/~fordfrog/distfiles/netbeans-9999-r15-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-r15-build.xml.patch.bz2
+}
+
+src_prepare() {
+	einfo "Deleting bundled class files..."
+	find -name "*.class" -type f | xargs rm -vf
+
+	epatch netbeans-9999-r15-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 4e1f306..65b6dd8 100644
--- a/dev-java/netbeans-nb/Manifest
+++ b/dev-java/netbeans-nb/Manifest
@@ -26,6 +26,7 @@ DIST netbeans-trunk-nightly-201603150001-src.zip 210021503 SHA256 b0ea2aa58d93a6
 DIST netbeans-trunk-nightly-201603160001-src.zip 210026634 SHA256 4d66f16a798e9c89599c9d9ca42493a477d2c2d11cae3e5e1e7b6c3876bc953a SHA512 be94af9676f2559c959c213683ff23720798fe3fb8c5849e7d3422a89ab7de011bcd7eb90d7d480789461a8270ed6c2cbac6536f4ba5b5196472a73c1ac3ce73 WHIRLPOOL 53d7422959ba36b979d9b37333863479f811697f880f2e1c1861a1ff83a735364b265c32314e5ecc4a08e94f1478da3e74ed14112bc5a09b5c7b6b9e97385d4d
 DIST netbeans-trunk-nightly-201603170001-src.zip 210039061 SHA256 dbc6ec1a007e00802af0f2b09ce7f8bb66181329339adf912727f0faa8853489 SHA512 0999a494f2c6e93a4caca24c4e50291111fd73c874da130c7bd1a834509689381bc8f59794d5c6d9d6f67e1b8998b12b107efec9d1a19fa31486ad62863c94f1 WHIRLPOOL bf1472b80804371be9fb0ad8f35659c7ac372842b361175d87cc1f580786c8cb064e7aa8447a5957f32ed5aecf3bb0f9b5e89d4157b316e5294e4ff28d5fb9ef
 DIST netbeans-trunk-nightly-201603180001-src.zip 210042763 SHA256 28228314edea02fe1d6d07cb82cad7b1146635d7523ea5f52a1246f6b7d23de8 SHA512 687b12d299eea84a4b9acde9006304a9822686fecbf3df20ce2f18fa7008a42b4adb8bdcbc31d72abc3bb3a434a8b4ddc58377aa9ab1b53228c4a89a61d1ccad WHIRLPOOL 008d327accadf7ee64ff8b12f2d71ecad282bee6a0964815949bd5609b035cfae7be0d26e0b19d18d3a6997d5c7c9f508933f506f377d87cb7488402a8b59c67
+DIST netbeans-trunk-nightly-201603230001-src.zip 210048386 SHA256 4c00dfb9e00a18022cfbb6dfc856de70f76f608fa844dcc50fa0a86f897714ea SHA512 e228c048dd46da6810a92568e57f164d37e5845670013ca7eac8a6d9ba234f758a9691d75a78a9517f06052cc392a6ef5645d3e831cdc433af9534847b726e14 WHIRLPOOL dca834fa3054db92fcd19e69094764b9f95683b7a1a404b3965922df8495d6d0a01030646e1c17312b9a1645ea5c981e26ad2a8e65f53cce680e934093754375
 EBUILD netbeans-nb-8.0.2.ebuild 4927 SHA256 7531e50c4d76608bf925efdba4f54f522de3a8ceeef4d48807fb4ee48bfabdf6 SHA512 925734f331cf228066c5c9e614f48b756af31cac8b559cfe756347b6a2cb0ce362c7c41489a25084f2ed3f2e415baefd148a54f39fc00269fb14179efe056cb9 WHIRLPOOL e3224c5f22bb8e4792a5f98bbe819e071ff18c99533ce05a3fc1c5898ddcca1e3ce34487ba78159bb4d60155acdf15ae4fe81189ff2d5b1bc77ffd9ee4e20aca
 EBUILD netbeans-nb-8.1.ebuild 4065 SHA256 c1bfd704ecaa1fd62b149114b7391b4633a90a8a1d87645b833731920aa6efbb SHA512 56bda99c3d05522d5becb032177e4b4411d862d18a069e2d4343ddc8b08d05ed6c3199588e28aece7e583ccc9f95517621780a246bdd65c7d3edf072a61ef1cb WHIRLPOOL b9a43e6b4ada929bcf2aaed0bffe9cdfe0b9dbbf001e8ee4f2ab3cf8a08e27d318ea435d0580c80fd23cf921d261ca9b54d54a2b2e7a53173f955bde03aa0a12
 EBUILD netbeans-nb-9999_p20160223.ebuild 4111 SHA256 d66c45ed0763ad788286b0c2fd3715a213fd405c04414cd2f92d45fcfdbfbdd1 SHA512 0c0e145c7b4b337d590d9cde5798e1797f90116ce61e79dd9aedffa5997c924e4e42d67e01e9d8b7624e76dce151f2e4ad19482ff3d58ec8a47ffb6f368e1310 WHIRLPOOL 2e8816fb5b5f533425570cce925ec834bb5ee5697ab05257949c27984f27cfe7f3e03cf8c582b0d6559d42e82ac9d41ca529cd04f1e65dd71eff0c4e675a8a31
@@ -47,4 +48,5 @@ EBUILD netbeans-nb-9999_p20160315.ebuild 4111 SHA256 b1c57e0ea1fdc5689d75f528274
 EBUILD netbeans-nb-9999_p20160316.ebuild 4111 SHA256 a650d837db80676ff4197417482006dbbffdda62c2acffd226b2d20e2c87d210 SHA512 faa621fc38cd66adaf9203dfaaf1c1ac8fee25112982f37fce6c120ca1856be1d99b592d23259d74316a0896d132782b0660efa5c1b2ab66297675d988c9e0e2 WHIRLPOOL f53d71a336e933f09301bd38de831775355b00685c79f13732800df5dcca47d97b3dfb01537cc7a918b3894355784eb2e09b5f91cf7de0603a00fc3ca59bf0ac
 EBUILD netbeans-nb-9999_p20160317.ebuild 4111 SHA256 04f02792389acbeb49fe367ec5f4f238d337bfc5aff7a7c2fcce0c2c5eecb571 SHA512 8e41affc8d65fa3558d3644fdefca2eaf5c9497bc41169091ef7d963208865c8dec97935218e96bf9f94df01ce40563556df5852550f9fec55f86b4dfc6599a9 WHIRLPOOL d8c5103314289db1f845d4654b6c96f1bacb62cf992c2fe8829f16922bb56879d3bc13cca132aea66d75b5a54da28bea5a9d727b685ed7c457e5fac73ed2dc45
 EBUILD netbeans-nb-9999_p20160318.ebuild 4111 SHA256 0916bbee7a2fa8b2a97f17239c82fcf46272caad5ad403ab50902a31b1d7f756 SHA512 db4ffebc264b1d0d3ec384facf77d16d8e6ee702909cf3207c801813f766a223a38c75c443d579b09ec4fab809cc67e6b5354d388ef81ada89819f9a64c81c59 WHIRLPOOL 2eb654a9bcaac8eea74a496817a064da47edff2b61df8a1cc4e6468d841552eeac9f2b2af1f98a08df258ca336eaf73df0ae25ec3e2fd418d7a7ebf80db875df
+EBUILD netbeans-nb-9999_p20160323.ebuild 4111 SHA256 0623097b6d76f3290926cb3660f7d32c333894a546bd0cf0d6c48a9ec7f8cc3c SHA512 f00bea390fbc4ef045609a3bbe6475aa5ceea8ec257d63b349cb37f8075eaa3ff991f49e5814a11e18f2f7c92bdebda6faa62cc2f05f98abf7264bb0a41532b8 WHIRLPOOL 62132505d1da38d702ea426d82940b85b0229529995e5352b6a67868a9a29d1aae88846aff1257f524e63fc2a8e7fc32b47ba1e601c5d09148d82a22fe80bf4c
 MISC metadata.xml 392 SHA256 01cdbcc83099b97486bd7b8e813e5b19c1138eb0d8d3e8a5683aafd579820435 SHA512 4d2f9160baa022d6a48b61d5f42e71cfd411d244e7a36436629bc5ee4036e4ce19079134d9a6c704ebe942306c2e0199d0591c1e54f92f8f3c8835147e639246 WHIRLPOOL c1131764e1cec66c56b977ebe36014b29e5a68e35ccc326c0cbadd050a6c625cf191c85c212e0a733661c008dab0d99f9a4cdc4c4ae0cc9d775ba1de554795a9

diff --git a/dev-java/netbeans-nb/netbeans-nb-9999_p20160323.ebuild b/dev-java/netbeans-nb/netbeans-nb-9999_p20160323.ebuild
new file mode 100644
index 0000000..e98be0d
--- /dev/null
+++ b/dev-java/netbeans-nb/netbeans-nb-9999_p20160323.ebuild
@@ -0,0 +1,128 @@
+# Copyright 1999-2016 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/2016-03-23_00-01-48/zip/netbeans-trunk-nightly-201603230001-src.zip"
+SRC_URI="${SOURCE_URL}
+	http://dev.gentoo.org/~fordfrog/distfiles/netbeans-9999-r15-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=""
+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}"
+
+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-r15-build.xml.patch.bz2
+}
+
+src_prepare() {
+	einfo "Deleting bundled class files..."
+	find -name "*.class" -type f | xargs rm -vf
+
+	epatch netbeans-9999-r15-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-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
+}

diff --git a/dev-java/netbeans-php/Manifest b/dev-java/netbeans-php/Manifest
index 74d39d5..6b284e2 100644
--- a/dev-java/netbeans-php/Manifest
+++ b/dev-java/netbeans-php/Manifest
@@ -27,6 +27,7 @@ DIST netbeans-trunk-nightly-201603150001-src.zip 210021503 SHA256 b0ea2aa58d93a6
 DIST netbeans-trunk-nightly-201603160001-src.zip 210026634 SHA256 4d66f16a798e9c89599c9d9ca42493a477d2c2d11cae3e5e1e7b6c3876bc953a SHA512 be94af9676f2559c959c213683ff23720798fe3fb8c5849e7d3422a89ab7de011bcd7eb90d7d480789461a8270ed6c2cbac6536f4ba5b5196472a73c1ac3ce73 WHIRLPOOL 53d7422959ba36b979d9b37333863479f811697f880f2e1c1861a1ff83a735364b265c32314e5ecc4a08e94f1478da3e74ed14112bc5a09b5c7b6b9e97385d4d
 DIST netbeans-trunk-nightly-201603170001-src.zip 210039061 SHA256 dbc6ec1a007e00802af0f2b09ce7f8bb66181329339adf912727f0faa8853489 SHA512 0999a494f2c6e93a4caca24c4e50291111fd73c874da130c7bd1a834509689381bc8f59794d5c6d9d6f67e1b8998b12b107efec9d1a19fa31486ad62863c94f1 WHIRLPOOL bf1472b80804371be9fb0ad8f35659c7ac372842b361175d87cc1f580786c8cb064e7aa8447a5957f32ed5aecf3bb0f9b5e89d4157b316e5294e4ff28d5fb9ef
 DIST netbeans-trunk-nightly-201603180001-src.zip 210042763 SHA256 28228314edea02fe1d6d07cb82cad7b1146635d7523ea5f52a1246f6b7d23de8 SHA512 687b12d299eea84a4b9acde9006304a9822686fecbf3df20ce2f18fa7008a42b4adb8bdcbc31d72abc3bb3a434a8b4ddc58377aa9ab1b53228c4a89a61d1ccad WHIRLPOOL 008d327accadf7ee64ff8b12f2d71ecad282bee6a0964815949bd5609b035cfae7be0d26e0b19d18d3a6997d5c7c9f508933f506f377d87cb7488402a8b59c67
+DIST netbeans-trunk-nightly-201603230001-src.zip 210048386 SHA256 4c00dfb9e00a18022cfbb6dfc856de70f76f608fa844dcc50fa0a86f897714ea SHA512 e228c048dd46da6810a92568e57f164d37e5845670013ca7eac8a6d9ba234f758a9691d75a78a9517f06052cc392a6ef5645d3e831cdc433af9534847b726e14 WHIRLPOOL dca834fa3054db92fcd19e69094764b9f95683b7a1a404b3965922df8495d6d0a01030646e1c17312b9a1645ea5c981e26ad2a8e65f53cce680e934093754375
 EBUILD netbeans-php-8.0.2.ebuild 4347 SHA256 585b2488d748f3d0f87c17c951870e167aac7bf10847428add786e4a8a446583 SHA512 1431305d4f340cb0a2c7c896c54d45f6f02ef82a4201f82053278b98511a5a4a68210317530e9cdf5cf1f495996d3a3f9c4b2c3c479aa407abd375072ab3182f WHIRLPOOL af8476f2ff2d119f2657e6be03cfea1160f86e41bd791f40609f1bc8a8aada46ba1081e4f2417b0fddde931fa4e43d20956c0fe1d4fdf3617b78d01afd23f9b4
 EBUILD netbeans-php-8.1.ebuild 4371 SHA256 a9e7565a8cbcc5dfca4d9449f43b959911c47ad8da59648e383ecce55c4b0064 SHA512 67d43532ea43abf007adce73e7da2345d9cc42229189ba90d254d7764e19e3fd3c86b990ea2fe08cf52e49422def481046fe6e0e447fdc1de1680ac59f51d9d3 WHIRLPOOL 433275570fd81db477180e58909ebd50b83cde03bd5df807cc9ee213e2f3a44f65f3ec4877851aa6322e7752969aa72313ee7b35b8ee07446e8c22be4321d536
 EBUILD netbeans-php-9999_p20160223.ebuild 4418 SHA256 52c28929af3a5a4f14c5b096e97f761274a3dbc4c7fa79d781f434ab7ec12251 SHA512 878af2b75881d71d5245309ab37fc30b2d674e7fc25caed52c8d3711df9225b845a6418747ad5f7323138d9ecf111906c798ad07cbecc303d9a9cf61a9bf2788 WHIRLPOOL 5400b24dd76b1276e97459e85b2290d69c96e86b6c5a1eea29b185d96435983e781e99ecf9293a87540738feb1fe578708b58b3dd90ef431ef1b85424941926e
@@ -48,4 +49,5 @@ EBUILD netbeans-php-9999_p20160315.ebuild 4418 SHA256 ed5a272b24badc47048c2b3e08
 EBUILD netbeans-php-9999_p20160316.ebuild 4418 SHA256 ce4a6d03d8de02b48d96c4937068e016d7270bfa9159e785c6163ad9824f1d01 SHA512 dc823be4904e2a33091c5d0123508383db4bf2c3eb3b2cdaf41cbabc0affeed59f86e2ee8dee080fc89acc91e4522f168e3aab020a36591831e54a1b293c040c WHIRLPOOL d06bcfee3f1bcbbb1398e05a0395811a58839261aef0b09f9c98d235fee94b1fc20a13d196dd2c255f9da466c8de1be3b21a403888ac208f1a997c6a29e63d9f
 EBUILD netbeans-php-9999_p20160317.ebuild 4418 SHA256 cb50ef14aba92bd3390ecc90bcfb647a113193a3a6412dce24e6fc32d44a24ea SHA512 bafe62fffdf35eaef18d4bff566a0c4b03eff5401ae022827e24c7e4c7fe95cf30e702b275854ec56c58e7df77ee0cc75021db1fb0d20bb99fe7c536643b780f WHIRLPOOL 53921305b8544475cbffa331832ad9fbf82a521628dcacb051fd92ec0bda789ca2c1b205deb5715aa6179e1578dd08a369f52f907496f501eca20b02dcbf4c5d
 EBUILD netbeans-php-9999_p20160318.ebuild 4418 SHA256 675766ee5595a165e07df6435ccbc4c3b9fc06a04718f518f707a070f121cce5 SHA512 01c35192bb7d4bf5ed7fdc11249e02d3058fb69f0390c9dba1838cf61053a394a255999a40e69134c13c400061e49fded6928123e9b35f23522b44494170c7b0 WHIRLPOOL 2d9ea92b5e51dee994bd0353becede29f2b8053bb7f934368d322f3a815ca44a53ca7ff61e6e6fbfbcdc055a4df712623bbaf0289aa11504da3ba3a354566ad7
+EBUILD netbeans-php-9999_p20160323.ebuild 4418 SHA256 78af17d8ab7754bb43a899f0893624177e1e1c011d2c64868deeb3402f9ba9ee SHA512 8e88d0fb5b89a9b5546e3eeb22d78fa57a84ea9bac357b75e8add3e0a5367613e6af623df66e7eaf675018f21473264677adcdc0f73612d2f9754a7f35c5f8f5 WHIRLPOOL 635ba9612c20bf71236eb8481e1a69c835dfd24fc2d7f4331420f54c23a07a32361635512b25cd283b32cc54c7978555f59e25a42408827f8603623e3acc65d9
 MISC metadata.xml 247 SHA256 8e0ccbf349cdd36adaaa8c3becadea9b65febd7868f27664ef7e70a1197765fe SHA512 1a68c1448a18938e13e6e39e718934a3e700b1d2ca708332d9cefd522d30049794b281c1cc8f788f1d0eb73c468a55b67a4bafbcf6e43317978d661d5d736faf WHIRLPOOL aaa66eab1db9d82717d76e5c65990f7f30e9527a6573006ebc43cc0edb05550ddce87e8e911ba7c7d67de863e6a191cc351b31fed299c4654a7b894f9eb13740

diff --git a/dev-java/netbeans-php/netbeans-php-9999_p20160323.ebuild b/dev-java/netbeans-php/netbeans-php-9999_p20160323.ebuild
new file mode 100644
index 0000000..9448ef3
--- /dev/null
+++ b/dev-java/netbeans-php/netbeans-php-9999_p20160323.ebuild
@@ -0,0 +1,127 @@
+# Copyright 1999-2016 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/2016-03-23_00-01-48/zip/netbeans-trunk-nightly-201603230001-src.zip"
+SRC_URI="${SOURCE_URL}
+	http://dev.gentoo.org/~fordfrog/distfiles/netbeans-9999-r15-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-r15-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-r15-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="${D}"/${INSTALL_DIR}/modules/ext
+	pushd "${instdir}" >/dev/null || die
+	rm java-cup-11a.jar && java-pkg_jar-from --into "${instdir}" javacup javacup.jar java-cup-11a.jar
+	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 3c6739f..7f1b0dc 100644
--- a/dev-java/netbeans-platform/Manifest
+++ b/dev-java/netbeans-platform/Manifest
@@ -50,6 +50,7 @@ DIST netbeans-trunk-nightly-201603150001-src.zip 210021503 SHA256 b0ea2aa58d93a6
 DIST netbeans-trunk-nightly-201603160001-src.zip 210026634 SHA256 4d66f16a798e9c89599c9d9ca42493a477d2c2d11cae3e5e1e7b6c3876bc953a SHA512 be94af9676f2559c959c213683ff23720798fe3fb8c5849e7d3422a89ab7de011bcd7eb90d7d480789461a8270ed6c2cbac6536f4ba5b5196472a73c1ac3ce73 WHIRLPOOL 53d7422959ba36b979d9b37333863479f811697f880f2e1c1861a1ff83a735364b265c32314e5ecc4a08e94f1478da3e74ed14112bc5a09b5c7b6b9e97385d4d
 DIST netbeans-trunk-nightly-201603170001-src.zip 210039061 SHA256 dbc6ec1a007e00802af0f2b09ce7f8bb66181329339adf912727f0faa8853489 SHA512 0999a494f2c6e93a4caca24c4e50291111fd73c874da130c7bd1a834509689381bc8f59794d5c6d9d6f67e1b8998b12b107efec9d1a19fa31486ad62863c94f1 WHIRLPOOL bf1472b80804371be9fb0ad8f35659c7ac372842b361175d87cc1f580786c8cb064e7aa8447a5957f32ed5aecf3bb0f9b5e89d4157b316e5294e4ff28d5fb9ef
 DIST netbeans-trunk-nightly-201603180001-src.zip 210042763 SHA256 28228314edea02fe1d6d07cb82cad7b1146635d7523ea5f52a1246f6b7d23de8 SHA512 687b12d299eea84a4b9acde9006304a9822686fecbf3df20ce2f18fa7008a42b4adb8bdcbc31d72abc3bb3a434a8b4ddc58377aa9ab1b53228c4a89a61d1ccad WHIRLPOOL 008d327accadf7ee64ff8b12f2d71ecad282bee6a0964815949bd5609b035cfae7be0d26e0b19d18d3a6997d5c7c9f508933f506f377d87cb7488402a8b59c67
+DIST netbeans-trunk-nightly-201603230001-src.zip 210048386 SHA256 4c00dfb9e00a18022cfbb6dfc856de70f76f608fa844dcc50fa0a86f897714ea SHA512 e228c048dd46da6810a92568e57f164d37e5845670013ca7eac8a6d9ba234f758a9691d75a78a9517f06052cc392a6ef5645d3e831cdc433af9534847b726e14 WHIRLPOOL dca834fa3054db92fcd19e69094764b9f95683b7a1a404b3965922df8495d6d0a01030646e1c17312b9a1645ea5c981e26ad2a8e65f53cce680e934093754375
 EBUILD netbeans-platform-8.0.2.ebuild 5406 SHA256 98e9861da45ead0d2d975a0527315df5282870b2d7e71a089724d91c18852e81 SHA512 cadbe66132d3ad81f6d149e20731b558c11c529e2ec15b1fe47ff97d99a3f4b4612fa5c98c435c4ff979eaefab6702721db009a03162202c96b4b411cf9f872a WHIRLPOOL 9552948e8bbad308f4379eaae69d8c214da9fbfab87d75226949b69ddca3e68c2d36c4d05738196073e5b959ab0b764064c9186d421198937122aa4bdc4988dc
 EBUILD netbeans-platform-8.1.ebuild 9320 SHA256 4a03fc6a399aaab949edb3df7c629da5bc7ce6288d44dbc848097352c2b4ae3a SHA512 7015cb042dd4e371cdcad49838eb2e4109d1ec505ac618f3a6f98d4dce328ab34be90a3cb0820896bd75337a180a1bd9c91c842a143fdffdf033696d5f496402 WHIRLPOOL 8c5311df396a374bf9d8c994b37c5c9fe6aa3c82a9e9e0824a5caefb0006fd9b44f4fdddd387ee12da48592929d5c4dd7e7fb2d866c9ddaf76acf5b3adbe310e
 EBUILD netbeans-platform-9999_p20160223.ebuild 9360 SHA256 78c6427d97d0b1141709c88e2e30b02c68a6cf9474a6cab8830298b77ab8f025 SHA512 ba699c7ed9c2fb54e6cc8232f2214e7f96621cbf3858fca5d797627ce1d898534b21c9ee23ba6dcd91db931f5161d89c15463bb86387c74db66905b96f37603f WHIRLPOOL 750fa3cbccfa07bd00c64057c2f0d68469ea8db774fc975b19f4afe6d574f97adc2ad90cf73b780aff65b06f0a583f8db19dc9b0aab819b8f251e4c393a76b3a
@@ -71,4 +72,5 @@ EBUILD netbeans-platform-9999_p20160315.ebuild 9360 SHA256 3ecbd4699bcd3e38fda1a
 EBUILD netbeans-platform-9999_p20160316.ebuild 9360 SHA256 9c44bd0fb5330b62798fbb8d0e47676ecdbdbe1402f23150202673bd08c82c9a SHA512 eee06869ee6b0d64edbc1b4540120bf36b36ce08ad613c57432d991af84ba4198e418890e0a8d401f518c9334aebc5bb18f8448c0b330bc7d77180d82764ed72 WHIRLPOOL 584edc403377de5d5c103382124396620000eca813183ac99f342dd2004f34a505d2012deafc4b24d61309e7fa6c76fca6962cef6d477f68a64bed71f4805df9
 EBUILD netbeans-platform-9999_p20160317.ebuild 9421 SHA256 5d9828f5deccf0c5dc717bb6bbcd428a7d9c5ab91b867257a75ca1c933f9d6ba SHA512 ef8bd7e34f946c10a43821ff158a954a5cb118a56b1c3fdeefe63109a902c20ea624194013a9e749fd6998646d33e3808619f7bac8ed56f8c8b7007c7d434551 WHIRLPOOL fef24fc93996fbd6859bcb45a2a3030b16bded499149e0a717351d9e571ce5c50a35fc83bb24f9d5d8031ff340910b96a46ec102ddc267f849b71c9e511dd2ed
 EBUILD netbeans-platform-9999_p20160318.ebuild 9581 SHA256 db1a1733e25b6f13dd9f6e6a7e47ae32f309b7d0cd8cbdb0873c153b1886349a SHA512 ed8b7439fd46ee3c448f95f354e3943478a0de160c234df13b009880fa4b1782cd2f95c51f8319c48e523d13d2bdcb0fbf71906ae9cbdf2441ce746c7da549a0 WHIRLPOOL 259f65c4c0e9a26e6b4e30b63373d24cbceaec8c588192edb9ddc03fd60491b861548a53958261d2caad01cce2cf882d57c5b5752dbba103f56cdfa3bcd3768b
+EBUILD netbeans-platform-9999_p20160323.ebuild 9581 SHA256 730095d721f39328d68495a7f502926a74e84fa380fb77601a3262e6d92ea941 SHA512 8513599e2a2a702d1587f5e3d1029db274a097b5ee494864b99ecf77be56a178e7831a0d36220cd44f7403c705da59bc318d84687f5f137829bc9769d406655b WHIRLPOOL 7c4799c8bac08a30f1760e900a5fa11858481e240af05063f3af8c51ce7b23dbfaf5bfac74ee3a1ef6f5bbe9ef75e39f5553c66a7570ef877abc1739b70767ec
 MISC metadata.xml 247 SHA256 8e0ccbf349cdd36adaaa8c3becadea9b65febd7868f27664ef7e70a1197765fe SHA512 1a68c1448a18938e13e6e39e718934a3e700b1d2ca708332d9cefd522d30049794b281c1cc8f788f1d0eb73c468a55b67a4bafbcf6e43317978d661d5d736faf WHIRLPOOL aaa66eab1db9d82717d76e5c65990f7f30e9527a6573006ebc43cc0edb05550ddce87e8e911ba7c7d67de863e6a191cc351b31fed299c4654a7b894f9eb13740

diff --git a/dev-java/netbeans-platform/netbeans-platform-9999_p20160323.ebuild b/dev-java/netbeans-platform/netbeans-platform-9999_p20160323.ebuild
new file mode 100644
index 0000000..1da7fff
--- /dev/null
+++ b/dev-java/netbeans-platform/netbeans-platform-9999_p20160323.ebuild
@@ -0,0 +1,167 @@
+# Copyright 1999-2016 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/2016-03-23_00-01-48/zip/netbeans-trunk-nightly-201603230001-src.zip"
+SRC_URI="${SOURCE_URL}
+	http://dev.gentoo.org/~fordfrog/distfiles/netbeans-9999-r15-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/0388CADD903570B9FE30140C0EC39DC573389B33-jna-platform-4.2.1-patched.jar
+	http://hg.netbeans.org/binaries/941A8BE4506C65F0A9001C08812FB7DA1E505E21-junit-4.12-javadoc.jar
+	http://hg.netbeans.org/binaries/771CDCA0A3F2F3CE818E20CC2D707A3592422485-ko4j-1.3.jar
+	http://hg.netbeans.org/binaries/A3085BAA78C8EE7F55081E70C79ABE04CA38CE93-net.java.html-1.3.jar
+	http://hg.netbeans.org/binaries/7FC91530F4395FA0D58F9539F3B40858E766BFA3-net.java.html.boot-1.3.jar
+	http://hg.netbeans.org/binaries/5C992BAEC0111EE293BD44173140A9D8EC860765-net.java.html.boot.fx-1.3.jar
+	http://hg.netbeans.org/binaries/BF6C9BB0FFB78A6B846ECAEB880C460D883B4F72-net.java.html.boot.script-1.3.jar
+	http://hg.netbeans.org/binaries/10E4214A89082C70FCF9F721953001C0932037BA-net.java.html.geo-1.3.jar
+	http://hg.netbeans.org/binaries/D97314CE1869DD3B8B8942256A70673E2991C9DD-net.java.html.json-1.3.jar
+	http://hg.netbeans.org/binaries/6BDCE8349F83CD02F2942D4FBFA86A81A129F42A-net.java.html.sound-1.3.jar
+	http://hg.netbeans.org/binaries/E5DDC5E827D3D62E7BE9F7E32927CA01F2839971-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
+	http://hg.netbeans.org/binaries/CEC2829EC391CB404AD32EB2D08F879C418B745B-xhr4j-1.3.jar"
+LICENSE="|| ( CDDL GPL-2-with-linking-exception )"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+S="${WORKDIR}"
+
+# oracle-jdk-bin is needed for now because of javafx which is not packaged separately yet
+# [parseprojectxml] Distilling /var/tmp/portage/dev-java/netbeans-platform-9999_p20151108/work/nbbuild/build/public-package-jars/org-netbeans-libs-javafx.jar from [/var/tmp/portage/dev-java/netbeans-platform-9999_p20151108/work/nbbuild/netbeans/platform/modules/org-netbeans-libs-javafx.jar, /usr/lib64/icedtea8/jre/lib/ext/jfxrt.jar]
+# [parseprojectxml] Classpath entry /usr/lib64/icedtea8/jre/lib/ext/jfxrt.jar does not exist; skipping
+#  [nbmerge] Failed to build target: all-api.htmlui
+
+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"
+DEPEND="dev-java/oracle-jdk-bin:1.8[javafx]
+	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.8"
+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-r15-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}"/0388CADD903570B9FE30140C0EC39DC573389B33-jna-platform-4.2.1-patched.jar libs.jna.platform/external/jna-platform-4.2.1-patched.jar || die
+	ln -s "${DISTDIR}"/941A8BE4506C65F0A9001C08812FB7DA1E505E21-junit-4.12-javadoc.jar junitlib/external/junit-4.12-javadoc.jar || die
+	ln -s "${DISTDIR}"/771CDCA0A3F2F3CE818E20CC2D707A3592422485-ko4j-1.3.jar o.n.html.ko4j/external/ko4j-1.3.jar || die
+	ln -s "${DISTDIR}"/A3085BAA78C8EE7F55081E70C79ABE04CA38CE93-net.java.html-1.3.jar net.java.html/external/net.java.html-1.3.jar || die
+	ln -s "${DISTDIR}"/7FC91530F4395FA0D58F9539F3B40858E766BFA3-net.java.html.boot-1.3.jar net.java.html.boot/external/net.java.html.boot-1.3.jar || die
+	ln -s "${DISTDIR}"/5C992BAEC0111EE293BD44173140A9D8EC860765-net.java.html.boot.fx-1.3.jar net.java.html.boot.fx/external/net.java.html.boot.fx-1.3.jar || die
+	ln -s "${DISTDIR}"/BF6C9BB0FFB78A6B846ECAEB880C460D883B4F72-net.java.html.boot.script-1.3.jar net.java.html.boot.script/external/net.java.html.boot.script-1.3.jar || die
+	ln -s "${DISTDIR}"/10E4214A89082C70FCF9F721953001C0932037BA-net.java.html.geo-1.3.jar net.java.html.geo/external/net.java.html.geo-1.3.jar || die
+	ln -s "${DISTDIR}"/D97314CE1869DD3B8B8942256A70673E2991C9DD-net.java.html.json-1.3.jar net.java.html.json/external/net.java.html.json-1.3.jar || die
+	ln -s "${DISTDIR}"/6BDCE8349F83CD02F2942D4FBFA86A81A129F42A-net.java.html.sound-1.3.jar net.java.html.sound/external/net.java.html.sound-1.3.jar || die
+	ln -s "${DISTDIR}"/E5DDC5E827D3D62E7BE9F7E32927CA01F2839971-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
+	ln -s "${DISTDIR}"/CEC2829EC391CB404AD32EB2D08F879C418B745B-xhr4j-1.3.jar o.n.html.xhr4j/external/xhr4j-1.3.jar || 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-r15-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 javahelp/external javahelp jhall.jar jhall-2.0_05.jar
+	java-pkg_jar-from --into libs.jna/external jna jna.jar jna-4.2.1.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="${D}"/${INSTALL_DIR}/modules/ext
+	pushd "${instdir}" >/dev/null || die
+	rm hamcrest-core-1.3.jar && java-pkg_jar-from --into "${instdir}" hamcrest-core-1.3 hamcrest-core.jar hamcrest-core-1.3.jar
+	rm jhall-2.0_05.jar && java-pkg_jar-from --into "${instdir}" javahelp jhall.jar jhall-2.0_05.jar
+	rm jna-4.1.0.jar && java-pkg_jar-from --into "${instdir}" jna jna.jar jna-4.1.0.jar
+	rm junit-4.12.jar && java-pkg_jar-from --into "${instdir}" junit-4 junit.jar junit-4.12.jar
+	rm osgi.cmpn-4.2.jar && java-pkg_jar-from --into "${instdir}" osgi-compendium osgi-compendium.jar osgi.cmpn-4.2.jar
+	rm osgi.core-5.0.0.jar && java-pkg_jar-from --into "${instdir}" osgi-core-api osgi-core-api.jar osgi.core-5.0.0.jar
+	rm swing-layout-1.0.4.jar && java-pkg_jar-from --into "${instdir}" swing-layout-1 swing-layout.jar swing-layout-1.0.4.jar
+	rm testng-6.8.1-dist.jar && java-pkg_jar-from --into "${instdir}" testng testng.jar testng-6.8.1-dist.jar
+	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 152dd7c..8e66b18 100644
--- a/dev-java/netbeans-profiler/Manifest
+++ b/dev-java/netbeans-profiler/Manifest
@@ -23,6 +23,7 @@ DIST netbeans-trunk-nightly-201603150001-src.zip 210021503 SHA256 b0ea2aa58d93a6
 DIST netbeans-trunk-nightly-201603160001-src.zip 210026634 SHA256 4d66f16a798e9c89599c9d9ca42493a477d2c2d11cae3e5e1e7b6c3876bc953a SHA512 be94af9676f2559c959c213683ff23720798fe3fb8c5849e7d3422a89ab7de011bcd7eb90d7d480789461a8270ed6c2cbac6536f4ba5b5196472a73c1ac3ce73 WHIRLPOOL 53d7422959ba36b979d9b37333863479f811697f880f2e1c1861a1ff83a735364b265c32314e5ecc4a08e94f1478da3e74ed14112bc5a09b5c7b6b9e97385d4d
 DIST netbeans-trunk-nightly-201603170001-src.zip 210039061 SHA256 dbc6ec1a007e00802af0f2b09ce7f8bb66181329339adf912727f0faa8853489 SHA512 0999a494f2c6e93a4caca24c4e50291111fd73c874da130c7bd1a834509689381bc8f59794d5c6d9d6f67e1b8998b12b107efec9d1a19fa31486ad62863c94f1 WHIRLPOOL bf1472b80804371be9fb0ad8f35659c7ac372842b361175d87cc1f580786c8cb064e7aa8447a5957f32ed5aecf3bb0f9b5e89d4157b316e5294e4ff28d5fb9ef
 DIST netbeans-trunk-nightly-201603180001-src.zip 210042763 SHA256 28228314edea02fe1d6d07cb82cad7b1146635d7523ea5f52a1246f6b7d23de8 SHA512 687b12d299eea84a4b9acde9006304a9822686fecbf3df20ce2f18fa7008a42b4adb8bdcbc31d72abc3bb3a434a8b4ddc58377aa9ab1b53228c4a89a61d1ccad WHIRLPOOL 008d327accadf7ee64ff8b12f2d71ecad282bee6a0964815949bd5609b035cfae7be0d26e0b19d18d3a6997d5c7c9f508933f506f377d87cb7488402a8b59c67
+DIST netbeans-trunk-nightly-201603230001-src.zip 210048386 SHA256 4c00dfb9e00a18022cfbb6dfc856de70f76f608fa844dcc50fa0a86f897714ea SHA512 e228c048dd46da6810a92568e57f164d37e5845670013ca7eac8a6d9ba234f758a9691d75a78a9517f06052cc392a6ef5645d3e831cdc433af9534847b726e14 WHIRLPOOL dca834fa3054db92fcd19e69094764b9f95683b7a1a404b3965922df8495d6d0a01030646e1c17312b9a1645ea5c981e26ad2a8e65f53cce680e934093754375
 EBUILD netbeans-profiler-8.0.2.ebuild 3402 SHA256 8021dea620d1bc26214ff0ec285f8061c24693dd28a62a97a48ac3223707e920 SHA512 2660390337a973256b1aac3a02b14e16782c230fa2714ae695213b0cabc0eb60621c6a1ae234f9e57259a19de22a87447f9a89ab846bd59bcedd2be313c35072 WHIRLPOOL 5d1053ded03143b2de05b64cfbe59b515cb786d60bfa65566be795567bfaf5feb88a2f8e7161a05da512fafd523f871778d5ddeb3c6b89fc95885096e379f65d
 EBUILD netbeans-profiler-8.1.ebuild 3426 SHA256 81f8b3b135f021a2dbe7b5ccb53fc7fcf79908ab83ef14ca0e912732b7fb4b53 SHA512 210bc0c5214aa8f79f559cccf69f1ed885dd2d14dc55cd17bd89c8a7f04f1a76de5b414426337b2ba6e99576850f0753f13e41e0f424b3f0adc58001dffc217a WHIRLPOOL 293d12a03294532dc9ce10503b030282cb636f08af6300ea796885eb6a3fe36c9d37c2a07138d03e9c4d45b31352ce160901a96f659f26d50a0fe5caee3bf0fa
 EBUILD netbeans-profiler-9999_p20160223.ebuild 3472 SHA256 c38a3b4ea35fb1d709b1fe432edd11de71481cfb45a28e0cf2e7e0468a7c1d8c SHA512 be3e9f9cda15a1ce7aa7503e12c20d43d7cb7761364de396d8b1e25782eba6201542d7687dd70f610ad6142c4f42ca00cebf41999b9026eab2fedeae65ce6219 WHIRLPOOL 6f8bf25def2259566b3c28377407cf49c9ead12e50cd3529bbdb5b10e9d3290c3c4510b982f6d299f144f2385210dc7dcc681ca45a3ad12629635f5507f3bf60
@@ -44,4 +45,5 @@ EBUILD netbeans-profiler-9999_p20160315.ebuild 3472 SHA256 89264ec877e4adafbb9c5
 EBUILD netbeans-profiler-9999_p20160316.ebuild 3472 SHA256 9bcd46949afed478f5fac0b310cef1e1f4854234bca722a7135737b432f40eb8 SHA512 70c0c0bb426c7f011e7a568b8ae2b16aaad58f796c49c85b7dde20b0e9bcd0774b4da46726cef5f30222d3ab8ed988e7c1ca677796316cba73f2b3a9de9cfcc3 WHIRLPOOL eb002e9a325d9b9f5747d531737d779eacc4df96b4a29f790a83311f144a871301f43908a88ef0dd0a185f63947484a925b6e9bd09fe99e3289604845f56a1aa
 EBUILD netbeans-profiler-9999_p20160317.ebuild 3472 SHA256 a6f563645b63a5d2986310ad8ad0d0dd476c18a2d04dabbd66f91b97e3a55539 SHA512 a99e7bb7c86cccf41009044cd7cd03ee4afa0d1e5dd475fdae83461c1eb9b504c616eb09a05e4d0d2811bf22392dc51852ae5a01bb3b51714c6788545d4c78d9 WHIRLPOOL 0407b5a0283469dcfc0c22edd3f4e01fff5e81858ef328d4b00a75b4957e60c2d7653cedbba09a4fa9a5712c8e77c13b5affad23bf304998c748d1bdbe1e9e4f
 EBUILD netbeans-profiler-9999_p20160318.ebuild 3472 SHA256 1584a63dff37711ad3c3879c17552f7e5ab3ecfe6a084cda5c9c593b831c8fac SHA512 cfb693f3956903efad33c131d8fd80b063c52f37d27a3f4d09346b6999d042dafc7c904635a8f873d72b0a767d1f2604ac4d0582022fa9cae91246dd3401596e WHIRLPOOL e7bc6e161d78bd7753919dee47a2423ced0ca2fedc3ae75891f7803001c7c3c9ebb9bd30d9c3a625b6a350165eadaea29e28068226733bb9e739de9c56bac33c
+EBUILD netbeans-profiler-9999_p20160323.ebuild 3472 SHA256 c2de8a0f149e8d1a7c99e4b8e637ead8f11b71c54687e5ae8e9f572507e6c627 SHA512 f998d4f56921170e937ad9b888e891e87c182db5a726644ea382aa219e069b515f10c429d79e7cd358cfb69a937c416bee10c635372074b5e7cfe01e6da1faaa WHIRLPOOL e6c48f5a04bef7b83c99060c104c799397de85461539f8d158a78cbffee114950d498d7d412d47d1ccf493945b3d6691a0721e64c742312d45c1ae6a75202245
 MISC metadata.xml 247 SHA256 8e0ccbf349cdd36adaaa8c3becadea9b65febd7868f27664ef7e70a1197765fe SHA512 1a68c1448a18938e13e6e39e718934a3e700b1d2ca708332d9cefd522d30049794b281c1cc8f788f1d0eb73c468a55b67a4bafbcf6e43317978d661d5d736faf WHIRLPOOL aaa66eab1db9d82717d76e5c65990f7f30e9527a6573006ebc43cc0edb05550ddce87e8e911ba7c7d67de863e6a191cc351b31fed299c4654a7b894f9eb13740

diff --git a/dev-java/netbeans-profiler/netbeans-profiler-9999_p20160323.ebuild b/dev-java/netbeans-profiler/netbeans-profiler-9999_p20160323.ebuild
new file mode 100644
index 0000000..c7440da
--- /dev/null
+++ b/dev-java/netbeans-profiler/netbeans-profiler-9999_p20160323.ebuild
@@ -0,0 +1,121 @@
+# Copyright 1999-2016 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/2016-03-23_00-01-48/zip/netbeans-trunk-nightly-201603230001-src.zip"
+SRC_URI="${SOURCE_URL}
+	http://dev.gentoo.org/~fordfrog/distfiles/netbeans-9999-r15-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-r15-build.xml.patch.bz2
+}
+
+src_prepare() {
+	einfo "Deleting bundled class files..."
+	find -name "*.class" -type f | xargs rm -vf
+
+	epatch netbeans-9999-r15-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 4109d13..39a8ce2 100644
--- a/dev-java/netbeans-webcommon/Manifest
+++ b/dev-java/netbeans-webcommon/Manifest
@@ -39,6 +39,7 @@ DIST netbeans-trunk-nightly-201603150001-src.zip 210021503 SHA256 b0ea2aa58d93a6
 DIST netbeans-trunk-nightly-201603160001-src.zip 210026634 SHA256 4d66f16a798e9c89599c9d9ca42493a477d2c2d11cae3e5e1e7b6c3876bc953a SHA512 be94af9676f2559c959c213683ff23720798fe3fb8c5849e7d3422a89ab7de011bcd7eb90d7d480789461a8270ed6c2cbac6536f4ba5b5196472a73c1ac3ce73 WHIRLPOOL 53d7422959ba36b979d9b37333863479f811697f880f2e1c1861a1ff83a735364b265c32314e5ecc4a08e94f1478da3e74ed14112bc5a09b5c7b6b9e97385d4d
 DIST netbeans-trunk-nightly-201603170001-src.zip 210039061 SHA256 dbc6ec1a007e00802af0f2b09ce7f8bb66181329339adf912727f0faa8853489 SHA512 0999a494f2c6e93a4caca24c4e50291111fd73c874da130c7bd1a834509689381bc8f59794d5c6d9d6f67e1b8998b12b107efec9d1a19fa31486ad62863c94f1 WHIRLPOOL bf1472b80804371be9fb0ad8f35659c7ac372842b361175d87cc1f580786c8cb064e7aa8447a5957f32ed5aecf3bb0f9b5e89d4157b316e5294e4ff28d5fb9ef
 DIST netbeans-trunk-nightly-201603180001-src.zip 210042763 SHA256 28228314edea02fe1d6d07cb82cad7b1146635d7523ea5f52a1246f6b7d23de8 SHA512 687b12d299eea84a4b9acde9006304a9822686fecbf3df20ce2f18fa7008a42b4adb8bdcbc31d72abc3bb3a434a8b4ddc58377aa9ab1b53228c4a89a61d1ccad WHIRLPOOL 008d327accadf7ee64ff8b12f2d71ecad282bee6a0964815949bd5609b035cfae7be0d26e0b19d18d3a6997d5c7c9f508933f506f377d87cb7488402a8b59c67
+DIST netbeans-trunk-nightly-201603230001-src.zip 210048386 SHA256 4c00dfb9e00a18022cfbb6dfc856de70f76f608fa844dcc50fa0a86f897714ea SHA512 e228c048dd46da6810a92568e57f164d37e5845670013ca7eac8a6d9ba234f758a9691d75a78a9517f06052cc392a6ef5645d3e831cdc433af9534847b726e14 WHIRLPOOL dca834fa3054db92fcd19e69094764b9f95683b7a1a404b3965922df8495d6d0a01030646e1c17312b9a1645ea5c981e26ad2a8e65f53cce680e934093754375
 EBUILD netbeans-webcommon-8.0.2.ebuild 4723 SHA256 e2ba39cb6f22c990acf9a492eac5707f130382d56f9bc1e3636e82cbe4d61938 SHA512 61955d38f829b3ed54bc5cb9a71da07f05676a2bf7219fa8073aeee0f0e2d0e73f7aa6ec1636be39fb071d3d2b9de7ceb813a247a61961874f4cc78697d4e568 WHIRLPOOL 1a272650fc2394716a790b79cb85a9322929c7cc96ea4776cc639fb869c5b536140dbdc632b1a8aa9cb1fc8e740050125c2ebe9390de7a8f4207e88e24924206
 EBUILD netbeans-webcommon-8.1.ebuild 4945 SHA256 55c57b638481134d659763154a7820467a9866707112cba0e60dbd9ba8cd2840 SHA512 a98987535f60b533bf0df701f83693a58584dfa9a10d5c8646186165d884fb7e8a3348ec77cbf25d1a8cc8cfd947bf54cdb30d251ae1a3fffb74947070d76579 WHIRLPOOL 36fe1b7b9b34a02fcda227aaeebed8a33562e6fe4a014c78e9a464d709bf5120322a35bd54a0ffa15c4dd4f3ae605cf6fc2d35c5652f7162ae646c61ad69210a
 EBUILD netbeans-webcommon-9999_p20160223.ebuild 5280 SHA256 46af50cc127d8757d9c497309373139aba8ef44c6b837d92a96da3b572e5972e SHA512 d2b5310e85cbafa3308117915050d326c28f613121d2e9a1ab0de5816b53a0720d3156dd6d6a679f6e28a107572f6e21dcf8736029d1f0043745793ae0c903ba WHIRLPOOL a47e42f5adf77bbe9ade116423dea10bb5e874ade3dcbe530d6d68f0b0aa8d9363548e907fac1faec32dc6c97f3bb5b704086e840e88ccec8f8d8592106f92da
@@ -60,4 +61,5 @@ EBUILD netbeans-webcommon-9999_p20160315.ebuild 5244 SHA256 835727030311efb639f4
 EBUILD netbeans-webcommon-9999_p20160316.ebuild 5244 SHA256 10198edde545dd3cd708ed683d97d9a223b9339e86aa544e1218a5eb703fe657 SHA512 d72ed54cc339c4337acc43c9a814c5245725f6ffcd1e0e82b378faafb83cbf249faaaf7c06407a915f26ace737887f441e06740055db44cf5ef903e7ca641815 WHIRLPOOL a23f9eb4b7303ac2552e6dd6b53ba15fc2989b42dab709bad06413486a33136f865daddf5915f15809e17b7be222e9c57614b8165b0732a7e8d606b096456930
 EBUILD netbeans-webcommon-9999_p20160317.ebuild 5244 SHA256 2700f7310a1ec5e460f25b50f9b6fdcfe104d815d74fda77c9646e039f24c71b SHA512 69ba1d2dc1f3ef5f84fb1da41715f3bf1457a41ef0ee217d35c12ef20efdb83dc7d452b1bc307f5052cc20880cce31d4e9afe63bb3a92d40e97b132ba58a6b2c WHIRLPOOL d2378a652d577bf271f76a80d927cd29100f2fc3a75699f0d40b33a47033ea7ab5557b50374a836965d91ec5e3e96016c23b63cef0965bbd8af242db369c3585
 EBUILD netbeans-webcommon-9999_p20160318.ebuild 5244 SHA256 c28b7fad684b23cc00ec1b404aacbf3656a80ef2adc7b92910b885f56b29984d SHA512 57e0cbeea116459c1fae1484cb874af830fe321ef3639e43129a01a3a7192b4b409e82818fb7c9c46c42d62c278dc6e32b43ece33287fca16763db002501855e WHIRLPOOL 628aae7addcdb8ce8fdc571c673bc1581839fcfc093c6804c4b48b9cd159615cf553d51c6b87c390e45722c306d759a62866bf39c3abb62af5fb34febe81a7d4
+EBUILD netbeans-webcommon-9999_p20160323.ebuild 5244 SHA256 f5303885a1987ffaae129cc10e43eaefd6c7e70ff139282a9eb9e86e24b28985 SHA512 aa5b7b80a499943507d6c415b505c9b02881dbabe45947d84f5400c6d9330d9fa43e15bd135055339349e5a84d93f105335ce8e7a380f7b0bd794bd7f09ddda5 WHIRLPOOL 75a4ffd50ae4cf02d298b04f05d1a1726639e9591f1a3ba16e1ebef187373dd792795b1ab69fbe5c62679f0e3f2fda1a92c79f0a9bfb8988c496a61afa6de026
 MISC metadata.xml 247 SHA256 8e0ccbf349cdd36adaaa8c3becadea9b65febd7868f27664ef7e70a1197765fe SHA512 1a68c1448a18938e13e6e39e718934a3e700b1d2ca708332d9cefd522d30049794b281c1cc8f788f1d0eb73c468a55b67a4bafbcf6e43317978d661d5d736faf WHIRLPOOL aaa66eab1db9d82717d76e5c65990f7f30e9527a6573006ebc43cc0edb05550ddce87e8e911ba7c7d67de863e6a191cc351b31fed299c4654a7b894f9eb13740

diff --git a/dev-java/netbeans-webcommon/netbeans-webcommon-9999_p20160323.ebuild b/dev-java/netbeans-webcommon/netbeans-webcommon-9999_p20160323.ebuild
new file mode 100644
index 0000000..5bf6c73
--- /dev/null
+++ b/dev-java/netbeans-webcommon/netbeans-webcommon-9999_p20160323.ebuild
@@ -0,0 +1,122 @@
+# Copyright 1999-2016 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/2016-03-23_00-01-48/zip/netbeans-trunk-nightly-201603230001-src.zip"
+SRC_URI="${SOURCE_URL}
+	http://dev.gentoo.org/~fordfrog/distfiles/netbeans-9999-r15-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/0929AC5F40B5A8667021408748D64F30F77B3165-libiDeviceNativeBinding.dylib
+	http://hg.netbeans.org/binaries/2A38DA3DB5D36DBBDC0B03990B46810F72430D5E-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/C1BB9FF4232248B0054E5A26A33474A251EA19CB-libusbmuxd.2.dylib
+	http://hg.netbeans.org/binaries/D4BD3F62EADB61216A47EF96B3152EDD35A56005-ojetdocs-1_0_0.zip
+	http://hg.netbeans.org/binaries/1EFED55F8C442E4DB1C2338A5C35D494364F9ECD-ojetdocs-1_1_2.zip
+	http://hg.netbeans.org/binaries/CA8F6968FED0BE20E786C70CF9B603F4D7B66C68-ojetdocs-2_0_0.zip"
+LICENSE="|| ( CDDL GPL-2-with-linking-exception )"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+S="${WORKDIR}"
+
+CDEPEND="~dev-java/netbeans-platform-${PV}
+	~dev-java/netbeans-extide-${PV}
+	~dev-java/netbeans-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.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-r15-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}"/0929AC5F40B5A8667021408748D64F30F77B3165-libiDeviceNativeBinding.dylib cordova.platforms.ios/external/libiDeviceNativeBinding.dylib || die
+	ln -s "${DISTDIR}"/2A38DA3DB5D36DBBDC0B03990B46810F72430D5E-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}"/C1BB9FF4232248B0054E5A26A33474A251EA19CB-libusbmuxd.2.dylib cordova.platforms.ios/external/libusbmuxd.2.dylib || die
+	ln -s "${DISTDIR}"/D4BD3F62EADB61216A47EF96B3152EDD35A56005-ojetdocs-1_0_0.zip html.ojet/external/ojetdocs-1_0_0.zip || die
+	ln -s "${DISTDIR}"/1EFED55F8C442E4DB1C2338A5C35D494364F9ECD-ojetdocs-1_1_2.zip html.ojet/external/ojetdocs-1_1_2.zip || die
+	ln -s "${DISTDIR}"/CA8F6968FED0BE20E786C70CF9B603F4D7B66C68-ojetdocs-2_0_0.zip html.ojet/external/ojetdocs-2_0_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-r15-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-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
+
+	dosym ${INSTALL_DIR} /usr/share/netbeans-nb-${SLOT}/webcommon
+}

diff --git a/dev-java/netbeans-websvccommon/Manifest b/dev-java/netbeans-websvccommon/Manifest
index 3be8bb1..70637cb 100644
--- a/dev-java/netbeans-websvccommon/Manifest
+++ b/dev-java/netbeans-websvccommon/Manifest
@@ -23,6 +23,7 @@ DIST netbeans-trunk-nightly-201603150001-src.zip 210021503 SHA256 b0ea2aa58d93a6
 DIST netbeans-trunk-nightly-201603160001-src.zip 210026634 SHA256 4d66f16a798e9c89599c9d9ca42493a477d2c2d11cae3e5e1e7b6c3876bc953a SHA512 be94af9676f2559c959c213683ff23720798fe3fb8c5849e7d3422a89ab7de011bcd7eb90d7d480789461a8270ed6c2cbac6536f4ba5b5196472a73c1ac3ce73 WHIRLPOOL 53d7422959ba36b979d9b37333863479f811697f880f2e1c1861a1ff83a735364b265c32314e5ecc4a08e94f1478da3e74ed14112bc5a09b5c7b6b9e97385d4d
 DIST netbeans-trunk-nightly-201603170001-src.zip 210039061 SHA256 dbc6ec1a007e00802af0f2b09ce7f8bb66181329339adf912727f0faa8853489 SHA512 0999a494f2c6e93a4caca24c4e50291111fd73c874da130c7bd1a834509689381bc8f59794d5c6d9d6f67e1b8998b12b107efec9d1a19fa31486ad62863c94f1 WHIRLPOOL bf1472b80804371be9fb0ad8f35659c7ac372842b361175d87cc1f580786c8cb064e7aa8447a5957f32ed5aecf3bb0f9b5e89d4157b316e5294e4ff28d5fb9ef
 DIST netbeans-trunk-nightly-201603180001-src.zip 210042763 SHA256 28228314edea02fe1d6d07cb82cad7b1146635d7523ea5f52a1246f6b7d23de8 SHA512 687b12d299eea84a4b9acde9006304a9822686fecbf3df20ce2f18fa7008a42b4adb8bdcbc31d72abc3bb3a434a8b4ddc58377aa9ab1b53228c4a89a61d1ccad WHIRLPOOL 008d327accadf7ee64ff8b12f2d71ecad282bee6a0964815949bd5609b035cfae7be0d26e0b19d18d3a6997d5c7c9f508933f506f377d87cb7488402a8b59c67
+DIST netbeans-trunk-nightly-201603230001-src.zip 210048386 SHA256 4c00dfb9e00a18022cfbb6dfc856de70f76f608fa844dcc50fa0a86f897714ea SHA512 e228c048dd46da6810a92568e57f164d37e5845670013ca7eac8a6d9ba234f758a9691d75a78a9517f06052cc392a6ef5645d3e831cdc433af9534847b726e14 WHIRLPOOL dca834fa3054db92fcd19e69094764b9f95683b7a1a404b3965922df8495d6d0a01030646e1c17312b9a1645ea5c981e26ad2a8e65f53cce680e934093754375
 EBUILD netbeans-websvccommon-8.0.2.ebuild 2651 SHA256 a195b307847c466dbb5f46eb04240358ce3c92cadeecb8fda1562304de46820f SHA512 933626bd2073f58e3508180c042e237b9e61ba6f3c992cf37ea43978ac2fc972d2dcc3ef0b5c390b3867296e197ed2605c43452c98e36acf0982e7338b6d1eb7 WHIRLPOOL c3db8f0b50116d0129f50778e1961166e76601d8c165e20e73d75c91b02c8a095067e0f13e18178d849dd29adcedaeee7d3e0e62f99be592d7ce159fd6af632e
 EBUILD netbeans-websvccommon-8.1.ebuild 2675 SHA256 c9ff3d598c5f76c2b69dd5488a80c63025acc3cd0cc99321a0e84a493502df36 SHA512 89daec44b860aa8011d9e5533230f89dad7bcc50a119664122d2718db3e53501d1319ae4b27eac1d71596671e9a7c21315a641346e6cbab22edb3c7232bf5ce3 WHIRLPOOL 521521094b396c98687e2054742e4c019023045f19b01a6cc3a5f826f4cabe9448254db8b834448f3b33368c76dd667942554e1bae459c55de2c571bb5cfb4f5
 EBUILD netbeans-websvccommon-9999_p20160223.ebuild 2721 SHA256 91ae22880cf71f21a6686abe6303d38d1fbc352eab28aa6aceec838df867a617 SHA512 40a3dff775b85c8d392fb55534450e0605aa0cbe33edc7f0355357d8200c5c30656e665281f48897db132ccba682756b58d7a65c98c1bed120685520612f7b0b WHIRLPOOL 267a3ad3e95a7a2c26cc8460fec3a8e45156fad105e9da639cc2d2f33a355929421a0e1e7e7207aea8a0251095174e146f919ac5625453c481294021e25e4d1f
@@ -44,4 +45,5 @@ EBUILD netbeans-websvccommon-9999_p20160315.ebuild 2721 SHA256 c6635aa2d34b04bdf
 EBUILD netbeans-websvccommon-9999_p20160316.ebuild 2721 SHA256 8a07ef88583977f67457beb80754368bce495718c5cb6987bef37993e978e168 SHA512 d5dc1dc2efa9509ab00f0da9d098281ec3af685d9a6dd0a53859dad3f612fb78757d6719596ac542ee68dd7de6f359ed2a7cfc396f4e57559c327e7983aaea9f WHIRLPOOL 7c5503a521ecfdb948ae1d383cfb997b925e9fce20de999e2d5272553544fd1157f9fac358aae688dda0a69ab7377b9dcd5198591b98e7ef49f12a0d46e0f629
 EBUILD netbeans-websvccommon-9999_p20160317.ebuild 2721 SHA256 904ac318e98083851a60b0c19cbcf2d41304f7ef0f80976ca19af23c76405861 SHA512 2e69a65036eb87136767e3bd909434054afeaac3f3861f4524137ce0c32a81b41849462ef8814f35324f8aceca247d463974a8e065dd3f8fd8a3379b8c4a86c3 WHIRLPOOL d7a39c34337a08696fcf72a01920b99a036baa3d43c7a1c654ad56f087beda27a4d818ca1303333b2a6a769d92ca7855160a6b7fc5d7a1ad9c95e6bf9b2c22d0
 EBUILD netbeans-websvccommon-9999_p20160318.ebuild 2721 SHA256 f261ea6ee8ad3f4bf7f777a1517edf187dddf7dc4d307df50f5b2f229c8fb7b8 SHA512 999cc373f762a7c91780c5b62e2e6af3dd82c14c4f0167cc575c45a09122a94feb528563fc9b376ba1fdbe8f4e1d216d024f8155b0c53bc4995adf12626efd7d WHIRLPOOL 5cd9d416043483556147ca910919219268100496da2dda93c760190f5d4a7090376e2aaac514336e34168e10f61c28c47876fcc5960b06be030f78306403a0c0
+EBUILD netbeans-websvccommon-9999_p20160323.ebuild 2721 SHA256 711867c40a107ccc31f760f1bb5cd3957463dacf73941f56a6b1f0ae6f51dc63 SHA512 4928f51238e92f1ef03b72e91b5af73712c6afe2e10482bfe201d5d66a10d3602b12f4ebbf573a24c6bb3fbb4cf1d07c008b54c86b53738267d7f75070d83843 WHIRLPOOL 06ebddd26c8cfb1ae6bee59553c2e5e9d122a2df58b61e9380eb4dc982cd0661a24d27dd96decf56efe5f0d0c71d072f9fb912902471129b49a40bf3025b38d0
 MISC metadata.xml 247 SHA256 8e0ccbf349cdd36adaaa8c3becadea9b65febd7868f27664ef7e70a1197765fe SHA512 1a68c1448a18938e13e6e39e718934a3e700b1d2ca708332d9cefd522d30049794b281c1cc8f788f1d0eb73c468a55b67a4bafbcf6e43317978d661d5d736faf WHIRLPOOL aaa66eab1db9d82717d76e5c65990f7f30e9527a6573006ebc43cc0edb05550ddce87e8e911ba7c7d67de863e6a191cc351b31fed299c4654a7b894f9eb13740

diff --git a/dev-java/netbeans-websvccommon/netbeans-websvccommon-9999_p20160323.ebuild b/dev-java/netbeans-websvccommon/netbeans-websvccommon-9999_p20160323.ebuild
new file mode 100644
index 0000000..6abb716
--- /dev/null
+++ b/dev-java/netbeans-websvccommon/netbeans-websvccommon-9999_p20160323.ebuild
@@ -0,0 +1,94 @@
+# Copyright 1999-2016 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/2016-03-23_00-01-48/zip/netbeans-trunk-nightly-201603230001-src.zip"
+SRC_URI="${SOURCE_URL}
+	http://dev.gentoo.org/~fordfrog/distfiles/netbeans-9999-r15-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-r15-build.xml.patch.bz2
+}
+
+src_prepare() {
+	einfo "Deleting bundled class files..."
+	find -name "*.class" -type f | xargs rm -vf
+
+	epatch netbeans-9999-r15-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 c44301e..cfcd93c 100644
--- a/dev-util/netbeans/Manifest
+++ b/dev-util/netbeans/Manifest
@@ -26,6 +26,7 @@ DIST netbeans-trunk-nightly-201603150001-src.zip 210021503 SHA256 b0ea2aa58d93a6
 DIST netbeans-trunk-nightly-201603160001-src.zip 210026634 SHA256 4d66f16a798e9c89599c9d9ca42493a477d2c2d11cae3e5e1e7b6c3876bc953a SHA512 be94af9676f2559c959c213683ff23720798fe3fb8c5849e7d3422a89ab7de011bcd7eb90d7d480789461a8270ed6c2cbac6536f4ba5b5196472a73c1ac3ce73 WHIRLPOOL 53d7422959ba36b979d9b37333863479f811697f880f2e1c1861a1ff83a735364b265c32314e5ecc4a08e94f1478da3e74ed14112bc5a09b5c7b6b9e97385d4d
 DIST netbeans-trunk-nightly-201603170001-src.zip 210039061 SHA256 dbc6ec1a007e00802af0f2b09ce7f8bb66181329339adf912727f0faa8853489 SHA512 0999a494f2c6e93a4caca24c4e50291111fd73c874da130c7bd1a834509689381bc8f59794d5c6d9d6f67e1b8998b12b107efec9d1a19fa31486ad62863c94f1 WHIRLPOOL bf1472b80804371be9fb0ad8f35659c7ac372842b361175d87cc1f580786c8cb064e7aa8447a5957f32ed5aecf3bb0f9b5e89d4157b316e5294e4ff28d5fb9ef
 DIST netbeans-trunk-nightly-201603180001-src.zip 210042763 SHA256 28228314edea02fe1d6d07cb82cad7b1146635d7523ea5f52a1246f6b7d23de8 SHA512 687b12d299eea84a4b9acde9006304a9822686fecbf3df20ce2f18fa7008a42b4adb8bdcbc31d72abc3bb3a434a8b4ddc58377aa9ab1b53228c4a89a61d1ccad WHIRLPOOL 008d327accadf7ee64ff8b12f2d71ecad282bee6a0964815949bd5609b035cfae7be0d26e0b19d18d3a6997d5c7c9f508933f506f377d87cb7488402a8b59c67
+DIST netbeans-trunk-nightly-201603230001-src.zip 210048386 SHA256 4c00dfb9e00a18022cfbb6dfc856de70f76f608fa844dcc50fa0a86f897714ea SHA512 e228c048dd46da6810a92568e57f164d37e5845670013ca7eac8a6d9ba234f758a9691d75a78a9517f06052cc392a6ef5645d3e831cdc433af9534847b726e14 WHIRLPOOL dca834fa3054db92fcd19e69094764b9f95683b7a1a404b3965922df8495d6d0a01030646e1c17312b9a1645ea5c981e26ad2a8e65f53cce680e934093754375
 EBUILD netbeans-8.0.2.ebuild 7167 SHA256 80e31382a0ceb680c2a055dc5c78c1dce8edf32c50bbae6a1c14a2c568492519 SHA512 0ab466ca247ec953896ef0ab3b01b43ffea3a9f37e9bcdacecfc0476226d45cef35e4ddf27f2b85628d9512ed304e6cc6cfe963a5e547217d08cad400eefc4b9 WHIRLPOOL d09668e669f4f8d7987ab02cf26104fc6e54ba29b8b497fe0013cc8816a2d7560c99e6e1b02db77ead872d5240b84c09e3fabbc3465587d1d1ca7d6fcae114c1
 EBUILD netbeans-8.1.ebuild 6891 SHA256 22a19f05bdcea85475c0451df867367b69363bfbc6280f78b087248d9f8e9513 SHA512 812b6cdae3e5feaf37db5ca8b5efa1b374d5492f11cfa1df2adbd3617986cdca6a79d2d4dffd024c8c48492fc8a21704190242f5741c5699b12070620cea2c87 WHIRLPOOL baf5f750574c01effa0d02c72194139fb2757be932054f4900ceb0534607064af10f2b5b38063ff2cca34e75ab5be23d00c7e5d90d1c724339666d20f1bb10d3
 EBUILD netbeans-9999_p20160223.ebuild 6939 SHA256 4983a26789624ec9422887100f322c64fe62af55cd7cc9a6dd539d37c475827d SHA512 352e85e53c08e87c671cac68ac2ad62247ed7df5f7c631e0d16cea5936e930e80d22f2e9d118f488faa5db5082d74defc38169dfee231f8771538aff6671b470 WHIRLPOOL de818ecc93fbacc632c4075a3cbfee90795d889eda7f71cfa8e192515025fa552b556482556d68d0e4eaad88ddef3348910ef092574ad2638f7bf1f0916642f5
@@ -47,4 +48,5 @@ EBUILD netbeans-9999_p20160315.ebuild 6939 SHA256 50b7d31d9498e199a70e743b3b7c70
 EBUILD netbeans-9999_p20160316.ebuild 6939 SHA256 ec060ffffa8905bde4b4cabf768690a1c8cc3c1d3a60e18fdfca1b4b32c43398 SHA512 c83a272a3db907fbe9166062c5b1d563974ed27c34cd40e3867ca47d4a468a7c7db1259c9a5d86ae0f8e1c0d68eac6fe1bd69012d546c69c08d02adc63bfa41d WHIRLPOOL ba5274d9813a707e063d6037ef8f274518dadc5e1cc68a585f8f0163a0a45dfb95744897604d361ae8e09dea7ca7c2f1e5817720e830f63f49bd189e1f2b0bdf
 EBUILD netbeans-9999_p20160317.ebuild 6939 SHA256 a897b7ae94ad8027afe154a2d8dca577d398e647a83220466917e31fed6e8348 SHA512 5d86321a4e2880d1559e7eacf8ffbd1cb3fda93e2864bed0a9070788595eb574eb7edcb403ba1addfa37ca1128bf90e42196c5f2f2d0b2a7dc68bbed864debc7 WHIRLPOOL b7019e854c34dd0fc04d77a7d1be75911828e6bb37dabeb937ed83805feab7f4ba03de0d704db7dd27760c3f9f027fce6cf7983e2aca4058fa01e442481a57ac
 EBUILD netbeans-9999_p20160318.ebuild 6939 SHA256 fbc2d450376c4bdeb779ae76020fbeea61a4591763505cddf4bdb9993cda3eca SHA512 d3d0e73641486fc9c608a8cb40e297d49bc23ec77b47eecde7251b88dde5108edb50d82cdf64fd738bd34b721b3a348db7712f5771663ed27e8287b6806538d4 WHIRLPOOL d668f8ad9a80289c7b05260d3c44af546b971cb67bb0371388ea3a782b60ab269078342bb050869276a932983ed051f01525c363766ae625ffc0e274fa7ffd4b
+EBUILD netbeans-9999_p20160323.ebuild 6939 SHA256 2058f071a7fc4ac7bcaaad80217741227698a3567c1f16221d44841e91ef6c95 SHA512 aeb4f33680687e96fceccc9d720d473f987b952a331e311bbd088bb1810bd4d3a2498f2ca1722ac0e3ec900faa7b8add4aaa68ea4fe803e61be8deb4d6692e36 WHIRLPOOL 880154f5145d6a7d6d0c8ca1b6071e14c038101b37fa9c7ed785c3afc0c9edde2cf1496181b3424035d1bb957dfe8598435d8cf1a41e6dcba4bb63d933f24a9f
 MISC metadata.xml 329 SHA256 8aeaf2a0228f15c2e4140f401b30f083509bd99d0a578873069f3595cd8555f3 SHA512 d5d878b3903238db8e1c807862c68fff34e86b972daac3e38a3b283c802ba8a5e6345723740f5ecf7b0313daa5430708a21eca4d4a1415069cf836aaf5429640 WHIRLPOOL 799a9b79b1b447bda9631f67e2dfaf722376740e1d2037796528a05f9745eeed00d9990a74a65ce09f74bc5e1d60a887abde540c3c62487d7dd49b8377c15834

diff --git a/dev-util/netbeans/netbeans-9999_p20160323.ebuild b/dev-util/netbeans/netbeans-9999_p20160323.ebuild
new file mode 100644
index 0000000..90974ce
--- /dev/null
+++ b/dev-util/netbeans/netbeans-9999_p20160323.ebuild
@@ -0,0 +1,254 @@
+# Copyright 1999-2016 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/2016-03-23_00-01-48/zip/netbeans-trunk-nightly-201603230001-src.zip"
+PATCHES_URL="http://dev.gentoo.org/~fordfrog/distfiles/netbeans-9999-r15-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_ar_SA? ( ${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_es_CO? ( ${ALL_URLS} )
+	linguas_fil? ( ${ALL_URLS} )
+	linguas_fr? ( ${ALL_URLS} )
+	linguas_gl? ( ${ALL_URLS} )
+	linguas_hi_IN? ( ${ALL_URLS} )
+	linguas_id_ID? ( ${ALL_URLS} )
+	linguas_it? ( ${ALL_URLS} )
+	linguas_ja? ( ${ALL_URLS} )
+	linguas_ko? ( ${ALL_URLS} )
+	linguas_lt? ( ${ALL_URLS} )
+	linguas_nl_BE? ( ${ALL_URLS} )
+	linguas_nl_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_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_ar_SA
+	linguas_bg
+	linguas_ca
+	linguas_cs
+	linguas_de
+	linguas_el
+	linguas_es
+	linguas_es_CO
+	linguas_fil
+	linguas_fr
+	linguas_gl
+	linguas_hi_IN
+	linguas_id_ID
+	linguas_it
+	linguas_ja
+	linguas_ko
+	linguas_lt
+	linguas_nl_BE
+	linguas_nl_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_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}" = "fil" ]] ; then
+			lang="fil_PH"
+		elif [[ "${lang}" = "gl" ]] ; then
+			lang="gl_ES"
+		elif [[ "${lang}" = "id_ID" ]] ; then
+			lang="in_ID"
+		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-r15-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-r15-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_id_ID ; then
+		einfo
+		einfo "You selected Indonesian locale which has locale code in:ID in Netbeans."
+	fi
+}


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

only message in thread, other threads:[~2016-03-23  9:06 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-23  9:06 [gentoo-commits] dev/fordfrog:master commit in: dev-java/netbeans-dlight/, dev-java/netbeans-php/, dev-java/netbeans-webcommon/, Miroslav Šulc

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