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

commit:     6eea98fcbb7ee2d0681033292293ec8a9f1a6be2
Author:     Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
AuthorDate: Tue Dec  1 10:43:10 2015 +0000
Commit:     Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
CommitDate: Tue Dec  1 10:43:10 2015 +0000
URL:        https://gitweb.gentoo.org/dev/fordfrog.git/commit/?id=6eea98fc

netbeans: bumped to the latest nightly sources

Package-Manager: portage-2.2.26

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

diff --git a/dev-java/netbeans-apisupport/Manifest b/dev-java/netbeans-apisupport/Manifest
index 3f46c4a..c39908b 100644
--- a/dev-java/netbeans-apisupport/Manifest
+++ b/dev-java/netbeans-apisupport/Manifest
@@ -34,6 +34,7 @@ DIST netbeans-trunk-nightly-201511270002-src.zip 209057113 SHA256 a5ae7083bc58b9
 DIST netbeans-trunk-nightly-201511280002-src.zip 209067071 SHA256 4302c5a2625fd2ce88690813a9a355aa431f013e71d72a43db4466aba0c1399e SHA512 6774f00a6dfd4fb717432e7c3fa0cb3edaefa60711bcbd1f18961d9d0d8181cbe7c251a1d5c5f4ee09465f43d109f2877ff8b3357f47550ea81459a71edbc35b WHIRLPOOL 71b5cf8f6c3b82cc6194ae015869c6b11bdfa5f6dbd2c5a86c97a5f7fa17fdd20212c37523f0b0d0c4b7660b81f1a4589998d67b53c09280fc81a798b003bc1b
 DIST netbeans-trunk-nightly-201511290002-src.zip 209067309 SHA256 a0d14ef896c7e7df15f6911ee1eaa3c4f123bf2ddbad14a1c5c4f33c60ddd072 SHA512 f3838e66544635306aa3ce8c49979fda8c9437be06905c1ad1fd7d375bea3fdffd21f5d75a2413a5961cc4a1b11fca8438983c1284652381fe6d0d3d45847385 WHIRLPOOL 1a008d95e63ea95db57f049da7cb5871ea8d03c59501261b225c0e5012b144f3b37569555e006cbf7140c0fefd16f2c722df121897d0e7a40ead8171995e73e2
 DIST netbeans-trunk-nightly-201511300002-src.zip 209067309 SHA256 2cac888b1ddd5c95623942d0d02833d98d5d171b272d4d6287a76e7630b48469 SHA512 2b8b86325d6a97eb8dfdbe9b6960aa9658d6c30c1edd576bf8b77108fe26c4ce5e8d152e588e4cd9075b04ed671a7bcc8797f1cefbdf47e62c56bc4d7ea61d5e WHIRLPOOL a7d0ab312bb191a202746ad5c139681a9dab0f0bdc4ada1b34f468d330059050e26f875d3fc7eb62eda46f39c7118d495f9f94564100bad9ae3e0b27bf9896b2
+DIST netbeans-trunk-nightly-201512010002-src.zip 209149379 SHA256 9030cb0fd9a50bd2ba418c1b165215d3ee14eb1291b3008003cf638347862411 SHA512 04ace118a7a66b84c92630c4a567d6ad9181638e8eaa9bf64fd225915b8b1c47f81cb6beeb0d26a916a8bfa735c4eb464d68a43b1c72f447c06b518f43983b07 WHIRLPOOL a7ebbb6a7325851ccbe448deb44b3ac615a469f6c06a250265d78f88dc8708da28fd3d5ed5a18acaa3f7ca4223b8be6c9be35350d0605aa48a5055e710ec5d04
 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_p20151020.ebuild 3384 SHA256 a802a8f7ce9dacc6fff9450f9a1d23cf585e9fab6216a9cdd4d82155175e2c80 SHA512 dad537659fb7a12ee11ba7f902d516f74ecdaec8b12c22a3a5519ffe83581aea0f29c6c6cfd79c6385614f4f553f797a72d385a8f21d37354c40d3f21bb9f1a9 WHIRLPOOL 2ef2db6c7eddd9ffbc37285ecfb44ede5c9dab9f45f802c254ddae1d557aa65a38054f1284a23537a8a6617a1d7b1d31c5542025dc28d4c9a239c3ca2e957a35
@@ -67,4 +68,5 @@ EBUILD netbeans-apisupport-9999_p20151127.ebuild 3384 SHA256 741a497c8ae881cbb5f
 EBUILD netbeans-apisupport-9999_p20151128.ebuild 3384 SHA256 02c2df4a9d1879d8e1958835e5c31ba1b1b2f0890d2d8d4fce83d8d0615418ce SHA512 404d176aa002e55f1e29551cf7b9e17487bae33706ee4da343e7494b8c30a8958753a68c59fd9e35f6d99750a86022dc1cb5e7db3c199957e71db1d4cf155825 WHIRLPOOL e904f914c09c7e1710cc16c2863e69f88ddb17d8f67c2eb74670b2a16f14ba80f6b5abf353ec7313ab7e69df744b554a62b81ad63a97c4295ed009d7ad1d1868
 EBUILD netbeans-apisupport-9999_p20151129.ebuild 3384 SHA256 0ef6f05ebdd46d18558dad1ed8ead30c9673f655ebf272bbb925009920a0b95f SHA512 a3e37223c3b56eee6534a753a0317e91435aab1f268cc37b71cb2edefbb0b3e2d185743869b4b003622040c7d7adb680272a1dd049ae71939a277c123a4c78c0 WHIRLPOOL 3a80d230d8fa3b98c4748b7c271dbb3f26eb051a0cab088c336fac6fe1fda8f59b96b4768d075a807c6eef23ce0b4bd91f227e7df69081d3de29293325bdfdeb
 EBUILD netbeans-apisupport-9999_p20151130.ebuild 3384 SHA256 ed5df44db000958c97495203133bf9af3faeaccfa62821ebbfeaf66733d9b3e4 SHA512 6abb47e2b86db60d3e4c3822f62dbdf8d30c58f29ee5d35a31dbbbfcb5564b7ca2c434a2ad70ca9c8c941043f228ba0781e734c5447a8f808835aeeae233fc60 WHIRLPOOL 69ab4c9781565695f817b6617f6005001b2e23281e5ab799e1b4e7db773920632c750ef5c744828d54908569bdc798839db363cf7546553f9d91fea83c8df49e
+EBUILD netbeans-apisupport-9999_p20151201.ebuild 3384 SHA256 9426ab6379951136b9103d312ca44e027c65d326b6069c90a424fc5bcb0d4b03 SHA512 93223e52c9326b1af2d75a236acc038d3484bd776af09d9b37732d44388f21e0c5db880f27947fe579627ca6596c91716ba7247e6bb27a17f258173843fc24ee WHIRLPOOL b2a7e8439afd766013bba04334413812f61a54cf938d1a645b0d9710d3ea30c37e3e09b7f3ed65113026fe7d0506764a1fb17a30f69734afdd9f374e151a65a3
 MISC metadata.xml 251 SHA256 5a4ff53a9862390a48d45c79be24086646e7a6ff0c5bdf0fcb799d0871299003 SHA512 04153cbd9776ad56a94d6a47d043df15d082d8888df8658f18d0d4b659c6c0526ab3a9b22ccbe2471091bf2d8165f224854bc99c51f3664aaf350ccb93532a7c WHIRLPOOL 2ee8a646c6e23bc46c72cac0ecb5cfe43720ec42404ddaeed8ab1b59d139b3d5c1a94764de847f979da978c001c9f02f709d663a68eeea64d19e88f1fefbca43

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

diff --git a/dev-java/netbeans-cnd/Manifest b/dev-java/netbeans-cnd/Manifest
index 78c49fc..8e90e42 100644
--- a/dev-java/netbeans-cnd/Manifest
+++ b/dev-java/netbeans-cnd/Manifest
@@ -47,6 +47,7 @@ DIST netbeans-trunk-nightly-201511270002-src.zip 209057113 SHA256 a5ae7083bc58b9
 DIST netbeans-trunk-nightly-201511280002-src.zip 209067071 SHA256 4302c5a2625fd2ce88690813a9a355aa431f013e71d72a43db4466aba0c1399e SHA512 6774f00a6dfd4fb717432e7c3fa0cb3edaefa60711bcbd1f18961d9d0d8181cbe7c251a1d5c5f4ee09465f43d109f2877ff8b3357f47550ea81459a71edbc35b WHIRLPOOL 71b5cf8f6c3b82cc6194ae015869c6b11bdfa5f6dbd2c5a86c97a5f7fa17fdd20212c37523f0b0d0c4b7660b81f1a4589998d67b53c09280fc81a798b003bc1b
 DIST netbeans-trunk-nightly-201511290002-src.zip 209067309 SHA256 a0d14ef896c7e7df15f6911ee1eaa3c4f123bf2ddbad14a1c5c4f33c60ddd072 SHA512 f3838e66544635306aa3ce8c49979fda8c9437be06905c1ad1fd7d375bea3fdffd21f5d75a2413a5961cc4a1b11fca8438983c1284652381fe6d0d3d45847385 WHIRLPOOL 1a008d95e63ea95db57f049da7cb5871ea8d03c59501261b225c0e5012b144f3b37569555e006cbf7140c0fefd16f2c722df121897d0e7a40ead8171995e73e2
 DIST netbeans-trunk-nightly-201511300002-src.zip 209067309 SHA256 2cac888b1ddd5c95623942d0d02833d98d5d171b272d4d6287a76e7630b48469 SHA512 2b8b86325d6a97eb8dfdbe9b6960aa9658d6c30c1edd576bf8b77108fe26c4ce5e8d152e588e4cd9075b04ed671a7bcc8797f1cefbdf47e62c56bc4d7ea61d5e WHIRLPOOL a7d0ab312bb191a202746ad5c139681a9dab0f0bdc4ada1b34f468d330059050e26f875d3fc7eb62eda46f39c7118d495f9f94564100bad9ae3e0b27bf9896b2
+DIST netbeans-trunk-nightly-201512010002-src.zip 209149379 SHA256 9030cb0fd9a50bd2ba418c1b165215d3ee14eb1291b3008003cf638347862411 SHA512 04ace118a7a66b84c92630c4a567d6ad9181638e8eaa9bf64fd225915b8b1c47f81cb6beeb0d26a916a8bfa735c4eb464d68a43b1c72f447c06b518f43983b07 WHIRLPOOL a7ebbb6a7325851ccbe448deb44b3ac615a469f6c06a250265d78f88dc8708da28fd3d5ed5a18acaa3f7ca4223b8be6c9be35350d0605aa48a5055e710ec5d04
 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_p20151020.ebuild 4790 SHA256 66315a81faa064377f614b4891799849b7c08b6e6da3dbd947313942d191bed0 SHA512 2008d230f3fb0b8d3665949e6015c768fd35aecc11b2847abcc7acf76a62d2e6b642d56d595acec6de81a2bead1e4feb948e4f2bbae183ad4d85935a48432c37 WHIRLPOOL 61f64490b827d42ac383ab6151db645d8bcf0589c90c8c31d8c55ddf71d7f723f219884d916c48b42fb63aa8faa534f3b0664cdcb498a36346f283302498ed09
@@ -80,4 +81,5 @@ EBUILD netbeans-cnd-9999_p20151127.ebuild 4790 SHA256 59bae39f95110c127cafef0153
 EBUILD netbeans-cnd-9999_p20151128.ebuild 4790 SHA256 bf3480161b2231efb0d47aa55eccf518c601408066ac1b68170fe69c58c16558 SHA512 264e60a5ea0f2d1f3040e81aee85a74e9a3c9369ba4b1797080ce52cb8e985980291c8e49919efc3976c4ece6548b9d38c97c17d1cbacc4a0d0c688c912032c9 WHIRLPOOL 93664495b2ce745e73d86942102c85498f39cece67cfa8803d03d9d9fe217ddf2a2d044da36833ecada6b1b79324179234c4809b8a8ea1895959cc948e99c004
 EBUILD netbeans-cnd-9999_p20151129.ebuild 4790 SHA256 e980078f3acf7ea9d3a618ecebffd3dbade8f594aa475c59b9686ad26cf7ce54 SHA512 5b0fa99ec3edd65cbb82186ac39ed8b97e0efec8919c9d8ddc64f10bdb448d78828104fcae772089ced09b0f6eeb069e698492c0dad68ee37a1e918d3d97155c WHIRLPOOL d66eb7e0adf477223d48b062b1cf91765e46403cac7270ffefee7c83b5bdb90c7ed96f8aeb71ee359c442d820ce84f6e45bf7e8b24f92e693f7993b1d3ff8cbf
 EBUILD netbeans-cnd-9999_p20151130.ebuild 4790 SHA256 e14d4110452a7316bbbea3bd0ad32d6c21d9c64aaa43bc2d07bfbc067e026dbc SHA512 42e589b60642939e9a7464dc99f5e542eaf74b278e1483b9ff8b0ea7494419ff229c399d8cd9fe3d0dd4a4a3f576e91ac634348a50fb364fd8fd6920b418208e WHIRLPOOL db20a6d506c8cddf866db0360a13237d0ee19422890db9fae883956b864a75e8a4693bcc54cf2648300b1c53005dd2f4a73ff0c427e1425a27a8f75f6b557fe5
+EBUILD netbeans-cnd-9999_p20151201.ebuild 4790 SHA256 b9bf5d25cdbb28a5e6202728fb411dcdbdb9fbdd50c24455ed80db2e90015742 SHA512 ce0121827924e06dedceca7fe763ce4ba94325d33563cdeaa7fe5dd0cb21c8d93e6b212486c50826ce89d02a47e00613bd42c1e57b8873f57e2bb46ddd779a16 WHIRLPOOL b778dfac0ec484782740d4aad7ff770879a27e4606dc25e775770379e355bde657600809f3c74413cc15363057c6870f05bdea16795f7058bd661e1f6b3b292c
 MISC metadata.xml 251 SHA256 5a4ff53a9862390a48d45c79be24086646e7a6ff0c5bdf0fcb799d0871299003 SHA512 04153cbd9776ad56a94d6a47d043df15d082d8888df8658f18d0d4b659c6c0526ab3a9b22ccbe2471091bf2d8165f224854bc99c51f3664aaf350ccb93532a7c WHIRLPOOL 2ee8a646c6e23bc46c72cac0ecb5cfe43720ec42404ddaeed8ab1b59d139b3d5c1a94764de847f979da978c001c9f02f709d663a68eeea64d19e88f1fefbca43

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

diff --git a/dev-java/netbeans-dlight/Manifest b/dev-java/netbeans-dlight/Manifest
index 835c2d9..6febc29 100644
--- a/dev-java/netbeans-dlight/Manifest
+++ b/dev-java/netbeans-dlight/Manifest
@@ -36,6 +36,7 @@ DIST netbeans-trunk-nightly-201511270002-src.zip 209057113 SHA256 a5ae7083bc58b9
 DIST netbeans-trunk-nightly-201511280002-src.zip 209067071 SHA256 4302c5a2625fd2ce88690813a9a355aa431f013e71d72a43db4466aba0c1399e SHA512 6774f00a6dfd4fb717432e7c3fa0cb3edaefa60711bcbd1f18961d9d0d8181cbe7c251a1d5c5f4ee09465f43d109f2877ff8b3357f47550ea81459a71edbc35b WHIRLPOOL 71b5cf8f6c3b82cc6194ae015869c6b11bdfa5f6dbd2c5a86c97a5f7fa17fdd20212c37523f0b0d0c4b7660b81f1a4589998d67b53c09280fc81a798b003bc1b
 DIST netbeans-trunk-nightly-201511290002-src.zip 209067309 SHA256 a0d14ef896c7e7df15f6911ee1eaa3c4f123bf2ddbad14a1c5c4f33c60ddd072 SHA512 f3838e66544635306aa3ce8c49979fda8c9437be06905c1ad1fd7d375bea3fdffd21f5d75a2413a5961cc4a1b11fca8438983c1284652381fe6d0d3d45847385 WHIRLPOOL 1a008d95e63ea95db57f049da7cb5871ea8d03c59501261b225c0e5012b144f3b37569555e006cbf7140c0fefd16f2c722df121897d0e7a40ead8171995e73e2
 DIST netbeans-trunk-nightly-201511300002-src.zip 209067309 SHA256 2cac888b1ddd5c95623942d0d02833d98d5d171b272d4d6287a76e7630b48469 SHA512 2b8b86325d6a97eb8dfdbe9b6960aa9658d6c30c1edd576bf8b77108fe26c4ce5e8d152e588e4cd9075b04ed671a7bcc8797f1cefbdf47e62c56bc4d7ea61d5e WHIRLPOOL a7d0ab312bb191a202746ad5c139681a9dab0f0bdc4ada1b34f468d330059050e26f875d3fc7eb62eda46f39c7118d495f9f94564100bad9ae3e0b27bf9896b2
+DIST netbeans-trunk-nightly-201512010002-src.zip 209149379 SHA256 9030cb0fd9a50bd2ba418c1b165215d3ee14eb1291b3008003cf638347862411 SHA512 04ace118a7a66b84c92630c4a567d6ad9181638e8eaa9bf64fd225915b8b1c47f81cb6beeb0d26a916a8bfa735c4eb464d68a43b1c72f447c06b518f43983b07 WHIRLPOOL a7ebbb6a7325851ccbe448deb44b3ac615a469f6c06a250265d78f88dc8708da28fd3d5ed5a18acaa3f7ca4223b8be6c9be35350d0605aa48a5055e710ec5d04
 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_p20151020.ebuild 2968 SHA256 a65fcfda2248cf3e4d1f8f812a8205ebed17738be5f49c0446bd6a4047b3707c SHA512 f8cd1aeed5e0bb0bb83784c6179b799420f997830f11f452026cc4c17b7329eb7ba8a6c9a04cb230bbfe90468ece35ce3125c68caea71a094e469a549639a929 WHIRLPOOL 6f3109f29a5a3d9b9fc8cb355f3feb4c8bf1d0d895fd03dd17dd44502aa36f0f571fc35102854e56acf0a8c46ad0e05356ed08aa81540bf978a2ab0cc0cbf638
@@ -69,4 +70,5 @@ EBUILD netbeans-dlight-9999_p20151127.ebuild 2968 SHA256 dac72c0d9f162eb3165c7e1
 EBUILD netbeans-dlight-9999_p20151128.ebuild 2968 SHA256 78d8b1f74e9c1b0b10bad6c183e57515cd710d6496d08bf18cabcc7611a726a1 SHA512 6352112b67df1f69fe18d75905fe8d32c562e0563a8603e94c1b15b186d5f78ae63ff42c5c676fbd5a0ef241ad24ccea0ea34e20148cee0e97e80da5b56a6fa1 WHIRLPOOL ddf2f5d6b6e2264d221e96d707adf1067d478560c14fb007c8ab963750cba4e38f7621899233840c714d9fcc5f67416b19c8221155fcb133db07da49cb9728e6
 EBUILD netbeans-dlight-9999_p20151129.ebuild 2968 SHA256 29bf9aa136d7ff5aefaa351b42b3efdd2495c35b7fe797162672caa15a1d5af4 SHA512 e231c886b1830665a61c97495ef3bd36f422b0f4c172387af4cec02166687a59298eaec3fd78c39959365d05270028d27f6f59d1379347904ced75c4b201e068 WHIRLPOOL 2b902ee53e7f19413987b7b0021cdf301a861db3bd320ebd79afd85f19fc2e43c9007b9f615874ac7d090f7da37f7e7412c31aebe4da5818b2b203e89f862f41
 EBUILD netbeans-dlight-9999_p20151130.ebuild 2968 SHA256 e6b66006d4a54a7ec76cbfc4eaf3a432a161546bcb99ac06795775cd8f452b67 SHA512 da964c421372da62e0adeadd482b51a635936bf55818e124f32e7f1bf3d246e4e69b83916a8b7d9c2476cc2275649d33d2f5c974d6c8eb419b11bdbd335444cf WHIRLPOOL 4d82d17864811aacf9c8de87a0917df928a66ee406015652b393686f58fc70bd83d910617f36b7dd93a9112dd6e6e598c8c1e91ff0aac0b51b8f189ce81bb183
+EBUILD netbeans-dlight-9999_p20151201.ebuild 2968 SHA256 659b9af709041279c91c89e8805a84755bfc82ed5e5695417238bc817a89e8ca SHA512 4e1a1cf645edeb62f6d363fff7b5b935ce18c15263a6cb510112b76d858b0c60595d99cd960483f719c5af41472e4452cd7fb7190c024eafd5c90c8a0278c7f9 WHIRLPOOL 053c7581c8bba9b8460168872427ad80047615be531a9627781a9f14cd0ac71c8d69c700dcb69bfbcf15d6e4bbafcdf2977935d9d19c2050d76cdb6306224d8d
 MISC metadata.xml 251 SHA256 5a4ff53a9862390a48d45c79be24086646e7a6ff0c5bdf0fcb799d0871299003 SHA512 04153cbd9776ad56a94d6a47d043df15d082d8888df8658f18d0d4b659c6c0526ab3a9b22ccbe2471091bf2d8165f224854bc99c51f3664aaf350ccb93532a7c WHIRLPOOL 2ee8a646c6e23bc46c72cac0ecb5cfe43720ec42404ddaeed8ab1b59d139b3d5c1a94764de847f979da978c001c9f02f709d663a68eeea64d19e88f1fefbca43

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

diff --git a/dev-java/netbeans-enterprise/Manifest b/dev-java/netbeans-enterprise/Manifest
index 433407f..158d6c1 100644
--- a/dev-java/netbeans-enterprise/Manifest
+++ b/dev-java/netbeans-enterprise/Manifest
@@ -66,6 +66,7 @@ DIST netbeans-trunk-nightly-201511270002-src.zip 209057113 SHA256 a5ae7083bc58b9
 DIST netbeans-trunk-nightly-201511280002-src.zip 209067071 SHA256 4302c5a2625fd2ce88690813a9a355aa431f013e71d72a43db4466aba0c1399e SHA512 6774f00a6dfd4fb717432e7c3fa0cb3edaefa60711bcbd1f18961d9d0d8181cbe7c251a1d5c5f4ee09465f43d109f2877ff8b3357f47550ea81459a71edbc35b WHIRLPOOL 71b5cf8f6c3b82cc6194ae015869c6b11bdfa5f6dbd2c5a86c97a5f7fa17fdd20212c37523f0b0d0c4b7660b81f1a4589998d67b53c09280fc81a798b003bc1b
 DIST netbeans-trunk-nightly-201511290002-src.zip 209067309 SHA256 a0d14ef896c7e7df15f6911ee1eaa3c4f123bf2ddbad14a1c5c4f33c60ddd072 SHA512 f3838e66544635306aa3ce8c49979fda8c9437be06905c1ad1fd7d375bea3fdffd21f5d75a2413a5961cc4a1b11fca8438983c1284652381fe6d0d3d45847385 WHIRLPOOL 1a008d95e63ea95db57f049da7cb5871ea8d03c59501261b225c0e5012b144f3b37569555e006cbf7140c0fefd16f2c722df121897d0e7a40ead8171995e73e2
 DIST netbeans-trunk-nightly-201511300002-src.zip 209067309 SHA256 2cac888b1ddd5c95623942d0d02833d98d5d171b272d4d6287a76e7630b48469 SHA512 2b8b86325d6a97eb8dfdbe9b6960aa9658d6c30c1edd576bf8b77108fe26c4ce5e8d152e588e4cd9075b04ed671a7bcc8797f1cefbdf47e62c56bc4d7ea61d5e WHIRLPOOL a7d0ab312bb191a202746ad5c139681a9dab0f0bdc4ada1b34f468d330059050e26f875d3fc7eb62eda46f39c7118d495f9f94564100bad9ae3e0b27bf9896b2
+DIST netbeans-trunk-nightly-201512010002-src.zip 209149379 SHA256 9030cb0fd9a50bd2ba418c1b165215d3ee14eb1291b3008003cf638347862411 SHA512 04ace118a7a66b84c92630c4a567d6ad9181638e8eaa9bf64fd225915b8b1c47f81cb6beeb0d26a916a8bfa735c4eb464d68a43b1c72f447c06b518f43983b07 WHIRLPOOL a7ebbb6a7325851ccbe448deb44b3ac615a469f6c06a250265d78f88dc8708da28fd3d5ed5a18acaa3f7ca4223b8be6c9be35350d0605aa48a5055e710ec5d04
 EBUILD netbeans-enterprise-8.0.2.ebuild 15071 SHA256 84621e3bb946cfa254bb70ca3c3f61202882a7e6d631769ad2f0f4639b0de875 SHA512 6ad38e840764661e6bc5b89b5925e9665871009ba0b640c0a78c555ec104214dbee1200a93cb48e655bc620e07bb6e4d8932b23a00fe458f8a5e9e5c3200d79d WHIRLPOOL b2c2bbf2ff72f8cd9b4cdbe039fdbf7cd074b0fdc20f634aa0b6f79f5c639be358c61fab30854a6e3ab9714a285d9461ac4e39e94e10c14c5068422d6c873c56
 EBUILD netbeans-enterprise-8.1.ebuild 15885 SHA256 3fd6aa88405a012ba048d097ac4313ee0034cab88ee3a7d61fc033b8e70b7d32 SHA512 9f30d3c2162eb12027ca2f8d9ad80707e928afdcadd4b73082e470245683dce239b049474859fe5df5f18d0e6f0256306a4df7e207bfb6d157941afca04f9f6c WHIRLPOOL e49f7b009e2c1a79f49d418e517340ca50c2b4ef1fdcf10803f019a9f0aded2c19045598c61e8e9313e8e75feb330e910008765d9c39b3f09d33e656a63b7a67
 EBUILD netbeans-enterprise-9999_p20151020.ebuild 15931 SHA256 e1b6fcfb1ed4f4645675540de7806a6ba0c25c493ac37d0b55cb713a25408e63 SHA512 2052dca8b87bcf9571d3aab7dc97cb1c954368e47a9eaca1a35f88222c584f74856ec7eb1a54d91c4fbc0b191cc6070c9c44dcc713cfbbff97fa7b2188e73289 WHIRLPOOL 32c6cc8a6d364ce2828fcce4226c6b567d8928445158efd9c5804424005e4c820115024bd3c5a1eb7399702c9a4e196bb6429f53be337722ec5003fd5829a70f
@@ -99,4 +100,5 @@ EBUILD netbeans-enterprise-9999_p20151127.ebuild 15931 SHA256 76f909e33d48d7d02b
 EBUILD netbeans-enterprise-9999_p20151128.ebuild 15931 SHA256 ff2245141d71dfc82053c0566b9d9c325f92e0d722c7a7b912090a91506e76bb SHA512 06de58e39ebdeaf5db30add5c6a4fe505861aad88b70c711106bd549180b40637e1fc31a84adbd791eb4f00f14f42d968a6c5686923e90bba8b89cf0d5f6af98 WHIRLPOOL 3674e1bf02d03a23a8f85beb65d72dfa5ae02ec35ecc750265422f348ca1762c315757dc7cd6135535a79d62f554efa019a48fabe79cecfd0865bf6bc8630105
 EBUILD netbeans-enterprise-9999_p20151129.ebuild 15931 SHA256 7f822476f0d411f3417af9b3a161ea55d334c97cca7d2d950039431545db62ae SHA512 9a96131f548b5065f350478b87af77abd05ae2cdda5f7f9b255d9dc081d98d238462b59ac53b95b7b4198ac6b99c6a4e1d9d857812e87c4770e637967106a26a WHIRLPOOL bc8c221ea77c01cd6145d1a32ecd1b2b066f0ee91f02352015b0fd1f1985577072f0727c7a704ec9628daaecc91a94f6d4fa4e6e33cdeaad46da2b3b1405d550
 EBUILD netbeans-enterprise-9999_p20151130.ebuild 15931 SHA256 dfe98a384968a9cac2a2198aff2157e7bd3a9f8c7282f7eeecba142021d70235 SHA512 174beca99a8ba9be903538fb066f8803ee55f8b0bbf2c2ad998d8648c8e226c5cd0d7e423bbbe45fe9c411ef9b20cfeb50bc5e876ef6ead8b9e619ace71fb75f WHIRLPOOL bec376544ac628c40eecf8f985e70da99d868752f0138c40c72ee79b4b9246d1ba67a42552223a7fd93a38d09af170403d9aeaaf103f7cf689e6434b02c1d9de
+EBUILD netbeans-enterprise-9999_p20151201.ebuild 15931 SHA256 587ebef736999f30c960208ef4e2e8a323532d252bd01264918eda6b48b1ede0 SHA512 1b6513877c1df36b643e7ec138237615554135d9c9b06e82aab276793c1de7706ddc9cf19cc4f931ecfdf079b00534de82308533a81f4dc1f8ac86f843872a8e WHIRLPOOL ac849f1fb45ff5531d3400b656802323a7b6f83593616e63f86b27c1b7819571c0bc8f06289b3727c96af8fc576e8823eeb7f457a8d59d268b1f915bea7ffbd1
 MISC metadata.xml 251 SHA256 5a4ff53a9862390a48d45c79be24086646e7a6ff0c5bdf0fcb799d0871299003 SHA512 04153cbd9776ad56a94d6a47d043df15d082d8888df8658f18d0d4b659c6c0526ab3a9b22ccbe2471091bf2d8165f224854bc99c51f3664aaf350ccb93532a7c WHIRLPOOL 2ee8a646c6e23bc46c72cac0ecb5cfe43720ec42404ddaeed8ab1b59d139b3d5c1a94764de847f979da978c001c9f02f709d663a68eeea64d19e88f1fefbca43

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

diff --git a/dev-java/netbeans-ergonomics/Manifest b/dev-java/netbeans-ergonomics/Manifest
index 8c110d1..d37c2fd 100644
--- a/dev-java/netbeans-ergonomics/Manifest
+++ b/dev-java/netbeans-ergonomics/Manifest
@@ -34,6 +34,7 @@ DIST netbeans-trunk-nightly-201511270002-src.zip 209057113 SHA256 a5ae7083bc58b9
 DIST netbeans-trunk-nightly-201511280002-src.zip 209067071 SHA256 4302c5a2625fd2ce88690813a9a355aa431f013e71d72a43db4466aba0c1399e SHA512 6774f00a6dfd4fb717432e7c3fa0cb3edaefa60711bcbd1f18961d9d0d8181cbe7c251a1d5c5f4ee09465f43d109f2877ff8b3357f47550ea81459a71edbc35b WHIRLPOOL 71b5cf8f6c3b82cc6194ae015869c6b11bdfa5f6dbd2c5a86c97a5f7fa17fdd20212c37523f0b0d0c4b7660b81f1a4589998d67b53c09280fc81a798b003bc1b
 DIST netbeans-trunk-nightly-201511290002-src.zip 209067309 SHA256 a0d14ef896c7e7df15f6911ee1eaa3c4f123bf2ddbad14a1c5c4f33c60ddd072 SHA512 f3838e66544635306aa3ce8c49979fda8c9437be06905c1ad1fd7d375bea3fdffd21f5d75a2413a5961cc4a1b11fca8438983c1284652381fe6d0d3d45847385 WHIRLPOOL 1a008d95e63ea95db57f049da7cb5871ea8d03c59501261b225c0e5012b144f3b37569555e006cbf7140c0fefd16f2c722df121897d0e7a40ead8171995e73e2
 DIST netbeans-trunk-nightly-201511300002-src.zip 209067309 SHA256 2cac888b1ddd5c95623942d0d02833d98d5d171b272d4d6287a76e7630b48469 SHA512 2b8b86325d6a97eb8dfdbe9b6960aa9658d6c30c1edd576bf8b77108fe26c4ce5e8d152e588e4cd9075b04ed671a7bcc8797f1cefbdf47e62c56bc4d7ea61d5e WHIRLPOOL a7d0ab312bb191a202746ad5c139681a9dab0f0bdc4ada1b34f468d330059050e26f875d3fc7eb62eda46f39c7118d495f9f94564100bad9ae3e0b27bf9896b2
+DIST netbeans-trunk-nightly-201512010002-src.zip 209149379 SHA256 9030cb0fd9a50bd2ba418c1b165215d3ee14eb1291b3008003cf638347862411 SHA512 04ace118a7a66b84c92630c4a567d6ad9181638e8eaa9bf64fd225915b8b1c47f81cb6beeb0d26a916a8bfa735c4eb464d68a43b1c72f447c06b518f43983b07 WHIRLPOOL a7ebbb6a7325851ccbe448deb44b3ac615a469f6c06a250265d78f88dc8708da28fd3d5ed5a18acaa3f7ca4223b8be6c9be35350d0605aa48a5055e710ec5d04
 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_p20151020.ebuild 2913 SHA256 c427771eaed07707482008965ee7ab7a073165a1b5291ba7b7defde74b2b042e SHA512 cd21b3e42b03617836e91a78ea80fd864e5f6bba688dfb88d241528038bd598f6d0395a5ecc986eb285e18f4fff9103df5be6acd97a7e9475f8aa8abd05c5bd8 WHIRLPOOL 252962555c37479949e70d5fb0fc201fe540e5aa7f51ff1821db82bd96fa8ac047c788263bda06e0640e7590f007c0c213e834e4b2d39fbe44f0b906167ac7ba
@@ -67,4 +68,5 @@ EBUILD netbeans-ergonomics-9999_p20151127.ebuild 2913 SHA256 2cbe0388eb2d9cd0293
 EBUILD netbeans-ergonomics-9999_p20151128.ebuild 2913 SHA256 1829ef81a4d98a8eb337139865f24a0a811257f7d775b281cf16c9ea71dd193d SHA512 563faf0a63e41927ac000ffc1abb9fa937f56aafd9fa45ba71c6562491d3d09a09b1e9dd25da1ae6cdce30c642da23b880c4cdd26ab569bcee7f5bea8fd0aa5e WHIRLPOOL 23681bf40938d6927c14072f3475dc0f8a7624af22ee491338b085d1a754d61a877a27ed2a4fc8db439b1a5b418c09202ee196c2d37789315b1410c65a567d95
 EBUILD netbeans-ergonomics-9999_p20151129.ebuild 2913 SHA256 7ad9c6673f7a45633c4918cb1f0953d884a18d093a6a3fab4032d9b7d3d69a4c SHA512 a91cfe0805d4288e663c5878952d872cfff3fd43514ddd57464e6a6f1b56f95984c73a5ede251266ec34e18e8821323e71c2abf28cfdd6c6ce927d0fb13dfdc2 WHIRLPOOL 547d6ccce54c3e36256865438cbbc0fa0504b22b3bf9b0ae75a861272a05895422b3c79b28ca37dee816909b1a93d2ca21cb9c996e74705505d2d437995b4477
 EBUILD netbeans-ergonomics-9999_p20151130.ebuild 2913 SHA256 66968f402c6bc460aa31a3f44bb62a7bfbfc1bf6680012b8934b7954073f8768 SHA512 a3aeddfaf6bdb71fa420daaf3dcf690e98825b37462e52d1e88ce28a57b58906a89e37689634ca2ac92757b3a7cc14452a4634c0576ed65a83c93c7c801cac2a WHIRLPOOL 6573a7fd44043d464b544cd6d75d37d7bd79f8fd09496c10d3aaa1a4cab172d469a3979e679f179ed168e434fd1e1d855d93b2e6924c6f9f88b04935fc8b7e39
+EBUILD netbeans-ergonomics-9999_p20151201.ebuild 2913 SHA256 ab46548fc409e2478fbbc1417730d10299cac4a9a881cbcd31421f5f4ddade6e SHA512 f75544f13a2ea58507bd4afafe606df3a63c08fcfd32d269d814fe8b4165d7144741bb56e9b74f2852eb3e8287295a63d5eab3398a01495d63ae6ea56c5d2231 WHIRLPOOL b13ccbf4310a6358c333282f31c124308de5e571d6a7bfcb8cf4fc698962ddd05b21978a4a771dfedf427ca2a8712cf87c1d6e4c32fd9428183804e2a8fb36e2
 MISC metadata.xml 251 SHA256 5a4ff53a9862390a48d45c79be24086646e7a6ff0c5bdf0fcb799d0871299003 SHA512 04153cbd9776ad56a94d6a47d043df15d082d8888df8658f18d0d4b659c6c0526ab3a9b22ccbe2471091bf2d8165f224854bc99c51f3664aaf350ccb93532a7c WHIRLPOOL 2ee8a646c6e23bc46c72cac0ecb5cfe43720ec42404ddaeed8ab1b59d139b3d5c1a94764de847f979da978c001c9f02f709d663a68eeea64d19e88f1fefbca43

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

diff --git a/dev-java/netbeans-extide/Manifest b/dev-java/netbeans-extide/Manifest
index daaeca0..c665b8f 100644
--- a/dev-java/netbeans-extide/Manifest
+++ b/dev-java/netbeans-extide/Manifest
@@ -36,6 +36,7 @@ DIST netbeans-trunk-nightly-201511270002-src.zip 209057113 SHA256 a5ae7083bc58b9
 DIST netbeans-trunk-nightly-201511280002-src.zip 209067071 SHA256 4302c5a2625fd2ce88690813a9a355aa431f013e71d72a43db4466aba0c1399e SHA512 6774f00a6dfd4fb717432e7c3fa0cb3edaefa60711bcbd1f18961d9d0d8181cbe7c251a1d5c5f4ee09465f43d109f2877ff8b3357f47550ea81459a71edbc35b WHIRLPOOL 71b5cf8f6c3b82cc6194ae015869c6b11bdfa5f6dbd2c5a86c97a5f7fa17fdd20212c37523f0b0d0c4b7660b81f1a4589998d67b53c09280fc81a798b003bc1b
 DIST netbeans-trunk-nightly-201511290002-src.zip 209067309 SHA256 a0d14ef896c7e7df15f6911ee1eaa3c4f123bf2ddbad14a1c5c4f33c60ddd072 SHA512 f3838e66544635306aa3ce8c49979fda8c9437be06905c1ad1fd7d375bea3fdffd21f5d75a2413a5961cc4a1b11fca8438983c1284652381fe6d0d3d45847385 WHIRLPOOL 1a008d95e63ea95db57f049da7cb5871ea8d03c59501261b225c0e5012b144f3b37569555e006cbf7140c0fefd16f2c722df121897d0e7a40ead8171995e73e2
 DIST netbeans-trunk-nightly-201511300002-src.zip 209067309 SHA256 2cac888b1ddd5c95623942d0d02833d98d5d171b272d4d6287a76e7630b48469 SHA512 2b8b86325d6a97eb8dfdbe9b6960aa9658d6c30c1edd576bf8b77108fe26c4ce5e8d152e588e4cd9075b04ed671a7bcc8797f1cefbdf47e62c56bc4d7ea61d5e WHIRLPOOL a7d0ab312bb191a202746ad5c139681a9dab0f0bdc4ada1b34f468d330059050e26f875d3fc7eb62eda46f39c7118d495f9f94564100bad9ae3e0b27bf9896b2
+DIST netbeans-trunk-nightly-201512010002-src.zip 209149379 SHA256 9030cb0fd9a50bd2ba418c1b165215d3ee14eb1291b3008003cf638347862411 SHA512 04ace118a7a66b84c92630c4a567d6ad9181638e8eaa9bf64fd225915b8b1c47f81cb6beeb0d26a916a8bfa735c4eb464d68a43b1c72f447c06b518f43983b07 WHIRLPOOL a7ebbb6a7325851ccbe448deb44b3ac615a469f6c06a250265d78f88dc8708da28fd3d5ed5a18acaa3f7ca4223b8be6c9be35350d0605aa48a5055e710ec5d04
 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_p20151020.ebuild 3377 SHA256 ae85904a27ed01ac4da2317415479c02bcfc53365cc80752b075caee00b98ff3 SHA512 6b206c3d29d731efb7a3b13c78fe199404b459296b43c2f4a6bcbbe4a01dba20e4e366ab4027e2390c92fc513a577f1c7dbb8bea1371952bdd989d6d37bd4942 WHIRLPOOL b57e3a64badedbe927a3313e5e90461d4433ef120a802bacaac0abc2cce7fa45c931e609e93c4340966960807073133d4ff1b3fb348f33a8491dade4729840da
@@ -69,4 +70,5 @@ EBUILD netbeans-extide-9999_p20151127.ebuild 3377 SHA256 1162d4317f4280ac04f9b6c
 EBUILD netbeans-extide-9999_p20151128.ebuild 3377 SHA256 ad8272262fceadda20824d2aded4f5f3225a7bd5ab43b837c09c99ae748d5455 SHA512 e5c26c82b5130cfd90df86138067cae28443a3f55feae1a48f577c802e325af02a0e6dd6d238b16c2ee607b5fea7c43ccc42e1658276169a05eada1ca4e8d37e WHIRLPOOL 7ca183cc677158945e39b018147bddb8e74fa2fb0ec11d43c99dd4893e753ae3e30c7c3ac1e31c646486566382135700eb156088e8a5178e785d2ea5880b40d8
 EBUILD netbeans-extide-9999_p20151129.ebuild 3377 SHA256 79770f53e455c74f442b68908d877911b8dbfaa63f620242071b804953cc4b9e SHA512 3890e224da492011f683a4bc33934ce2024ae20b60367a18ba740264150638f512be1cc0c0b5dd004eee92e6973c371c390173e8e068280a508f9aefa15ef27b WHIRLPOOL 4a31cd89ec58096fd8baec5e7b25a5b9203713b13cc7f4d46474303ca02cd25b406540ffe19f96587b2cfe038741eccecdb8fd1416a0fa532d2c27820de0e208
 EBUILD netbeans-extide-9999_p20151130.ebuild 3377 SHA256 8eeb869b6a504e810c8605b391662b51c7527a9734845e907f62a8f776ecb0b1 SHA512 5eaa2c037a8c95ac6ce123e18ea8194932fd7910eb23a30c4972cf79ef02b0475f0e79a9e12eb1cb3679a11fbeb167ee1650774d524f3bebe6868186f3938eb6 WHIRLPOOL 478116842cd6fbc7fdee6bcd5117d4b4a732037ddfdab8d89780e9be0fc2084bcde094479a22d80ef41edc8310c91b7e61073379180e95888b35c3ac5caa99f8
+EBUILD netbeans-extide-9999_p20151201.ebuild 3377 SHA256 7fdbf048f404f473c536db1843c190488774c3754be94b1dad2ead975b7ed1d4 SHA512 e3ad34e01a00ffcb0081f4d7206a0cf63a2af952378e76239fe4174ecb4f448aec7bd513e3f9b9de079dbe3a0dc07165daabf03c102559fa678beeeab7e8a98a WHIRLPOOL ed2bd2555e309a56e80db4ff441f5323816334756e481468985e8a9a0c9ef0f664e75cb02eb12f64a8718664b16ed52afb7359b3959e15dd4279ef3d0a9338ac
 MISC metadata.xml 251 SHA256 5a4ff53a9862390a48d45c79be24086646e7a6ff0c5bdf0fcb799d0871299003 SHA512 04153cbd9776ad56a94d6a47d043df15d082d8888df8658f18d0d4b659c6c0526ab3a9b22ccbe2471091bf2d8165f224854bc99c51f3664aaf350ccb93532a7c WHIRLPOOL 2ee8a646c6e23bc46c72cac0ecb5cfe43720ec42404ddaeed8ab1b59d139b3d5c1a94764de847f979da978c001c9f02f709d663a68eeea64d19e88f1fefbca43

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

diff --git a/dev-java/netbeans-groovy/Manifest b/dev-java/netbeans-groovy/Manifest
index 60e3929..2ed6c45 100644
--- a/dev-java/netbeans-groovy/Manifest
+++ b/dev-java/netbeans-groovy/Manifest
@@ -35,6 +35,7 @@ DIST netbeans-trunk-nightly-201511270002-src.zip 209057113 SHA256 a5ae7083bc58b9
 DIST netbeans-trunk-nightly-201511280002-src.zip 209067071 SHA256 4302c5a2625fd2ce88690813a9a355aa431f013e71d72a43db4466aba0c1399e SHA512 6774f00a6dfd4fb717432e7c3fa0cb3edaefa60711bcbd1f18961d9d0d8181cbe7c251a1d5c5f4ee09465f43d109f2877ff8b3357f47550ea81459a71edbc35b WHIRLPOOL 71b5cf8f6c3b82cc6194ae015869c6b11bdfa5f6dbd2c5a86c97a5f7fa17fdd20212c37523f0b0d0c4b7660b81f1a4589998d67b53c09280fc81a798b003bc1b
 DIST netbeans-trunk-nightly-201511290002-src.zip 209067309 SHA256 a0d14ef896c7e7df15f6911ee1eaa3c4f123bf2ddbad14a1c5c4f33c60ddd072 SHA512 f3838e66544635306aa3ce8c49979fda8c9437be06905c1ad1fd7d375bea3fdffd21f5d75a2413a5961cc4a1b11fca8438983c1284652381fe6d0d3d45847385 WHIRLPOOL 1a008d95e63ea95db57f049da7cb5871ea8d03c59501261b225c0e5012b144f3b37569555e006cbf7140c0fefd16f2c722df121897d0e7a40ead8171995e73e2
 DIST netbeans-trunk-nightly-201511300002-src.zip 209067309 SHA256 2cac888b1ddd5c95623942d0d02833d98d5d171b272d4d6287a76e7630b48469 SHA512 2b8b86325d6a97eb8dfdbe9b6960aa9658d6c30c1edd576bf8b77108fe26c4ce5e8d152e588e4cd9075b04ed671a7bcc8797f1cefbdf47e62c56bc4d7ea61d5e WHIRLPOOL a7d0ab312bb191a202746ad5c139681a9dab0f0bdc4ada1b34f468d330059050e26f875d3fc7eb62eda46f39c7118d495f9f94564100bad9ae3e0b27bf9896b2
+DIST netbeans-trunk-nightly-201512010002-src.zip 209149379 SHA256 9030cb0fd9a50bd2ba418c1b165215d3ee14eb1291b3008003cf638347862411 SHA512 04ace118a7a66b84c92630c4a567d6ad9181638e8eaa9bf64fd225915b8b1c47f81cb6beeb0d26a916a8bfa735c4eb464d68a43b1c72f447c06b518f43983b07 WHIRLPOOL a7ebbb6a7325851ccbe448deb44b3ac615a469f6c06a250265d78f88dc8708da28fd3d5ed5a18acaa3f7ca4223b8be6c9be35350d0605aa48a5055e710ec5d04
 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_p20151020.ebuild 3416 SHA256 e6656b24da8b8d6a7a5af50e93115a6076290e8df249db67906e0f815c3c9640 SHA512 82b2dfb7b9ba64c1da6f1801b2763bf53dad6b8ee5e73d1d833752be3c6f09df4ebf4c553e6b36ba6154e22bba2f8fd5e93f55c5d284d17e0854bda979f87dbd WHIRLPOOL b86d8797a030c2e95323a27ec0ce3e350895911ce42678c1c9ec836abf2cb44a60de951ef80f9d372ff6426ef758d5f6ba80bce14977805959587310ee8f41d6
@@ -68,4 +69,5 @@ EBUILD netbeans-groovy-9999_p20151127.ebuild 3416 SHA256 8df56efb07d0e2593ba4e50
 EBUILD netbeans-groovy-9999_p20151128.ebuild 3416 SHA256 4f554706319734a7c2c6e241c84ccbe3a55d3d62d4b1308191ce70551f307f30 SHA512 71d287c9f49337d91c517588052e97b30f26853c5df560eb82dacbc7088a1cafa80d39f61853c85edbc7712dad161d240c572ef6c20a04fc64bd6e255595f766 WHIRLPOOL feafde226801b6cf15278ed9dbeee7de7c9d0cd9822c2605109e4c7ab62e1dbe63cdd41d49d9e381650c535015a13e0cd82a87e5d1daf768b1608c56690e01f5
 EBUILD netbeans-groovy-9999_p20151129.ebuild 3416 SHA256 55707c121f37ff16fbeff0b94ad0850d540200e81e38df45d716ce998110f6dc SHA512 3833e68fc752f0b09280c3c9589065de38b29b40afe65d5d09c75fbf23b6005afe89af874b9272b14c8e30fe3525761b8b20fabd020141d258435bc58691b5fc WHIRLPOOL 0e871234ff59b0b3b8e834335204690a303cc1771da04711f8fc259474d0b4a66904c9c03d8575a2b33aa158297d9a1bb42d6d74b9c791aa0266c79aa0f28820
 EBUILD netbeans-groovy-9999_p20151130.ebuild 3416 SHA256 c9f5325a7a57d76360c44508f21d36b57b19d522b2194dc9f33c039f291fc6e9 SHA512 872781e14a7ccc97869050c74117ad852619fa825b734cbfccc357fa58ab3328a443692b0d60d5e96035aea9efa189c1da8ba7cd5a9a0759edd726ada624a51e WHIRLPOOL 44dc3d29ab77ea1f92a391eb5447706985300390b2224db31d4c8311ae2b856876563b91d858459617c49d2fb478ac0c5b0c36d13242709629ed8bf354b5710a
+EBUILD netbeans-groovy-9999_p20151201.ebuild 3416 SHA256 2d0ef42d752cb87012858023cb82d4c11a01f281d897a6460286417fdbaf41fe SHA512 56f155f61cd82862740466b3e4b4a4c621fa6eb986173f21c85f18ed7663b1105453aaaeaa7d162ccc6177f9f51dc7400ea1aba9c8a1f1ed4a7dc1740a664b07 WHIRLPOOL 6c2960d6b39c5387f5cffb3d95516f0f5441a7060db4f61caa6d1f8cb50703030f58d759695240f6f33e7b339795dbbb5dc9cfa9d64d7f59aa7e1a4ce4caedc7
 MISC metadata.xml 251 SHA256 5a4ff53a9862390a48d45c79be24086646e7a6ff0c5bdf0fcb799d0871299003 SHA512 04153cbd9776ad56a94d6a47d043df15d082d8888df8658f18d0d4b659c6c0526ab3a9b22ccbe2471091bf2d8165f224854bc99c51f3664aaf350ccb93532a7c WHIRLPOOL 2ee8a646c6e23bc46c72cac0ecb5cfe43720ec42404ddaeed8ab1b59d139b3d5c1a94764de847f979da978c001c9f02f709d663a68eeea64d19e88f1fefbca43

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

diff --git a/dev-java/netbeans-harness/Manifest b/dev-java/netbeans-harness/Manifest
index 2ca147e..892e994 100644
--- a/dev-java/netbeans-harness/Manifest
+++ b/dev-java/netbeans-harness/Manifest
@@ -39,6 +39,7 @@ DIST netbeans-trunk-nightly-201511270002-src.zip 209057113 SHA256 a5ae7083bc58b9
 DIST netbeans-trunk-nightly-201511280002-src.zip 209067071 SHA256 4302c5a2625fd2ce88690813a9a355aa431f013e71d72a43db4466aba0c1399e SHA512 6774f00a6dfd4fb717432e7c3fa0cb3edaefa60711bcbd1f18961d9d0d8181cbe7c251a1d5c5f4ee09465f43d109f2877ff8b3357f47550ea81459a71edbc35b WHIRLPOOL 71b5cf8f6c3b82cc6194ae015869c6b11bdfa5f6dbd2c5a86c97a5f7fa17fdd20212c37523f0b0d0c4b7660b81f1a4589998d67b53c09280fc81a798b003bc1b
 DIST netbeans-trunk-nightly-201511290002-src.zip 209067309 SHA256 a0d14ef896c7e7df15f6911ee1eaa3c4f123bf2ddbad14a1c5c4f33c60ddd072 SHA512 f3838e66544635306aa3ce8c49979fda8c9437be06905c1ad1fd7d375bea3fdffd21f5d75a2413a5961cc4a1b11fca8438983c1284652381fe6d0d3d45847385 WHIRLPOOL 1a008d95e63ea95db57f049da7cb5871ea8d03c59501261b225c0e5012b144f3b37569555e006cbf7140c0fefd16f2c722df121897d0e7a40ead8171995e73e2
 DIST netbeans-trunk-nightly-201511300002-src.zip 209067309 SHA256 2cac888b1ddd5c95623942d0d02833d98d5d171b272d4d6287a76e7630b48469 SHA512 2b8b86325d6a97eb8dfdbe9b6960aa9658d6c30c1edd576bf8b77108fe26c4ce5e8d152e588e4cd9075b04ed671a7bcc8797f1cefbdf47e62c56bc4d7ea61d5e WHIRLPOOL a7d0ab312bb191a202746ad5c139681a9dab0f0bdc4ada1b34f468d330059050e26f875d3fc7eb62eda46f39c7118d495f9f94564100bad9ae3e0b27bf9896b2
+DIST netbeans-trunk-nightly-201512010002-src.zip 209149379 SHA256 9030cb0fd9a50bd2ba418c1b165215d3ee14eb1291b3008003cf638347862411 SHA512 04ace118a7a66b84c92630c4a567d6ad9181638e8eaa9bf64fd225915b8b1c47f81cb6beeb0d26a916a8bfa735c4eb464d68a43b1c72f447c06b518f43983b07 WHIRLPOOL a7ebbb6a7325851ccbe448deb44b3ac615a469f6c06a250265d78f88dc8708da28fd3d5ed5a18acaa3f7ca4223b8be6c9be35350d0605aa48a5055e710ec5d04
 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_p20151020.ebuild 4125 SHA256 a2353178bb8fbb9ab606abc0255a5865df100d47ec8daa4dc39e0634f5304a7b SHA512 86ca298b06278505df877f2fdbf7f210808d6d2d5dfe1a523b0414026b8dde1a2e3c9d008c8052b628f9373036ff3300d8c12e100b45ece94fe1e7763fe3036c WHIRLPOOL d7f2648646ed5a1fefe9858fc1a2da28a5781d340578fe9004f9b3415ce4d6d6bca83bcf707f9715d1d1c7aa1f786af86c8f4d9a8ca95dbac24ccd8ddd15f82a
@@ -72,4 +73,5 @@ EBUILD netbeans-harness-9999_p20151127.ebuild 4125 SHA256 937f55c7961895cb8b1156
 EBUILD netbeans-harness-9999_p20151128.ebuild 4125 SHA256 b4e1bbf85280c3fdcc92ea7e9c19312e1a0ff2057da729978fa5e7ffa7ec3db1 SHA512 d06e9476a7a3d9213c26a9223ef696143b687d5ef3c12de2bd64b4ad63b627e280c144151d15e2880cb911ad53df7e350afada8334eb00edf934146c4c49eb59 WHIRLPOOL 3f7300df9d3cb6934a313a1cf0004e672e077a43c3c810dd9852e8351475b9ef8a74ee1df521b7ca3d1ef8db95ebbcdebbd46913fcaf0ebf1746fa77e950b33d
 EBUILD netbeans-harness-9999_p20151129.ebuild 4125 SHA256 85c23ab42b1c7cf4087caa78f349dad654b16b2deaec44525a1403ae212836ad SHA512 66aecb9c1d82649a6a0bf2d345ec2ee0700bc3c983e08880736badc23b0345081282af4b26b218bb24efd519b13c5678441eb3d238c3968044af0be0c35e0777 WHIRLPOOL de72ab5d360b003dfef9617b2037c442b6b0fa28661fdb907dc8851241b1e15ce35895d77fbf1bef896030733cc114339596c440f51887d627f14b7cff241474
 EBUILD netbeans-harness-9999_p20151130.ebuild 4125 SHA256 5857f8bc65b37b7c8886adcd16eb9847739f174a05b04cc8d6ff6a3bf60ac771 SHA512 eff31733c8651d1ea316e57e93aea62346f83d837414c9127c5ceed02039bb8617f461c5b5473534e27ce99c74730c52d6f04253f083c3264bc53014fa6f3187 WHIRLPOOL 7364b16455f74183a87863f7ccf0462496fa043d6986bf90a92987f43f7ab5797a41345964d885fa44367a8599e4e87003ca329d4aae3a2450ec2a4dfe58232a
+EBUILD netbeans-harness-9999_p20151201.ebuild 4125 SHA256 93b4dfc89cf27f62e08a76c8482803a852151d13596a2aee464fb3d99708b900 SHA512 f15ff62a8a4d2b975626169154d73f0ed38258cea13a72a93f6ab9a8bf8ab089dc3d42bddb0807cacde4ab43ef85a9e08d997a7594ebed4ee98203fdcdff23df WHIRLPOOL 1a849f344a0250a07089f3ad1a66905a7eebcfc6b5e71fa3bb195d67cfcbe01925a5938859f4973fd7c30249a870dea3962d6a9407bfcd4642ad8b573f74e9a5
 MISC metadata.xml 251 SHA256 5a4ff53a9862390a48d45c79be24086646e7a6ff0c5bdf0fcb799d0871299003 SHA512 04153cbd9776ad56a94d6a47d043df15d082d8888df8658f18d0d4b659c6c0526ab3a9b22ccbe2471091bf2d8165f224854bc99c51f3664aaf350ccb93532a7c WHIRLPOOL 2ee8a646c6e23bc46c72cac0ecb5cfe43720ec42404ddaeed8ab1b59d139b3d5c1a94764de847f979da978c001c9f02f709d663a68eeea64d19e88f1fefbca43

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

diff --git a/dev-java/netbeans-ide/Manifest b/dev-java/netbeans-ide/Manifest
index 5d319da..0641572 100644
--- a/dev-java/netbeans-ide/Manifest
+++ b/dev-java/netbeans-ide/Manifest
@@ -152,6 +152,7 @@ DIST netbeans-trunk-nightly-201511270002-src.zip 209057113 SHA256 a5ae7083bc58b9
 DIST netbeans-trunk-nightly-201511280002-src.zip 209067071 SHA256 4302c5a2625fd2ce88690813a9a355aa431f013e71d72a43db4466aba0c1399e SHA512 6774f00a6dfd4fb717432e7c3fa0cb3edaefa60711bcbd1f18961d9d0d8181cbe7c251a1d5c5f4ee09465f43d109f2877ff8b3357f47550ea81459a71edbc35b WHIRLPOOL 71b5cf8f6c3b82cc6194ae015869c6b11bdfa5f6dbd2c5a86c97a5f7fa17fdd20212c37523f0b0d0c4b7660b81f1a4589998d67b53c09280fc81a798b003bc1b
 DIST netbeans-trunk-nightly-201511290002-src.zip 209067309 SHA256 a0d14ef896c7e7df15f6911ee1eaa3c4f123bf2ddbad14a1c5c4f33c60ddd072 SHA512 f3838e66544635306aa3ce8c49979fda8c9437be06905c1ad1fd7d375bea3fdffd21f5d75a2413a5961cc4a1b11fca8438983c1284652381fe6d0d3d45847385 WHIRLPOOL 1a008d95e63ea95db57f049da7cb5871ea8d03c59501261b225c0e5012b144f3b37569555e006cbf7140c0fefd16f2c722df121897d0e7a40ead8171995e73e2
 DIST netbeans-trunk-nightly-201511300002-src.zip 209067309 SHA256 2cac888b1ddd5c95623942d0d02833d98d5d171b272d4d6287a76e7630b48469 SHA512 2b8b86325d6a97eb8dfdbe9b6960aa9658d6c30c1edd576bf8b77108fe26c4ce5e8d152e588e4cd9075b04ed671a7bcc8797f1cefbdf47e62c56bc4d7ea61d5e WHIRLPOOL a7d0ab312bb191a202746ad5c139681a9dab0f0bdc4ada1b34f468d330059050e26f875d3fc7eb62eda46f39c7118d495f9f94564100bad9ae3e0b27bf9896b2
+DIST netbeans-trunk-nightly-201512010002-src.zip 209149379 SHA256 9030cb0fd9a50bd2ba418c1b165215d3ee14eb1291b3008003cf638347862411 SHA512 04ace118a7a66b84c92630c4a567d6ad9181638e8eaa9bf64fd225915b8b1c47f81cb6beeb0d26a916a8bfa735c4eb464d68a43b1c72f447c06b518f43983b07 WHIRLPOOL a7ebbb6a7325851ccbe448deb44b3ac615a469f6c06a250265d78f88dc8708da28fd3d5ed5a18acaa3f7ca4223b8be6c9be35350d0605aa48a5055e710ec5d04
 EBUILD netbeans-ide-8.0.2.ebuild 29317 SHA256 42218788ab0fc7c7cd1bb42a8b0c72a66543a3260b752aa55365833c355bcc63 SHA512 c712b66b6bee654390a45e5c616479df2be624bb770f3838d4fcce875f71a8d165703dffd55c4fd7d30e19c392784203e5fe01e2404907d88c935d439efaf578 WHIRLPOOL 67763e4a36215ac002fd321556ce2269affc15ba48ad5069d7ccc746d918179994f174e09305a9d9ddadddbea690778c2769e0ea1993eafc09e01580485e2292
 EBUILD netbeans-ide-8.1.ebuild 30288 SHA256 783332022c33a787ededc22d5250e30e1a91676508076fddc69ec64bbe5a6e7c SHA512 402d72f8b1a4e849dfe86054d466afeb0ab3987cd5ee747d3173874cd875fe3572be9e3ccd639fadf9e329db92e7543fd68dffc497805aa4d40b1d008c4a79ad WHIRLPOOL fd2cd798a1763af3fae44bb0eef0a4c4d932ffead6427e27d3483639348d969598b9c81d8949a3950ace1e68d3dfa0e08fe0c787b201b0cc9a95ea0040d156bf
 EBUILD netbeans-ide-9999_p20151020.ebuild 30334 SHA256 72d4045e01c0b9adb6b431f84f4c300b303e9ea6474df0149296202990811eb4 SHA512 9dbfe097d94f29368a251d851982df5990ed2dfb0dd6537d344e992d1a022e169a860413c7b459fbda6261f38bb1026b43ddba78a5a062bf55150647c5ac134d WHIRLPOOL 82a3f22970d024e8af5d0fba4fbb2dccc00759f98705264f5765f0a1c0cfda03a018bfaf406221a1cb251ce2e73a45acfb376ebe3f8152dfd69a0c706014a445
@@ -185,4 +186,5 @@ EBUILD netbeans-ide-9999_p20151127.ebuild 31262 SHA256 360a1514fd5746a973ea22da0
 EBUILD netbeans-ide-9999_p20151128.ebuild 31270 SHA256 2bd56050413c12c238aff8aee3541a2d5728d5472b1e066c224ed82cba1fdab4 SHA512 c41fbe0f934241e8142b64cfe5a39b9dd108c48f3a14d61c4b2e45663c323f025c11252b8556e6a7e382efbca40e5296f41c1cca50293e96bdd21c81be6ae665 WHIRLPOOL 9484ed123e61f160856297b04128933388452170c2034cb28b64685109f768f18581a6c0c860b50c1366186a1c811c69ba74b4522928419f399f91d411edd4d1
 EBUILD netbeans-ide-9999_p20151129.ebuild 31270 SHA256 6c594302aa764d75241be2443ae826e96c15791e91fb90725169bb7981dae815 SHA512 6b517399a20bc7236a460bf7c7377f432dc806a89dd94aefc96e0b5a9fe3093241178e3df589c4948873ac450b86708656d91a290653ed321015055c6f967d65 WHIRLPOOL dc20f1b8048603982202e17ce56e3ed0b25f3a9bb1b5531f26174fe484b4dfe832b93cfab2522f2ce8d170e6a5b6f5d4eb7dcdd34bf0c2c003b44ad4514b536b
 EBUILD netbeans-ide-9999_p20151130.ebuild 31270 SHA256 3f68a14edb2a9ab33dfdf186ba0dc1346a584b55a6f2e23fd415bac433683b00 SHA512 1eaa9ee224c65b19f010171b32f0825fbf5381e5ccd6a0a9366de942aa10acded4cb652d95201091e886c08a2f7bb09ba0ba3482a919506b0e6e08aa43ec76d8 WHIRLPOOL 0aa159871b3f1ff57a516deee6f117ca1b2738370bf5ca9d39242e1066b869d3afd3dbbc385afbef26f330cb3200b9870313b35abea59e295e0b5224b4412d92
+EBUILD netbeans-ide-9999_p20151201.ebuild 31270 SHA256 7303302ed5bae64ba02c0a6e6753751fd18a13c5ff8d7ab768aa5efb2beca4d7 SHA512 0bd845afd0928c96003d85790376e9186a83a4df6fcb2b7305a1ce6495278a9c4977819ed441e01c716d29da4411fb9d1832b549936ce318003af1b790a96202 WHIRLPOOL 05307c76ce767e8058b428db7d3024c509f4a305069e508ec8a966f2320323a659cb6e9fce9bd163ee796517e1df1a75be74fb4dc7ed940015a2976b7547aa41
 MISC metadata.xml 251 SHA256 5a4ff53a9862390a48d45c79be24086646e7a6ff0c5bdf0fcb799d0871299003 SHA512 04153cbd9776ad56a94d6a47d043df15d082d8888df8658f18d0d4b659c6c0526ab3a9b22ccbe2471091bf2d8165f224854bc99c51f3664aaf350ccb93532a7c WHIRLPOOL 2ee8a646c6e23bc46c72cac0ecb5cfe43720ec42404ddaeed8ab1b59d139b3d5c1a94764de847f979da978c001c9f02f709d663a68eeea64d19e88f1fefbca43

diff --git a/dev-java/netbeans-ide/netbeans-ide-9999_p20151201.ebuild b/dev-java/netbeans-ide/netbeans-ide-9999_p20151201.ebuild
new file mode 100644
index 0000000..ca40581
--- /dev/null
+++ b/dev-java/netbeans-ide/netbeans-ide-9999_p20151201.ebuild
@@ -0,0 +1,390 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="4"
+inherit eutils java-pkg-2 java-ant-2
+
+DESCRIPTION="Netbeans IDE Cluster"
+HOMEPAGE="http://netbeans.org/projects/ide"
+SLOT="9999"
+SOURCE_URL="http://bits.netbeans.org/download/trunk/nightly/2015-12-01_00-02-04/zip/netbeans-trunk-nightly-201512010002-src.zip"
+SRC_URI="${SOURCE_URL}
+	http://dev.gentoo.org/~fordfrog/distfiles/netbeans-9999-r14-build.xml.patch.bz2
+	http://hg.netbeans.org/binaries/4E74C6BE42FE89871A878C7C4D6158F21A6D8010-antlr-runtime-3.4.jar
+	http://hg.netbeans.org/binaries/98308890597ACB64047F7E896638E0D98753AE82-asm-all-4.0.jar
+	http://hg.netbeans.org/binaries/886FAF4B85054DD6E50D9B3438542F432B5F9251-bytelist-0.1.jar
+	http://hg.netbeans.org/binaries/ACAB7C860DF78C4A528FD8A64F2C62A0A96639E5-com.trilead.ssh2_1.0.0.build219_t20150519_2322.jar
+	http://hg.netbeans.org/binaries/A8762D07E76CFDE2395257A5DA47BA7C1DBD3DCE-commons-io-1.4.jar
+	http://hg.netbeans.org/binaries/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/F4A1696661E6233F8C27EE323CAEF9CB052666F1-html5-datatypes.jar
+	http://hg.netbeans.org/binaries/2541D025F428A361110C4D656CDD99B5C5C5DFCE-html5doc.zip
+	http://hg.netbeans.org/binaries/D528B44AE7593D2275927396BF930B28078C5220-htmlparser-1.2.1.jar
+	http://hg.netbeans.org/binaries/8E737D82ECAC9BA6100A9BBA71E92A381B75EFDC-ini4j-0.5.1.jar
+	http://hg.netbeans.org/binaries/A2862B7795EF0E0F0716BEC84528FA3B629E479C-io-xml-util.jar
+	http://hg.netbeans.org/binaries/0DCC973606CBD9737541AA5F3E76DED6E3F4D0D0-iri.jar
+	http://hg.netbeans.org/binaries/F90E3DA5259DB07F36E6987EFDED647A5231DE76-ispell-enwl-3.1.20.zip
+	http://hg.netbeans.org/binaries/ECEAF316A8FAF0E794296EBE158AE110C7D72A5A-JavaEWAH-0.7.9.jar
+	http://hg.netbeans.org/binaries/71F434378F822B09A57174AF6C75D37408687C57-jaxb-api.jar
+	http://hg.netbeans.org/binaries/27FAE927B5B9AE53A5B0ED825575DD8217CE7042-jaxb-api-doc.zip
+	http://hg.netbeans.org/binaries/387BE740EAEF52B3F6E6EE2F140757E7632584CE-jaxb-impl.jar
+	http://hg.netbeans.org/binaries/C3787DAB0DDFBD9E98086ED2F219859B0CB77EF7-jaxb-xjc.jar
+	http://hg.netbeans.org/binaries/F4DB465F207907A2406B0BF5C8FFEE22A5C3E4E3-jaxb1-impl.jar
+	http://hg.netbeans.org/binaries/5E40984A55F6FFF704F05D511A119CA5B456DDB1-jfxrt.jar
+	http://hg.netbeans.org/binaries/483A61B688B13C62BB201A683D98A6688B5373B6-jing.jar
+	http://hg.netbeans.org/binaries/3699DFFE17089F9B9C73857EDA9B8669AAD657D3-js-corestubs.zip
+	http://hg.netbeans.org/binaries/2AA13ACCC4059C930C4AD3B6ABD8E1C0FC06235C-js-domstubs.zip
+	http://hg.netbeans.org/binaries/7C0C3CFD989EE775198337C11715C1ACD6C84F41-js-reststubs.zip
+	http://hg.netbeans.org/binaries/036FA0032B44AD06A1F13504D97B3685B1C88961-jsch.agentproxy.core-0.0.7.jar
+	http://hg.netbeans.org/binaries/9F31964104D71855DF6B73F0C761CDEB3FA3C49C-jsch.agentproxy.sshagent-0.0.7.jar
+	http://hg.netbeans.org/binaries/3FA59A536F3DC2197826DC7F224C0823C1534203-jsch.agentproxy.pageant-0.0.7.jar
+	http://hg.netbeans.org/binaries/F759114E5A9F9AE907EADB59DBF65189AA399B45-jsch.agentproxy.usocket-jna-0.0.7.jar
+	http://hg.netbeans.org/binaries/2E07375E5CA3A452472F0E87FB33F243F7A5C08C-libpam4j-1.1.jar
+	http://hg.netbeans.org/binaries/76E901A1F432323E7E90FC86FDB2534A28952293-nashorn-02f810c26ff9-patched.jar
+	http://hg.netbeans.org/binaries/010FC8BD229B7F68C8C4D5BDE399475373096601-non-schema.jar
+	http://hg.netbeans.org/binaries/F27BF427BE72709F3094BF76ECA8C5A2B9AC6DA9-org.eclipse.core.contenttype_3.4.100.v20110423-0524_nosignature.jar
+	http://hg.netbeans.org/binaries/9BC512C5BB9A9F5276B9E8672F6B30AD0BD97D88-org.eclipse.core.jobs-3.5.101_nosignature.jar
+	http://hg.netbeans.org/binaries/105DC9A1A93E6EA9A6CD368AD12897B1F247D6AE-org.eclipse.core.net_1.2.100.I20110511-0800_nosignature.jar
+	http://hg.netbeans.org/binaries/E99C3C29A90F8AB29078A38CF8EBC3860249640C-org.eclipse.core.runtime-3.7.0_nosignature.jar
+	http://hg.netbeans.org/binaries/84FC6D443CD0816FA87093B6B7AD6876ADFC4207-org.eclipse.core.runtime.compatibility.auth_3.2.200.v20110110_nosignature.jar
+	http://hg.netbeans.org/binaries/74069BFD03B2C66A9EBB4370C0B8064E3F5B6594-org.eclipse.equinox.app-1.3.100_nosignature.jar
+	http://hg.netbeans.org/binaries/A7953EEE9D4D7CD896C7D0AD6D21902E6259979B-org.eclipse.equinox.common_3.6.0.v20110523_nosignature.jar
+	http://hg.netbeans.org/binaries/3FB169C95F095B70F05B96BE9496DA63FAE7F707-org.eclipse.equinox.preferences-3.4.2_nosignature.jar
+	http://hg.netbeans.org/binaries/CD5919A707EB6B5C1FC29964C8EF5E2CF3F5A3D4-org.eclipse.equinox.registry_3.5.200.v20120522-1841_nosignature.jar
+	http://hg.netbeans.org/binaries/A4634373DC60650C49CC98AEA2090889F7ADC68F-org.eclipse.equinox.security-1.1.1_nosignature.jar
+	http://hg.netbeans.org/binaries/278049664FFA5447191BD5FE96B0B62B0CFD15D1-org.eclipse.jgit-3.6.2.201501210735-r_nosignature.jar
+	http://hg.netbeans.org/binaries/9039A0C1FA0E56CB56A1A192908814478FA747C5-org.eclipse.jgit.java7-3.6.2.201501210735-r_nosignature.jar
+	http://hg.netbeans.org/binaries/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/3A7012C03E61CAF9539DAD8326659EB4CE3EA436-org.eclipse.mylyn.wikitext.core_2.6.0.v20150901-2143.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/6FC6098C230D7CBA5730106D379CBBB42F6EC48A-validator.jar
+	http://hg.netbeans.org/binaries/C9757EFB2CFBA523A7375A78FA9ECFAF0D0AC505-winp-1.14-patched.jar
+	http://hg.netbeans.org/binaries/64F5BEEADD2A239C4BC354B8DFDB97CF7FDD9983-xmlrpc-client-3.0.jar
+	http://hg.netbeans.org/binaries/8FA16AD28B5E79A7CD52B8B72985B0AE8CCD6ADF-xmlrpc-common-3.0.jar
+	http://hg.netbeans.org/binaries/D6917BF718583002CBE44E773EE21E2DF08ADC71-xmlrpc-server-3.0.jar"
+LICENSE="|| ( CDDL GPL-2-with-linking-exception )"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+S="${WORKDIR}"
+
+CDEPEND="~dev-java/netbeans-harness-${PV}
+	~dev-java/netbeans-platform-${PV}
+	dev-java/bcpkix:1.52
+	dev-java/bcprov:1.52
+	dev-java/commons-compress:0
+	dev-java/commons-httpclient:3
+	dev-java/commons-logging:0
+	dev-java/icu4j:4.4
+	dev-java/iso-relax:0
+	dev-java/jdbc-mysql:0
+	dev-java/jdbc-postgresql:0
+	>=dev-java/jsch-0.1.46:0
+	>=dev-java/json-simple-1.1:0
+	dev-java/jsr173:0
+	dev-java/jzlib:0
+	dev-java/jvyamlb:0
+	dev-java/log4j:0
+	dev-java/lucene:3.5
+	dev-java/rhino:1.6
+	dev-java/saxon:9
+	dev-java/smack:2.2
+	dev-java/sun-jaf:0
+	dev-java/tomcat-servlet-api:2.2
+	dev-java/ws-commons-util:0
+	dev-java/xerces:2"
+#	dev-vcs/subversion>=1.8.4:0[java] missing from the tree
+#	app-text/jing:0 our version is probably too old
+#	dev-java/commons-io:1 fails with "Missing manifest tag OpenIDE-Module"
+#	dev-java/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/trilead-ssh2:0 in overlay
+DEPEND=">=virtual/jdk-1.7
+	app-arch/unzip
+	dev-java/commons-codec:0
+	${CDEPEND}
+	dev-java/javacc:0
+	dev-java/javahelp:0"
+RDEPEND=">=virtual/jdk-1.7
+	${CDEPEND}"
+
+INSTALL_DIR="/usr/share/${PN}-${SLOT}"
+
+EANT_BUILD_XML="nbbuild/build.xml"
+EANT_BUILD_TARGET="rebuild-cluster"
+EANT_EXTRA_ARGS="-Drebuild.cluster.name=nb.cluster.ide -Dext.binaries.downloaded=true -Djava.awt.headless=true -Dpermit.jdk8.builds=true"
+EANT_FILTER_COMPILER="ecj-3.3 ecj-3.4 ecj-3.5 ecj-3.6 ecj-3.7"
+JAVA_PKG_BSFIX="off"
+
+JAVA_PKG_WANT_SOURCE="1.7"
+JAVA_PKG_WANT_TARGET="1.7"
+
+src_unpack() {
+	unpack $(basename ${SOURCE_URL})
+
+	einfo "Deleting bundled jars..."
+	find -name "*.jar" -type f -delete
+
+	unpack netbeans-9999-r14-build.xml.patch.bz2
+
+	pushd "${S}" >/dev/null || die
+	ln -s "${DISTDIR}"/4E74C6BE42FE89871A878C7C4D6158F21A6D8010-antlr-runtime-3.4.jar libs.antlr3.runtime/external/antlr-runtime-3.4.jar || die
+	ln -s "${DISTDIR}"/98308890597ACB64047F7E896638E0D98753AE82-asm-all-4.0.jar libs.nashorn/external/asm-all-4.0.jar || die
+	ln -s "${DISTDIR}"/886FAF4B85054DD6E50D9B3438542F432B5F9251-bytelist-0.1.jar libs.bytelist/external/bytelist-0.1.jar || die
+	ln -s "${DISTDIR}"/ACAB7C860DF78C4A528FD8A64F2C62A0A96639E5-com.trilead.ssh2_1.0.0.build219_t20150519_2322.jar libs.svnClientAdapter.svnkit/external/com.trilead.ssh2_1.0.0.build219_t20150519_2322.jar || die
+	ln -s "${DISTDIR}"/A8762D07E76CFDE2395257A5DA47BA7C1DBD3DCE-commons-io-1.4.jar o.apache.commons.io/external/commons-io-1.4.jar || die
+	ln -s "${DISTDIR}"/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}"/F4A1696661E6233F8C27EE323CAEF9CB052666F1-html5-datatypes.jar html.validation/external/html5-datatypes.jar || die
+	ln -s "${DISTDIR}"/2541D025F428A361110C4D656CDD99B5C5C5DFCE-html5doc.zip html.parser/external/html5doc.zip || die
+	ln -s "${DISTDIR}"/D528B44AE7593D2275927396BF930B28078C5220-htmlparser-1.2.1.jar html.parser/external/htmlparser-1.2.1.jar || die
+	ln -s "${DISTDIR}"/8E737D82ECAC9BA6100A9BBA71E92A381B75EFDC-ini4j-0.5.1.jar libs.ini4j/external/ini4j-0.5.1.jar || die
+	ln -s "${DISTDIR}"/A2862B7795EF0E0F0716BEC84528FA3B629E479C-io-xml-util.jar html.validation/external/io-xml-util.jar || die
+	ln -s "${DISTDIR}"/0DCC973606CBD9737541AA5F3E76DED6E3F4D0D0-iri.jar html.validation/external/iri.jar || die
+	ln -s "${DISTDIR}"/F90E3DA5259DB07F36E6987EFDED647A5231DE76-ispell-enwl-3.1.20.zip spellchecker.dictionary_en/external/ispell-enwl-3.1.20.zip || die
+	ln -s "${DISTDIR}"/ECEAF316A8FAF0E794296EBE158AE110C7D72A5A-JavaEWAH-0.7.9.jar c.googlecode.javaewah.JavaEWAH/external/JavaEWAH-0.7.9.jar || die
+	ln -s "${DISTDIR}"/71F434378F822B09A57174AF6C75D37408687C57-jaxb-api.jar xml.jaxb.api/external/jaxb-api.jar || die
+	ln -s "${DISTDIR}"/27FAE927B5B9AE53A5B0ED825575DD8217CE7042-jaxb-api-doc.zip libs.jaxb/external/jaxb-api-doc.zip || die
+	ln -s "${DISTDIR}"/387BE740EAEF52B3F6E6EE2F140757E7632584CE-jaxb-impl.jar libs.jaxb/external/jaxb-impl.jar || die
+	ln -s "${DISTDIR}"/C3787DAB0DDFBD9E98086ED2F219859B0CB77EF7-jaxb-xjc.jar libs.jaxb/external/jaxb-xjc.jar || die
+	ln -s "${DISTDIR}"/F4DB465F207907A2406B0BF5C8FFEE22A5C3E4E3-jaxb1-impl.jar libs.jaxb/external/jaxb1-impl.jar || die
+	ln -s "${DISTDIR}"/5E40984A55F6FFF704F05D511A119CA5B456DDB1-jfxrt.jar libs.javafx/external/jfxrt.jar || die
+	ln -s "${DISTDIR}"/483A61B688B13C62BB201A683D98A6688B5373B6-jing.jar html.validation/external/jing.jar || die
+	ln -s "${DISTDIR}"/3699DFFE17089F9B9C73857EDA9B8669AAD657D3-js-corestubs.zip javascript2.editor/external/js-corestubs.zip || die
+	ln -s "${DISTDIR}"/2AA13ACCC4059C930C4AD3B6ABD8E1C0FC06235C-js-domstubs.zip javascript2.editor/external/js-domstubs.zip || die
+	ln -s "${DISTDIR}"/7C0C3CFD989EE775198337C11715C1ACD6C84F41-js-reststubs.zip javascript2.editor/external/js-reststubs.zip || die
+	ln -s "${DISTDIR}"/036FA0032B44AD06A1F13504D97B3685B1C88961-jsch.agentproxy.core-0.0.7.jar libs.jsch.agentproxy/external/jsch.agentproxy.core-0.0.7.jar || die
+	ln -s "${DISTDIR}"/9F31964104D71855DF6B73F0C761CDEB3FA3C49C-jsch.agentproxy.sshagent-0.0.7.jar libs.jsch.agentproxy/external/jsch.agentproxy.sshagent-0.0.7.jar || die
+	ln -s "${DISTDIR}"/3FA59A536F3DC2197826DC7F224C0823C1534203-jsch.agentproxy.pageant-0.0.7.jar libs.jsch.agentproxy/external/jsch.agentproxy.pageant-0.0.7.jar || die
+	ln -s "${DISTDIR}"/F759114E5A9F9AE907EADB59DBF65189AA399B45-jsch.agentproxy.usocket-jna-0.0.7.jar libs.jsch.agentproxy/external/jsch.agentproxy.usocket-jna-0.0.7.jar || die
+	ln -s "${DISTDIR}"/2E07375E5CA3A452472F0E87FB33F243F7A5C08C-libpam4j-1.1.jar extexecution.process/external/libpam4j-1.1.jar || die
+	ln -s "${DISTDIR}"/76E901A1F432323E7E90FC86FDB2534A28952293-nashorn-02f810c26ff9-patched.jar libs.nashorn/external/nashorn-02f810c26ff9-patched.jar || die
+	ln -s "${DISTDIR}"/010FC8BD229B7F68C8C4D5BDE399475373096601-non-schema.jar html.validation/external/non-schema.jar || die
+	ln -s "${DISTDIR}"/F27BF427BE72709F3094BF76ECA8C5A2B9AC6DA9-org.eclipse.core.contenttype_3.4.100.v20110423-0524_nosignature.jar o.eclipse.core.contenttype/external/org.eclipse.core.contenttype_3.4.100.v20110423-0524_nosignature.jar || die
+	ln -s "${DISTDIR}"/9BC512C5BB9A9F5276B9E8672F6B30AD0BD97D88-org.eclipse.core.jobs-3.5.101_nosignature.jar o.eclipse.core.jobs/external/org.eclipse.core.jobs-3.5.101_nosignature.jar || die
+	ln -s "${DISTDIR}"/105DC9A1A93E6EA9A6CD368AD12897B1F247D6AE-org.eclipse.core.net_1.2.100.I20110511-0800_nosignature.jar o.eclipse.core.net/external/org.eclipse.core.net_1.2.100.I20110511-0800_nosignature.jar || die
+	ln -s "${DISTDIR}"/E99C3C29A90F8AB29078A38CF8EBC3860249640C-org.eclipse.core.runtime-3.7.0_nosignature.jar o.eclipse.core.runtime/external/org.eclipse.core.runtime-3.7.0_nosignature.jar || die
+	ln -s "${DISTDIR}"/84FC6D443CD0816FA87093B6B7AD6876ADFC4207-org.eclipse.core.runtime.compatibility.auth_3.2.200.v20110110_nosignature.jar o.eclipse.core.runtime.compatibility.auth/external/org.eclipse.core.runtime.compatibility.auth_3.2.200.v20110110_nosignature.jar || die
+	ln -s "${DISTDIR}"/74069BFD03B2C66A9EBB4370C0B8064E3F5B6594-org.eclipse.equinox.app-1.3.100_nosignature.jar o.eclipse.equinox.app/external/org.eclipse.equinox.app-1.3.100_nosignature.jar || die
+	ln -s "${DISTDIR}"/A7953EEE9D4D7CD896C7D0AD6D21902E6259979B-org.eclipse.equinox.common_3.6.0.v20110523_nosignature.jar o.eclipse.equinox.common/external/org.eclipse.equinox.common_3.6.0.v20110523_nosignature.jar || die
+	ln -s "${DISTDIR}"/3FB169C95F095B70F05B96BE9496DA63FAE7F707-org.eclipse.equinox.preferences-3.4.2_nosignature.jar o.eclipse.equinox.preferences/external/org.eclipse.equinox.preferences-3.4.2_nosignature.jar || die
+	ln -s "${DISTDIR}"/CD5919A707EB6B5C1FC29964C8EF5E2CF3F5A3D4-org.eclipse.equinox.registry_3.5.200.v20120522-1841_nosignature.jar o.eclipse.equinox.registry/external/org.eclipse.equinox.registry_3.5.200.v20120522-1841_nosignature.jar || die
+	ln -s "${DISTDIR}"/A4634373DC60650C49CC98AEA2090889F7ADC68F-org.eclipse.equinox.security-1.1.1_nosignature.jar o.eclipse.equinox.security/external/org.eclipse.equinox.security-1.1.1_nosignature.jar || die
+	ln -s "${DISTDIR}"/278049664FFA5447191BD5FE96B0B62B0CFD15D1-org.eclipse.jgit-3.6.2.201501210735-r_nosignature.jar o.eclipse.jgit/external/org.eclipse.jgit-3.6.2.201501210735-r_nosignature.jar || die
+	ln -s "${DISTDIR}"/9039A0C1FA0E56CB56A1A192908814478FA747C5-org.eclipse.jgit.java7-3.6.2.201501210735-r_nosignature.jar o.eclipse.jgit.java7/external/org.eclipse.jgit.java7-3.6.2.201501210735-r_nosignature.jar || die
+	ln -s "${DISTDIR}"/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}"/3A7012C03E61CAF9539DAD8326659EB4CE3EA436-org.eclipse.mylyn.wikitext.core_2.6.0.v20150901-2143.jar o.eclipse.mylyn.wikitext.core/external/org.eclipse.mylyn.wikitext.core_2.6.0.v20150901-2143.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}"/6FC6098C230D7CBA5730106D379CBBB42F6EC48A-validator.jar html.validation/external/validator.jar || die
+	ln -s "${DISTDIR}"/C9757EFB2CFBA523A7375A78FA9ECFAF0D0AC505-winp-1.14-patched.jar extexecution.process/external/winp-1.14-patched.jar || die
+	ln -s "${DISTDIR}"/64F5BEEADD2A239C4BC354B8DFDB97CF7FDD9983-xmlrpc-client-3.0.jar o.apache.xmlrpc/external/xmlrpc-client-3.0.jar || die
+	ln -s "${DISTDIR}"/8FA16AD28B5E79A7CD52B8B72985B0AE8CCD6ADF-xmlrpc-common-3.0.jar o.apache.xmlrpc/external/xmlrpc-common-3.0.jar || die
+	ln -s "${DISTDIR}"/D6917BF718583002CBE44E773EE21E2DF08ADC71-xmlrpc-server-3.0.jar o.apache.xmlrpc/external/xmlrpc-server-3.0.jar || die
+	popd >/dev/null || die
+}
+
+src_prepare() {
+	einfo "Deleting bundled class files..."
+	find -name "*.class" -type f | xargs rm -vf
+
+	epatch netbeans-9999-r14-build.xml.patch
+
+	# Support for custom patches
+	if [ -n "${NETBEANS9999_PATCHES_DIR}" -a -d "${NETBEANS9999_PATCHES_DIR}" ] ; then
+		local files=`find "${NETBEANS9999_PATCHES_DIR}" -type f`
+
+		if [ -n "${files}" ] ; then
+			einfo "Applying custom patches:"
+
+			for file in ${files} ; do
+				epatch "${file}"
+			done
+		fi
+	fi
+
+	einfo "Symlinking external libraries..."
+	java-pkg_jar-from --build-only --into javahelp/external javahelp jhall.jar jhall-2.0_05.jar
+	java-pkg_jar-from --into libs.json_simple/external json-simple json-simple.jar json-simple-1.1.1.jar
+
+	einfo "Linking in other clusters..."
+	mkdir "${S}"/nbbuild/netbeans || die
+	pushd "${S}"/nbbuild/netbeans >/dev/null || die
+
+	ln -s /usr/share/netbeans-platform-${SLOT} platform || die
+	cat /usr/share/netbeans-platform-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+	touch nb.cluster.platform.built
+
+	ln -s /usr/share/netbeans-harness-${SLOT} harness || die
+	cat /usr/share/netbeans-harness-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+	touch nb.cluster.harness.built
+
+	popd >/dev/null || die
+
+	java-pkg_jar-from --into c.jcraft.jsch/external jsch jsch.jar jsch-0.1.53.jar
+	java-pkg_jar-from --into c.jcraft.jzlib/external jzlib jzlib.jar jzlib-1.0.7.jar
+	java-pkg_jar-from --into db.drivers/external jdbc-mysql jdbc-mysql.jar mysql-connector-java-5.1.23-bin.jar
+	java-pkg_jar-from --into db.drivers/external jdbc-postgresql jdbc-postgresql.jar postgresql-9.2-1002.jdbc4.jar
+	java-pkg_jar-from --build-only --into db.sql.visualeditor/external javacc javacc.jar javacc-3.2.jar
+	java-pkg_jar-from --into docker.api/external bcpkix-1.52 bcpkix.jar bcpkix-jdk15on-153.jar
+	java-pkg_jar-from --into docker.api/external bcprov-1.52 bcprov.jar bcprov-jdk15on-153.jar
+	java-pkg_jar-from --into html.parser/external icu4j-4.4 icu4j.jar icu4j-4_4_2.jar
+	java-pkg_jar-from --into html.validation/external iso-relax isorelax.jar isorelax.jar
+	java-pkg_jar-from --into html.validation/external log4j log4j.jar log4j-1.2.15.jar
+	java-pkg_jar-from --into html.validation/external saxon-9 saxon.jar saxon9B.jar
+	java-pkg_jar-from --into libs.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=${INSTALL_DIR}/modules
+	pushd "${D}"/${instdir} >/dev/null || die
+	rm com-jcraft-jsch.jar && dosym /usr/share/jsch/lib/jsch.jar ${instdir}/com-jcraft-jsch.jar || die
+	rm com-jcraft-jzlib.jar && dosym /usr/share/jzlib/lib/jzlib.jar ${instdir}/com-jcraft-jzlib.jar || die
+	popd >/dev/null || die
+
+	local instdir=${INSTALL_DIR}/modules/ext
+	pushd "${D}"/${instdir} >/dev/null || die
+	rm bcpkix-jdk15on-153.jar && dosym /usr/share/bcpkix-1.52/lib/bcpkix.jar ${instdir}/bcpkix-jdk15on-153.jar || die
+	rm bcprov-jdk15on-153.jar && dosym /usr/share/bcprov-1.52/lib/bcprov.jar ${instdir}/bcprov-jdk15on-153.jar || die
+	rm commons-compress-1.8.1.jar && dosym /usr/share/commons-compress/lib/commons-compress.jar ${instdir}/commons-compress-1.8.1.jar || die
+	# rm freemarker-2.3.19.jar && dosym /usr/share/freemarker-2.3/lib/freemarker.jar ${instdir}/freemarker-2.3.19.jar || die
+	rm icu4j-4_4_2.jar && dosym /usr/share/icu4j-4.4/lib/icu4j.jar ${instdir}/icu4j-4_4_2.jar || die
+	rm isorelax.jar && dosym /usr/share/iso-relax/lib/isorelax.jar ${instdir}/isorelax.jar || die
+	rm json-simple-1.1.1.jar && dosym /usr/share/json-simple/lib/json-simple.jar ${instdir}/json-simple-1.1.1.jar || die
+	rm jvyamlb-0.2.7.jar && dosym /usr/share/jvyamlb/lib/jvyamlb.jar ${instdir}/jvyamlb-0.2.7.jar || die
+	rm log4j-1.2.15.jar && dosym /usr/share/log4j/lib/log4j.jar ${instdir}/log4j-1.2.15.jar || die
+	rm lucene-core-3.5.0.jar && dosym /usr/share/lucene-3.5/lib/lucene-core.jar ${instdir}/lucene-core-3.5.0.jar || die
+	rm mysql-connector-java-5.1.23-bin.jar && dosym /usr/share/jdbc-mysql/lib/jdbc-mysql.jar ${instdir}/mysql-connector-java-5.1.23-bin.jar || die
+	rm postgresql-9.2-1002.jdbc4.jar && dosym /usr/share/jdbc-postgresql/lib/jdbc-postgresql.jar ${instdir}/postgresql-9.2-1002.jdbc4.jar || die
+	rm saxon9B.jar && dosym /usr/share/saxon-9/lib/saxon.jar ${instdir}/saxon9B.jar || die
+	rm servlet-2.2.jar && dosym /usr/share/tomcat-servlet-api-2.2/lib/servlet.jar ${instdir}/servlet-2.2.jar || die
+	rm smack.jar && dosym /usr/share/smack-2.2/lib/smack.jar ${instdir}/smack.jar || die
+	rm smackx.jar && dosym /usr/share/smack-2.2/lib/smackx.jar ${instdir}/smackx.jar || die
+	# rm svnjavahl.jar && dosym /usr/share/subversion/lib/svn-javahl.jar ${instdir}/svnjavahl.jar || die
+	rm xerces-2.8.0.jar && dosym /usr/share/xerces-2/lib/xercesImpl.jar ${instdir}/xerces-2.8.0.jar || die
+	popd >/dev/null || die
+
+	local instdir=${INSTALL_DIR}/modules/ext/jaxb
+	pushd "${D}"/${instdir} >/dev/null || die
+	rm activation.jar && dosym /usr/share/sun-jaf/lib/activation.jar ${instdir}/activation.jar || die
+	popd >/dev/null || die
+
+	local instdir=${INSTALL_DIR}/modules/ext/jaxb/api
+	pushd "${D}"/${instdir} >/dev/null || die
+	rm jsr173_1.0_api.jar && dosym /usr/share/jsr173/lib/jsr173.jar ${instdir}/jsr173_1.0_api.jar || die
+	popd >/dev/null || die
+
+	dosym ${INSTALL_DIR} /usr/share/netbeans-nb-${SLOT}/ide
+}

diff --git a/dev-java/netbeans-java/Manifest b/dev-java/netbeans-java/Manifest
index 61c108f..e3542ba 100644
--- a/dev-java/netbeans-java/Manifest
+++ b/dev-java/netbeans-java/Manifest
@@ -9,6 +9,7 @@ DIST 7666B94C1004AFFFE88E5328BD70EBA6F60125F4-spring-framework-3.2.7.RELEASE.zip
 DIST 7B98BEC9E6D1A447C9C3DDC61EF6658BA000008C-nb-javac-impl.jar 2766790 SHA256 80f4546588c6d548f1448cc42fed5dcf94694782180a05e0dc5af90ad22aa218 SHA512 9fe395abd095a481b85f0bed66fb22f0761a727560af71a45ec2ae85f23a3a652219ac33e49c7b24a4c4a11f21d28ab69b0fcc69dda2843c059e4fb5f6e273ba WHIRLPOOL 3d7dffbdc985a53bff8563ef01eb91ac6b603278971d6c957a3f0cdad9bcfbbf71c78a59524083167f5e7395e7253dfaad9ed148074943b7d75f6f60196ac77f
 DIST 839F93A5213FB3E233B09BFD6D6B95669F7043C0-aether-api-1.0.2.v20150114.jar 136324 SHA256 3f74c7c7b9c924769cf3c5b4d52d21aa63e9a2ccbf16f5d26c30ebb31b99699d SHA512 c75746a1b82ef2c7ae13a33f06ec82292934e4348ead4a57d0e6b356ba79903e4658d031dd347e1e2c627288de6585c125a70e0f1d47a696db1eb967cbc36da3 WHIRLPOOL e34c8337c9cf7f43d8d219471b12beca1c7cf2bf9a310ee2dce49fc35bf819d47bbeb92ffeb7bf45bca640a987ce8d5337505938b44e83537a078478d8737f79
 DIST 84E2020E5499015E9F40D1212C86918264B89EB1-jaxws-2.2.6.zip 4599034 SHA256 0a4a0c3e24bfe028a7741950347086e5aa49d8ed1fa59cff5c74c23f28bf8685 SHA512 5058624cadecf56182afe021b94b4ef10375b217000155a30d6f16d24286e985d472deaf47271a8239c15b5941a412b58c918e5f0684f5045690be322e0acc5d WHIRLPOOL 4258ce692b381cabe0b2e345c99f0a0e6bba7e5ee7eeef2604bb1bf686d549199a270fbe9d380197d5ede660da20269fe2ec75bdb01950dd0e71b73ba096ea50
+DIST 8ABB2A1D1C9CBC72391C5680C61F92B03A3A6405-nb-javac-impl.jar 3041028 SHA256 de85cccaca9215dde1e83e0eda5a21693537426ea9c221a3692b01294028cf57 SHA512 255d614b857e1304fad400de8bf6213fdcb2f133f51cf82f64c33510796f12b79e6a5284bcb09de08a8f075bd4a300af707db383e04486e1407247c8e37c9ce6 WHIRLPOOL aaab4801e341882f7f2136063f2d2bf01c81c73935eec2eea99d32d75cac3d41fb91d9f50716a4e924837a8f60ace32fadc40797541a228432a67682afbdf3d1
 DIST 8BDE88C9512D8783E64788F32A50E4CCBC48485E-nb-javac-impl.jar 2759394 SHA256 3dc7e0c55b5bab5daaf38344ec079ccc5a7acd672c7b539dacf8d55b377192b3 SHA512 e15bcc568f3cd6aa0ebf362f0d09e2380a4e02dd67a6a62970c8614bcaedb9d043828d99bca12c207010116dcc062129adc7e87d73170002e2ea9b147170b5c4 WHIRLPOOL 13cf4685bf778014bc347e2550266cde8d2d43051f295c6a2c3bbf7e6259caafcec3e9bd717070972b469e46bf32c5360009b061168d8834c8c595911f616970
 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
@@ -26,6 +27,7 @@ DIST D87F53C99E4CD88F5416EDD5ABB77F2A1CCFB050-jarjar-1.4.jar 120575 SHA256 51945
 DIST E5579EF3B0C1EF2F43562DD0C3B32F8E1F603B49-nb-javac-api.jar 173813 SHA256 39fa3597e77942f589e299942e4d5f25ae04f699edfe6bd9135d5f425845649b SHA512 ca940f40881ff5a908fafc80f6aa90866d58c54189bfc073a2559ee76496f3127df920abda5d9c7aacf9a54cda693884127c1e3f696d4fc8367351313c900cc5 WHIRLPOOL fae1db760f988f4e2886d8a2f9b2384a194bf8b579825971466a21ec4fa4971a6e4e56b477ba0b61e2e034777af6c49c66d4425734cd6f9db4aca15041b384f6
 DIST E775F5BEB07F8303A9AD3DDC12E3128DD48AB03A-indexer-core-5.1.1-patched.jar 227553 SHA256 2884a6c80cb647199c9edf9d00c5b709502aa63092279b93b9a50ba1578bfc32 SHA512 5ff83f5925fa4250ecb46e08f7f064ccf5d637bff14edadf16abbcd0d6a6203cedd07a64cc5718656249d18b17a1016f7152094da3f8ed13fdbee9afbdfcd926 WHIRLPOOL d80fbd65b3aefa48361b4bafaf179e8076caf97cc7b2a4b5f7437a14f30ea568aa86b699fb2dcc1fb6a4042b131702c87e37d8cf04591f8669414b89d0acc185
 DIST F7BD95641780C2AAE8CB9BED1686441A1CE5E749-beansbinding-1.2.1-doc.zip 930828 SHA256 5f41fe1ef8a7607bafbc04baa7814aecaf72b90a6fa796adec0846f50f8ac7f0 SHA512 0a65813cf76e997b362a0ce48ec55ac180907a7af6062c6f86f96448775164c2bf67c147920f2bfa6a8eb24c14046acf66d0ee9a5481bd7b9b251774a86a7db6 WHIRLPOOL edd56a338e08e788a307849794387069a60b1873a3a8fa29e1e7045fbf8a2f1ff175e68579df3789fdf6af8f7f94de2430560a89de48d64c22e76b1fe95b6505
+DIST F8D77F809FE7E36AF1B27D0F6274890595B3C112-nb-javac-api.jar 187821 SHA256 ff69a0b040370704f2b2539157672667363ca205eb18f30af1b1c48d247e7b17 SHA512 309ad2ea04fc105cf885bee9788b24e9e146c6a4385f74a343a5f5c1cf9afa06328a556d766041dbf338d0f4d18db440d77f1d45da6ab805a72d814d1d05e334 WHIRLPOOL cc2e86e0262477fc4223047c9054e5a62cb690440b0540c6550ea551b2c0ad740b7db224d01f0e1d6f8f89907dc10744c81e9eec99f730717e10d06da45e46ea
 DIST FBC85B83A93F76A159C8C0D782F02AF7E68E8ECF-nb-javac-impl.jar 2766800 SHA256 cd65bd26b26b7823fc8a00ec84d951532403f8c665f114ac7704ec5f9b90af22 SHA512 164a438eb6b55534037705505cb3adda39dc4e813535f0108ff6cf65e9f39db58069a22678c2484a22e2da1b1d70063b5a56e55f8c56a51f8d9953c1791c17ec WHIRLPOOL e551a60bc8d10869fe35c558dff3d3249f18922ebc32ea9a170b468e025762fe31d154a6dd1239c390c70c9cbd70639a98532492b108d9acf69e07419a818f6e
 DIST netbeans-8.0.2-201411181905-src.zip 196585461 SHA256 581f80d3c2e8d87a0f007dd3f358ce0534a0bb2e4b3312cd6c8c7263713bc530 SHA512 9533de5b3c45e4a5b025213dd5602344e16d024e0cdb013f207ac3c7a9d8e63da19279f97910ad136777d75780c620224953f2974070d5c9833d1d6ef3fd427c WHIRLPOOL 2e45e83309743df167ddd1d58068848166d01ef6d9eec99ddf72b9ba7664cb182a04d6420ab03a9270842b3cd9a16a161c1eebb66953ef09158d8d521fb96516
 DIST netbeans-8.0.2-build.xml.patch.bz2 2678 SHA256 cf120f7fd8b4ad40e9abdcb09e7763fd93b4acef04ff0365e18f178706ea83bb SHA512 b61adf29bcb139207241c68513724f352420078583ca5e6d7856a4dd335ad36b7d05311eb6e14ff1c568aaf090de4ca083c32f6db1dec0b6f50d66a388bbedf7 WHIRLPOOL fb4d63329aa450a1b387fa45b59fa3c18d1a1ca8ecf9443111a3056d409a6d928d15dae275e9c564558f4b2abd54cc0f8db2df653ac432d9f58f8ef4dd747dff
@@ -63,6 +65,7 @@ DIST netbeans-trunk-nightly-201511270002-src.zip 209057113 SHA256 a5ae7083bc58b9
 DIST netbeans-trunk-nightly-201511280002-src.zip 209067071 SHA256 4302c5a2625fd2ce88690813a9a355aa431f013e71d72a43db4466aba0c1399e SHA512 6774f00a6dfd4fb717432e7c3fa0cb3edaefa60711bcbd1f18961d9d0d8181cbe7c251a1d5c5f4ee09465f43d109f2877ff8b3357f47550ea81459a71edbc35b WHIRLPOOL 71b5cf8f6c3b82cc6194ae015869c6b11bdfa5f6dbd2c5a86c97a5f7fa17fdd20212c37523f0b0d0c4b7660b81f1a4589998d67b53c09280fc81a798b003bc1b
 DIST netbeans-trunk-nightly-201511290002-src.zip 209067309 SHA256 a0d14ef896c7e7df15f6911ee1eaa3c4f123bf2ddbad14a1c5c4f33c60ddd072 SHA512 f3838e66544635306aa3ce8c49979fda8c9437be06905c1ad1fd7d375bea3fdffd21f5d75a2413a5961cc4a1b11fca8438983c1284652381fe6d0d3d45847385 WHIRLPOOL 1a008d95e63ea95db57f049da7cb5871ea8d03c59501261b225c0e5012b144f3b37569555e006cbf7140c0fefd16f2c722df121897d0e7a40ead8171995e73e2
 DIST netbeans-trunk-nightly-201511300002-src.zip 209067309 SHA256 2cac888b1ddd5c95623942d0d02833d98d5d171b272d4d6287a76e7630b48469 SHA512 2b8b86325d6a97eb8dfdbe9b6960aa9658d6c30c1edd576bf8b77108fe26c4ce5e8d152e588e4cd9075b04ed671a7bcc8797f1cefbdf47e62c56bc4d7ea61d5e WHIRLPOOL a7d0ab312bb191a202746ad5c139681a9dab0f0bdc4ada1b34f468d330059050e26f875d3fc7eb62eda46f39c7118d495f9f94564100bad9ae3e0b27bf9896b2
+DIST netbeans-trunk-nightly-201512010002-src.zip 209149379 SHA256 9030cb0fd9a50bd2ba418c1b165215d3ee14eb1291b3008003cf638347862411 SHA512 04ace118a7a66b84c92630c4a567d6ad9181638e8eaa9bf64fd225915b8b1c47f81cb6beeb0d26a916a8bfa735c4eb464d68a43b1c72f447c06b518f43983b07 WHIRLPOOL a7ebbb6a7325851ccbe448deb44b3ac615a469f6c06a250265d78f88dc8708da28fd3d5ed5a18acaa3f7ca4223b8be6c9be35350d0605aa48a5055e710ec5d04
 EBUILD netbeans-java-8.0.2-r3.ebuild 13294 SHA256 4abac657cff75400e92b1f2b19bca696113cdc37611c8c0f49dfa8c82fec4296 SHA512 32e41d7acc3aca026993e5edc791f1314f2bfda47413538af655b0335973c4fe50d998c67f129307b164075c3e0503280b4c1729d700431644ca6610d7f0f635 WHIRLPOOL d7f99c13421d08529b54085138fcffd2959a3c3f97d94a1dbe6e726a6dbc2cded69ec0bf97e1458b56847ac121954e8f173c1adde0703fd2969defa53ac37c51
 EBUILD netbeans-java-8.1.ebuild 14772 SHA256 cb902b5daf59fb70506d8b8b665418eb98ef2088a72be533b321cc894ef81642 SHA512 b34b6aa8b6358916b0d65f1af261c5cef5e14e9b037cfb6592b98c34f74c556ea57422cc9cd71c1b6cffe6676a7d16cd44b4ddabf270b06078a907a4a79a2fea WHIRLPOOL 1b497bcf6e5141438b69ed81efd64e60532bf956dceea98f30a50d52c3a9bf04c415d578e1315081deef37fd7a7684ddf4806c88c48e51a1ff6eafa7c9fa338d
 EBUILD netbeans-java-9999_p20151020.ebuild 14818 SHA256 8429447d697e0d2c5f6c169937b73ba3e061943bd1ccef44d4ec4676a4e175c6 SHA512 cf9d81fb87a1b5ae5d687023b244ed5d213a8860a0a46a3b8ea98f898b7abd4e07b2a69560f5d042160146c7047370dd132aad45914beb7cd30ab31de0abedad WHIRLPOOL 6a8be8b421801914af952de8bb88e416f451893a72fd123e731b58286bcf475015941c667d794f7372364a627324caf4e79dbd7451ef144d14df6a47d850aa65
@@ -96,4 +99,5 @@ EBUILD netbeans-java-9999_p20151127.ebuild 14977 SHA256 6127065b9c8e1f6f487a016e
 EBUILD netbeans-java-9999_p20151128.ebuild 14977 SHA256 cce32a38bb107f0e46d21faedb615a0b0efdfa3e4b8efc1605e84c0dd43d644f SHA512 db4cebf0c93e4bdf910f76815ebf1972cd6b486a7d6d6d650140faeb4358442ed3a3e08a8f9a010a726f09a49d71fc06759d01eafdad6a1a50455909d2ada1ff WHIRLPOOL 0bfd244b4a579f8eb72af17e48c9beffa73a97ecb8cef2f577873af66f957e2c67a3bd8a7000981a4eb80dc9aaa7dea96e71c84d318ebad78d181997e1ef801e
 EBUILD netbeans-java-9999_p20151129.ebuild 14977 SHA256 454c6f17685c1624bf823229b2e8cce9e127003af137108055b927ad49b57145 SHA512 ea9baa78fc898210ae96cfd1204557354f75c97acffb60347d706093e8668d046f589c0f19a474a3363864b9ab12defc152b6f2c9905ab9ff58be71c8d646c97 WHIRLPOOL 9ad20463a112320cc07622f17d0ff90b684ecff5278e0a8e1d4eb3f48522e383404612a77b7ae503519188d2666f7e3df544c3a2eaec35ad13e5831334082446
 EBUILD netbeans-java-9999_p20151130.ebuild 14977 SHA256 e48b1741aa8bda1b133446df5efb10af31b4693e08a8622e8e2d3a974604824b SHA512 549ffbee9061770daa31a20a507011619f19f01f61f2379667bc50813207f479bc02e367609c9abaf54a4dc9a38e447d1d08e9e8095e505255de5ff7918e63f4 WHIRLPOOL fd40cda490bd145ad416b511095e2aa08bcb05ca5206d2fb84dc7033336eb4b5e4965ca452bf813f94d03240abab462e592f830894b7ca4c190b40c8305e49df
+EBUILD netbeans-java-9999_p20151201.ebuild 14977 SHA256 7f2291c572530a1e168a894bc6d0a9f009c808f07709278af4be0e4fcebc1c62 SHA512 4ea3effcb6bc2ddb62f84cd4431a7d773e35b6a2fa02f1a17b744e18971c4464bcc62eb5eb01416eb9459b39b71fc937076e9f8be955a731ffdd2df311b4ef09 WHIRLPOOL 72e47b59c49a62b8eab1a84ebc0705c75905dc29eef2feceebf7914825eaa66bb47f0da0f6f254ef5c843c7d5decf8827a3f1370f94593f2ced658578d688443
 MISC metadata.xml 251 SHA256 5a4ff53a9862390a48d45c79be24086646e7a6ff0c5bdf0fcb799d0871299003 SHA512 04153cbd9776ad56a94d6a47d043df15d082d8888df8658f18d0d4b659c6c0526ab3a9b22ccbe2471091bf2d8165f224854bc99c51f3664aaf350ccb93532a7c WHIRLPOOL 2ee8a646c6e23bc46c72cac0ecb5cfe43720ec42404ddaeed8ab1b59d139b3d5c1a94764de847f979da978c001c9f02f709d663a68eeea64d19e88f1fefbca43

diff --git a/dev-java/netbeans-java/netbeans-java-9999_p20151201.ebuild b/dev-java/netbeans-java/netbeans-java-9999_p20151201.ebuild
new file mode 100644
index 0000000..33908ff
--- /dev/null
+++ b/dev-java/netbeans-java/netbeans-java-9999_p20151201.ebuild
@@ -0,0 +1,274 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="4"
+inherit eutils java-pkg-2 java-ant-2
+
+# Maven cannot be unbundled because it depends on exact maven version and exact content of maven directory
+
+DESCRIPTION="Netbeans Java Cluster"
+HOMEPAGE="http://netbeans.org/projects/java"
+SLOT="9999"
+SOURCE_URL="http://bits.netbeans.org/download/trunk/nightly/2015-12-01_00-02-04/zip/netbeans-trunk-nightly-201512010002-src.zip"
+# jarjar-1.4 contains also asm libraries
+SRC_URI="${SOURCE_URL}
+	http://dev.gentoo.org/~fordfrog/distfiles/netbeans-9999-r14-build.xml.patch.bz2
+	http://hg.netbeans.org/binaries/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/F8D77F809FE7E36AF1B27D0F6274890595B3C112-nb-javac-api.jar
+	http://hg.netbeans.org/binaries/8ABB2A1D1C9CBC72391C5680C61F92B03A3A6405-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:0[java]
+	dev-java/c3p0:0
+	dev-java/commons-cli:1
+	dev-java/commons-collections:0
+	dev-java/dom4j:1
+	dev-java/fastinfoset:0
+	dev-java/glassfish-transaction-api:0
+	dev-java/javassist:3
+	dev-java/jboss-logging:0
+	dev-java/jsr67:0
+	dev-java/jsr181:0
+	dev-java/jtidy:0
+	dev-java/log4j:0
+	dev-java/mimepull:0
+	dev-java/oracle-javamail:0
+	dev-java/saaj:0
+	dev-java/slf4j-api:0
+	dev-java/slf4j-log4j12:0
+	dev-java/slf4j-simple:0
+	dev-java/stax-ex:0
+	dev-java/stax2-api:0
+	dev-java/xmlstreambuffer:0"
+
+INSTALL_DIR="/usr/share/${PN}-${SLOT}"
+
+EANT_BUILD_XML="nbbuild/build.xml"
+EANT_BUILD_TARGET="rebuild-cluster"
+EANT_EXTRA_ARGS="-Drebuild.cluster.name=nb.cluster.java -Dext.binaries.downloaded=true -Dpermit.jdk8.builds=true"
+EANT_FILTER_COMPILER="ecj-3.3 ecj-3.4 ecj-3.5 ecj-3.6 ecj-3.7"
+JAVA_PKG_BSFIX="off"
+
+pkg_pretend() {
+	local die_now=""
+
+	if [ -d /usr/share/netbeans-java-${SLOT}/ant ]; then
+		if [ -n "$(find /usr/share/netbeans-java-${SLOT}/ant -type l)" ]; then
+			eerror "Please remove following symlinks and run emerge again:"
+			find /usr/share/netbeans-java-${SLOT}/ant -type l
+			die_now="1"
+		fi
+	fi
+
+	if [ -L /usr/share/netbeans-java-${SLOT}/maven ]; then
+		if [ -z "${die_now}" ]; then
+			eerror "Please remove following symlinks and run emerge again:"
+		fi
+
+		echo "/usr/share/netbeans-java-${SLOT}/maven"
+		die_now="1"
+	fi
+
+	if [ -n "${die_now}" ]; then
+		die "Symlinks exist"
+	fi
+}
+
+src_unpack() {
+	unpack $(basename ${SOURCE_URL})
+
+	einfo "Deleting bundled jars..."
+	find -name "*.jar" -type f -delete
+
+	unpack netbeans-9999-r14-build.xml.patch.bz2
+
+	pushd "${S}" >/dev/null || die
+	ln -s "${DISTDIR}"/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}"/F8D77F809FE7E36AF1B27D0F6274890595B3C112-nb-javac-api.jar libs.javacapi/external/nb-javac-api.jar || die
+	ln -s "${DISTDIR}"/8ABB2A1D1C9CBC72391C5680C61F92B03A3A6405-nb-javac-impl.jar libs.javacimpl/external/nb-javac-impl.jar || die
+	ln -s "${DISTDIR}"/CA4F4DB7B6C140E36B0001873BEEA7C26489D2A1-netbeans-cos.jar maven/external/netbeans-cos.jar || die
+	ln -s "${DISTDIR}"/29AF1D338CBB76290D1A96F5A6610F1E8C319AE5-org.eclipse.persistence.jpa.jpql_2.5.2.v20140319-9ad6abd.jar j2ee.eclipselink/external/org.eclipse.persistence.jpa.jpql_2.5.2.v20140319-9ad6abd.jar || die
+	ln -s "${DISTDIR}"/3CE04BDB48FE315736B1DCE407362C57DFAE286D-org.eclipse.persistence.jpa.modelgen_2.5.2.v20140319-9ad6abd.jar j2ee.eclipselinkmodelgen/external/org.eclipse.persistence.jpa.modelgen_2.5.2.v20140319-9ad6abd.jar || die
+	ln -s "${DISTDIR}"/7666B94C1004AFFFE88E5328BD70EBA6F60125F4-spring-framework-3.2.7.RELEASE.zip libs.springframework/external/spring-framework-3.2.7.RELEASE.zip || die
+	ln -s "${DISTDIR}"/91B55CDAC59BC4DDDF0AF9A54EAAE4304EDEF266-spring-framework-4.0.1.RELEASE.zip libs.springframework/external/spring-framework-4.0.1.RELEASE.zip || die
+	ln -s "${DISTDIR}"/B572007A07023ADF7ECBDB7FC2D572BF1BDED20D-wagon-http-2.8-shaded.jar maven.embedder/external/wagon-http-2.8-shaded.jar || die
+	popd >/dev/null || die
+}
+
+src_prepare() {
+	einfo "Deleting bundled class files..."
+	find -name "*.class" -type f | xargs rm -vf
+
+	epatch netbeans-9999-r14-build.xml.patch
+
+	# Support for custom patches
+	if [ -n "${NETBEANS9999_PATCHES_DIR}" -a -d "${NETBEANS9999_PATCHES_DIR}" ] ; then
+		local files=`find "${NETBEANS9999_PATCHES_DIR}" -type f`
+
+		if [ -n "${files}" ] ; then
+			einfo "Applying custom patches:"
+
+			for file in ${files} ; do
+				epatch "${file}"
+			done
+		fi
+	fi
+
+	einfo "Symlinking external libraries..."
+	java-pkg_jar-from --build-only --into javahelp/external javahelp jhall.jar jhall-2.0_05.jar
+	java-pkg_jar-from --into libs.cglib/external cglib-3 cglib.jar cglib-2.2.jar
+	java-pkg_jar-from --build-only --into libs.json_simple/external json-simple json-simple.jar json-simple-1.1.1.jar
+	java-pkg_jar-from --build-only --into libs.junit4/external junit-4 junit.jar junit-4.12.jar
+	java-pkg_jar-from --into maven.embedder/external jdom jdom.jar jdom-1.0.jar
+	java-pkg_jar-from --into o.jdesktop.beansbinding/external beansbinding beansbinding.jar beansbinding-1.2.1.jar
+
+	einfo "Linking in other clusters..."
+	mkdir "${S}"/nbbuild/netbeans || die
+	pushd "${S}"/nbbuild/netbeans >/dev/null || die
+
+	ln -s /usr/share/netbeans-platform-${SLOT} platform || die
+	cat /usr/share/netbeans-platform-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+	touch nb.cluster.platform.built
+
+	ln -s /usr/share/netbeans-extide-${SLOT} extide || die
+	cat /usr/share/netbeans-extide-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+	touch nb.cluster.extide.built
+
+	ln -s /usr/share/netbeans-harness-${SLOT} harness || die
+	cat /usr/share/netbeans-harness-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+	touch nb.cluster.harness.built
+
+	ln -s /usr/share/netbeans-ide-${SLOT} ide || die
+	cat /usr/share/netbeans-ide-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+	touch nb.cluster.ide.built
+
+	ln -s /usr/share/netbeans-websvccommon-${SLOT} websvccommon || die
+	cat /usr/share/netbeans-websvccommon-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+	touch nb.cluster.websvccommon.built
+
+	popd >/dev/null || die
+
+	java-pkg-2_src_prepare
+}
+
+src_install() {
+	pushd nbbuild/netbeans/java >/dev/null || die
+
+	insinto ${INSTALL_DIR}
+	grep -E "/java$" ../moduleCluster.properties > "${D}"/${INSTALL_DIR}/moduleCluster.properties || die
+
+	doins -r *
+	chmod 755 "${D}"/${INSTALL_DIR}/maven/bin/mvn* || die
+	rm -fr "${D}"/${INSTALL_DIR}/maven/bin/*.bat || die
+
+	popd >/dev/null || die
+
+	local instdir=/${INSTALL_DIR}/maven/lib
+	pushd "${D}"/${instdir} >/dev/null || die
+	rm commons-cli-1.2.jar && dosym /usr/share/commons-cli-1/lib/commons-cli.jar ${instdir}/commons-cli-1.2.jar || die
+	popd >/dev/null || die
+
+	local instdir=/${INSTALL_DIR}/modules/ext
+	pushd "${D}"/${instdir} >/dev/null || die
+	rm AbsoluteLayout.jar  && dosym /usr/share/absolutelayout/lib/absolutelayout.jar ${instdir}/AbsoluteLayout.jar || die
+	rm beansbinding-1.2.1.jar && dosym /usr/share/beansbinding/lib/beansbinding.jar ${instdir}/beansbinding-1.2.1.jar || die
+	rm cglib-2.2.jar && dosym /usr/share/cglib-3/lib/cglib.jar ${instdir}/cglib-2.2.jar || die
+	popd >/dev/null || die
+
+	local instdir=${INSTALL_DIR}/modules/ext/hibernate4
+	pushd "${D}"/${instdir} >/dev/null || die
+	rm antlr-2.7.7.jar && dosym /usr/share/antlr/lib/antlr.jar ${instdir}/antlr-2.7.7.jar || die
+	rm c3p0-0.9.2.1.jar && dosym /usr/share/c3p0/lib/c3p0.jar ${instdir}/c3p0-0.9.2.1.jar || die
+	rm cglib-2.2.jar && dosym /usr/share/cglib-3/lib/cglib.jar ${instdir}/cglib-2.2.jar || die
+	rm commons-collections-3.2.1.jar && dosym /usr/share/commons-collections/lib/commons-collections.jar ${instdir}/commons-collections-3.2.1.jar || die
+	rm dom4j-1.6.1.jar && dosym /usr/share/dom4j-1/lib/dom4j.jar ${instdir}/dom4j-1.6.1.jar || die
+	rm javassist-3.18.1-GA.jar && dosym /usr/share/javassist-3/lib/javassist.jar ${instdir}/javassist-3.18.1-GA.jar || die
+	rm jboss-logging-3.1.3.GA.jar && dosym /usr/share/jboss-logging/lib/jboss-logging.jar ${instdir}/jboss-logging-3.1.3.GA.jar || die
+	rm jboss-transaction-api_1.2_spec-1.0.0.Final.jar && dosym /usr/share/glassfish-transaction-api/lib/jta.jar ${instdir}/jboss-transaction-api_1.2_spec-1.0.0.Final.jar || die
+	rm jtidy-r8-20060801.jar && dosym /usr/share/jtidy/lib/Tidy.jar ${instdir}/jtidy-r8-20060801.jar || die
+	rm log4j-1.2.12.jar && dosym /usr/share/log4j/lib/log4j.jar ${instdir}/log4j-1.2.12.jar || die
+	rm slf4j-api-1.6.1.jar && dosym /usr/share/slf4j-api/lib/slf4j-api.jar ${instdir}/slf4j-api-1.6.1.jar || die
+	rm slf4j-log4j12-1.6.1.jar && dosym /usr/share/slf4j-log4j12/lib/slf4j-log4j12.jar ${instdir}/slf4j-log4j12-1.6.1.jar || die
+	rm slf4j-simple-1.6.1.jar && dosym /usr/share/slf4j-simple/lib/slf4j-simple.jar ${instdir}/slf4j-simple-1.6.1.jar || die
+	popd >/dev/null || die
+
+	local instdir=/${INSTALL_DIR}/modules/ext/jaxws22
+	pushd "${D}"/${instdir} >/dev/null || die
+	rm FastInfoset.jar && dosym /usr/share/fastinfoset/lib/fastinfoset.jar ${instdir}/FastInfoset.jar || die
+	rm javax.mail_1.4.jar && dosym /usr/share/oracle-javamail/lib/mail.jar ${instdir}/javax.mail_1.4.jar || die
+	rm mimepull.jar && dosym /usr/share/mimepull/lib/mimepull.jar ${instdir}/mimepull.jar || die
+	rm saaj-impl.jar && dosym /usr/share/saaj/lib/saaj.jar ${instdir}/saaj-impl.jar || die
+	rm stax-ex.jar && dosym /usr/share/stax-ex/lib/stax-ex.jar ${instdir}/stax-ex.jar || die
+	rm stax2-api.jar && dosym /usr/share/stax2-api/lib/stax2-api.jar ${instdir}/stax2-api.jar || die
+	rm streambuffer.jar && dosym /usr/share/xmlstreambuffer/lib/xmlstreambuffer.jar ${instdir}/streambuffer.jar || die
+	popd >/dev/null || die
+
+	local instdir=${INSTALL_DIR}/modules/ext/jaxws22/api
+	pushd "${D}"/${instdir} >/dev/null || die
+	rm jsr181-api.jar && dosym /usr/share/jsr181/lib/jsr181.jar ${instdir}/jsr181-api.jar || die
+	rm saaj-api.jar && dosym /usr/share/jsr67/lib/jsr67.jar ${instdir}/saaj-api.jar || die
+	popd >/dev/null || die
+
+	local instdir=${INSTALL_DIR}/modules/ext/maven
+	pushd "${D}"/${instdir} >/dev/null || die
+	rm jdom-1.0.jar && dosym /usr/share/jdom/lib/jdom.jar ${instdir}/jdom-1.0.jar || die
+	popd >/dev/null || die
+
+	dosym ${INSTALL_DIR} /usr/share/netbeans-nb-${SLOT}/java
+}

diff --git a/dev-java/netbeans-javacard/Manifest b/dev-java/netbeans-javacard/Manifest
index 19ed0dd..73f43f3 100644
--- a/dev-java/netbeans-javacard/Manifest
+++ b/dev-java/netbeans-javacard/Manifest
@@ -37,6 +37,7 @@ DIST netbeans-trunk-nightly-201511270002-src.zip 209057113 SHA256 a5ae7083bc58b9
 DIST netbeans-trunk-nightly-201511280002-src.zip 209067071 SHA256 4302c5a2625fd2ce88690813a9a355aa431f013e71d72a43db4466aba0c1399e SHA512 6774f00a6dfd4fb717432e7c3fa0cb3edaefa60711bcbd1f18961d9d0d8181cbe7c251a1d5c5f4ee09465f43d109f2877ff8b3357f47550ea81459a71edbc35b WHIRLPOOL 71b5cf8f6c3b82cc6194ae015869c6b11bdfa5f6dbd2c5a86c97a5f7fa17fdd20212c37523f0b0d0c4b7660b81f1a4589998d67b53c09280fc81a798b003bc1b
 DIST netbeans-trunk-nightly-201511290002-src.zip 209067309 SHA256 a0d14ef896c7e7df15f6911ee1eaa3c4f123bf2ddbad14a1c5c4f33c60ddd072 SHA512 f3838e66544635306aa3ce8c49979fda8c9437be06905c1ad1fd7d375bea3fdffd21f5d75a2413a5961cc4a1b11fca8438983c1284652381fe6d0d3d45847385 WHIRLPOOL 1a008d95e63ea95db57f049da7cb5871ea8d03c59501261b225c0e5012b144f3b37569555e006cbf7140c0fefd16f2c722df121897d0e7a40ead8171995e73e2
 DIST netbeans-trunk-nightly-201511300002-src.zip 209067309 SHA256 2cac888b1ddd5c95623942d0d02833d98d5d171b272d4d6287a76e7630b48469 SHA512 2b8b86325d6a97eb8dfdbe9b6960aa9658d6c30c1edd576bf8b77108fe26c4ce5e8d152e588e4cd9075b04ed671a7bcc8797f1cefbdf47e62c56bc4d7ea61d5e WHIRLPOOL a7d0ab312bb191a202746ad5c139681a9dab0f0bdc4ada1b34f468d330059050e26f875d3fc7eb62eda46f39c7118d495f9f94564100bad9ae3e0b27bf9896b2
+DIST netbeans-trunk-nightly-201512010002-src.zip 209149379 SHA256 9030cb0fd9a50bd2ba418c1b165215d3ee14eb1291b3008003cf638347862411 SHA512 04ace118a7a66b84c92630c4a567d6ad9181638e8eaa9bf64fd225915b8b1c47f81cb6beeb0d26a916a8bfa735c4eb464d68a43b1c72f447c06b518f43983b07 WHIRLPOOL a7ebbb6a7325851ccbe448deb44b3ac615a469f6c06a250265d78f88dc8708da28fd3d5ed5a18acaa3f7ca4223b8be6c9be35350d0605aa48a5055e710ec5d04
 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_p20151020.ebuild 4976 SHA256 3fa86c840916b7cdbdad3ca01c01fc90d92d83e48570872e597fb1e195baa738 SHA512 198643bd7c1e2d724d51c03399456cb52aa976351acb9ae40da5fd6b87ebeb5b4790e939227e5e885f0422a5d53162258480d471fd8c00d698ce52838ca3f859 WHIRLPOOL d733b45a36ef3cedb5c8327b5a8b89bf76270f4347d51a702ac869687f24a65dfb85a4388e00aa81aebd04397ec8e555a2e9abed08c32f276fd8c5ae3e2cc8f9
@@ -70,4 +71,5 @@ EBUILD netbeans-javacard-9999_p20151127.ebuild 4976 SHA256 d9b295fd60cdb6cc2c363
 EBUILD netbeans-javacard-9999_p20151128.ebuild 4976 SHA256 59fb7c590c88d458a53f6eb1f0b1563e789695b0e8d58e87f170415517c0537c SHA512 c7f7598dbf1a4d5c6cc52a8ef068ddc07837a4f6d254fde9f0ae78016b90c58d59a352e98fa67632b74316b5be36a8136c6f9877429396ef3dfa89bf60749d52 WHIRLPOOL e021cefcf49006512392cd6111969b01af5c63df55184c1173e41796d58d2a9c87d6a35cf5d6c7447a8396b68d507cc83fe0ca623bed0fd63c115e28ba698633
 EBUILD netbeans-javacard-9999_p20151129.ebuild 4976 SHA256 47963d724f1bcbc85c2eeef606f6832cdf326b549567785909e3bc187395a4f9 SHA512 1803b1ba1332e636e87564efc2714759498b14b2a28f2134e5051d61d9de874218be56304820bd6a921be470f32b54b40e69c48544d0ec4d464044d94d12436c WHIRLPOOL f403d460bce266803eef81db85acfd0f0507990f6f07872ed95fbc4f3fe80d7baeaebbf9c12f0d20d2ec231a8f8cb421f66d341a05c7a09a54610b80a8225748
 EBUILD netbeans-javacard-9999_p20151130.ebuild 4976 SHA256 1a3e3e4b0d563ecb868aa39ad27baac8f8bdfa9cb2fe8f812943e4d6c6d2e4e2 SHA512 1ef0d01cad6ae44ac4284d400f3e80d5c9371d7c29195614c7719f42ef656b3d30e4ab8a99b49cd0267a93929721d6653138e81920851de24612bf114434b068 WHIRLPOOL a945fe2098fdab6ba52f8593ebdfa188ded811434eac5687bb245668c8bc0dab8686e6d53fe99146af4863c9925f07048ff79afe232c9c573ae590991746a906
+EBUILD netbeans-javacard-9999_p20151201.ebuild 4976 SHA256 7d09384ad6388668ae67eb6dad5e6bcc649a4f2dcdeae835f8928d7a3d3856d0 SHA512 c6cb3899dbcb80f14415451f288ccade4c62e9c5264e707691cd571502a3c3d5013a08cf587f2c8db572af7568087c437896b534d020547116002a1d5c8564d2 WHIRLPOOL 9e1c968c47c058e4e712c201c1c90d9d1945f80f3563468c7f5eba7ecf31c11ba0a603d1ad6f3b2594277d2bafced95834b24eb6843a701ff95e8f08cb16387c
 MISC metadata.xml 251 SHA256 5a4ff53a9862390a48d45c79be24086646e7a6ff0c5bdf0fcb799d0871299003 SHA512 04153cbd9776ad56a94d6a47d043df15d082d8888df8658f18d0d4b659c6c0526ab3a9b22ccbe2471091bf2d8165f224854bc99c51f3664aaf350ccb93532a7c WHIRLPOOL 2ee8a646c6e23bc46c72cac0ecb5cfe43720ec42404ddaeed8ab1b59d139b3d5c1a94764de847f979da978c001c9f02f709d663a68eeea64d19e88f1fefbca43

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

diff --git a/dev-java/netbeans-javadoc/Manifest b/dev-java/netbeans-javadoc/Manifest
index 63019c5..cb0b2bf 100644
--- a/dev-java/netbeans-javadoc/Manifest
+++ b/dev-java/netbeans-javadoc/Manifest
@@ -35,6 +35,7 @@ DIST netbeans-trunk-nightly-201511270002-src.zip 209057113 SHA256 a5ae7083bc58b9
 DIST netbeans-trunk-nightly-201511280002-src.zip 209067071 SHA256 4302c5a2625fd2ce88690813a9a355aa431f013e71d72a43db4466aba0c1399e SHA512 6774f00a6dfd4fb717432e7c3fa0cb3edaefa60711bcbd1f18961d9d0d8181cbe7c251a1d5c5f4ee09465f43d109f2877ff8b3357f47550ea81459a71edbc35b WHIRLPOOL 71b5cf8f6c3b82cc6194ae015869c6b11bdfa5f6dbd2c5a86c97a5f7fa17fdd20212c37523f0b0d0c4b7660b81f1a4589998d67b53c09280fc81a798b003bc1b
 DIST netbeans-trunk-nightly-201511290002-src.zip 209067309 SHA256 a0d14ef896c7e7df15f6911ee1eaa3c4f123bf2ddbad14a1c5c4f33c60ddd072 SHA512 f3838e66544635306aa3ce8c49979fda8c9437be06905c1ad1fd7d375bea3fdffd21f5d75a2413a5961cc4a1b11fca8438983c1284652381fe6d0d3d45847385 WHIRLPOOL 1a008d95e63ea95db57f049da7cb5871ea8d03c59501261b225c0e5012b144f3b37569555e006cbf7140c0fefd16f2c722df121897d0e7a40ead8171995e73e2
 DIST netbeans-trunk-nightly-201511300002-src.zip 209067309 SHA256 2cac888b1ddd5c95623942d0d02833d98d5d171b272d4d6287a76e7630b48469 SHA512 2b8b86325d6a97eb8dfdbe9b6960aa9658d6c30c1edd576bf8b77108fe26c4ce5e8d152e588e4cd9075b04ed671a7bcc8797f1cefbdf47e62c56bc4d7ea61d5e WHIRLPOOL a7d0ab312bb191a202746ad5c139681a9dab0f0bdc4ada1b34f468d330059050e26f875d3fc7eb62eda46f39c7118d495f9f94564100bad9ae3e0b27bf9896b2
+DIST netbeans-trunk-nightly-201512010002-src.zip 209149379 SHA256 9030cb0fd9a50bd2ba418c1b165215d3ee14eb1291b3008003cf638347862411 SHA512 04ace118a7a66b84c92630c4a567d6ad9181638e8eaa9bf64fd225915b8b1c47f81cb6beeb0d26a916a8bfa735c4eb464d68a43b1c72f447c06b518f43983b07 WHIRLPOOL a7ebbb6a7325851ccbe448deb44b3ac615a469f6c06a250265d78f88dc8708da28fd3d5ed5a18acaa3f7ca4223b8be6c9be35350d0605aa48a5055e710ec5d04
 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_p20151020.ebuild 6228 SHA256 dc223ff5c029585a18f5e15773ad43b6ee99773eaf61133e915d638b4b80a432 SHA512 3a4fc7a669aefec1454c261ec6d151ecfb47ff4615029619ba9817c284a6acd9c0444da9113d9bc494b8722a85034b102307797936886c0c9817ef87565eb903 WHIRLPOOL 1741f79478c96b3aec92750444759bca60a84914c64bdf8cd6b28a0c4d0afa33391df02c31da9337d2e52ab81f5f563b44da330c18d265b8f5e7e0e167f338e3
@@ -68,4 +69,5 @@ EBUILD netbeans-javadoc-9999_p20151127.ebuild 6293 SHA256 728925e637805d7d328624
 EBUILD netbeans-javadoc-9999_p20151128.ebuild 6293 SHA256 10e3e18d477421bbb576add2cb177b1ec30aada6c238dab06eeb392b37007fa8 SHA512 309af6eded7735afcb9cf61f7a1862d6bd74d9d26b7f178423afae5d653475e7b419bedbff18fea58c8339bb48bfce90dd0b111fdf2f2ecf177726c5853f6d14 WHIRLPOOL 76de253d6f3baa7357412667e987af03ce5008489be207fd5a2946c39b192eebc14fb15ef0767633d6c5b607f4b15d7f88e35ddd2c39e625b33ee52b2264fa41
 EBUILD netbeans-javadoc-9999_p20151129.ebuild 6293 SHA256 d59e8cc06575d143b820cbcaa0af77cf812e0df9cb1a9dc0a5eb9a3756e965de SHA512 f612699c7de5864da73bbec77061d25a45cafdcd087773da15ea2b2390e635e3599ad2d8a981d0046d7413630be84625bc4cd48ec4ff8eb636b162d5e540d013 WHIRLPOOL 13e5c3da19910449c7e1ea434ed66c7cc5c3175ebf44aa15d7c9224639b07f8914702ea7102dd3fbd152d09da1379fac7998fafd853a223052344b1e5920af66
 EBUILD netbeans-javadoc-9999_p20151130.ebuild 6293 SHA256 4d13783b57b430c3d1c6c6675bce48ab4d1ee0b572093fdf16ab65a04610ee99 SHA512 0e3494698407878065a3663dc8d9ce951e0007462ec27d384bdda77ad05c57b8aad2ec87f2980bcff7279b2ccc73e15286761ed66fa78ba53a2d200ebf17de3c WHIRLPOOL 189fb6283567ffab46d059831b49217f7ec509b0c6f8d1eef5c7e0d28428eba8f776fc0475d1d7813c4f2f0a5fd59107d3af9641c7bf5ac165cae33a10a36bc6
+EBUILD netbeans-javadoc-9999_p20151201.ebuild 6293 SHA256 ced18dfea94e8b276a895ab80414a7d6ddc163c5a4cce6ace01408a2dfb4630d SHA512 1533cb3de82c355657c1f9abbcd610c9205452e437579338b7855b2a370917b3c2b2084db71bde792e8b2639325eb6d9b6c31ac62cd3eff92005419f50b490af WHIRLPOOL ec87950a179bd15eb80e672f2ccac89cd54d3716267b64723d7abe1b032c280e8c04be698e80245e3dafe5f0938079ef6108e788fd5f44922aa4f79169f11be6
 MISC metadata.xml 251 SHA256 5a4ff53a9862390a48d45c79be24086646e7a6ff0c5bdf0fcb799d0871299003 SHA512 04153cbd9776ad56a94d6a47d043df15d082d8888df8658f18d0d4b659c6c0526ab3a9b22ccbe2471091bf2d8165f224854bc99c51f3664aaf350ccb93532a7c WHIRLPOOL 2ee8a646c6e23bc46c72cac0ecb5cfe43720ec42404ddaeed8ab1b59d139b3d5c1a94764de847f979da978c001c9f02f709d663a68eeea64d19e88f1fefbca43

diff --git a/dev-java/netbeans-javadoc/netbeans-javadoc-9999_p20151201.ebuild b/dev-java/netbeans-javadoc/netbeans-javadoc-9999_p20151201.ebuild
new file mode 100644
index 0000000..e3203da
--- /dev/null
+++ b/dev-java/netbeans-javadoc/netbeans-javadoc-9999_p20151201.ebuild
@@ -0,0 +1,168 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="4"
+inherit eutils java-pkg-2 java-ant-2
+
+DESCRIPTION="Netbeans JavaDocs"
+HOMEPAGE="http://netbeans.org/"
+SLOT="9999"
+SOURCE_URL="http://bits.netbeans.org/download/trunk/nightly/2015-12-01_00-02-04/zip/netbeans-trunk-nightly-201512010002-src.zip"
+SRC_URI="${SOURCE_URL}
+	http://dev.gentoo.org/~fordfrog/distfiles/netbeans-9999-r14-build.xml.patch.bz2
+	http://hg.netbeans.org/binaries/22CB933E3A1450B092C45785C187837E97523F5C-ant-libs-1.9.4.zip"
+LICENSE="|| ( CDDL GPL-2-with-linking-exception )"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+S="${WORKDIR}"
+
+# oracle-jdk-bin is needed because 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-r14-build.xml.patch.bz2
+
+	pushd "${S}" >/dev/null || die
+	ln -s "${DISTDIR}"/22CB933E3A1450B092C45785C187837E97523F5C-ant-libs-1.9.4.zip o.apache.tools.ant.module/external/ant-libs-1.9.4.zip || die
+	popd >/dev/null || die
+}
+
+src_prepare() {
+	einfo "Deleting bundled class files..."
+	find -name "*.class" -type f | xargs rm -vf
+
+	epatch netbeans-9999-r14-build.xml.patch
+
+	# Support for custom patches
+	if [ -n "${NETBEANS9999_PATCHES_DIR}" -a -d "${NETBEANS9999_PATCHES_DIR}" ] ; then
+		local files=`find "${NETBEANS9999_PATCHES_DIR}" -type f`
+
+		if [ -n "${files}" ] ; then
+			einfo "Applying custom patches:"
+
+			for file in ${files} ; do
+				epatch "${file}"
+			done
+		fi
+	fi
+
+	einfo "Symlinking external libraries..."
+	java-pkg_jar-from --build-only --into javahelp/external javahelp jhall.jar jhall-2.0_05.jar
+	java-pkg_jar-from --build-only --into libs.junit4/external junit-4 junit.jar junit-4.12.jar
+
+	einfo "Linking in other clusters..."
+	mkdir "${S}"/nbbuild/netbeans || die
+	pushd "${S}"/nbbuild/netbeans >/dev/null || die
+
+	ln -s /usr/share/netbeans-apisupport-${SLOT} apisupport || die
+	cat /usr/share/netbeans-apisupport-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+	touch nb.cluster.apisupport.built
+
+	ln -s /usr/share/netbeans-cnd-${SLOT} cnd || die
+	cat /usr/share/netbeans-cnd-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+	touch nb.cluster.cnd.built
+
+	ln -s /usr/share/netbeans-dlight-${SLOT} dlight || die
+	cat /usr/share/netbeans-dlight-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+	touch nb.cluster.dlight.built
+
+	ln -s /usr/share/netbeans-enterprise-${SLOT} enterprise || die
+	cat /usr/share/netbeans-enterprise-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+	touch nb.cluster.enterprise.built
+
+	ln -s /usr/share/netbeans-ergonomics-${SLOT} ergonomics || die
+	cat /usr/share/netbeans-ergonomics-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+	touch nb.cluster.ergonomics.built
+
+	ln -s /usr/share/netbeans-extide-${SLOT} extide || die
+	cat /usr/share/netbeans-extide-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+	touch nb.cluster.extide.built
+
+	ln -s /usr/share/netbeans-groovy-${SLOT} groovy || die
+	cat /usr/share/netbeans-groovy-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+	touch nb.cluster.groovy.built
+
+	ln -s /usr/share/netbeans-harness-${SLOT} harness || die
+	cat /usr/share/netbeans-harness-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+	touch nb.cluster.harness.built
+
+	ln -s /usr/share/netbeans-ide-${SLOT} ide || die
+	cat /usr/share/netbeans-ide-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+	touch nb.cluster.ide.built
+
+	ln -s /usr/share/netbeans-java-${SLOT} java || die
+	cat /usr/share/netbeans-java-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+	touch nb.cluster.java.built
+
+	ln -s /usr/share/netbeans-javacard-${SLOT} javacard || die
+	cat /usr/share/netbeans-javacard-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+	touch nb.cluster.javacard.built
+
+	ln -s /usr/share/netbeans-mobility-${SLOT} mobility || die
+	cat /usr/share/netbeans-mobility-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+	touch nb.cluster.mobility.built
+
+	ln -s /usr/share/netbeans-nb-${SLOT}/nb nb || die
+	cat /usr/share/netbeans-nb-${SLOT}/nb/moduleCluster.properties >> moduleCluster.properties || die
+	touch nb.cluster.nb.built
+
+	ln -s /usr/share/netbeans-php-${SLOT} php || die
+	cat /usr/share/netbeans-php-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+	touch nb.cluster.php.built
+
+	ln -s /usr/share/netbeans-platform-${SLOT} platform || die
+	cat /usr/share/netbeans-platform-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+	touch nb.cluster.platform.built
+
+	ln -s /usr/share/netbeans-profiler-${SLOT} profiler || die
+	cat /usr/share/netbeans-profiler-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+	touch nb.cluster.profiler.built
+
+	ln -s /usr/share/netbeans-websvccommon-${SLOT} websvccommon || die
+	cat /usr/share/netbeans-websvccommon-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+	touch nb.cluster.websvccommon.built
+
+	java-pkg-2_src_prepare
+}
+
+src_compile() {
+	eant -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 3944bdb..97ca720 100644
--- a/dev-java/netbeans-javafx/Manifest
+++ b/dev-java/netbeans-javafx/Manifest
@@ -5,6 +5,7 @@ DIST A806D99716C5E9441BFD8B401176FDDEFC673022-bindex-2.2.jar 109823 SHA256 18050
 DIST B2EB2006BCDB022420BDB4C2D596564539C65699-nb-javac-api.jar 173819 SHA256 4f2dbc36ec77519df339846cf5333e874d6f147f5d46ccdfabb18af34ee3bd5b SHA512 ccd48f9fe445b669763428dace1a02d5820a33d872c952d3a74608f868ca225c017999ae15857ed544799d467068b759d216121ba79d3288f323aa2cffb95fa8 WHIRLPOOL 02e8556df81839b0b90c912b9e22c22c9f10c54ee0aabda4768eaf6956f7e3e29c9b24a46e20bb264f2ea186c1642ec7baeb375b2a8951737543ac16e73f9260
 DIST D06C8980C9025183C044202419EA29E69FBD4B99-jemmy-2.3.1.1-doc.zip 1647417 SHA256 8c6fa603283582893aed25c247a4748eab38f3e6ce9c59f31b2bb8f3f217a317 SHA512 ffad7d45643015d178cdb1b5bb075f0232470f5f7b82acd87d3dbf88e2034aed04fa9fadadbf7831d3c57fe0c4bc9684d841aebaa8a99ba1d6c1f6cb13f80359 WHIRLPOOL c4df551c83984a2b5cfbe60363ff4d9de2b88f87ed4dcf9b8b91615c62cfe04274736ca29186b8541bc11b1cda8c79ddfd07f3ebcfd146664d9f1c46954696ea
 DIST D325D3913CBC0F9A8D73A466FABB98EDEEC014AB-jemmy-2.3.1.1.jar 1713398 SHA256 5ed65a118b90400886ff4debb29a6e2f82a440bd18e7045c8653d5cb3178616b SHA512 66d1435d2214c7259a4a683bbc3596a11bc99568081c214281a635fc0d5af10bbbddf5efbd040169e0e077abc25a4cb3f790530ce2e514270cdf51e9c916d065 WHIRLPOOL 50d3a6534a31b6d8c6c62d580f4fc56f4df52e79f3acf7297ab7deff87f0b7d4a436cd97706ff9fba24aea797a3efb60d501f4f734f7c607b0cbff4c7e9899bc
+DIST F8D77F809FE7E36AF1B27D0F6274890595B3C112-nb-javac-api.jar 187821 SHA256 ff69a0b040370704f2b2539157672667363ca205eb18f30af1b1c48d247e7b17 SHA512 309ad2ea04fc105cf885bee9788b24e9e146c6a4385f74a343a5f5c1cf9afa06328a556d766041dbf338d0f4d18db440d77f1d45da6ab805a72d814d1d05e334 WHIRLPOOL cc2e86e0262477fc4223047c9054e5a62cb690440b0540c6550ea551b2c0ad740b7db224d01f0e1d6f8f89907dc10744c81e9eec99f730717e10d06da45e46ea
 DIST netbeans-8.0.2-201411181905-src.zip 196585461 SHA256 581f80d3c2e8d87a0f007dd3f358ce0534a0bb2e4b3312cd6c8c7263713bc530 SHA512 9533de5b3c45e4a5b025213dd5602344e16d024e0cdb013f207ac3c7a9d8e63da19279f97910ad136777d75780c620224953f2974070d5c9833d1d6ef3fd427c WHIRLPOOL 2e45e83309743df167ddd1d58068848166d01ef6d9eec99ddf72b9ba7664cb182a04d6420ab03a9270842b3cd9a16a161c1eebb66953ef09158d8d521fb96516
 DIST netbeans-8.0.2-build.xml.patch.bz2 2678 SHA256 cf120f7fd8b4ad40e9abdcb09e7763fd93b4acef04ff0365e18f178706ea83bb SHA512 b61adf29bcb139207241c68513724f352420078583ca5e6d7856a4dd335ad36b7d05311eb6e14ff1c568aaf090de4ca083c32f6db1dec0b6f50d66a388bbedf7 WHIRLPOOL fb4d63329aa450a1b387fa45b59fa3c18d1a1ca8ecf9443111a3056d409a6d928d15dae275e9c564558f4b2abd54cc0f8db2df653ac432d9f58f8ef4dd747dff
 DIST netbeans-8.1-201510222201-src.zip 208692973 SHA256 e8dd9b73304bc7e546150629f7555624b405e8a7af2cd5d616e7a91a0655f463 SHA512 c3ed9e8c9444b1685e3ed7e1a2525d8be43953994aebed962d39f8eae35b6ab0dcab0093b7eeb287e3c74e0620ceded1956ef93205837bb7749db49f53c1c285 WHIRLPOOL 7ff7c3441dbc8f1ebd6f5441c8371ef0ef392f45eef65e06efec3201f417e228fb32879df83ec23ae61898840eadcde43caa66d54182bf3aae2f44c683916268
@@ -41,6 +42,7 @@ DIST netbeans-trunk-nightly-201511270002-src.zip 209057113 SHA256 a5ae7083bc58b9
 DIST netbeans-trunk-nightly-201511280002-src.zip 209067071 SHA256 4302c5a2625fd2ce88690813a9a355aa431f013e71d72a43db4466aba0c1399e SHA512 6774f00a6dfd4fb717432e7c3fa0cb3edaefa60711bcbd1f18961d9d0d8181cbe7c251a1d5c5f4ee09465f43d109f2877ff8b3357f47550ea81459a71edbc35b WHIRLPOOL 71b5cf8f6c3b82cc6194ae015869c6b11bdfa5f6dbd2c5a86c97a5f7fa17fdd20212c37523f0b0d0c4b7660b81f1a4589998d67b53c09280fc81a798b003bc1b
 DIST netbeans-trunk-nightly-201511290002-src.zip 209067309 SHA256 a0d14ef896c7e7df15f6911ee1eaa3c4f123bf2ddbad14a1c5c4f33c60ddd072 SHA512 f3838e66544635306aa3ce8c49979fda8c9437be06905c1ad1fd7d375bea3fdffd21f5d75a2413a5961cc4a1b11fca8438983c1284652381fe6d0d3d45847385 WHIRLPOOL 1a008d95e63ea95db57f049da7cb5871ea8d03c59501261b225c0e5012b144f3b37569555e006cbf7140c0fefd16f2c722df121897d0e7a40ead8171995e73e2
 DIST netbeans-trunk-nightly-201511300002-src.zip 209067309 SHA256 2cac888b1ddd5c95623942d0d02833d98d5d171b272d4d6287a76e7630b48469 SHA512 2b8b86325d6a97eb8dfdbe9b6960aa9658d6c30c1edd576bf8b77108fe26c4ce5e8d152e588e4cd9075b04ed671a7bcc8797f1cefbdf47e62c56bc4d7ea61d5e WHIRLPOOL a7d0ab312bb191a202746ad5c139681a9dab0f0bdc4ada1b34f468d330059050e26f875d3fc7eb62eda46f39c7118d495f9f94564100bad9ae3e0b27bf9896b2
+DIST netbeans-trunk-nightly-201512010002-src.zip 209149379 SHA256 9030cb0fd9a50bd2ba418c1b165215d3ee14eb1291b3008003cf638347862411 SHA512 04ace118a7a66b84c92630c4a567d6ad9181638e8eaa9bf64fd225915b8b1c47f81cb6beeb0d26a916a8bfa735c4eb464d68a43b1c72f447c06b518f43983b07 WHIRLPOOL a7ebbb6a7325851ccbe448deb44b3ac615a469f6c06a250265d78f88dc8708da28fd3d5ed5a18acaa3f7ca4223b8be6c9be35350d0605aa48a5055e710ec5d04
 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_p20151020.ebuild 4717 SHA256 9283235fe5544df58cb5962dced7108a333d8ba68124cabf6399a08435557670 SHA512 68f866b745bcbca8090a92896c0b5c29812eee41fe05a41c3f962f76a7026b98c6ca18ee441d394af0b11aab59a14bc9be50f5b4f87d257784ad3f2397e44dd5 WHIRLPOOL c35b1b34da5a61f3984a89dd10caa875c4bbe117964565de4c05a2417253c4fe311c5fee7c16f2c146004844007e0d90ecef359858cd89c3b9ec4357fba8d4cf
@@ -74,4 +76,5 @@ EBUILD netbeans-javafx-9999_p20151127.ebuild 4717 SHA256 86a8cd3cdb6c8af1ba49eb3
 EBUILD netbeans-javafx-9999_p20151128.ebuild 4717 SHA256 6ad3aae811a1bea0d2d981398a809e2de1872bcb7f19c0cd553ceab810d4b9ea SHA512 12806a6f75c791fe28a13cacb700262292700db3f5a64fd323aee1b7720797b2028fe5fc15c5e12be096c1fa4929bc617350abe148aaaa8154047f3ac2b5b35a WHIRLPOOL 478b0e0471f588ffa3df4eccb2c2f2d32c582cc6d0c32023bbb2ed8f4770f6fe8bcb3705f3abfc662997ec1660a2c6f810d430f5f8313e094dc422970f940370
 EBUILD netbeans-javafx-9999_p20151129.ebuild 4717 SHA256 a7e0082e43909a9efff4cc8ee0cbf2d8a8d4ac4c8c64005772d83645df8ca6c4 SHA512 ad114fddee73423bb9c08e9263c2060cf867a2bea9e2ac206f8435dbc0fca59ac544520c52bafb35d742edc9806c0750c99d26c13966ff2290e446b22ff09894 WHIRLPOOL 91eb36f776a320d0b9deee3dbbd6de39eb8aa500ee726a537a1d54c48b267209c00e88312e0075b0fafcb9654193dec5e7311e2cee443150ea4d3ff3e543419e
 EBUILD netbeans-javafx-9999_p20151130.ebuild 4717 SHA256 5abdc1f4be31a7b638f2f374ba95a219605c592dee3402dbbbc4dac8475b3f8e SHA512 89f10b3676e07f11801da253455ec3da8216992f9077dcb79f9a9227af3d3a7eddf77fc3a581988dfa85402830ba52f0f35eb02a9f87eee0611a47ba28a1ee07 WHIRLPOOL 710a6ab82d1ca4fb06a43552ac7a108e78a92fb230c6e7b3b44f5302543cd242237c64ea8d17bdd517c4e95c4671693e077cb496ec28f93801e395b8e928336c
+EBUILD netbeans-javafx-9999_p20151201.ebuild 4717 SHA256 130d96f932c38bdce3d6ee837ec72e624c8b2e4844df792e9368f5c79d8a2605 SHA512 a23e676cb43ac2f22ae7b54715623f1151e487dedb16ab0b1de607d9f9ca25094063ba5f1ed5abb0918f978cc589968683e7503af33c1dff3504b66f0bca086f WHIRLPOOL e22eec091dbfb2e19176fbcbcb09b207cdc173ca205af74134b27450c1173cd8c530cd137934a127a0b11605753e77a4e20819aea3a5bd18cef619422a08bc24
 MISC metadata.xml 251 SHA256 5a4ff53a9862390a48d45c79be24086646e7a6ff0c5bdf0fcb799d0871299003 SHA512 04153cbd9776ad56a94d6a47d043df15d082d8888df8658f18d0d4b659c6c0526ab3a9b22ccbe2471091bf2d8165f224854bc99c51f3664aaf350ccb93532a7c WHIRLPOOL 2ee8a646c6e23bc46c72cac0ecb5cfe43720ec42404ddaeed8ab1b59d139b3d5c1a94764de847f979da978c001c9f02f709d663a68eeea64d19e88f1fefbca43

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

diff --git a/dev-java/netbeans-mobility/Manifest b/dev-java/netbeans-mobility/Manifest
index 62273dd..70a5351 100644
--- a/dev-java/netbeans-mobility/Manifest
+++ b/dev-java/netbeans-mobility/Manifest
@@ -34,6 +34,7 @@ DIST netbeans-trunk-nightly-201511270002-src.zip 209057113 SHA256 a5ae7083bc58b9
 DIST netbeans-trunk-nightly-201511280002-src.zip 209067071 SHA256 4302c5a2625fd2ce88690813a9a355aa431f013e71d72a43db4466aba0c1399e SHA512 6774f00a6dfd4fb717432e7c3fa0cb3edaefa60711bcbd1f18961d9d0d8181cbe7c251a1d5c5f4ee09465f43d109f2877ff8b3357f47550ea81459a71edbc35b WHIRLPOOL 71b5cf8f6c3b82cc6194ae015869c6b11bdfa5f6dbd2c5a86c97a5f7fa17fdd20212c37523f0b0d0c4b7660b81f1a4589998d67b53c09280fc81a798b003bc1b
 DIST netbeans-trunk-nightly-201511290002-src.zip 209067309 SHA256 a0d14ef896c7e7df15f6911ee1eaa3c4f123bf2ddbad14a1c5c4f33c60ddd072 SHA512 f3838e66544635306aa3ce8c49979fda8c9437be06905c1ad1fd7d375bea3fdffd21f5d75a2413a5961cc4a1b11fca8438983c1284652381fe6d0d3d45847385 WHIRLPOOL 1a008d95e63ea95db57f049da7cb5871ea8d03c59501261b225c0e5012b144f3b37569555e006cbf7140c0fefd16f2c722df121897d0e7a40ead8171995e73e2
 DIST netbeans-trunk-nightly-201511300002-src.zip 209067309 SHA256 2cac888b1ddd5c95623942d0d02833d98d5d171b272d4d6287a76e7630b48469 SHA512 2b8b86325d6a97eb8dfdbe9b6960aa9658d6c30c1edd576bf8b77108fe26c4ce5e8d152e588e4cd9075b04ed671a7bcc8797f1cefbdf47e62c56bc4d7ea61d5e WHIRLPOOL a7d0ab312bb191a202746ad5c139681a9dab0f0bdc4ada1b34f468d330059050e26f875d3fc7eb62eda46f39c7118d495f9f94564100bad9ae3e0b27bf9896b2
+DIST netbeans-trunk-nightly-201512010002-src.zip 209149379 SHA256 9030cb0fd9a50bd2ba418c1b165215d3ee14eb1291b3008003cf638347862411 SHA512 04ace118a7a66b84c92630c4a567d6ad9181638e8eaa9bf64fd225915b8b1c47f81cb6beeb0d26a916a8bfa735c4eb464d68a43b1c72f447c06b518f43983b07 WHIRLPOOL a7ebbb6a7325851ccbe448deb44b3ac615a469f6c06a250265d78f88dc8708da28fd3d5ed5a18acaa3f7ca4223b8be6c9be35350d0605aa48a5055e710ec5d04
 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_p20151020.ebuild 4412 SHA256 1d8ef002e80070069c10a8f22e7f9ca36c3b42853cb5c703a8fce60f083d1323 SHA512 7034bc012801d98a05a011b2802d9afed49c382e120b6b09f4dfed83fa5f4a0c2532192ef3f436e6e579800f8302c4993f1c2892178f5959ad5fbda80f0c0aa7 WHIRLPOOL 503a6d3c20d7786ea062933e1dda16b596aa37f7744bbe40085981de931b6175b43589398e40e54ba9870073d3884a7315098766412e949cfe955497a575b549
@@ -67,4 +68,5 @@ EBUILD netbeans-mobility-9999_p20151127.ebuild 4412 SHA256 081361272459a9bccb0f5
 EBUILD netbeans-mobility-9999_p20151128.ebuild 4412 SHA256 23500c7ea64c821d370916b1add467cff4483066f57f6b84d2aebc8fd2360de1 SHA512 764e202b2a8b9cdd96f54a3cf93e74f2e48d83414d759e64543407401b063013d15c87f6b0a77aa3c9e9ed818a207743d57cf3fd8ac7585d2d3ab7145bee5fb9 WHIRLPOOL 2300e40760380877e9183863b518d6589eef2a0ea2f2da296eb4025391ec40f5c630cd66b51d59345e53e7131ca7394f36ce832ac799df9d9f0906e0de7ce0e0
 EBUILD netbeans-mobility-9999_p20151129.ebuild 4412 SHA256 f92f1f0e5c4b2a22ee4e2f80f79601b666f6934dc7ebb90f8eeddbfe0b82c5c5 SHA512 4d0ac8de6b52ba78c48032c6877eb3696a806f6ddf55bf72d07c22e06500e201b221a15c9cc33e37938c7acc9fd0a374204cf88972e6a000f278466654df83d7 WHIRLPOOL 10f609d57fa7a98220c660bb6d5b44c38120b708e74aab9b67fccc382233b0b7c1f7522f94c245357e897534b23083f9089c0ef6f9281259cf7f652e1fe30c11
 EBUILD netbeans-mobility-9999_p20151130.ebuild 4412 SHA256 66404974e402de23e06a795bfd4d746e98802b1a5c5c8d68220ff56e80a95a0c SHA512 ed3813d35fe644c49e53cbc2ff21f250a9ef57629a961755e0915c7ee5612fb326b9d9466afa140bb62e2eb0b16fb35e64281cecb31a3e2aba3748e505cbf2f5 WHIRLPOOL f373b2061c835ba56d3bc126336d625a32f847832f684a60ef40110779a23c6a2aa8eada860b4e2bf62c2e23e313cbc0fe3c21a1265cacd9e0d6dea0ad39829d
+EBUILD netbeans-mobility-9999_p20151201.ebuild 4412 SHA256 96ce6b8cb574783d257556e38e650ab5e34f5db25a51a63e47cae3e8349f7212 SHA512 9d0ad9ad7b41190dc7345eea281405b3d2b8708a31d9fefdb57481e04eaaa83c8661db1e5a8406e1c4e1b1b41f9130aa7a8f2de1f01f4fe1be7c8e218810277c WHIRLPOOL 35585461b4abdcefad6dea1332475731bf23e1680ce1c67c8b03613ee34323a261a97040ebab41490fb332ec3d72040033b68b47baedbc9c4bb934919f9ac4d8
 MISC metadata.xml 251 SHA256 5a4ff53a9862390a48d45c79be24086646e7a6ff0c5bdf0fcb799d0871299003 SHA512 04153cbd9776ad56a94d6a47d043df15d082d8888df8658f18d0d4b659c6c0526ab3a9b22ccbe2471091bf2d8165f224854bc99c51f3664aaf350ccb93532a7c WHIRLPOOL 2ee8a646c6e23bc46c72cac0ecb5cfe43720ec42404ddaeed8ab1b59d139b3d5c1a94764de847f979da978c001c9f02f709d663a68eeea64d19e88f1fefbca43

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

diff --git a/dev-java/netbeans-nb/Manifest b/dev-java/netbeans-nb/Manifest
index 98ccabe..fad19be 100644
--- a/dev-java/netbeans-nb/Manifest
+++ b/dev-java/netbeans-nb/Manifest
@@ -37,6 +37,7 @@ DIST netbeans-trunk-nightly-201511270002-src.zip 209057113 SHA256 a5ae7083bc58b9
 DIST netbeans-trunk-nightly-201511280002-src.zip 209067071 SHA256 4302c5a2625fd2ce88690813a9a355aa431f013e71d72a43db4466aba0c1399e SHA512 6774f00a6dfd4fb717432e7c3fa0cb3edaefa60711bcbd1f18961d9d0d8181cbe7c251a1d5c5f4ee09465f43d109f2877ff8b3357f47550ea81459a71edbc35b WHIRLPOOL 71b5cf8f6c3b82cc6194ae015869c6b11bdfa5f6dbd2c5a86c97a5f7fa17fdd20212c37523f0b0d0c4b7660b81f1a4589998d67b53c09280fc81a798b003bc1b
 DIST netbeans-trunk-nightly-201511290002-src.zip 209067309 SHA256 a0d14ef896c7e7df15f6911ee1eaa3c4f123bf2ddbad14a1c5c4f33c60ddd072 SHA512 f3838e66544635306aa3ce8c49979fda8c9437be06905c1ad1fd7d375bea3fdffd21f5d75a2413a5961cc4a1b11fca8438983c1284652381fe6d0d3d45847385 WHIRLPOOL 1a008d95e63ea95db57f049da7cb5871ea8d03c59501261b225c0e5012b144f3b37569555e006cbf7140c0fefd16f2c722df121897d0e7a40ead8171995e73e2
 DIST netbeans-trunk-nightly-201511300002-src.zip 209067309 SHA256 2cac888b1ddd5c95623942d0d02833d98d5d171b272d4d6287a76e7630b48469 SHA512 2b8b86325d6a97eb8dfdbe9b6960aa9658d6c30c1edd576bf8b77108fe26c4ce5e8d152e588e4cd9075b04ed671a7bcc8797f1cefbdf47e62c56bc4d7ea61d5e WHIRLPOOL a7d0ab312bb191a202746ad5c139681a9dab0f0bdc4ada1b34f468d330059050e26f875d3fc7eb62eda46f39c7118d495f9f94564100bad9ae3e0b27bf9896b2
+DIST netbeans-trunk-nightly-201512010002-src.zip 209149379 SHA256 9030cb0fd9a50bd2ba418c1b165215d3ee14eb1291b3008003cf638347862411 SHA512 04ace118a7a66b84c92630c4a567d6ad9181638e8eaa9bf64fd225915b8b1c47f81cb6beeb0d26a916a8bfa735c4eb464d68a43b1c72f447c06b518f43983b07 WHIRLPOOL a7ebbb6a7325851ccbe448deb44b3ac615a469f6c06a250265d78f88dc8708da28fd3d5ed5a18acaa3f7ca4223b8be6c9be35350d0605aa48a5055e710ec5d04
 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_p20151020.ebuild 4997 SHA256 9de1dc3e412e0221882d29d7c5fe185864b7cd18da96967de4c0548f8382c0b8 SHA512 e60354e81cd6278f54d71eecb07ad618cd8f9cc67e477bd4b4147ade941bb1316d39f05803dcd5e0ec559f075f2e1322909193bccc814722eeacdc5e074f3c33 WHIRLPOOL 04317326c50a78e843c281a4abd0e53cf1183fda10035a9ae3e120500a20b9a0a201ba990b184004635608a6fbccf6ef54a3ba0eb9fb3109b5c54a677405ed06
@@ -70,4 +71,5 @@ EBUILD netbeans-nb-9999_p20151127.ebuild 4111 SHA256 78d5dfd5d1ad824dc2c34b7eb91
 EBUILD netbeans-nb-9999_p20151128.ebuild 4111 SHA256 0396bb805bfd44538161aab96cbc3d162df5bb4cb71c2e1fe61bcf27a5eebe04 SHA512 ecc928b2f5d0833d9d6e8cec25467b66bc539c76c9f587b808fce0856431f92c23546d97c49a78a97cd2a7d931c77ccea30f6862a35bac7d38e8e711a5d0be5b WHIRLPOOL 59905eacf370f2cc6d27b9357fe37f2970b14d8cd4511f2b2494503b15d4d09515ef47123fa0d32d0f10dd92dc4976a7a6e2a12372e7aac97aa62f6d8052ee5e
 EBUILD netbeans-nb-9999_p20151129.ebuild 4111 SHA256 5fc10f1218346375e3cb3c36ba2b243ad15c098158988019cdd4cfde9fb45902 SHA512 4b3b6457ffe3202e86c559ababe63cfc1cdbc649143adc390dd5a6397611f0439c196dca9fe5ba19a17c68b98535cf34ef4e9e18134fcdfa36921caec6ad6d1a WHIRLPOOL 37c073e504c9647906d7efa43135e25b857c7994e2d12b0f505b76d2475d89abe9a7d59bf1fbba389c6e9b336b31cbbe631542ac8c0080061320788f177abd46
 EBUILD netbeans-nb-9999_p20151130.ebuild 4111 SHA256 93706074cf444768d2976fbfc1009e859f5bc0d8cf071e061301f04fe0d36638 SHA512 e54b4ad6ae4c536ec963427f85699b802f16e06fd4f1279e7f18dd7dfeb10ae782a89382655d0e9de3d64fe4f3d23bf42fba3a8f16144a18308270ebd7ef5b6e WHIRLPOOL fea23a41abedf29460f943c55bad3d38496ee27db29539428662e9e9c151c5ef66c9c58805984f4f8765c0a47b235ba41de5cb1054f96b58141d195eaeec4f51
+EBUILD netbeans-nb-9999_p20151201.ebuild 4111 SHA256 50b4e9ace3334c94b5175b93fdfb93e231926a4351ab36b266a777f8837590cb SHA512 42cc9713652e0dfbdcc0a96f676d297638884dfc783e264ad1b25cab7428c411ddf0294e59040ffaee122ce4ec72adf9dc267db3f9c54f4addde9451100096f6 WHIRLPOOL 95ee3c9e6dbde715893371009f22fbc81f860c7e8a1e030758d7c29b73803c53957973e3c41480f955c55322feac86bd56780e793004f62c1a5c8d64c1b6f205
 MISC metadata.xml 396 SHA256 5083064ed2246a84e2aedbc326d56cc8bf571fd8e7c24af0e4bc14c50f1ebb49 SHA512 a0b2171264f1ea6ba33b184ef802589d679eaba5c4a1753e149d7cd93c2c31aace934eddf5dffed6be341d9e4061c843c849e464afb7b4417c6c2dff3e9ff1c7 WHIRLPOOL 1be3a1a3c2b64d8818108de191db834395ee4ab3cf7994914c9331d6e42ca9015dd2493b9516db20990cb30b4dea385a3dde08b75df956ca39ad65e3fa721cb7

diff --git a/dev-java/netbeans-nb/netbeans-nb-9999_p20151201.ebuild b/dev-java/netbeans-nb/netbeans-nb-9999_p20151201.ebuild
new file mode 100644
index 0000000..6b1caca
--- /dev/null
+++ b/dev-java/netbeans-nb/netbeans-nb-9999_p20151201.ebuild
@@ -0,0 +1,128 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="4"
+inherit eutils java-pkg-2 java-ant-2
+
+DESCRIPTION="Netbeans IDE Branding"
+HOMEPAGE="http://netbeans.org/"
+SLOT="9999"
+SOURCE_URL="http://bits.netbeans.org/download/trunk/nightly/2015-12-01_00-02-04/zip/netbeans-trunk-nightly-201512010002-src.zip"
+SRC_URI="${SOURCE_URL}
+	http://dev.gentoo.org/~fordfrog/distfiles/netbeans-9999-r14-build.xml.patch.bz2
+	http://dev.gentoo.org/~fordfrog/distfiles/netbeans-7.0.png"
+LICENSE="|| ( CDDL GPL-2-with-linking-exception )"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+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-r14-build.xml.patch.bz2
+}
+
+src_prepare() {
+	einfo "Deleting bundled class files..."
+	find -name "*.class" -type f | xargs rm -vf
+
+	epatch netbeans-9999-r14-build.xml.patch
+
+	# Support for custom patches
+	if [ -n "${NETBEANS9999_PATCHES_DIR}" -a -d "${NETBEANS9999_PATCHES_DIR}" ] ; then
+		local files=`find "${NETBEANS9999_PATCHES_DIR}" -type f`
+
+		if [ -n "${files}" ] ; then
+			einfo "Applying custom patches:"
+
+			for file in ${files} ; do
+				epatch "${file}"
+			done
+		fi
+	fi
+
+	einfo "Symlinking external libraries..."
+	java-pkg_jar-from --build-only --into javahelp/external javahelp jhall.jar jhall-2.0_05.jar
+
+	einfo "Linking in other clusters..."
+	mkdir "${S}"/nbbuild/netbeans || die
+	pushd "${S}"/nbbuild/netbeans >/dev/null || die
+
+	ln -s /usr/share/netbeans-platform-${SLOT} platform || die
+	cat /usr/share/netbeans-platform-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+	touch nb.cluster.platform.built
+
+	ln -s /usr/share/netbeans-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 09aedf7..b9c2d29 100644
--- a/dev-java/netbeans-php/Manifest
+++ b/dev-java/netbeans-php/Manifest
@@ -38,6 +38,7 @@ DIST netbeans-trunk-nightly-201511270002-src.zip 209057113 SHA256 a5ae7083bc58b9
 DIST netbeans-trunk-nightly-201511280002-src.zip 209067071 SHA256 4302c5a2625fd2ce88690813a9a355aa431f013e71d72a43db4466aba0c1399e SHA512 6774f00a6dfd4fb717432e7c3fa0cb3edaefa60711bcbd1f18961d9d0d8181cbe7c251a1d5c5f4ee09465f43d109f2877ff8b3357f47550ea81459a71edbc35b WHIRLPOOL 71b5cf8f6c3b82cc6194ae015869c6b11bdfa5f6dbd2c5a86c97a5f7fa17fdd20212c37523f0b0d0c4b7660b81f1a4589998d67b53c09280fc81a798b003bc1b
 DIST netbeans-trunk-nightly-201511290002-src.zip 209067309 SHA256 a0d14ef896c7e7df15f6911ee1eaa3c4f123bf2ddbad14a1c5c4f33c60ddd072 SHA512 f3838e66544635306aa3ce8c49979fda8c9437be06905c1ad1fd7d375bea3fdffd21f5d75a2413a5961cc4a1b11fca8438983c1284652381fe6d0d3d45847385 WHIRLPOOL 1a008d95e63ea95db57f049da7cb5871ea8d03c59501261b225c0e5012b144f3b37569555e006cbf7140c0fefd16f2c722df121897d0e7a40ead8171995e73e2
 DIST netbeans-trunk-nightly-201511300002-src.zip 209067309 SHA256 2cac888b1ddd5c95623942d0d02833d98d5d171b272d4d6287a76e7630b48469 SHA512 2b8b86325d6a97eb8dfdbe9b6960aa9658d6c30c1edd576bf8b77108fe26c4ce5e8d152e588e4cd9075b04ed671a7bcc8797f1cefbdf47e62c56bc4d7ea61d5e WHIRLPOOL a7d0ab312bb191a202746ad5c139681a9dab0f0bdc4ada1b34f468d330059050e26f875d3fc7eb62eda46f39c7118d495f9f94564100bad9ae3e0b27bf9896b2
+DIST netbeans-trunk-nightly-201512010002-src.zip 209149379 SHA256 9030cb0fd9a50bd2ba418c1b165215d3ee14eb1291b3008003cf638347862411 SHA512 04ace118a7a66b84c92630c4a567d6ad9181638e8eaa9bf64fd225915b8b1c47f81cb6beeb0d26a916a8bfa735c4eb464d68a43b1c72f447c06b518f43983b07 WHIRLPOOL a7ebbb6a7325851ccbe448deb44b3ac615a469f6c06a250265d78f88dc8708da28fd3d5ed5a18acaa3f7ca4223b8be6c9be35350d0605aa48a5055e710ec5d04
 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_p20151020.ebuild 4417 SHA256 208c7fa12dd52de0ce78d242a9f427ba5b41adfca6cb259fad7fc4ace2df820d SHA512 3f73c670d6dfe34c28379c6e107588c293bd283b5de32089c83f8c7770baf9b1e53a284ad62c82b96df9590e08b8f45653a679603326a005063242bbf510b1ff WHIRLPOOL 7014632a49417d2062092a771c83b140d31b2eb6586673af3c766fff1d8afbca1b749b1866a407378f9757621ccce816c19a08eb12a50d52891ec1c6fc3776fb
@@ -71,4 +72,5 @@ EBUILD netbeans-php-9999_p20151127.ebuild 4417 SHA256 331a534ad2bf9c8585b0163236
 EBUILD netbeans-php-9999_p20151128.ebuild 4417 SHA256 239621698a1d080e6f1dcab4fb54ad67cf350e9acccf34443762f7238d21d8e7 SHA512 7b87cf750e5757e50f3dc1116f0c0c9f251f84aef37c9eb996bb44244995548f9df64ffc32b83e55d702a330a4c782ada404c5f6a3552a224da0476acf0d6c4e WHIRLPOOL e71551ae21599e1edd52e934019fa1b95e3fc21ea39d778d8f1efabc00b9e02a3419abc7889699a6a05e75a23c61083da31fa22d5b1148a18e0a0a0bb9520313
 EBUILD netbeans-php-9999_p20151129.ebuild 4417 SHA256 b191110cd350c65c633dbe78b2e8e301e3ef6636d13b00fccc8eea3d3976be42 SHA512 8835d7c360c077cdaebfbd736f4f7081b4812c6ca9d1dfa22001c7fdef1f4bdb2bb31fac570b5fecdf58bc1bd62aae42970161dfa781eb1d18fecea1828ea584 WHIRLPOOL 2a980291b7f9ddbeaea03e870fa7e82d28f66c23715d97c5f7d10b4ec04d83fe474e03e42173af8f4d2fc88d39726af8acdc616c70a1fb9680b06c6788196eee
 EBUILD netbeans-php-9999_p20151130.ebuild 4417 SHA256 c23b88610360296bebbcc8055c3defd2cc00b9bc2c76ad927c19c08461e6c1f2 SHA512 e7c18e102c9441291f25ae806cc3665cf6e5e05ad7bbfb8f619776bbe4cdb10b15be1e0973428c88abf0d7784944016e24cc1a55a02c36b24b7ce04700ad30ef WHIRLPOOL ac02ce35c8f1c8eb9e91284a45aa5e103f235a59488d6bc6a3af176f6ca1aa4dd531fd1cd4bf67b66bb12808f6df1fa5f9293b5a0e39bbc9f1519d8eaaaf61aa
+EBUILD netbeans-php-9999_p20151201.ebuild 4417 SHA256 193c065b3aa9d6fda73d29575bdb15795f3ab32a9f3e0e636c1300d4a47e91e3 SHA512 fa4004ecae21070efd554de2a3b95b90c260e303362bc75c3f970ed04d32e1f79743c51b8f05802b556ee1401f232f4a6c4988b63e5e614f2d930accca324882 WHIRLPOOL 3f497955a8ca5120911992e54b200da03a4d6dd878705ff88e1380a5064d9d799e60330e2b15257e2c8f591ff7093549cf52b24b9dc399ede404d3147f4306d2
 MISC metadata.xml 251 SHA256 5a4ff53a9862390a48d45c79be24086646e7a6ff0c5bdf0fcb799d0871299003 SHA512 04153cbd9776ad56a94d6a47d043df15d082d8888df8658f18d0d4b659c6c0526ab3a9b22ccbe2471091bf2d8165f224854bc99c51f3664aaf350ccb93532a7c WHIRLPOOL 2ee8a646c6e23bc46c72cac0ecb5cfe43720ec42404ddaeed8ab1b59d139b3d5c1a94764de847f979da978c001c9f02f709d663a68eeea64d19e88f1fefbca43

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

diff --git a/dev-java/netbeans-platform/Manifest b/dev-java/netbeans-platform/Manifest
index 6e8b012..3af914c 100644
--- a/dev-java/netbeans-platform/Manifest
+++ b/dev-java/netbeans-platform/Manifest
@@ -13,6 +13,7 @@ DIST A3432F57D9B3B4AD62CB0B294EEC43D12FCF3F62-ko4j-1.2.3.jar 86050 SHA256 fbbda0
 DIST AC97B566699146713B3CF0ABC226B5C08EF7CF33-testng-6.8.1-dist.jar 903720 SHA256 f3c0ef4a908848eec98c923cd3251a5c99b5946bee3697f9d22c889192812480 SHA512 84cde632392c370c32d14e7d3f81c655956b2d1ca12b8e5638f6580e34922a9d521b3bc40faec31f96021b03f217988ec685f46757e2e9c28769654306ecc212 WHIRLPOOL 9176b6c49685432617bc35068a2f924059514f710429b2985aede2e9b3c02b8c6cf7f34d8ed04f86a6d4651fe6fca108a3eb8aa3e850dc7f78247d6027083dc7
 DIST AF022CBCACD8CBFCF946816441D1E7568D817745-testng-6.8.1-javadoc.zip 388369 SHA256 8dc5a546c2dea5169aa31234a940035f628d561252ff82c835ec8fe28d5f14c4 SHA512 2a7938d152d101416ce2d06bce39e07d670189450a723cb298d23a1c6613c49569c6774fb160081b08f22e644e71b27787a4eb9173856cfb3d56b05bca9b95e4 WHIRLPOOL c12861342b306704f55709b2452e9fb664065f355d4e8407d8e7564c8c89725a60aa2b9d254f00cefd40af62742193b516547e7b1989651a12daf21c77ca3339
 DIST B27F1304F18FEDE876F940AEFA6C9EB5632619D7-org.eclipse.osgi_3.9.1.v20140110-1610.jar 1392395 SHA256 bdddeb459d260a1ef05b38a5bcf55495411c047c90a7790171a6ef54380fba45 SHA512 183874456aefd6c76f490fe28a0df092719787d2772593753d019a04fd83b566db964303fedd4f1d62f203f6cac9d2470c1e52733694d1e464a6abd727d2df61 WHIRLPOOL 5794acfd955018a9d00bbcd405493df78588b7860c599769862dbb8458fd17214efbaa5f6bec784392f6c62408132889874c3b8cb78b7eea49946c456bafd2cf
+DIST E5DDC5E827D3D62E7BE9F7E32927CA01F2839971-org.eclipse.osgi_3.9.1.v20140110-1610.jar 1333309 SHA256 7da1f152b349a9167c7ac8d7e6adbb0ea2f5fe319be2e82c80d18b33265a0fc4 SHA512 db6581b3e208470ced2ea5c367160dcb9470a1858926da46eaad6011d5a9feb273038467f75e57a375376ad947b3c1ecb4e5ea6a2fd88096eda84e1232b2eaef WHIRLPOOL 90f19b85218cfe869028be95b90e2394541a5d761186599ed6ec4a62b207b4e32b9ef292a992b894359b318bff10b764cc481b2e1652df7548dd6fa451c8cd65
 DIST F41518385DA4B5682C864F19B82C3BA4AF65AE83-net.java.html.json-1.2.3.jar 99610 SHA256 2ca5e00b2a44c9c9a2c1f7f9354ce7680d3908894bccc8468956866c1f8e8ba3 SHA512 ea0a2aa2a93c96321c67cdb871ccde933e03258ad99abaa2d00ce3128a9a88f111766222b0d76fa1a2a585c9bd155371aa1385d9c3b48f429d98c7723ff3bf15 WHIRLPOOL 1a9cfa2f5bdac6717e721f9f16494901c24ac5695924e91fb1895fdd3bd601056c855c49c9362c5cd45f697d55fa246766377ca5e968587936a13052aeb203fe
 DIST netbeans-8.0.2-201411181905-src.zip 196585461 SHA256 581f80d3c2e8d87a0f007dd3f358ce0534a0bb2e4b3312cd6c8c7263713bc530 SHA512 9533de5b3c45e4a5b025213dd5602344e16d024e0cdb013f207ac3c7a9d8e63da19279f97910ad136777d75780c620224953f2974070d5c9833d1d6ef3fd427c WHIRLPOOL 2e45e83309743df167ddd1d58068848166d01ef6d9eec99ddf72b9ba7664cb182a04d6420ab03a9270842b3cd9a16a161c1eebb66953ef09158d8d521fb96516
 DIST netbeans-8.0.2-build.xml.patch.bz2 2678 SHA256 cf120f7fd8b4ad40e9abdcb09e7763fd93b4acef04ff0365e18f178706ea83bb SHA512 b61adf29bcb139207241c68513724f352420078583ca5e6d7856a4dd335ad36b7d05311eb6e14ff1c568aaf090de4ca083c32f6db1dec0b6f50d66a388bbedf7 WHIRLPOOL fb4d63329aa450a1b387fa45b59fa3c18d1a1ca8ecf9443111a3056d409a6d928d15dae275e9c564558f4b2abd54cc0f8db2df653ac432d9f58f8ef4dd747dff
@@ -50,6 +51,7 @@ DIST netbeans-trunk-nightly-201511270002-src.zip 209057113 SHA256 a5ae7083bc58b9
 DIST netbeans-trunk-nightly-201511280002-src.zip 209067071 SHA256 4302c5a2625fd2ce88690813a9a355aa431f013e71d72a43db4466aba0c1399e SHA512 6774f00a6dfd4fb717432e7c3fa0cb3edaefa60711bcbd1f18961d9d0d8181cbe7c251a1d5c5f4ee09465f43d109f2877ff8b3357f47550ea81459a71edbc35b WHIRLPOOL 71b5cf8f6c3b82cc6194ae015869c6b11bdfa5f6dbd2c5a86c97a5f7fa17fdd20212c37523f0b0d0c4b7660b81f1a4589998d67b53c09280fc81a798b003bc1b
 DIST netbeans-trunk-nightly-201511290002-src.zip 209067309 SHA256 a0d14ef896c7e7df15f6911ee1eaa3c4f123bf2ddbad14a1c5c4f33c60ddd072 SHA512 f3838e66544635306aa3ce8c49979fda8c9437be06905c1ad1fd7d375bea3fdffd21f5d75a2413a5961cc4a1b11fca8438983c1284652381fe6d0d3d45847385 WHIRLPOOL 1a008d95e63ea95db57f049da7cb5871ea8d03c59501261b225c0e5012b144f3b37569555e006cbf7140c0fefd16f2c722df121897d0e7a40ead8171995e73e2
 DIST netbeans-trunk-nightly-201511300002-src.zip 209067309 SHA256 2cac888b1ddd5c95623942d0d02833d98d5d171b272d4d6287a76e7630b48469 SHA512 2b8b86325d6a97eb8dfdbe9b6960aa9658d6c30c1edd576bf8b77108fe26c4ce5e8d152e588e4cd9075b04ed671a7bcc8797f1cefbdf47e62c56bc4d7ea61d5e WHIRLPOOL a7d0ab312bb191a202746ad5c139681a9dab0f0bdc4ada1b34f468d330059050e26f875d3fc7eb62eda46f39c7118d495f9f94564100bad9ae3e0b27bf9896b2
+DIST netbeans-trunk-nightly-201512010002-src.zip 209149379 SHA256 9030cb0fd9a50bd2ba418c1b165215d3ee14eb1291b3008003cf638347862411 SHA512 04ace118a7a66b84c92630c4a567d6ad9181638e8eaa9bf64fd225915b8b1c47f81cb6beeb0d26a916a8bfa735c4eb464d68a43b1c72f447c06b518f43983b07 WHIRLPOOL a7ebbb6a7325851ccbe448deb44b3ac615a469f6c06a250265d78f88dc8708da28fd3d5ed5a18acaa3f7ca4223b8be6c9be35350d0605aa48a5055e710ec5d04
 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_p20151020.ebuild 9382 SHA256 db617dafb475e4324a21b071b145e661f9a79d786e95e7f396234d29308dc595 SHA512 5fcebabf4c0035b7ab436ca6da2ddf63a19a3d1f91e87193a0dc806b25d03c0f4e406b43232460bc4f54155a741d975b77dbeb2ec621a300276dae0b1b2f3033 WHIRLPOOL ec49b99816e734a41606e73d3d5bfbcdddfb9bbe73e667b5596919696f683ea37bbe8fcfc118ab63be48029de4708d4315944c38e98891a07e635634de7c8e0a
@@ -83,4 +85,5 @@ EBUILD netbeans-platform-9999_p20151127.ebuild 9367 SHA256 b4c4d9e884cac3d1e0c0e
 EBUILD netbeans-platform-9999_p20151128.ebuild 9367 SHA256 e651d1c27241f90a76b196817299e6132e26c8da23eb8554e690d5f8732ae587 SHA512 d12e6a5a44d926ff9aad8008a0346a862449297c2bd5420b866d0808e52e36b5191515099368212f49b96a3b76fee652a232433d13e11802e0516707a529d09b WHIRLPOOL 9fce7fcd94bc71a414c88c29c82157a0739f71891ac7e7284ef647b2250fe6415a13d0382b4017f08cf0585d4fd4e2f21f33009e0b75ccde1960704bc707b45e
 EBUILD netbeans-platform-9999_p20151129.ebuild 9367 SHA256 4064d8fa0199a922f0a980ad86001340dccf34b598200c9de252192181aabd03 SHA512 9bbc8c5b9773ba8707d318bad5e65a6dca507430f7f834e7cbad5f4645dfad4fd437d43d064ba2e8c1913a496d6033746a770cbf2dee28b2010d75da4402dd1d WHIRLPOOL 9d6fa686539961cb30fcae68d1d56f4eeda0012b0182875162f3ea2b67afbf836224c743a03fb228c3e0e1dd4f2e8fc7fb55545207c88a52864b4397d24f69fe
 EBUILD netbeans-platform-9999_p20151130.ebuild 9367 SHA256 96faa4dc1067d217a3d495c4812d13a0abf1b1839f1404455e7f77ee27785258 SHA512 19d4acfc2a42149be90e2a7d57cbbb6c75206c8ed7f19cf0fc57cec65c7df4c6bc153f92182faec16aa51bcccdc3f80d3189b7cd56ebe832677611e2984e991e WHIRLPOOL c6bf40c026822ddcbd28d53cf5bf36ce35d974606aec0e60039c11d0f764a031adce377534d973062e9bf7756c12539b05ae83c04f382a75de37ddeb4f2d1b30
+EBUILD netbeans-platform-9999_p20151201.ebuild 9367 SHA256 6aa784f5efbe6ae29315cd503894121e15ec8a7cfc56e5b106794b13c3d9c3ce SHA512 d7265badb73675b2dc7bfaaedd7e0aa1b3db7c8cb380b4abe5a6ee186bc357b3c619344edc5049c9de3f11497224d18c080b6e5758a286e19b2215529783719a WHIRLPOOL 71b43f291c617fc8b9c1b9b5165d2f2cb86b00417aad6fb93b839542258fcb9e5400a31be0097c4d99205fcda5197356033ae41740caaf83b9703adf9204df97
 MISC metadata.xml 251 SHA256 5a4ff53a9862390a48d45c79be24086646e7a6ff0c5bdf0fcb799d0871299003 SHA512 04153cbd9776ad56a94d6a47d043df15d082d8888df8658f18d0d4b659c6c0526ab3a9b22ccbe2471091bf2d8165f224854bc99c51f3664aaf350ccb93532a7c WHIRLPOOL 2ee8a646c6e23bc46c72cac0ecb5cfe43720ec42404ddaeed8ab1b59d139b3d5c1a94764de847f979da978c001c9f02f709d663a68eeea64d19e88f1fefbca43

diff --git a/dev-java/netbeans-platform/netbeans-platform-9999_p20151201.ebuild b/dev-java/netbeans-platform/netbeans-platform-9999_p20151201.ebuild
new file mode 100644
index 0000000..03b3359
--- /dev/null
+++ b/dev-java/netbeans-platform/netbeans-platform-9999_p20151201.ebuild
@@ -0,0 +1,165 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="4"
+inherit eutils java-pkg-2 java-ant-2
+
+DESCRIPTION="Netbeans Platform"
+HOMEPAGE="http://netbeans.org/features/platform/"
+SLOT="9999"
+SOURCE_URL="http://bits.netbeans.org/download/trunk/nightly/2015-12-01_00-02-04/zip/netbeans-trunk-nightly-201512010002-src.zip"
+SRC_URI="${SOURCE_URL}
+	http://dev.gentoo.org/~fordfrog/distfiles/netbeans-9999-r14-build.xml.patch.bz2
+	http://hg.netbeans.org/binaries/2F7553F50B0D14ED811B849C282DA8C1FFC32AAE-asm-all-5.0.1.jar
+	http://hg.netbeans.org/binaries/1BA97A9FFD4A1DFF3E75B76CD3AE3D0EFF8493B7-felix-4.2.1.jar
+	http://hg.netbeans.org/binaries/941A8BE4506C65F0A9001C08812FB7DA1E505E21-junit-4.12-javadoc.jar
+	http://hg.netbeans.org/binaries/A3432F57D9B3B4AD62CB0B294EEC43D12FCF3F62-ko4j-1.2.3.jar
+	http://hg.netbeans.org/binaries/78DD1C0B4EDC348FF4DCD0616597BB809AAE248D-net.java.html-1.2.3.jar
+	http://hg.netbeans.org/binaries/7BA1E1C450BCD0AD9D0D2F6797A2EB50A4822E0E-net.java.html.boot-1.2.3.jar
+	http://hg.netbeans.org/binaries/068B9902E65F2292C9EA30E5423E41FB6B30D8AA-net.java.html.boot.fx-1.2.3.jar
+	http://hg.netbeans.org/binaries/8621531E83EC4850DA61AA2266FE41105C304F40-net.java.html.boot.script-1.2.3.jar
+	http://hg.netbeans.org/binaries/24824B1E8C2A2D3A5C471F5875BF61F27E8916DB-net.java.html.geo-1.2.3.jar
+	http://hg.netbeans.org/binaries/F41518385DA4B5682C864F19B82C3BA4AF65AE83-net.java.html.json-1.2.3.jar
+	http://hg.netbeans.org/binaries/989A81454D4FA962EB1C158FE794D2EB060AB9F6-net.java.html.sound-1.2.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"
+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-r14-build.xml.patch.bz2
+
+	pushd "${S}" >/dev/null || die
+	ln -s "${DISTDIR}"/2F7553F50B0D14ED811B849C282DA8C1FFC32AAE-asm-all-5.0.1.jar libs.asm/external/asm-all-5.0.1.jar || die
+	ln -s "${DISTDIR}"/1BA97A9FFD4A1DFF3E75B76CD3AE3D0EFF8493B7-felix-4.2.1.jar libs.felix/external/felix-4.2.1.jar || die
+	ln -s "${DISTDIR}"/941A8BE4506C65F0A9001C08812FB7DA1E505E21-junit-4.12-javadoc.jar junitlib/external/junit-4.12-javadoc.jar || die
+	ln -s "${DISTDIR}"/A3432F57D9B3B4AD62CB0B294EEC43D12FCF3F62-ko4j-1.2.3.jar o.n.html.ko4j/external/ko4j-1.2.3.jar || die
+	ln -s "${DISTDIR}"/78DD1C0B4EDC348FF4DCD0616597BB809AAE248D-net.java.html-1.2.3.jar net.java.html/external/net.java.html-1.2.3.jar || die
+	ln -s "${DISTDIR}"/7BA1E1C450BCD0AD9D0D2F6797A2EB50A4822E0E-net.java.html.boot-1.2.3.jar net.java.html.boot/external/net.java.html.boot-1.2.3.jar || die
+	ln -s "${DISTDIR}"/068B9902E65F2292C9EA30E5423E41FB6B30D8AA-net.java.html.boot.fx-1.2.3.jar net.java.html.boot.fx/external/net.java.html.boot.fx-1.2.3.jar || die
+	ln -s "${DISTDIR}"/8621531E83EC4850DA61AA2266FE41105C304F40-net.java.html.boot.script-1.2.3.jar net.java.html.boot.script/external/net.java.html.boot.script-1.2.3.jar || die
+	ln -s "${DISTDIR}"/24824B1E8C2A2D3A5C471F5875BF61F27E8916DB-net.java.html.geo-1.2.3.jar net.java.html.geo/external/net.java.html.geo-1.2.3.jar || die
+	ln -s "${DISTDIR}"/F41518385DA4B5682C864F19B82C3BA4AF65AE83-net.java.html.json-1.2.3.jar net.java.html.json/external/net.java.html.json-1.2.3.jar || die
+	ln -s "${DISTDIR}"/989A81454D4FA962EB1C158FE794D2EB060AB9F6-net.java.html.sound-1.2.3.jar net.java.html.sound/external/net.java.html.sound-1.2.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
+	popd >/dev/null || die
+}
+
+src_prepare() {
+	einfo "Deleting bundled class files..."
+	find -name "*.class" -type f | xargs rm -vf
+
+	# upstream jna jar contains bundled binary libraries so we disable that feature
+	epatch netbeans-9999-r14-build.xml.patch
+
+	# Support for custom patches
+	if [ -n "${NETBEANS9999_PATCHES_DIR}" -a -d "${NETBEANS9999_PATCHES_DIR}" ] ; then
+		local files=`find "${NETBEANS9999_PATCHES_DIR}" -type f`
+
+		if [ -n "${files}" ] ; then
+			einfo "Applying custom patches:"
+
+			for file in ${files} ; do
+				epatch "${file}"
+			done
+		fi
+	fi
+
+	einfo "Symlinking external libraries..."
+	java-pkg_jar-from --into libs.junit4/external hamcrest-core-1.3 hamcrest-core.jar hamcrest-core-1.3.jar
+	java-pkg_jar-from --into libs.jna.platform/external jna platform.jar jna-platform-4.1.0.jar
+	java-pkg_jar-from --into javahelp/external javahelp jhall.jar jhall-2.0_05.jar
+	java-pkg_jar-from --into libs.jna/external jna jna.jar jna-4.1.0.jar
+	java-pkg_jar-from --into libs.junit4/external junit-4 junit.jar junit-4.12.jar
+	ln -s /usr/share/junit-4/sources/junit-src.zip junitlib/external/junit-4.12-sources.jar || die
+	java-pkg_jar-from --into libs.osgi/external osgi-core-api osgi-core-api.jar osgi.core-5.0.0.jar
+	java-pkg_jar-from --into libs.osgi/external osgi-compendium osgi-compendium.jar osgi.cmpn-4.2.jar
+	java-pkg_jar-from --into o.jdesktop.layout/external swing-layout-1 swing-layout.jar swing-layout-1.0.4.jar
+	ln -s /usr/share/swing-layout-1/sources/swing-layout-src.zip o.jdesktop.layout/external/swing-layout-1.0.4-src.zip || die
+	java-pkg_jar-from --into libs.testng/external testng testng.jar testng-6.8.1-dist.jar
+
+	java-pkg-2_src_prepare
+}
+
+src_compile() {
+	unset DISPLAY
+	eant -f ${EANT_BUILD_XML} ${EANT_EXTRA_ARGS} ${EANT_BUILD_TARGET} || die "Compilation failed"
+}
+
+src_install() {
+	pushd nbbuild/netbeans/platform >/dev/null || die
+
+	java-pkg_dojar lib/*.jar
+	grep -E "/platform$" ../moduleCluster.properties > "${D}"/${INSTALL_DIR}/moduleCluster.properties || die
+
+	insinto ${INSTALL_DIR}
+	doins -r *
+	rm "${D}"/${INSTALL_DIR}/docs/junit-4.12-sources.jar || die
+	dosym /usr/share/junit-4/sources/junit-src.zip ${INSTALL_DIR}/docs/junit-4.12-sources.jar
+	rm "${D}"/${INSTALL_DIR}/docs/swing-layout-1.0.4-src.zip || die
+	dosym /usr/share/swing-layout-1/sources/swing-layout-src.zip ${INSTALL_DIR}/docs/swing-layout-1.0.4-src.zip
+	find "${D}"/${INSTALL_DIR} -name "*.exe" -delete
+	find "${D}"/${INSTALL_DIR} -name "*.dll" -delete
+	rm -fr "${D}"/modules/lib || die
+
+	popd >/dev/null || die
+
+	fperms 775 ${INSTALL_DIR}/lib/nbexec
+	dosym ${INSTALL_DIR}/lib/nbexec /usr/bin/nbexec-${SLOT}
+
+	local instdir=${INSTALL_DIR}/modules/ext
+	pushd "${D}"/${instdir} >/dev/null || die
+	rm hamcrest-core-1.3.jar && dosym /usr/share/hamcrest-core-1.3/lib/hamcrest-core.jar ${instdir}/hamcrest-core-1.3.jar || die
+	rm jhall-2.0_05.jar && dosym /usr/share/javahelp/lib/jhall.jar ${instdir}/jhall-2.0_05.jar || die
+	rm jna-4.1.0.jar && dosym /usr/share/jna/lib/jna.jar ${instdir}/jna-4.1.0.jar || die
+	rm jna-platform-4.1.0.jar && dosym /usr/share/jna/lib/platform.jar ${instdir}/jna-platform-4.1.0.jar || die
+	rm junit-4.12.jar && dosym /usr/share/junit-4/lib/junit.jar ${instdir}/junit-4.12.jar || die
+	rm osgi.cmpn-4.2.jar && dosym /usr/share/osgi-compendium/lib/osgi-compendium.jar ${instdir}/osgi.cmpn-4.2.jar || die
+	rm osgi.core-5.0.0.jar && dosym /usr/share/osgi-core-api/lib/osgi-core-api.jar ${instdir}/osgi.core-5.0.0.jar || die
+	rm swing-layout-1.0.4.jar && dosym /usr/share/swing-layout-1/lib/swing-layout.jar ${instdir}/swing-layout-1.0.4.jar || die
+	rm testng-6.8.1-dist.jar && dosym /usr/share/testng/lib/testng.jar ${instdir}/testng-6.8.1-dist.jar || die
+	popd >/dev/null || die
+
+	dosym ${INSTALL_DIR} /usr/share/netbeans-nb-${SLOT}/platform
+}

diff --git a/dev-java/netbeans-profiler/Manifest b/dev-java/netbeans-profiler/Manifest
index 46f63d9..a91b64a 100644
--- a/dev-java/netbeans-profiler/Manifest
+++ b/dev-java/netbeans-profiler/Manifest
@@ -34,6 +34,7 @@ DIST netbeans-trunk-nightly-201511270002-src.zip 209057113 SHA256 a5ae7083bc58b9
 DIST netbeans-trunk-nightly-201511280002-src.zip 209067071 SHA256 4302c5a2625fd2ce88690813a9a355aa431f013e71d72a43db4466aba0c1399e SHA512 6774f00a6dfd4fb717432e7c3fa0cb3edaefa60711bcbd1f18961d9d0d8181cbe7c251a1d5c5f4ee09465f43d109f2877ff8b3357f47550ea81459a71edbc35b WHIRLPOOL 71b5cf8f6c3b82cc6194ae015869c6b11bdfa5f6dbd2c5a86c97a5f7fa17fdd20212c37523f0b0d0c4b7660b81f1a4589998d67b53c09280fc81a798b003bc1b
 DIST netbeans-trunk-nightly-201511290002-src.zip 209067309 SHA256 a0d14ef896c7e7df15f6911ee1eaa3c4f123bf2ddbad14a1c5c4f33c60ddd072 SHA512 f3838e66544635306aa3ce8c49979fda8c9437be06905c1ad1fd7d375bea3fdffd21f5d75a2413a5961cc4a1b11fca8438983c1284652381fe6d0d3d45847385 WHIRLPOOL 1a008d95e63ea95db57f049da7cb5871ea8d03c59501261b225c0e5012b144f3b37569555e006cbf7140c0fefd16f2c722df121897d0e7a40ead8171995e73e2
 DIST netbeans-trunk-nightly-201511300002-src.zip 209067309 SHA256 2cac888b1ddd5c95623942d0d02833d98d5d171b272d4d6287a76e7630b48469 SHA512 2b8b86325d6a97eb8dfdbe9b6960aa9658d6c30c1edd576bf8b77108fe26c4ce5e8d152e588e4cd9075b04ed671a7bcc8797f1cefbdf47e62c56bc4d7ea61d5e WHIRLPOOL a7d0ab312bb191a202746ad5c139681a9dab0f0bdc4ada1b34f468d330059050e26f875d3fc7eb62eda46f39c7118d495f9f94564100bad9ae3e0b27bf9896b2
+DIST netbeans-trunk-nightly-201512010002-src.zip 209149379 SHA256 9030cb0fd9a50bd2ba418c1b165215d3ee14eb1291b3008003cf638347862411 SHA512 04ace118a7a66b84c92630c4a567d6ad9181638e8eaa9bf64fd225915b8b1c47f81cb6beeb0d26a916a8bfa735c4eb464d68a43b1c72f447c06b518f43983b07 WHIRLPOOL a7ebbb6a7325851ccbe448deb44b3ac615a469f6c06a250265d78f88dc8708da28fd3d5ed5a18acaa3f7ca4223b8be6c9be35350d0605aa48a5055e710ec5d04
 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_p20151020.ebuild 3472 SHA256 2b1993d329fe5afdea67c7e24a85fafff444cd7c28b57c9caf5c62b1ecde78f1 SHA512 db24778ecdb2490041c2ec371f94bbe417d1e2712ee1cd43b39b069f3dec7d87b23c494fbfe85408f7d202caa8c3e8761346070d07bb51233d75c24cc623b206 WHIRLPOOL 48caf83a0980a80af45609c9067e4c7f3df4f78f405fe2b545a14a63abf3fad1f316181767f1da3f5b945eaf0bf566ead544ad18516604c5fdc2099a493b7f04
@@ -67,4 +68,5 @@ EBUILD netbeans-profiler-9999_p20151127.ebuild 3472 SHA256 13315f1ba9b671cd4b3f9
 EBUILD netbeans-profiler-9999_p20151128.ebuild 3472 SHA256 d3e50fe70252b33a5203db57236457931000b4a9ce059860a552f2184ec9c65c SHA512 bb9b112def0c0124d897faeead92c4d647b3bc5fdeef3b5395921bac4f3309232b986e3e513bd9006fca748cf583cfa997aec484837ebe2bac90e52b627e4271 WHIRLPOOL d4ff022ba3928c32b4eea87b82cfec9b2bef3f43b883de23009f822a5cf9dbe114c1298b55a1a3c41b8d0b9285285fe75261222ec53f685af030b4f384c94cdc
 EBUILD netbeans-profiler-9999_p20151129.ebuild 3472 SHA256 fb659db809774b0074c9abaf6666d4aa306805c36474b7098ea6afabacc86731 SHA512 156926b61f491d240ec23097c04973ae832c74c039873df7c44f1c556e13bc14d44e81302fb5e2711130a9ef90a8e73fcdf5ecde0cd63a1c688860622d66eda6 WHIRLPOOL ed5a70835105968a373c02776986ff22df82c15dc4d6c373e859bbe331b21a46c9f8149aa2375845969963689ab8bf93f2398d94f310f7f2f29bb7f538a73540
 EBUILD netbeans-profiler-9999_p20151130.ebuild 3472 SHA256 de8f2745c9cdc6d7e2e45147f5acf0d34c5c920d9ded9f7e2e4423704319d711 SHA512 b5e4f20392e71079412246173f07ceab54c5b0ef812a807fb88025ee49b5fb452f48f0415640c6c2d404d04f5dfa2dcabde3fd1a7020300e9ba8348c65373033 WHIRLPOOL 70774a2140bd5ae4fd52b8ceefc33f1b823dda50d28e60d0e356cb703e584cb2440ceb85a742d52cb459a604b9af6515e8234b1383636e2054524e2ae1a5120b
+EBUILD netbeans-profiler-9999_p20151201.ebuild 3472 SHA256 5de184b2afe1ae017f58c77e6282517e017d661b09c1c03de28611139436bbf6 SHA512 1499d7cfddfb3ff0651a75ba77319e3128915128ada5ea69fbdffb3038cb42602feb10d21a355349064f6a0939543c866f06d573b8ab1c477c4841001a47ee0d WHIRLPOOL ca11c5bee288f8e7b43b878754e3c0d74ffad1263b7040ea8084e2415e56e99a11080530941858e52277cfe84d0106058b7b3c37fda5215e318da7231ba47e68
 MISC metadata.xml 251 SHA256 5a4ff53a9862390a48d45c79be24086646e7a6ff0c5bdf0fcb799d0871299003 SHA512 04153cbd9776ad56a94d6a47d043df15d082d8888df8658f18d0d4b659c6c0526ab3a9b22ccbe2471091bf2d8165f224854bc99c51f3664aaf350ccb93532a7c WHIRLPOOL 2ee8a646c6e23bc46c72cac0ecb5cfe43720ec42404ddaeed8ab1b59d139b3d5c1a94764de847f979da978c001c9f02f709d663a68eeea64d19e88f1fefbca43

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

diff --git a/dev-java/netbeans-webcommon/Manifest b/dev-java/netbeans-webcommon/Manifest
index 2d83ba1..b4a05f1 100644
--- a/dev-java/netbeans-webcommon/Manifest
+++ b/dev-java/netbeans-webcommon/Manifest
@@ -43,6 +43,7 @@ DIST netbeans-trunk-nightly-201511270002-src.zip 209057113 SHA256 a5ae7083bc58b9
 DIST netbeans-trunk-nightly-201511280002-src.zip 209067071 SHA256 4302c5a2625fd2ce88690813a9a355aa431f013e71d72a43db4466aba0c1399e SHA512 6774f00a6dfd4fb717432e7c3fa0cb3edaefa60711bcbd1f18961d9d0d8181cbe7c251a1d5c5f4ee09465f43d109f2877ff8b3357f47550ea81459a71edbc35b WHIRLPOOL 71b5cf8f6c3b82cc6194ae015869c6b11bdfa5f6dbd2c5a86c97a5f7fa17fdd20212c37523f0b0d0c4b7660b81f1a4589998d67b53c09280fc81a798b003bc1b
 DIST netbeans-trunk-nightly-201511290002-src.zip 209067309 SHA256 a0d14ef896c7e7df15f6911ee1eaa3c4f123bf2ddbad14a1c5c4f33c60ddd072 SHA512 f3838e66544635306aa3ce8c49979fda8c9437be06905c1ad1fd7d375bea3fdffd21f5d75a2413a5961cc4a1b11fca8438983c1284652381fe6d0d3d45847385 WHIRLPOOL 1a008d95e63ea95db57f049da7cb5871ea8d03c59501261b225c0e5012b144f3b37569555e006cbf7140c0fefd16f2c722df121897d0e7a40ead8171995e73e2
 DIST netbeans-trunk-nightly-201511300002-src.zip 209067309 SHA256 2cac888b1ddd5c95623942d0d02833d98d5d171b272d4d6287a76e7630b48469 SHA512 2b8b86325d6a97eb8dfdbe9b6960aa9658d6c30c1edd576bf8b77108fe26c4ce5e8d152e588e4cd9075b04ed671a7bcc8797f1cefbdf47e62c56bc4d7ea61d5e WHIRLPOOL a7d0ab312bb191a202746ad5c139681a9dab0f0bdc4ada1b34f468d330059050e26f875d3fc7eb62eda46f39c7118d495f9f94564100bad9ae3e0b27bf9896b2
+DIST netbeans-trunk-nightly-201512010002-src.zip 209149379 SHA256 9030cb0fd9a50bd2ba418c1b165215d3ee14eb1291b3008003cf638347862411 SHA512 04ace118a7a66b84c92630c4a567d6ad9181638e8eaa9bf64fd225915b8b1c47f81cb6beeb0d26a916a8bfa735c4eb464d68a43b1c72f447c06b518f43983b07 WHIRLPOOL a7ebbb6a7325851ccbe448deb44b3ac615a469f6c06a250265d78f88dc8708da28fd3d5ed5a18acaa3f7ca4223b8be6c9be35350d0605aa48a5055e710ec5d04
 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_p20151020.ebuild 4991 SHA256 d0ec398501285ef079063a9136b13a1cd191a422b54a035e2c3dfc4ba7603b31 SHA512 480a3b051ef36de88a023d53f764b522dee66ec02d1acb730d43cf4e8dc7f3f66690ce847fb3ce37a2f8b0234a0fc9fef3e6683ca40f858cd2dd0df1eda15687 WHIRLPOOL bc2873d5be22616d0327e9f40bc721549b75f4bb4d2288ab415ce3a5ec18c77ba0c1e8d9dde7524d0efac71142f95fc68fb951c0a786eb40dc22fec52991d4cc
@@ -76,4 +77,5 @@ EBUILD netbeans-webcommon-9999_p20151127.ebuild 4590 SHA256 ef2931223dd27f3b6390
 EBUILD netbeans-webcommon-9999_p20151128.ebuild 4590 SHA256 ba44e0aa9e24f49905440f78c4d4ce2c8b5131ab24bd7c4f3530f9c3a20ad541 SHA512 6f9d4546d0a32e624b5e1b66d278433313211f2f1a043907c419b1d055fefbe622b2cacc572bf50e1a2374895651d2ba2decf8a39b31a5e0b30ab3c2f8e0f7d4 WHIRLPOOL 12535aa896534b67ef632864e82014e074852b219e364075342b9dfe42a37dbe30bf7b057ee62fb2480a7a8787cc9661803fdd2eec76ddcbcaad206832816197
 EBUILD netbeans-webcommon-9999_p20151129.ebuild 4590 SHA256 4aed07d6200b538f40057ce4696cdd1c4fd0b8bdecaa34aa23f746dbf6c083d0 SHA512 e6037210cc8f0532a9d6ad6d1a672b903164b63d4d3e4b6c91732109b87f79a6793196ce54f7f9f7822171a657e560664b3d21967d1438e3790f6cfa460f5b05 WHIRLPOOL 8550fb6d0a87936a2bf2eb088e8abb0d7bb0f8de6100f976b4a22c0865989b132d3c1d6bc5ea42c1c9af41ac5bdc222916772bf0fe687684f5e7d26da87bbf8c
 EBUILD netbeans-webcommon-9999_p20151130.ebuild 4590 SHA256 3f24516569b29a21ba42a97852c36afab730eb954d1dda6a3802a2dcf4c869f1 SHA512 e107ec9979944167c9433436cdb30f35fa382b59ee330a0d6b102c3c38a20a8f63450d05dabae3c07b689901e189cececfe0720d8a137089bff3b564738a88bb WHIRLPOOL b737e42f7b8340286110b2a2cd642f80de1463b55a670a75fb5a50d7287ae5aca32fa2c48d1f2ebd947b4b14a5d562a0882126553711f53aad0a047b56acb2dc
+EBUILD netbeans-webcommon-9999_p20151201.ebuild 4590 SHA256 9a85798fda3749da05f86989712e88f22dafc3dbaadfe7ef7660dead963477c2 SHA512 b9233dc51d5db9c1e2a6f323a9cc09c42d9b586fd3000e33b441520b6aa5f4cddbfecff3ce6454062416b448eb14760a8c553acfca6f684b0fb42ad6edf96062 WHIRLPOOL 18a964b81ecfc4ef221555e5a0634089092e677d96a6496f2cdef3d81ba44454a6b10f009cbdf36eb03510051f7136f4c59260c4e911d77b3ae6c7c5d22b8cea
 MISC metadata.xml 251 SHA256 5a4ff53a9862390a48d45c79be24086646e7a6ff0c5bdf0fcb799d0871299003 SHA512 04153cbd9776ad56a94d6a47d043df15d082d8888df8658f18d0d4b659c6c0526ab3a9b22ccbe2471091bf2d8165f224854bc99c51f3664aaf350ccb93532a7c WHIRLPOOL 2ee8a646c6e23bc46c72cac0ecb5cfe43720ec42404ddaeed8ab1b59d139b3d5c1a94764de847f979da978c001c9f02f709d663a68eeea64d19e88f1fefbca43

diff --git a/dev-java/netbeans-webcommon/netbeans-webcommon-9999_p20151201.ebuild b/dev-java/netbeans-webcommon/netbeans-webcommon-9999_p20151201.ebuild
new file mode 100644
index 0000000..abcfce1
--- /dev/null
+++ b/dev-java/netbeans-webcommon/netbeans-webcommon-9999_p20151201.ebuild
@@ -0,0 +1,116 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="4"
+inherit eutils java-pkg-2 java-ant-2
+
+DESCRIPTION="Netbeans Web Services Cluster"
+HOMEPAGE="http://netbeans.org/"
+SLOT="9999"
+SOURCE_URL="http://bits.netbeans.org/download/trunk/nightly/2015-12-01_00-02-04/zip/netbeans-trunk-nightly-201512010002-src.zip"
+SRC_URI="${SOURCE_URL}
+	http://dev.gentoo.org/~fordfrog/distfiles/netbeans-9999-r14-build.xml.patch.bz2
+	http://hg.netbeans.org/binaries/59631804B5A7FF3CEAA3F0E113584AF7E1BB6E9B-dd-plist.jar
+	http://hg.netbeans.org/binaries/7C4A82593A85524A3541E55A4A9C906B773ABAD6-ios-sim
+	http://hg.netbeans.org/binaries/9D29F2A9722C91A403F32971E97DD0E49E97B02E-libiDeviceNativeBinding.dylib
+	http://hg.netbeans.org/binaries/9F0D0D95F57E73C0110FA023813A4F9756D543B1-libimobiledevice.4.dylib
+	http://hg.netbeans.org/binaries/480C9E376169E21EA3BDA5D5841425BD7CC054D7-libplist.1.dylib
+	http://hg.netbeans.org/binaries/08FE518AB60FFA2E5440B75B4D9F8502E0791B3C-libs.jstestdriver-ext.jar
+	http://hg.netbeans.org/binaries/D05B7274396C8EED185207399B6D0400DE347DB7-libusbmuxd.2.dylib"
+LICENSE="|| ( CDDL GPL-2-with-linking-exception )"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+S="${WORKDIR}"
+
+CDEPEND="~dev-java/netbeans-platform-${PV}
+	~dev-java/netbeans-extide-${PV}
+	~dev-java/netbeans-ide-${PV}"
+DEPEND=">=virtual/jdk-1.7
+	app-arch/unzip
+	${CDEPEND}
+	dev-java/javahelp:0"
+RDEPEND=">=virtual/jdk-1.7
+	${CDEPEND}"
+
+INSTALL_DIR="/usr/share/${PN}-${SLOT}"
+
+EANT_BUILD_XML="nbbuild/build.xml"
+EANT_BUILD_TARGET="rebuild-cluster"
+EANT_EXTRA_ARGS="-Drebuild.cluster.name=nb.cluster.webcommon -Dext.binaries.downloaded=true -Dpermit.jdk8.builds=true"
+EANT_FILTER_COMPILER="ecj-3.3 ecj-3.4 ecj-3.5 ecj-3.6 ecj-3.7"
+JAVA_PKG_BSFIX="off"
+
+src_unpack() {
+	unpack $(basename ${SOURCE_URL})
+
+	einfo "Deleting bundled jars..."
+	find -name "*.jar" -type f -delete
+
+	unpack netbeans-9999-r14-build.xml.patch.bz2
+
+	pushd "${S}" >/dev/null || die
+	ln -s "${DISTDIR}"/59631804B5A7FF3CEAA3F0E113584AF7E1BB6E9B-dd-plist.jar libs.plist/external/dd-plist.jar || die
+	ln -s "${DISTDIR}"/7C4A82593A85524A3541E55A4A9C906B773ABAD6-ios-sim cordova.platforms.ios/external/ios-sim || die
+	ln -s "${DISTDIR}"/9D29F2A9722C91A403F32971E97DD0E49E97B02E-libiDeviceNativeBinding.dylib cordova.platforms.ios/external/libiDeviceNativeBinding.dylib || die
+	ln -s "${DISTDIR}"/9F0D0D95F57E73C0110FA023813A4F9756D543B1-libimobiledevice.4.dylib cordova.platforms.ios/external/libimobiledevice.4.dylib || die
+	ln -s "${DISTDIR}"/480C9E376169E21EA3BDA5D5841425BD7CC054D7-libplist.1.dylib cordova.platforms.ios/external/libplist.1.dylib || die
+	ln -s "${DISTDIR}"/08FE518AB60FFA2E5440B75B4D9F8502E0791B3C-libs.jstestdriver-ext.jar libs.jstestdriver/external/libs.jstestdriver-ext.jar || die
+	ln -s "${DISTDIR}"/D05B7274396C8EED185207399B6D0400DE347DB7-libusbmuxd.2.dylib cordova.platforms.ios/external/libusbmuxd.2.dylib || die
+	popd >/dev/null || die
+}
+
+src_prepare() {
+	einfo "Deleting bundled class files..."
+	find -name "*.class" -type f | xargs rm -vf
+
+	epatch netbeans-9999-r14-build.xml.patch
+
+	# Support for custom patches
+	if [ -n "${NETBEANS9999_PATCHES_DIR}" -a -d "${NETBEANS9999_PATCHES_DIR}" ] ; then
+		local files=`find "${NETBEANS9999_PATCHES_DIR}" -type f`
+
+		if [ -n "${files}" ] ; then
+			einfo "Applying custom patches:"
+
+			for file in ${files} ; do
+				epatch "${file}"
+			done
+		fi
+	fi
+
+	einfo "Symlinking external libraries..."
+	java-pkg_jar-from --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 4cf9a99..65527f8 100644
--- a/dev-java/netbeans-websvccommon/Manifest
+++ b/dev-java/netbeans-websvccommon/Manifest
@@ -34,6 +34,7 @@ DIST netbeans-trunk-nightly-201511270002-src.zip 209057113 SHA256 a5ae7083bc58b9
 DIST netbeans-trunk-nightly-201511280002-src.zip 209067071 SHA256 4302c5a2625fd2ce88690813a9a355aa431f013e71d72a43db4466aba0c1399e SHA512 6774f00a6dfd4fb717432e7c3fa0cb3edaefa60711bcbd1f18961d9d0d8181cbe7c251a1d5c5f4ee09465f43d109f2877ff8b3357f47550ea81459a71edbc35b WHIRLPOOL 71b5cf8f6c3b82cc6194ae015869c6b11bdfa5f6dbd2c5a86c97a5f7fa17fdd20212c37523f0b0d0c4b7660b81f1a4589998d67b53c09280fc81a798b003bc1b
 DIST netbeans-trunk-nightly-201511290002-src.zip 209067309 SHA256 a0d14ef896c7e7df15f6911ee1eaa3c4f123bf2ddbad14a1c5c4f33c60ddd072 SHA512 f3838e66544635306aa3ce8c49979fda8c9437be06905c1ad1fd7d375bea3fdffd21f5d75a2413a5961cc4a1b11fca8438983c1284652381fe6d0d3d45847385 WHIRLPOOL 1a008d95e63ea95db57f049da7cb5871ea8d03c59501261b225c0e5012b144f3b37569555e006cbf7140c0fefd16f2c722df121897d0e7a40ead8171995e73e2
 DIST netbeans-trunk-nightly-201511300002-src.zip 209067309 SHA256 2cac888b1ddd5c95623942d0d02833d98d5d171b272d4d6287a76e7630b48469 SHA512 2b8b86325d6a97eb8dfdbe9b6960aa9658d6c30c1edd576bf8b77108fe26c4ce5e8d152e588e4cd9075b04ed671a7bcc8797f1cefbdf47e62c56bc4d7ea61d5e WHIRLPOOL a7d0ab312bb191a202746ad5c139681a9dab0f0bdc4ada1b34f468d330059050e26f875d3fc7eb62eda46f39c7118d495f9f94564100bad9ae3e0b27bf9896b2
+DIST netbeans-trunk-nightly-201512010002-src.zip 209149379 SHA256 9030cb0fd9a50bd2ba418c1b165215d3ee14eb1291b3008003cf638347862411 SHA512 04ace118a7a66b84c92630c4a567d6ad9181638e8eaa9bf64fd225915b8b1c47f81cb6beeb0d26a916a8bfa735c4eb464d68a43b1c72f447c06b518f43983b07 WHIRLPOOL a7ebbb6a7325851ccbe448deb44b3ac615a469f6c06a250265d78f88dc8708da28fd3d5ed5a18acaa3f7ca4223b8be6c9be35350d0605aa48a5055e710ec5d04
 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_p20151020.ebuild 2721 SHA256 115ff09c7ff247c8b9ef65d7452406d05c17a740ee65c47948d9930276f6a565 SHA512 27ade14dda248dc3af18dd95798bf50b1bb777decc2c7c19757bac3a23fd6da256cce671acbd5c17c46c3c0ee2713f6ea1a901f5e48e2af74bc5a4c141686666 WHIRLPOOL d663e9681d67ce23e5147ffff7215a00c11a2ea3414ac04d27d7f4a94fb4853a1a51c48005a1cd78aaaf0cb788850315982b39d640cda5d6ad80a69bd6906bdb
@@ -67,4 +68,5 @@ EBUILD netbeans-websvccommon-9999_p20151127.ebuild 2721 SHA256 e1b90641abd3724f5
 EBUILD netbeans-websvccommon-9999_p20151128.ebuild 2721 SHA256 9f642a918ad51bc9e64046bb553f19aab4e170a0de7ec8d5b8f3f5e655aa0a21 SHA512 eee04e1ee233806f7f4ac1b3a39e245be7bfb1ce3783cdc6a64488027eea72e03533bb55e0c4682577fe94da35da7da5e17e1a821b789a253df3fc759ebbbc61 WHIRLPOOL 2fcdd5310d66027068b90f95c73d7688abedd4dee80926eac3034f9fc44d5af9a1479436cfa3011398b4ecb76de833da9870c2f5542554da0ed2a93783e308c5
 EBUILD netbeans-websvccommon-9999_p20151129.ebuild 2721 SHA256 9eff6583a4578ca8b8c45949d87bb0538c8046afa74e79b98cb67512f2877b26 SHA512 bd20e4aad3608a309058f7411ef7da8ed82edd3e6f52e554ea497c549f552a51965eb258242d3a52a7712f566b54f32f4888e9772d4ca3edb64d057adb3c1659 WHIRLPOOL b2c2bfe473c0fb7f8f5aea03d23d573cf481f0df56cb3bc6beaac137fa7ef97d5f2c6383de5f37c8b7e679aece8ccd0592dc4d38a25c9db2573a4d0fadff4d7c
 EBUILD netbeans-websvccommon-9999_p20151130.ebuild 2721 SHA256 eb739961cd5de3ed3916c866977b95e6b68c543ede32fa70e0a2e943de93692a SHA512 689278b3e4227c052f8685bf25aeb8a28cb90c9eaa50f065df3d99cd719344af429fec828d2559710b02bf66ab11c6565bebe4b0913009f3969f95d5bd5e0ee3 WHIRLPOOL 5fad1c91e56361e8419e1e0b4af7cc59d465a59e880d20f331a291f20abaa5683f83b57abb99500661d2441332f691e4457cde0268ed88e5b14fd641802c4abc
+EBUILD netbeans-websvccommon-9999_p20151201.ebuild 2721 SHA256 cd4b74880988ca16e468cbf6086cd500a465d6fc5157245e96a816b91fd06b65 SHA512 a8e1825e45ba570e8cd25036109abefe2af8a21b23f423b12005fc9b3639f7ecd293f59463fc19a27e62eb6ba1ec2a3247125de8ebcf3acfd795c30735dc2c30 WHIRLPOOL 0e35e5b84420fd639e25850de3df1eefbf07779af55dc02f5d0fe843ccf223351327d108bcc4372ff7f5ace24de2b6591768d31a6a43ec0763a3b0c3eac2b6f3
 MISC metadata.xml 251 SHA256 5a4ff53a9862390a48d45c79be24086646e7a6ff0c5bdf0fcb799d0871299003 SHA512 04153cbd9776ad56a94d6a47d043df15d082d8888df8658f18d0d4b659c6c0526ab3a9b22ccbe2471091bf2d8165f224854bc99c51f3664aaf350ccb93532a7c WHIRLPOOL 2ee8a646c6e23bc46c72cac0ecb5cfe43720ec42404ddaeed8ab1b59d139b3d5c1a94764de847f979da978c001c9f02f709d663a68eeea64d19e88f1fefbca43

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

diff --git a/dev-util/netbeans/Manifest b/dev-util/netbeans/Manifest
index 197fce9..1a0919e 100644
--- a/dev-util/netbeans/Manifest
+++ b/dev-util/netbeans/Manifest
@@ -37,6 +37,7 @@ DIST netbeans-trunk-nightly-201511270002-src.zip 209057113 SHA256 a5ae7083bc58b9
 DIST netbeans-trunk-nightly-201511280002-src.zip 209067071 SHA256 4302c5a2625fd2ce88690813a9a355aa431f013e71d72a43db4466aba0c1399e SHA512 6774f00a6dfd4fb717432e7c3fa0cb3edaefa60711bcbd1f18961d9d0d8181cbe7c251a1d5c5f4ee09465f43d109f2877ff8b3357f47550ea81459a71edbc35b WHIRLPOOL 71b5cf8f6c3b82cc6194ae015869c6b11bdfa5f6dbd2c5a86c97a5f7fa17fdd20212c37523f0b0d0c4b7660b81f1a4589998d67b53c09280fc81a798b003bc1b
 DIST netbeans-trunk-nightly-201511290002-src.zip 209067309 SHA256 a0d14ef896c7e7df15f6911ee1eaa3c4f123bf2ddbad14a1c5c4f33c60ddd072 SHA512 f3838e66544635306aa3ce8c49979fda8c9437be06905c1ad1fd7d375bea3fdffd21f5d75a2413a5961cc4a1b11fca8438983c1284652381fe6d0d3d45847385 WHIRLPOOL 1a008d95e63ea95db57f049da7cb5871ea8d03c59501261b225c0e5012b144f3b37569555e006cbf7140c0fefd16f2c722df121897d0e7a40ead8171995e73e2
 DIST netbeans-trunk-nightly-201511300002-src.zip 209067309 SHA256 2cac888b1ddd5c95623942d0d02833d98d5d171b272d4d6287a76e7630b48469 SHA512 2b8b86325d6a97eb8dfdbe9b6960aa9658d6c30c1edd576bf8b77108fe26c4ce5e8d152e588e4cd9075b04ed671a7bcc8797f1cefbdf47e62c56bc4d7ea61d5e WHIRLPOOL a7d0ab312bb191a202746ad5c139681a9dab0f0bdc4ada1b34f468d330059050e26f875d3fc7eb62eda46f39c7118d495f9f94564100bad9ae3e0b27bf9896b2
+DIST netbeans-trunk-nightly-201512010002-src.zip 209149379 SHA256 9030cb0fd9a50bd2ba418c1b165215d3ee14eb1291b3008003cf638347862411 SHA512 04ace118a7a66b84c92630c4a567d6ad9181638e8eaa9bf64fd225915b8b1c47f81cb6beeb0d26a916a8bfa735c4eb464d68a43b1c72f447c06b518f43983b07 WHIRLPOOL a7ebbb6a7325851ccbe448deb44b3ac615a469f6c06a250265d78f88dc8708da28fd3d5ed5a18acaa3f7ca4223b8be6c9be35350d0605aa48a5055e710ec5d04
 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_p20151020.ebuild 7210 SHA256 a6b6f167d3b234a13eda7a8e03cf567afed94db4b32b53507640ed566e476909 SHA512 5f58a49a0d4ef7bb7dec98279eac950a88aa9f58f6c4f0a15b50c1b894211eceac8a4e1bca24d38ac6a1c1932678b73041a86d6818057afa24d0fbd503ce2546 WHIRLPOOL fd11fe87d841ecab50b36276d770a2e4b52566d6346cb92a69f22d606f9519c6a7cd244185e288dd9bc76ca08a2aef383576ff397df62d9085aeb2c09f0f573e
@@ -70,4 +71,5 @@ EBUILD netbeans-9999_p20151127.ebuild 6938 SHA256 24ae51ef3f81140d3d3fe929507211
 EBUILD netbeans-9999_p20151128.ebuild 6938 SHA256 6bd558e967211724a7c714fa14f4fe8624a4f562ff2094d7e3e69a8c3e143481 SHA512 b5b455b51e10f93efbd07e88d2bc8904ea43451f9cf3ea662c3f7f183c7a979dc0d0a8672008716663239ea5d6ce1aca071b874f59cecc89f32c68eaf895d686 WHIRLPOOL df7e3479ef136c52ba456e13ca066d5d1d83f08bde83c7124d2ecaf700430bf087a4de70e6b001f5ef475cc68923b88d1d11c741e387bcb488d2e1f03b7aeecd
 EBUILD netbeans-9999_p20151129.ebuild 6938 SHA256 3ac8de70ac299ea22f8ca44ba633a428fc68f9c46c8a8fca6b272c4e574eba4f SHA512 ae1e8d8913ee1d6f9719f5ce6df1f0b3114a0757ef83d61e53165ce126f8d896bf6462219a4c7605dc0f052c00597d82740f67f816105a356a78503859e51bec WHIRLPOOL f89d1e8f785b205d76c872ff822b95eca7deaa1a402a20fbde3c950219d1bef1b2a7c9340e71e8f10d594fb6400f00292a942cceaa0b8443d904d3714136e104
 EBUILD netbeans-9999_p20151130.ebuild 6938 SHA256 194a07c418ad731c68f9b31c99d218d69933e2cf34f0f71d25f21ca7b1ae95c8 SHA512 8a4aebdd1f92951d5dac2c1315b42a865073a608f6b9bfb7b0c7c199cccf1cf45c6038588efa85624e0da79d3ce6358cab5a2d7fe147a8bd6b03754f6326efb7 WHIRLPOOL fa8b7b48890238f7d1e03483f1616f277bfad486ef79a91ac4b8c99c8f0f48edbe9c8d3ee50476130b89b6dcfb8182e0d92896d5263bc7475c7f54fea6e24c71
+EBUILD netbeans-9999_p20151201.ebuild 6938 SHA256 e123016a32ffcaf48caad0b57c55786f8c83ec18d49717411311322dbbd1ccf6 SHA512 474264efa256e1781c0c500251427fae70f3ddc121525b5aae8847285382f5fe5c8d72dd85a729879a09dfb665f3b7ba5536a6eefcc6bcba9e2210ce1254d448 WHIRLPOOL edae165e8471c1143022f361f499279c79803383b14c2349bbf4c559200d94ffb8dfdb23a9a8a53e8624dedc48dc96968b758388311adf48c165073687e50b02
 MISC metadata.xml 333 SHA256 a7c289d7be537b4c51bd8100bca0d8a40ceb5fb011942bbd1b286841cf3c1d0a SHA512 3f730fc27f893489524053e81a465519037a68e297f02a5d6400f85f8bfd8a20006e5515a135b8a5779ebf5951a661d99aaa8bf3b9b96141f863e134dba2265e WHIRLPOOL d37106234351185946f6dc870e9b77babd38bed88673771949d26d176d8dad4071be5f2c59bf72b139a6a35c899c2c7ac9ffde1c7b4885135d52c821780cf3d2

diff --git a/dev-util/netbeans/netbeans-9999_p20151201.ebuild b/dev-util/netbeans/netbeans-9999_p20151201.ebuild
new file mode 100644
index 0000000..18f5edf
--- /dev/null
+++ b/dev-util/netbeans/netbeans-9999_p20151201.ebuild
@@ -0,0 +1,253 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="4"
+inherit eutils java-pkg-2 java-ant-2
+
+DESCRIPTION="Netbeans IDE"
+HOMEPAGE="http://netbeans.org/"
+SLOT="9999"
+SOURCE_URL="http://bits.netbeans.org/download/trunk/nightly/2015-12-01_00-02-04/zip/netbeans-trunk-nightly-201512010002-src.zip"
+PATCHES_URL="http://dev.gentoo.org/~fordfrog/distfiles/netbeans-9999-r14-build.xml.patch.bz2"
+L10N_URL="http://dev.gentoo.org/~fordfrog/distfiles/netbeans-l10n-9999-20131010.tar.bz2"
+ALL_URLS="${SOURCE_URL} ${PATCHES_URL} ${L10N_URL}"
+SRC_URI="linguas_af? ( ${ALL_URLS} )
+	linguas_ar? ( ${ALL_URLS} )
+	linguas_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-r14-build.xml.patch.bz2
+	fi
+}
+
+src_prepare() {
+	if [ -n "${NBLOCALES}" ] ; then
+		einfo "Deleting bundled class files..."
+		find -name "*.class" -type f | xargs rm -vf
+
+		epatch netbeans-9999-r14-build.xml.patch
+
+		# Support for custom patches
+		if [ -n "${NETBEANS9999_PATCHES_DIR}" -a -d "${NETBEANS9999_PATCHES_DIR}" ] ; then
+			local files=`find "${NETBEANS9999_PATCHES_DIR}" -type f`
+
+			if [ -n "${files}" ] ; then
+				einfo "Applying custom patches:"
+
+				for file in ${files} ; do
+					epatch "${file}"
+				done
+			fi
+		fi
+
+		einfo "Symlinking external libraries..."
+		java-pkg_jar-from --build-only --into javahelp/external javahelp jhall.jar jhall-2.0_05.jar
+	fi
+
+	java-pkg-2_src_prepare
+}
+
+src_compile() {
+	if [ -n "${NBLOCALES}" ] ; then
+		einfo "Compiling support for locales: ${NBLOCALES}"
+		eant -f nbbuild/build.xml bootstrap || die
+		eant -Dlocales=${NBLOCALES} -Ddist.dir=../nbbuild/netbeans -Dnbms.dir="" -Dnbms.dist.dir="" \
+			-Dpermit.jdk7.builds=true -f l10n/build.xml build || die
+	fi
+}
+
+src_install() {
+	if [ -n "${NBLOCALES}" ] ; then
+		pushd "${S}"/nbbuild/netbeans >/dev/null || die
+
+		for cluster in apisupport cnd dlight enterprise ergonomics groovy harness ide java javacard javafx mobility php platform profiler webcommon websvccommon ; do
+			if [ -d "${cluster}" ] ; then
+				insinto /usr/share/netbeans-${cluster}-${SLOT}
+				doins -r ${cluster}/*
+			fi
+		done
+
+		if [ -d nb ] ; then
+			insinto /usr/share/netbeans-nb-${SLOT}/nb
+			doins -r nb/*
+		fi
+
+		popd >/dev/null || die
+	fi
+}
+
+pkg_postinst() {
+	if [ -n "${NBLOCALES}" ] ; then
+		einfo "Netbeans automatically starts with the locale you have set in your user profile, if"
+		einfo "the locale is built for Netbeans."
+		einfo "If you want to force specific locale, use --locale argument, for example:"
+		einfo "${PN}-${SLOT} --locale de"
+		einfo "${PN}-${SLOT} --locale pt:BR"
+	fi
+
+	if use linguas_ar ; then
+		einfo
+		einfo "You selected Arabic locale so you can choose either ar:EG or ar:SA variant."
+	fi
+
+	if use linguas_es ; then
+		einfo
+		einfo "You selected Spanish locale so you can choose either es or es:CO variant."
+	fi
+
+	if use linguas_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:[~2015-12-01 10:43 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-12-01 10:43 [gentoo-commits] dev/fordfrog:master commit in: dev-util/netbeans/, dev-java/netbeans-apisupport/, dev-java/netbeans-platform/, Miroslav Šulc

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