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

commit:     bc700f8b51823b45e576f6c5ff2df814a60def20
Author:     Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
AuthorDate: Wed Nov 25 16:58:42 2015 +0000
Commit:     Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
CommitDate: Wed Nov 25 16:58:42 2015 +0000
URL:        https://gitweb.gentoo.org/dev/fordfrog.git/commit/?id=bc700f8b

netbeans: bumped to the latest nightly sources

Package-Manager: portage-2.2.26

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

diff --git a/dev-java/netbeans-apisupport/Manifest b/dev-java/netbeans-apisupport/Manifest
index cfb73de..f388cda 100644
--- a/dev-java/netbeans-apisupport/Manifest
+++ b/dev-java/netbeans-apisupport/Manifest
@@ -28,6 +28,7 @@ DIST netbeans-trunk-nightly-201511210002-src.zip 209010240 SHA256 f2ae849caecc3b
 DIST netbeans-trunk-nightly-201511220002-src.zip 209010278 SHA256 fd9b4be1bea62ec36f817ac6f074699524b4b6e831fd929fe0af4ac7b0fe7a1d SHA512 05107a3b235508c68fe710ee6ea3e16583088151dfbab5d86fbe6d4ad996b45bc4efd52931220c55ccf615e10645ef2e4678e8de9ae5b98885785d726cd1b076 WHIRLPOOL 91caf15373bd802d84d970642e9f6694a461d0a730f72297f0a5511b6f60ac032cdaef21997a60e6f692bd4e873d967e4c7c5f4645737bb4693a96cd6dc6f138
 DIST netbeans-trunk-nightly-201511230002-src.zip 209010278 SHA256 1e7b0dd059f2838bd3513cccf5b5380bd32d50984376627cc66345966e065be6 SHA512 21ae5ae00ad2863c8fec26e63f5c45404271d3aef900908923572e8d3dd283e40900e2902ea3b743a9cb422de0bb4ab29f047cb3c6961f0366451c4993cb282a WHIRLPOOL 7f8a9fbf9ba76495ab7356a1332ee37927b755214e68f4af1d31f18f363446de08536018f9934f067c3fa889fa090c1611eb7c15703d5a6fc6c609d2a7d4596c
 DIST netbeans-trunk-nightly-201511240002-src.zip 209016790 SHA256 f7cf4fdfefab6bf0f8895703a7bb603335d3ba8e53eba66d57889278fa8be3bb SHA512 9d11fcede1f5ea7572151cfc2b57b79bf353fc06f1eb6ae175cb52cf1bf9b6c9774e1ea581078a83c4dec502c94cf6dbeca464461593f6f3e360bab9492723da WHIRLPOOL 55f3b39feace5ab179ad75316d8582ac1b47c953623cb59857e69103a8427407736f0a43639034c7bf4cb322fac47adcb24cb6ce8fb33b0fecbf040f171d8b3a
+DIST netbeans-trunk-nightly-201511250002-src.zip 209050331 SHA256 c5bddd15370c7b689caff156e3d447575f1219ebe8a40973df3c4065f68f259f SHA512 b2b02288525f68ccbbb3f1a1d7cbd236cefe0c4298d44279c49a7742637791ea9bd2c9cb34983fe881235efb143e511aa62e949efd254c610ccd5bb061a0e69a WHIRLPOOL 7ddf332ee1ca12ebf95bec63bcfaae141150247d1009ea4604891a43c03d4a45ae324930f08a06147f79270cdd1e0d897d4516b28e22dcd29d2022a69be93929
 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
@@ -55,4 +56,5 @@ EBUILD netbeans-apisupport-9999_p20151121.ebuild 3384 SHA256 39a29675129d8a479db
 EBUILD netbeans-apisupport-9999_p20151122.ebuild 3384 SHA256 1749dfd4df3c8b1308a3098781ab4dfb3de8ddf096c3fc890a25ff6f3a78ca5f SHA512 b59d4220032626a4dcfd55186d9ab8ee88453f13cddcf8f4bf60883a4d9be4a99aa21c310f989ae4b837804b6d8c742280ab3726135e5a0f50832a82a8b830bb WHIRLPOOL de8876b91321c7b74b00bd49236a7b2fd7faa19f74136abb10d7bf336221d4c0bd286dc0322a7a8b297de6811cfa8436b084616884d401150abe0d322308c4ad
 EBUILD netbeans-apisupport-9999_p20151123.ebuild 3384 SHA256 8ae4e0253bb62f8b6383b3096805d5884ff18e6ac2e976812d1678e28a1ebdfb SHA512 bf00cfd683f9ae4603da9e26dcf4174bcaab80ef4cf8e35cd7930092d472e32fd581999a2feed75a74a83b4e06f27e1e614a0b4baf69d6d218f47c181a66fa98 WHIRLPOOL 88496454b90c51b577c525685fa68ec7e07f82a707d204b055072bb3b61348eb8eeed262ec168e3bfb15e7b0d99e977b18b5d3f81c04da7638a64cf634aae249
 EBUILD netbeans-apisupport-9999_p20151124.ebuild 3384 SHA256 faeef3798ce4b85654cbcb4f3c901b20f788180711ab2725a62351ca36eaa983 SHA512 abf08472c215fbc6ef334d371ad795952ddbc58164452f615fb74bfa2798dbc4a0db0e1172a9ade12205bffc80665443ac98ed387f981ba3eb7356ce2f7d7aae WHIRLPOOL e547f658f90463c31f088fd3d5b528849fd24f7a59bceb68d676e7bef388d574b99e347a7564516dbddf47a12a5828c62f25e7a88db4ea659e38afb79c4de01d
+EBUILD netbeans-apisupport-9999_p20151125.ebuild 3384 SHA256 55710da0a180656993cb20fb27b49d3827effee003842caee6ce7f4c3a4e96ca SHA512 d3e1da8f6d39d4a928d5b5e8b41c9067ff0e77639316d713bb8a05a8b381ba3d323a31067532157c9c7bed4c5bb8d2312adf82130f722d1fcd17657ba3d1f2aa WHIRLPOOL 0a6b15d04a6c1d3f36c191c55a4937aaa922b6348f100a2c705a01fb0d6049b9bc4707a68df1b6dabe5b9f0894bf7d5e561b33a1b39b76b3efed4362e4ad6ac2
 MISC metadata.xml 251 SHA256 5a4ff53a9862390a48d45c79be24086646e7a6ff0c5bdf0fcb799d0871299003 SHA512 04153cbd9776ad56a94d6a47d043df15d082d8888df8658f18d0d4b659c6c0526ab3a9b22ccbe2471091bf2d8165f224854bc99c51f3664aaf350ccb93532a7c WHIRLPOOL 2ee8a646c6e23bc46c72cac0ecb5cfe43720ec42404ddaeed8ab1b59d139b3d5c1a94764de847f979da978c001c9f02f709d663a68eeea64d19e88f1fefbca43

diff --git a/dev-java/netbeans-apisupport/netbeans-apisupport-9999_p20151125.ebuild b/dev-java/netbeans-apisupport/netbeans-apisupport-9999_p20151125.ebuild
new file mode 100644
index 0000000..002ea99
--- /dev/null
+++ b/dev-java/netbeans-apisupport/netbeans-apisupport-9999_p20151125.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-11-25_00-02-04/zip/netbeans-trunk-nightly-201511250002-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 5d5311e..382a2a9 100644
--- a/dev-java/netbeans-cnd/Manifest
+++ b/dev-java/netbeans-cnd/Manifest
@@ -41,6 +41,7 @@ DIST netbeans-trunk-nightly-201511210002-src.zip 209010240 SHA256 f2ae849caecc3b
 DIST netbeans-trunk-nightly-201511220002-src.zip 209010278 SHA256 fd9b4be1bea62ec36f817ac6f074699524b4b6e831fd929fe0af4ac7b0fe7a1d SHA512 05107a3b235508c68fe710ee6ea3e16583088151dfbab5d86fbe6d4ad996b45bc4efd52931220c55ccf615e10645ef2e4678e8de9ae5b98885785d726cd1b076 WHIRLPOOL 91caf15373bd802d84d970642e9f6694a461d0a730f72297f0a5511b6f60ac032cdaef21997a60e6f692bd4e873d967e4c7c5f4645737bb4693a96cd6dc6f138
 DIST netbeans-trunk-nightly-201511230002-src.zip 209010278 SHA256 1e7b0dd059f2838bd3513cccf5b5380bd32d50984376627cc66345966e065be6 SHA512 21ae5ae00ad2863c8fec26e63f5c45404271d3aef900908923572e8d3dd283e40900e2902ea3b743a9cb422de0bb4ab29f047cb3c6961f0366451c4993cb282a WHIRLPOOL 7f8a9fbf9ba76495ab7356a1332ee37927b755214e68f4af1d31f18f363446de08536018f9934f067c3fa889fa090c1611eb7c15703d5a6fc6c609d2a7d4596c
 DIST netbeans-trunk-nightly-201511240002-src.zip 209016790 SHA256 f7cf4fdfefab6bf0f8895703a7bb603335d3ba8e53eba66d57889278fa8be3bb SHA512 9d11fcede1f5ea7572151cfc2b57b79bf353fc06f1eb6ae175cb52cf1bf9b6c9774e1ea581078a83c4dec502c94cf6dbeca464461593f6f3e360bab9492723da WHIRLPOOL 55f3b39feace5ab179ad75316d8582ac1b47c953623cb59857e69103a8427407736f0a43639034c7bf4cb322fac47adcb24cb6ce8fb33b0fecbf040f171d8b3a
+DIST netbeans-trunk-nightly-201511250002-src.zip 209050331 SHA256 c5bddd15370c7b689caff156e3d447575f1219ebe8a40973df3c4065f68f259f SHA512 b2b02288525f68ccbbb3f1a1d7cbd236cefe0c4298d44279c49a7742637791ea9bd2c9cb34983fe881235efb143e511aa62e949efd254c610ccd5bb061a0e69a WHIRLPOOL 7ddf332ee1ca12ebf95bec63bcfaae141150247d1009ea4604891a43c03d4a45ae324930f08a06147f79270cdd1e0d897d4516b28e22dcd29d2022a69be93929
 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
@@ -68,4 +69,5 @@ EBUILD netbeans-cnd-9999_p20151121.ebuild 4790 SHA256 9c67b95a8f0cce66864a0b76e5
 EBUILD netbeans-cnd-9999_p20151122.ebuild 4790 SHA256 66e6b706697f3e34783ba3853f91bf9719c7420473268d264606c1e1b74d354f SHA512 20688d0203698fc655575df00c63b5c0acb43f32c4f3bb952c6a9ecdbc7dda7d617064b15d54d6c51460050e2bf23863f7421f2f9a2abe82c0e82abecd1f1610 WHIRLPOOL c87be93d7c08b068a6740dfbdb26a27b1ffbb5071564625c2990fe878c27e94b896b4d12cd9bea78c4820bbfad57c07b44d42a4c2b49f78b031c4e3fbd38a23e
 EBUILD netbeans-cnd-9999_p20151123.ebuild 4790 SHA256 544132c67ec38652923a0074a4f286cb243d151d07f4c33c632b0e0ca187671a SHA512 cff65979d066dd03efda3f700bd3e80cee2e99673f70eb6a54f926f463002a55533800b562411cb5b682272de235576d52a6b2b266caa661f4482b3e4d767157 WHIRLPOOL 1962b55b867acf60b7d117a29b4aeccd278a21759d1c5b879f596ea1c9b808417bc3592655cd1a063e5c0b40b9b6fb577fe51f695f60ec5b496ea959d3fcf57f
 EBUILD netbeans-cnd-9999_p20151124.ebuild 4790 SHA256 2a73ab1063e4f377e4b262380d717afbab82a346555c7839c89e1d0dd3eb38d7 SHA512 a3a9e75776a854f50f2d102b47cf8d668413f7492dc1540e9d46f2e7cdefc69af9677478ed3728bc22bb4a7e9b18d3b12599e13e46d16858a9861fa1e1e69db3 WHIRLPOOL 8081ab6c4130c363afa8b0a064006a213ef8645ee56c13c9ab333fda025c4646f5588a05bcdd3d1b37cbd3df633a657cc6e4431bf8f5859c7aafbbd7a5323151
+EBUILD netbeans-cnd-9999_p20151125.ebuild 4790 SHA256 d5634cdf3dad5ea9fb53ef0e1c2c968a0fcdc232958885e9c22a2634015896ac SHA512 c665b74b141eabfdcfa53f68c27a66d6f4b176503ee114907b71ded9e56ffc273c3e8cfa0c9cb28c11dc0b99822ed7d7937a2d28cef05f5c342ee5538c918eda WHIRLPOOL 376e3c905e66764dade619a26e6795b21d477e29c47c0ea03650758454fccb75591f16c5debd5a2f7c71b1e1140d5b2a4670301277e7b11e45073214bec7ce27
 MISC metadata.xml 251 SHA256 5a4ff53a9862390a48d45c79be24086646e7a6ff0c5bdf0fcb799d0871299003 SHA512 04153cbd9776ad56a94d6a47d043df15d082d8888df8658f18d0d4b659c6c0526ab3a9b22ccbe2471091bf2d8165f224854bc99c51f3664aaf350ccb93532a7c WHIRLPOOL 2ee8a646c6e23bc46c72cac0ecb5cfe43720ec42404ddaeed8ab1b59d139b3d5c1a94764de847f979da978c001c9f02f709d663a68eeea64d19e88f1fefbca43

diff --git a/dev-java/netbeans-cnd/netbeans-cnd-9999_p20151125.ebuild b/dev-java/netbeans-cnd/netbeans-cnd-9999_p20151125.ebuild
new file mode 100644
index 0000000..63eb965
--- /dev/null
+++ b/dev-java/netbeans-cnd/netbeans-cnd-9999_p20151125.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-11-25_00-02-04/zip/netbeans-trunk-nightly-201511250002-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 349ba88..f17192a 100644
--- a/dev-java/netbeans-dlight/Manifest
+++ b/dev-java/netbeans-dlight/Manifest
@@ -30,6 +30,7 @@ DIST netbeans-trunk-nightly-201511210002-src.zip 209010240 SHA256 f2ae849caecc3b
 DIST netbeans-trunk-nightly-201511220002-src.zip 209010278 SHA256 fd9b4be1bea62ec36f817ac6f074699524b4b6e831fd929fe0af4ac7b0fe7a1d SHA512 05107a3b235508c68fe710ee6ea3e16583088151dfbab5d86fbe6d4ad996b45bc4efd52931220c55ccf615e10645ef2e4678e8de9ae5b98885785d726cd1b076 WHIRLPOOL 91caf15373bd802d84d970642e9f6694a461d0a730f72297f0a5511b6f60ac032cdaef21997a60e6f692bd4e873d967e4c7c5f4645737bb4693a96cd6dc6f138
 DIST netbeans-trunk-nightly-201511230002-src.zip 209010278 SHA256 1e7b0dd059f2838bd3513cccf5b5380bd32d50984376627cc66345966e065be6 SHA512 21ae5ae00ad2863c8fec26e63f5c45404271d3aef900908923572e8d3dd283e40900e2902ea3b743a9cb422de0bb4ab29f047cb3c6961f0366451c4993cb282a WHIRLPOOL 7f8a9fbf9ba76495ab7356a1332ee37927b755214e68f4af1d31f18f363446de08536018f9934f067c3fa889fa090c1611eb7c15703d5a6fc6c609d2a7d4596c
 DIST netbeans-trunk-nightly-201511240002-src.zip 209016790 SHA256 f7cf4fdfefab6bf0f8895703a7bb603335d3ba8e53eba66d57889278fa8be3bb SHA512 9d11fcede1f5ea7572151cfc2b57b79bf353fc06f1eb6ae175cb52cf1bf9b6c9774e1ea581078a83c4dec502c94cf6dbeca464461593f6f3e360bab9492723da WHIRLPOOL 55f3b39feace5ab179ad75316d8582ac1b47c953623cb59857e69103a8427407736f0a43639034c7bf4cb322fac47adcb24cb6ce8fb33b0fecbf040f171d8b3a
+DIST netbeans-trunk-nightly-201511250002-src.zip 209050331 SHA256 c5bddd15370c7b689caff156e3d447575f1219ebe8a40973df3c4065f68f259f SHA512 b2b02288525f68ccbbb3f1a1d7cbd236cefe0c4298d44279c49a7742637791ea9bd2c9cb34983fe881235efb143e511aa62e949efd254c610ccd5bb061a0e69a WHIRLPOOL 7ddf332ee1ca12ebf95bec63bcfaae141150247d1009ea4604891a43c03d4a45ae324930f08a06147f79270cdd1e0d897d4516b28e22dcd29d2022a69be93929
 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
@@ -57,4 +58,5 @@ EBUILD netbeans-dlight-9999_p20151121.ebuild 2968 SHA256 286c784e51ff50039523eb8
 EBUILD netbeans-dlight-9999_p20151122.ebuild 2968 SHA256 e7f3e861a77141f0fe8649a4423875a8a0c167e468f909979c46aa599e1766b7 SHA512 989a38635a9deeb031197437cda188e9b3f4d41c5b132b16e19766ee89262ebe33c10b2b7f812a1fe9fdb01a29b85a1c007b9a1b14189c3a67922fe0955ec539 WHIRLPOOL a78c6882a2a96f363cee1c29dd66afdfd7635d9541001f7e542056fc626904cc742d3f8514993dc6e1194e6703bc130a3d4dd1dd5e1d2df23ff815edbd344cad
 EBUILD netbeans-dlight-9999_p20151123.ebuild 2968 SHA256 434658fdccb9704fa594ea368efd764855632d090a181078db9f6aa6c9ba176e SHA512 7e6f748f64c8ac345b04892b6faadafd4833919495d937aab991c16be51d3e66ceb8920aa370a967c77669736bffe24b6b3a078b6b86bb4774ee8a8188e23fcd WHIRLPOOL cc49ee52a11695eeaa0d292c16ec66fcd3cde4ba9bd2f7dd88892e233f576c83b255e0286f1b280c18bee35798e04f16be7b30266098cc2ca4395565c49d8921
 EBUILD netbeans-dlight-9999_p20151124.ebuild 2968 SHA256 829d48bb0ab55219831e909058292f774e48c2a6b745ca79ba10a3c1c6399e52 SHA512 1a732fabb71647b285d128e03f6495955c7b548a45fffa262abba8e2dce6dbb84488746f12a1cff5fafaee8b42b1f5e6704a95d3a99df213ee65c7c2114958e5 WHIRLPOOL 7db54a4e43605c582a177ed9c0b8e7cd071026d919f436b16d818bb89ac24206d1c03164b7e92ed038725b6782f300450dc2590add677497f32345039e7d445e
+EBUILD netbeans-dlight-9999_p20151125.ebuild 2968 SHA256 dff6a182ad5d354b8ed22f497296de2f30111d8dc65eaba00b125ac0642822e2 SHA512 319f51727e34162eca0b421f7940e696ffbf2aa29dfae9c69a0379a82cc0d3f9d8b6e92e642c76ef4cce6ef1e2d90f7d4f2db9960d8c0d09cab859196413be49 WHIRLPOOL 0d44f9689bd30fa1867e8b247235285de4f31a462fda35415fb78fb5f1217c6bb3c326758c14d9ba79476122d13e5fd30a546ad0aabdcee416bc8d3376ad1e01
 MISC metadata.xml 251 SHA256 5a4ff53a9862390a48d45c79be24086646e7a6ff0c5bdf0fcb799d0871299003 SHA512 04153cbd9776ad56a94d6a47d043df15d082d8888df8658f18d0d4b659c6c0526ab3a9b22ccbe2471091bf2d8165f224854bc99c51f3664aaf350ccb93532a7c WHIRLPOOL 2ee8a646c6e23bc46c72cac0ecb5cfe43720ec42404ddaeed8ab1b59d139b3d5c1a94764de847f979da978c001c9f02f709d663a68eeea64d19e88f1fefbca43

diff --git a/dev-java/netbeans-dlight/netbeans-dlight-9999_p20151125.ebuild b/dev-java/netbeans-dlight/netbeans-dlight-9999_p20151125.ebuild
new file mode 100644
index 0000000..c74e30e
--- /dev/null
+++ b/dev-java/netbeans-dlight/netbeans-dlight-9999_p20151125.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-11-25_00-02-04/zip/netbeans-trunk-nightly-201511250002-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 92ab8d8..4ca951a 100644
--- a/dev-java/netbeans-enterprise/Manifest
+++ b/dev-java/netbeans-enterprise/Manifest
@@ -60,6 +60,7 @@ DIST netbeans-trunk-nightly-201511210002-src.zip 209010240 SHA256 f2ae849caecc3b
 DIST netbeans-trunk-nightly-201511220002-src.zip 209010278 SHA256 fd9b4be1bea62ec36f817ac6f074699524b4b6e831fd929fe0af4ac7b0fe7a1d SHA512 05107a3b235508c68fe710ee6ea3e16583088151dfbab5d86fbe6d4ad996b45bc4efd52931220c55ccf615e10645ef2e4678e8de9ae5b98885785d726cd1b076 WHIRLPOOL 91caf15373bd802d84d970642e9f6694a461d0a730f72297f0a5511b6f60ac032cdaef21997a60e6f692bd4e873d967e4c7c5f4645737bb4693a96cd6dc6f138
 DIST netbeans-trunk-nightly-201511230002-src.zip 209010278 SHA256 1e7b0dd059f2838bd3513cccf5b5380bd32d50984376627cc66345966e065be6 SHA512 21ae5ae00ad2863c8fec26e63f5c45404271d3aef900908923572e8d3dd283e40900e2902ea3b743a9cb422de0bb4ab29f047cb3c6961f0366451c4993cb282a WHIRLPOOL 7f8a9fbf9ba76495ab7356a1332ee37927b755214e68f4af1d31f18f363446de08536018f9934f067c3fa889fa090c1611eb7c15703d5a6fc6c609d2a7d4596c
 DIST netbeans-trunk-nightly-201511240002-src.zip 209016790 SHA256 f7cf4fdfefab6bf0f8895703a7bb603335d3ba8e53eba66d57889278fa8be3bb SHA512 9d11fcede1f5ea7572151cfc2b57b79bf353fc06f1eb6ae175cb52cf1bf9b6c9774e1ea581078a83c4dec502c94cf6dbeca464461593f6f3e360bab9492723da WHIRLPOOL 55f3b39feace5ab179ad75316d8582ac1b47c953623cb59857e69103a8427407736f0a43639034c7bf4cb322fac47adcb24cb6ce8fb33b0fecbf040f171d8b3a
+DIST netbeans-trunk-nightly-201511250002-src.zip 209050331 SHA256 c5bddd15370c7b689caff156e3d447575f1219ebe8a40973df3c4065f68f259f SHA512 b2b02288525f68ccbbb3f1a1d7cbd236cefe0c4298d44279c49a7742637791ea9bd2c9cb34983fe881235efb143e511aa62e949efd254c610ccd5bb061a0e69a WHIRLPOOL 7ddf332ee1ca12ebf95bec63bcfaae141150247d1009ea4604891a43c03d4a45ae324930f08a06147f79270cdd1e0d897d4516b28e22dcd29d2022a69be93929
 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
@@ -87,4 +88,5 @@ EBUILD netbeans-enterprise-9999_p20151121.ebuild 15931 SHA256 7c2c4962614ed68cf0
 EBUILD netbeans-enterprise-9999_p20151122.ebuild 15931 SHA256 9f952b4db4a59c43685a7c04b7feb9c5b5d509eb32da44529b2c839f48965e61 SHA512 6d76be216078f26c1968b92f0a1b8d0ae089dd53464c962f71f814dee62b1fa45e6c37d2e400917307aac25a6d2a35d1abc96418b7defe9db3c172202b0588bc WHIRLPOOL ce2e8b60688564a710193380ff5943da7b94bd61721b529b8bd550b18e41984962cb602ce7e53dc5c87919404a9a699530a4a1b273ac199e291915c295966781
 EBUILD netbeans-enterprise-9999_p20151123.ebuild 15931 SHA256 526a5ccb71f7c0edd7b40fab0b7cb20cf172b77c95da4a89d98adf2dd66d7be3 SHA512 0103ed8e1ef6440f3736f400f11c29ec0dc3a080b0313598326932d41d4e402427e88da682c790bd6084096fd7f361629ee7350446c52e9b68058613ffbc35d6 WHIRLPOOL a77f9ac08f55c55654e25abf333127f41d787445811ee9e68072135922aae623774dd927b8534de4087c8dad0619fef97b9e34a0c2272ea66707db84df7323d2
 EBUILD netbeans-enterprise-9999_p20151124.ebuild 15931 SHA256 3625414423cc3924a53c64073d8347f1c6057df0113f9023e86399500b9db733 SHA512 741dbb21d9c5e705fab32bde152ac31dc7a9ba603908de06730f7c4ff70608f56b773b42cbc2fb0d788928fb0890905de0860fb675a5df354d0f852a965bc3ec WHIRLPOOL a3449edca12e27c0bd55a355bf935b42925ac07937dbe8c31ad09a2ac688579c44b40d2cb3280b9ad917b262cf9eaca14f535f5ac0f0e2833dd0791b945ebd52
+EBUILD netbeans-enterprise-9999_p20151125.ebuild 15931 SHA256 695ad2ac68264746c14b430dad45f6f92c603b57a381b324e45011e4a97e9328 SHA512 325e19e80b664b39ed95c0edd63c7ccbaace919709fbd85694a827598e22e892a0b250488b2d07aa2dc6dfb8912233e250e4621f97304b02e4e65b8abd8787d8 WHIRLPOOL 9095f5b3a87776679aeb2dfd9cf70fca1801d7f01b5cd9ffcea04886d1e3262695fb4473feb5cf66c1615750e350b4524d897f23ba5cee2384df44f38191941a
 MISC metadata.xml 251 SHA256 5a4ff53a9862390a48d45c79be24086646e7a6ff0c5bdf0fcb799d0871299003 SHA512 04153cbd9776ad56a94d6a47d043df15d082d8888df8658f18d0d4b659c6c0526ab3a9b22ccbe2471091bf2d8165f224854bc99c51f3664aaf350ccb93532a7c WHIRLPOOL 2ee8a646c6e23bc46c72cac0ecb5cfe43720ec42404ddaeed8ab1b59d139b3d5c1a94764de847f979da978c001c9f02f709d663a68eeea64d19e88f1fefbca43

diff --git a/dev-java/netbeans-enterprise/netbeans-enterprise-9999_p20151125.ebuild b/dev-java/netbeans-enterprise/netbeans-enterprise-9999_p20151125.ebuild
new file mode 100644
index 0000000..49fcff7
--- /dev/null
+++ b/dev-java/netbeans-enterprise/netbeans-enterprise-9999_p20151125.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-11-25_00-02-04/zip/netbeans-trunk-nightly-201511250002-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 3455152..ef09cc3 100644
--- a/dev-java/netbeans-ergonomics/Manifest
+++ b/dev-java/netbeans-ergonomics/Manifest
@@ -28,6 +28,7 @@ DIST netbeans-trunk-nightly-201511210002-src.zip 209010240 SHA256 f2ae849caecc3b
 DIST netbeans-trunk-nightly-201511220002-src.zip 209010278 SHA256 fd9b4be1bea62ec36f817ac6f074699524b4b6e831fd929fe0af4ac7b0fe7a1d SHA512 05107a3b235508c68fe710ee6ea3e16583088151dfbab5d86fbe6d4ad996b45bc4efd52931220c55ccf615e10645ef2e4678e8de9ae5b98885785d726cd1b076 WHIRLPOOL 91caf15373bd802d84d970642e9f6694a461d0a730f72297f0a5511b6f60ac032cdaef21997a60e6f692bd4e873d967e4c7c5f4645737bb4693a96cd6dc6f138
 DIST netbeans-trunk-nightly-201511230002-src.zip 209010278 SHA256 1e7b0dd059f2838bd3513cccf5b5380bd32d50984376627cc66345966e065be6 SHA512 21ae5ae00ad2863c8fec26e63f5c45404271d3aef900908923572e8d3dd283e40900e2902ea3b743a9cb422de0bb4ab29f047cb3c6961f0366451c4993cb282a WHIRLPOOL 7f8a9fbf9ba76495ab7356a1332ee37927b755214e68f4af1d31f18f363446de08536018f9934f067c3fa889fa090c1611eb7c15703d5a6fc6c609d2a7d4596c
 DIST netbeans-trunk-nightly-201511240002-src.zip 209016790 SHA256 f7cf4fdfefab6bf0f8895703a7bb603335d3ba8e53eba66d57889278fa8be3bb SHA512 9d11fcede1f5ea7572151cfc2b57b79bf353fc06f1eb6ae175cb52cf1bf9b6c9774e1ea581078a83c4dec502c94cf6dbeca464461593f6f3e360bab9492723da WHIRLPOOL 55f3b39feace5ab179ad75316d8582ac1b47c953623cb59857e69103a8427407736f0a43639034c7bf4cb322fac47adcb24cb6ce8fb33b0fecbf040f171d8b3a
+DIST netbeans-trunk-nightly-201511250002-src.zip 209050331 SHA256 c5bddd15370c7b689caff156e3d447575f1219ebe8a40973df3c4065f68f259f SHA512 b2b02288525f68ccbbb3f1a1d7cbd236cefe0c4298d44279c49a7742637791ea9bd2c9cb34983fe881235efb143e511aa62e949efd254c610ccd5bb061a0e69a WHIRLPOOL 7ddf332ee1ca12ebf95bec63bcfaae141150247d1009ea4604891a43c03d4a45ae324930f08a06147f79270cdd1e0d897d4516b28e22dcd29d2022a69be93929
 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
@@ -55,4 +56,5 @@ EBUILD netbeans-ergonomics-9999_p20151121.ebuild 2913 SHA256 ae094c7892b796a9aef
 EBUILD netbeans-ergonomics-9999_p20151122.ebuild 2913 SHA256 d8bdcf7b5ac9b5330a3b45cdc9d5f90915c5249b9784f85e7a8d81043649d52f SHA512 9a7f27d0ccb28c653200c01830c9b4e06b831818db0aa30fd58e9a2d768e3c01964cb37880cf175c09023cf606918bd297d54f9b20deecf7802045c3519314b6 WHIRLPOOL 2c17530d6738369d0cf4d8b68bdf37206e3ab91be1f7695e27753c18fae7f08a45fd7607e043123be61adbdb029a9704c33929279b64a85fe8c41de0e1750111
 EBUILD netbeans-ergonomics-9999_p20151123.ebuild 2913 SHA256 0ebb295cb0db2772444700eba7eb6d5feafe0ffda0e6abeebb83ab91732a9b27 SHA512 470eccf887e89ac4606078fa7cc369c815ffd683931db9bc2bc4bc0522a8650dcdbe85dd82e2cd4c59b3f63dce637ae606dda9a2cab07ccf9861aef5e59a92d2 WHIRLPOOL af7974559a64cecf50c643baebf3b57ea38829774b62b5bb96330ad5f86a50b369cc803e34b4f503008e4bf417e465da1f3a9848b425332b09c819b393fa6008
 EBUILD netbeans-ergonomics-9999_p20151124.ebuild 2913 SHA256 f5919c7a10230e146c91dab07e44872542e91cdbac1b8ecb74e152544ec85182 SHA512 6a47ae20dd337bda6e6125fe8e8b7a66f032a00ec9e4c05b7e18f3491714ec22c19f4260ecce9b8ab4abe484e6609c2bcdc4065b5024f7c72c363409433377db WHIRLPOOL ba2e731b02187ff971798aa3659defe186e82999361630a41bdd52357e80707b19e8c564b95a7d670ed780fc39324c1d020e5e1052817afc989d61e5229201a2
+EBUILD netbeans-ergonomics-9999_p20151125.ebuild 2913 SHA256 b8e3eafcdc5718bd42386e22920d1b5f0368662c56866d6171d4efa698935d57 SHA512 fa2555dcd0c76ba55d48f724a64fa34add7dd8a1cf06e94ad5ea849c2eb7a993bd669fed2b8b2f371eead68b12698bf3843fb44b0e82b2eb484ce52cdc0708cf WHIRLPOOL d0187102b5894499e42008da083bdb4dcd1c40d021f1d3ad023f4cdeacd7875a95ce7cd6527582adb05eaa28eb07fe78c2cc5145639c090fe059d5c9bbb8f7ab
 MISC metadata.xml 251 SHA256 5a4ff53a9862390a48d45c79be24086646e7a6ff0c5bdf0fcb799d0871299003 SHA512 04153cbd9776ad56a94d6a47d043df15d082d8888df8658f18d0d4b659c6c0526ab3a9b22ccbe2471091bf2d8165f224854bc99c51f3664aaf350ccb93532a7c WHIRLPOOL 2ee8a646c6e23bc46c72cac0ecb5cfe43720ec42404ddaeed8ab1b59d139b3d5c1a94764de847f979da978c001c9f02f709d663a68eeea64d19e88f1fefbca43

diff --git a/dev-java/netbeans-ergonomics/netbeans-ergonomics-9999_p20151125.ebuild b/dev-java/netbeans-ergonomics/netbeans-ergonomics-9999_p20151125.ebuild
new file mode 100644
index 0000000..9f712fb
--- /dev/null
+++ b/dev-java/netbeans-ergonomics/netbeans-ergonomics-9999_p20151125.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-11-25_00-02-04/zip/netbeans-trunk-nightly-201511250002-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 5cc051a..92a1da1 100644
--- a/dev-java/netbeans-extide/Manifest
+++ b/dev-java/netbeans-extide/Manifest
@@ -30,6 +30,7 @@ DIST netbeans-trunk-nightly-201511210002-src.zip 209010240 SHA256 f2ae849caecc3b
 DIST netbeans-trunk-nightly-201511220002-src.zip 209010278 SHA256 fd9b4be1bea62ec36f817ac6f074699524b4b6e831fd929fe0af4ac7b0fe7a1d SHA512 05107a3b235508c68fe710ee6ea3e16583088151dfbab5d86fbe6d4ad996b45bc4efd52931220c55ccf615e10645ef2e4678e8de9ae5b98885785d726cd1b076 WHIRLPOOL 91caf15373bd802d84d970642e9f6694a461d0a730f72297f0a5511b6f60ac032cdaef21997a60e6f692bd4e873d967e4c7c5f4645737bb4693a96cd6dc6f138
 DIST netbeans-trunk-nightly-201511230002-src.zip 209010278 SHA256 1e7b0dd059f2838bd3513cccf5b5380bd32d50984376627cc66345966e065be6 SHA512 21ae5ae00ad2863c8fec26e63f5c45404271d3aef900908923572e8d3dd283e40900e2902ea3b743a9cb422de0bb4ab29f047cb3c6961f0366451c4993cb282a WHIRLPOOL 7f8a9fbf9ba76495ab7356a1332ee37927b755214e68f4af1d31f18f363446de08536018f9934f067c3fa889fa090c1611eb7c15703d5a6fc6c609d2a7d4596c
 DIST netbeans-trunk-nightly-201511240002-src.zip 209016790 SHA256 f7cf4fdfefab6bf0f8895703a7bb603335d3ba8e53eba66d57889278fa8be3bb SHA512 9d11fcede1f5ea7572151cfc2b57b79bf353fc06f1eb6ae175cb52cf1bf9b6c9774e1ea581078a83c4dec502c94cf6dbeca464461593f6f3e360bab9492723da WHIRLPOOL 55f3b39feace5ab179ad75316d8582ac1b47c953623cb59857e69103a8427407736f0a43639034c7bf4cb322fac47adcb24cb6ce8fb33b0fecbf040f171d8b3a
+DIST netbeans-trunk-nightly-201511250002-src.zip 209050331 SHA256 c5bddd15370c7b689caff156e3d447575f1219ebe8a40973df3c4065f68f259f SHA512 b2b02288525f68ccbbb3f1a1d7cbd236cefe0c4298d44279c49a7742637791ea9bd2c9cb34983fe881235efb143e511aa62e949efd254c610ccd5bb061a0e69a WHIRLPOOL 7ddf332ee1ca12ebf95bec63bcfaae141150247d1009ea4604891a43c03d4a45ae324930f08a06147f79270cdd1e0d897d4516b28e22dcd29d2022a69be93929
 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
@@ -57,4 +58,5 @@ EBUILD netbeans-extide-9999_p20151121.ebuild 3377 SHA256 01568b36e336f3f4b2943d5
 EBUILD netbeans-extide-9999_p20151122.ebuild 3377 SHA256 0664d60a38254e460bebda58b0ca71ef03ba37ec10f109b4ec371244fac293b1 SHA512 4ea9b073880082e815261ee102403712c4b03d45d2451175130198559e2626babc546aab56e0661a30e646dd06d26ae832f0f7fcf661bce8f81e43c621fe99f1 WHIRLPOOL ce20e6ba772e007b7ff3f54faf96497c9c955fc206609ad5ead7044511295dd23f7213d6bca9a9f402f7de9fd6228ed86685e375b245e96d86a803f544cfb96d
 EBUILD netbeans-extide-9999_p20151123.ebuild 3377 SHA256 8f7f915b3b2d90ffff11db79c14ece701d24cf18b62d117a3c20c693fc4ce42b SHA512 3b1a560f4b67f5ce4bcf2f374542bb57ff49179f248e793e9998a0661932d7abb2861e7badec50d5b0751018747b99acc9096646545d521fd03b9490c8346504 WHIRLPOOL e3f99d5ea2144a2f5564df12c835fa4bc08668cc0f7d3c2c784742024e56fb87748613cf0d5492e0dfe1afd5a24b314d592097c7567cf7438f5302aca869fb15
 EBUILD netbeans-extide-9999_p20151124.ebuild 3377 SHA256 3d6d5a9b2bffc01b0ffa1588f2038ab4aa0693e4e534a926be59db20916bcb80 SHA512 2b58023b053e90feb8e5d53c1adeafcdd400e992768da7a9b218f11ef395a4628f95e76ec57b34caab1fc52dcbb5a9d07521543b3ae5562e989df0913260a064 WHIRLPOOL 634d8c82bb785561491125016ec62c7b1e1c673a657751f8a5ab7aff51a6b8270125fb4d6b1c589b461fb681218b1d20b7dcee1631946619a767a3dd1ab08351
+EBUILD netbeans-extide-9999_p20151125.ebuild 3377 SHA256 45f2c75bda95fd04d85eec40e7fbc9a2d81e9339d418cf10c70936395b32e8ad SHA512 178cb8c625acd694f27d296e0fc12680dfc16fc8d247bc3d4942cf24c5b8a7bfe86100f855b364aed728196077b5f05787dcc1e0991e2208c323a06cb56d47f9 WHIRLPOOL ecf8c4c9e4681a95d6dd62b768cec791b02a59162a792a467fa449f7b5acd983888192bf65fe1e0c202754a18a3a45b5cd7531e2f7d0a69b836c8f0f0d3abcba
 MISC metadata.xml 251 SHA256 5a4ff53a9862390a48d45c79be24086646e7a6ff0c5bdf0fcb799d0871299003 SHA512 04153cbd9776ad56a94d6a47d043df15d082d8888df8658f18d0d4b659c6c0526ab3a9b22ccbe2471091bf2d8165f224854bc99c51f3664aaf350ccb93532a7c WHIRLPOOL 2ee8a646c6e23bc46c72cac0ecb5cfe43720ec42404ddaeed8ab1b59d139b3d5c1a94764de847f979da978c001c9f02f709d663a68eeea64d19e88f1fefbca43

diff --git a/dev-java/netbeans-extide/netbeans-extide-9999_p20151125.ebuild b/dev-java/netbeans-extide/netbeans-extide-9999_p20151125.ebuild
new file mode 100644
index 0000000..b82338e
--- /dev/null
+++ b/dev-java/netbeans-extide/netbeans-extide-9999_p20151125.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-11-25_00-02-04/zip/netbeans-trunk-nightly-201511250002-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 b7a915a..440b7e1 100644
--- a/dev-java/netbeans-groovy/Manifest
+++ b/dev-java/netbeans-groovy/Manifest
@@ -29,6 +29,7 @@ DIST netbeans-trunk-nightly-201511210002-src.zip 209010240 SHA256 f2ae849caecc3b
 DIST netbeans-trunk-nightly-201511220002-src.zip 209010278 SHA256 fd9b4be1bea62ec36f817ac6f074699524b4b6e831fd929fe0af4ac7b0fe7a1d SHA512 05107a3b235508c68fe710ee6ea3e16583088151dfbab5d86fbe6d4ad996b45bc4efd52931220c55ccf615e10645ef2e4678e8de9ae5b98885785d726cd1b076 WHIRLPOOL 91caf15373bd802d84d970642e9f6694a461d0a730f72297f0a5511b6f60ac032cdaef21997a60e6f692bd4e873d967e4c7c5f4645737bb4693a96cd6dc6f138
 DIST netbeans-trunk-nightly-201511230002-src.zip 209010278 SHA256 1e7b0dd059f2838bd3513cccf5b5380bd32d50984376627cc66345966e065be6 SHA512 21ae5ae00ad2863c8fec26e63f5c45404271d3aef900908923572e8d3dd283e40900e2902ea3b743a9cb422de0bb4ab29f047cb3c6961f0366451c4993cb282a WHIRLPOOL 7f8a9fbf9ba76495ab7356a1332ee37927b755214e68f4af1d31f18f363446de08536018f9934f067c3fa889fa090c1611eb7c15703d5a6fc6c609d2a7d4596c
 DIST netbeans-trunk-nightly-201511240002-src.zip 209016790 SHA256 f7cf4fdfefab6bf0f8895703a7bb603335d3ba8e53eba66d57889278fa8be3bb SHA512 9d11fcede1f5ea7572151cfc2b57b79bf353fc06f1eb6ae175cb52cf1bf9b6c9774e1ea581078a83c4dec502c94cf6dbeca464461593f6f3e360bab9492723da WHIRLPOOL 55f3b39feace5ab179ad75316d8582ac1b47c953623cb59857e69103a8427407736f0a43639034c7bf4cb322fac47adcb24cb6ce8fb33b0fecbf040f171d8b3a
+DIST netbeans-trunk-nightly-201511250002-src.zip 209050331 SHA256 c5bddd15370c7b689caff156e3d447575f1219ebe8a40973df3c4065f68f259f SHA512 b2b02288525f68ccbbb3f1a1d7cbd236cefe0c4298d44279c49a7742637791ea9bd2c9cb34983fe881235efb143e511aa62e949efd254c610ccd5bb061a0e69a WHIRLPOOL 7ddf332ee1ca12ebf95bec63bcfaae141150247d1009ea4604891a43c03d4a45ae324930f08a06147f79270cdd1e0d897d4516b28e22dcd29d2022a69be93929
 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
@@ -56,4 +57,5 @@ EBUILD netbeans-groovy-9999_p20151121.ebuild 3416 SHA256 f31bdd8175d0903d707ac35
 EBUILD netbeans-groovy-9999_p20151122.ebuild 3416 SHA256 7cbcf2d461053aba3aaaecb3fcbbad98f81f749f8836bc29d681e9c0095ee53b SHA512 dfecfd6d29bd3047def72e1c79f253c57113cf082743c15dc4c52a588fa3fcb2bb65601b17077cc80c2718fcafe6a54f37ea8b5f5c09d9c4961d2a0e0c07a1a2 WHIRLPOOL 646fbe228791e735bc995d83452273ce06f73ad3769f24411b3cd97edf3edee6e865c85be9ae30e365a18b80f38e0e38c5436720dce2bd30318619c280bb6f25
 EBUILD netbeans-groovy-9999_p20151123.ebuild 3416 SHA256 f31415af5f29b17a10495fe5a61cc4b7305f4d43ddb564b633eca613f547bd62 SHA512 9603d3ffecd92411c5ae388c64d4f8d452ee7b90687345b9ab9bda8d40858979f022366b2cfdd7ccee4fff5e37599604a8e075dff91bd5ade714b81a5aff0caf WHIRLPOOL d797d79398a4da798047084d7a45723dd2583b6bc37d238b2b6f9074fc7e851adc64703170aa4f4b9979c9453f5d377a8840092d3f49ec8e186420a93ce62798
 EBUILD netbeans-groovy-9999_p20151124.ebuild 3416 SHA256 da35c70e9590c0d187d66eaa6d902949444d7100a5b0815afbf2aad89ffcbd43 SHA512 9be0850195ad48622321117d37a4e1052419a3f9e4be1edc1d8007429ab64ff092577c2bdebf95ec50a3d14138b088ca7b61c2e1985015106408179c23c908ed WHIRLPOOL 1053216e66bd9fd29028a86a11ee6a2ad27609b1fb48f6355b89c4cfbe2733891b765459ff024be4ab9fabfaa26a7c86c25ccd4a054e54df7fca8d5fa887b181
+EBUILD netbeans-groovy-9999_p20151125.ebuild 3416 SHA256 f1ef8782ca98e1ba214132ab0908caeb89c88a0de5228a4174623410fcea98fc SHA512 20d2a292bedff6c6647f86e66ceea6ea4b1175c255fe024330d712ed4cec7c04686c7675384a28608cf94d7579c6f27157b7f381897dd1b7cbef7477ed212c0d WHIRLPOOL 86966a5d527e9fca9abc0a34f017d638c43e8ff9db4d9078f83bfd338e6511780ae70466f9d83ec1446981b5f67fd8ecc844be629b4dad9b231902ac0fddedd5
 MISC metadata.xml 251 SHA256 5a4ff53a9862390a48d45c79be24086646e7a6ff0c5bdf0fcb799d0871299003 SHA512 04153cbd9776ad56a94d6a47d043df15d082d8888df8658f18d0d4b659c6c0526ab3a9b22ccbe2471091bf2d8165f224854bc99c51f3664aaf350ccb93532a7c WHIRLPOOL 2ee8a646c6e23bc46c72cac0ecb5cfe43720ec42404ddaeed8ab1b59d139b3d5c1a94764de847f979da978c001c9f02f709d663a68eeea64d19e88f1fefbca43

diff --git a/dev-java/netbeans-groovy/netbeans-groovy-9999_p20151125.ebuild b/dev-java/netbeans-groovy/netbeans-groovy-9999_p20151125.ebuild
new file mode 100644
index 0000000..9fa4414
--- /dev/null
+++ b/dev-java/netbeans-groovy/netbeans-groovy-9999_p20151125.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-11-25_00-02-04/zip/netbeans-trunk-nightly-201511250002-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 6f8bd59..cf840ea 100644
--- a/dev-java/netbeans-harness/Manifest
+++ b/dev-java/netbeans-harness/Manifest
@@ -33,6 +33,7 @@ DIST netbeans-trunk-nightly-201511210002-src.zip 209010240 SHA256 f2ae849caecc3b
 DIST netbeans-trunk-nightly-201511220002-src.zip 209010278 SHA256 fd9b4be1bea62ec36f817ac6f074699524b4b6e831fd929fe0af4ac7b0fe7a1d SHA512 05107a3b235508c68fe710ee6ea3e16583088151dfbab5d86fbe6d4ad996b45bc4efd52931220c55ccf615e10645ef2e4678e8de9ae5b98885785d726cd1b076 WHIRLPOOL 91caf15373bd802d84d970642e9f6694a461d0a730f72297f0a5511b6f60ac032cdaef21997a60e6f692bd4e873d967e4c7c5f4645737bb4693a96cd6dc6f138
 DIST netbeans-trunk-nightly-201511230002-src.zip 209010278 SHA256 1e7b0dd059f2838bd3513cccf5b5380bd32d50984376627cc66345966e065be6 SHA512 21ae5ae00ad2863c8fec26e63f5c45404271d3aef900908923572e8d3dd283e40900e2902ea3b743a9cb422de0bb4ab29f047cb3c6961f0366451c4993cb282a WHIRLPOOL 7f8a9fbf9ba76495ab7356a1332ee37927b755214e68f4af1d31f18f363446de08536018f9934f067c3fa889fa090c1611eb7c15703d5a6fc6c609d2a7d4596c
 DIST netbeans-trunk-nightly-201511240002-src.zip 209016790 SHA256 f7cf4fdfefab6bf0f8895703a7bb603335d3ba8e53eba66d57889278fa8be3bb SHA512 9d11fcede1f5ea7572151cfc2b57b79bf353fc06f1eb6ae175cb52cf1bf9b6c9774e1ea581078a83c4dec502c94cf6dbeca464461593f6f3e360bab9492723da WHIRLPOOL 55f3b39feace5ab179ad75316d8582ac1b47c953623cb59857e69103a8427407736f0a43639034c7bf4cb322fac47adcb24cb6ce8fb33b0fecbf040f171d8b3a
+DIST netbeans-trunk-nightly-201511250002-src.zip 209050331 SHA256 c5bddd15370c7b689caff156e3d447575f1219ebe8a40973df3c4065f68f259f SHA512 b2b02288525f68ccbbb3f1a1d7cbd236cefe0c4298d44279c49a7742637791ea9bd2c9cb34983fe881235efb143e511aa62e949efd254c610ccd5bb061a0e69a WHIRLPOOL 7ddf332ee1ca12ebf95bec63bcfaae141150247d1009ea4604891a43c03d4a45ae324930f08a06147f79270cdd1e0d897d4516b28e22dcd29d2022a69be93929
 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
@@ -60,4 +61,5 @@ EBUILD netbeans-harness-9999_p20151121.ebuild 4125 SHA256 82ebefa2801f286b39d8d5
 EBUILD netbeans-harness-9999_p20151122.ebuild 4125 SHA256 51fe1ad420ebdf7460f3d2e8b83b75210c1663d2f3a1efe20dbe16715005dc59 SHA512 45d9e1aa657f1c7c2e8b9462ba8c20e2ddd00da5be97a31a50b9f91083cec675cd890641a64d928c7e82573b116311c1186349d6a15b10b4057ddd34b65e6acb WHIRLPOOL 28b5dba108e9d4aaf7e0aace26137ad9069faeed5778d5041c22dda0badb558f6e4a8bfdfc91665c86897733e8614a6da9cc4165551978d778762ea63e67a5d0
 EBUILD netbeans-harness-9999_p20151123.ebuild 4125 SHA256 94b8c54f5bfd24ff613fb24295e9352ca2b591038bca544962849886d047cf27 SHA512 e9cac9f7211dc23147ba214929e389ca126584b8469b48de7095fd50f6e8d69a77389ca212dc80b7434ebdb856fbb2fa7a12d68ea8c1508562c3c7a091156403 WHIRLPOOL 20ff011133e18224cc587772489884c1c8ca8422a1346f885ab160644d6c78679dfe9249566beffcc06f7292f1e7779c915dc660f5034e4589e9b2018db5d0f3
 EBUILD netbeans-harness-9999_p20151124.ebuild 4125 SHA256 aabd7c97af7ee68434bfa63db0387e1b83b4c0134ac2651341f04f3cf95cab2d SHA512 d1cdda4ea0bd6e39ada4e45ed938ab840e5246164976e4165c4fdc53c5d55db5a712d3cf2ef75628eff220f873ebca0469e7aed5f0f715c6d75db40234706895 WHIRLPOOL be3dce4de510448e9b21471acdcbec820ef7ff66c059717b03438ee86e63f6f481063c145d84e4afd94e88f3c82c976c88929805d7638ef151709b6a7113830e
+EBUILD netbeans-harness-9999_p20151125.ebuild 4125 SHA256 f3617e59eea220f51c6d1a5d2ab6a4f2d9d96b1f011a43c86e6708f04cd264ca SHA512 924ac364e4d15745efac93f6ab166556879043bf8a5133c0228a24c1cc987bd84ff1180ada025b661482939ac0c34099164bfde58fbd7663ac53a44aaafdc0bc WHIRLPOOL 13b1add4ed734b66b945790cf3df75e23eecdc7742c1912adf2e32422680f7b730b6cb2307097cce94dd7fe7656865565350d343dc98648c4151fce44656fda4
 MISC metadata.xml 251 SHA256 5a4ff53a9862390a48d45c79be24086646e7a6ff0c5bdf0fcb799d0871299003 SHA512 04153cbd9776ad56a94d6a47d043df15d082d8888df8658f18d0d4b659c6c0526ab3a9b22ccbe2471091bf2d8165f224854bc99c51f3664aaf350ccb93532a7c WHIRLPOOL 2ee8a646c6e23bc46c72cac0ecb5cfe43720ec42404ddaeed8ab1b59d139b3d5c1a94764de847f979da978c001c9f02f709d663a68eeea64d19e88f1fefbca43

diff --git a/dev-java/netbeans-harness/netbeans-harness-9999_p20151125.ebuild b/dev-java/netbeans-harness/netbeans-harness-9999_p20151125.ebuild
new file mode 100644
index 0000000..f623eda
--- /dev/null
+++ b/dev-java/netbeans-harness/netbeans-harness-9999_p20151125.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-11-25_00-02-04/zip/netbeans-trunk-nightly-201511250002-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 fe10179..1b623cc 100644
--- a/dev-java/netbeans-ide/Manifest
+++ b/dev-java/netbeans-ide/Manifest
@@ -146,6 +146,7 @@ DIST netbeans-trunk-nightly-201511210002-src.zip 209010240 SHA256 f2ae849caecc3b
 DIST netbeans-trunk-nightly-201511220002-src.zip 209010278 SHA256 fd9b4be1bea62ec36f817ac6f074699524b4b6e831fd929fe0af4ac7b0fe7a1d SHA512 05107a3b235508c68fe710ee6ea3e16583088151dfbab5d86fbe6d4ad996b45bc4efd52931220c55ccf615e10645ef2e4678e8de9ae5b98885785d726cd1b076 WHIRLPOOL 91caf15373bd802d84d970642e9f6694a461d0a730f72297f0a5511b6f60ac032cdaef21997a60e6f692bd4e873d967e4c7c5f4645737bb4693a96cd6dc6f138
 DIST netbeans-trunk-nightly-201511230002-src.zip 209010278 SHA256 1e7b0dd059f2838bd3513cccf5b5380bd32d50984376627cc66345966e065be6 SHA512 21ae5ae00ad2863c8fec26e63f5c45404271d3aef900908923572e8d3dd283e40900e2902ea3b743a9cb422de0bb4ab29f047cb3c6961f0366451c4993cb282a WHIRLPOOL 7f8a9fbf9ba76495ab7356a1332ee37927b755214e68f4af1d31f18f363446de08536018f9934f067c3fa889fa090c1611eb7c15703d5a6fc6c609d2a7d4596c
 DIST netbeans-trunk-nightly-201511240002-src.zip 209016790 SHA256 f7cf4fdfefab6bf0f8895703a7bb603335d3ba8e53eba66d57889278fa8be3bb SHA512 9d11fcede1f5ea7572151cfc2b57b79bf353fc06f1eb6ae175cb52cf1bf9b6c9774e1ea581078a83c4dec502c94cf6dbeca464461593f6f3e360bab9492723da WHIRLPOOL 55f3b39feace5ab179ad75316d8582ac1b47c953623cb59857e69103a8427407736f0a43639034c7bf4cb322fac47adcb24cb6ce8fb33b0fecbf040f171d8b3a
+DIST netbeans-trunk-nightly-201511250002-src.zip 209050331 SHA256 c5bddd15370c7b689caff156e3d447575f1219ebe8a40973df3c4065f68f259f SHA512 b2b02288525f68ccbbb3f1a1d7cbd236cefe0c4298d44279c49a7742637791ea9bd2c9cb34983fe881235efb143e511aa62e949efd254c610ccd5bb061a0e69a WHIRLPOOL 7ddf332ee1ca12ebf95bec63bcfaae141150247d1009ea4604891a43c03d4a45ae324930f08a06147f79270cdd1e0d897d4516b28e22dcd29d2022a69be93929
 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
@@ -173,4 +174,5 @@ EBUILD netbeans-ide-9999_p20151121.ebuild 31262 SHA256 68fd29e50a647fc49bb41a6e5
 EBUILD netbeans-ide-9999_p20151122.ebuild 31262 SHA256 8e6a25ce15918748b7ec6bbf46a01da07f7de48126df45e8abf0bda8d3904afd SHA512 9111e4e784ba1e678b6d1a53d4f8cf6f841fb304a99cdf4e52dfeb7b0bc71bdb1b85a8254a6d65789cd598dd7460c379d43bb2460792b5d6bd119b24c0d8f9b1 WHIRLPOOL 1340c4b483f5cb4b5d8e02b92615f89ba7e88f071331934142be8fbdccb0508d828c33e2f5d95c707999276748b1f3abbad79eb4722c87ae2f0d7d220ef010f1
 EBUILD netbeans-ide-9999_p20151123.ebuild 31262 SHA256 aec19da07a886fb9646f53e85c0ddce07ae7cd0896c9f433632bb455ff27ab03 SHA512 88935cd461f9dfec9343d350022b758b7b8d82960c94495abf3e4800be8ad0328b916a2a9344b7e271e02af507a111b8648d76a9073ae396686fd17a3667ca36 WHIRLPOOL 127824b6a597edef1b3f12bd240ec5e31f93ff3068c16336867ccf5282cadee0c1907f9e1f6fc5479d6ba3954808102fed911dcc0baf3ea049235c6869101dd6
 EBUILD netbeans-ide-9999_p20151124.ebuild 31262 SHA256 8b3670150e2b27ccb53bb3d60bb6e3c3e985fb749bdd1ace833e0a7c6ee3dc9f SHA512 552b94868754688c3d2eb6a169ae285b2b27adfdb28c2a44eb4569c568e7fe05ebbc09d555bd73b7425d018fab543f8b5bc96d7ea413ff3c00c53f59cdcfad84 WHIRLPOOL f00dc6d84dfb2147c1768562a0e31743ef8146b1a08482f2717fd2d274588be58fb0f35e6154ed2ecd7a77f9bff08765650d5588d3c75611ee07b305942ce0fc
+EBUILD netbeans-ide-9999_p20151125.ebuild 31262 SHA256 e9f9fdf4280401659f2d49d33a87577f167cdd9810130ba5b89b4b3fd0f7f570 SHA512 c044cf3c5cfe093cd61fc92b1277eeb88f910c48dea4ff9290bd968ceee0a4f634ecf37537093ece6890ec3ddba5fb72edb61ae86cf31e78124525dc0ac92d76 WHIRLPOOL 347ae97f0f288c165807b07f3367c5d5d30769d7df4aede90f4714ee72913a2cecc2efb35acc376f054e67676f607e7c7de1c54dff9808d5b91ff8dbbfcc5c2b
 MISC metadata.xml 251 SHA256 5a4ff53a9862390a48d45c79be24086646e7a6ff0c5bdf0fcb799d0871299003 SHA512 04153cbd9776ad56a94d6a47d043df15d082d8888df8658f18d0d4b659c6c0526ab3a9b22ccbe2471091bf2d8165f224854bc99c51f3664aaf350ccb93532a7c WHIRLPOOL 2ee8a646c6e23bc46c72cac0ecb5cfe43720ec42404ddaeed8ab1b59d139b3d5c1a94764de847f979da978c001c9f02f709d663a68eeea64d19e88f1fefbca43

diff --git a/dev-java/netbeans-ide/netbeans-ide-9999_p20151125.ebuild b/dev-java/netbeans-ide/netbeans-ide-9999_p20151125.ebuild
new file mode 100644
index 0000000..515283c
--- /dev/null
+++ b/dev-java/netbeans-ide/netbeans-ide-9999_p20151125.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-11-25_00-02-04/zip/netbeans-trunk-nightly-201511250002-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/external bcpkix-1.52 bcpkix.jar bcpkix-jdk15on-153.jar
+	java-pkg_jar-from --into docker/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 161887c..63b2b3e 100644
--- a/dev-java/netbeans-java/Manifest
+++ b/dev-java/netbeans-java/Manifest
@@ -57,6 +57,7 @@ DIST netbeans-trunk-nightly-201511210002-src.zip 209010240 SHA256 f2ae849caecc3b
 DIST netbeans-trunk-nightly-201511220002-src.zip 209010278 SHA256 fd9b4be1bea62ec36f817ac6f074699524b4b6e831fd929fe0af4ac7b0fe7a1d SHA512 05107a3b235508c68fe710ee6ea3e16583088151dfbab5d86fbe6d4ad996b45bc4efd52931220c55ccf615e10645ef2e4678e8de9ae5b98885785d726cd1b076 WHIRLPOOL 91caf15373bd802d84d970642e9f6694a461d0a730f72297f0a5511b6f60ac032cdaef21997a60e6f692bd4e873d967e4c7c5f4645737bb4693a96cd6dc6f138
 DIST netbeans-trunk-nightly-201511230002-src.zip 209010278 SHA256 1e7b0dd059f2838bd3513cccf5b5380bd32d50984376627cc66345966e065be6 SHA512 21ae5ae00ad2863c8fec26e63f5c45404271d3aef900908923572e8d3dd283e40900e2902ea3b743a9cb422de0bb4ab29f047cb3c6961f0366451c4993cb282a WHIRLPOOL 7f8a9fbf9ba76495ab7356a1332ee37927b755214e68f4af1d31f18f363446de08536018f9934f067c3fa889fa090c1611eb7c15703d5a6fc6c609d2a7d4596c
 DIST netbeans-trunk-nightly-201511240002-src.zip 209016790 SHA256 f7cf4fdfefab6bf0f8895703a7bb603335d3ba8e53eba66d57889278fa8be3bb SHA512 9d11fcede1f5ea7572151cfc2b57b79bf353fc06f1eb6ae175cb52cf1bf9b6c9774e1ea581078a83c4dec502c94cf6dbeca464461593f6f3e360bab9492723da WHIRLPOOL 55f3b39feace5ab179ad75316d8582ac1b47c953623cb59857e69103a8427407736f0a43639034c7bf4cb322fac47adcb24cb6ce8fb33b0fecbf040f171d8b3a
+DIST netbeans-trunk-nightly-201511250002-src.zip 209050331 SHA256 c5bddd15370c7b689caff156e3d447575f1219ebe8a40973df3c4065f68f259f SHA512 b2b02288525f68ccbbb3f1a1d7cbd236cefe0c4298d44279c49a7742637791ea9bd2c9cb34983fe881235efb143e511aa62e949efd254c610ccd5bb061a0e69a WHIRLPOOL 7ddf332ee1ca12ebf95bec63bcfaae141150247d1009ea4604891a43c03d4a45ae324930f08a06147f79270cdd1e0d897d4516b28e22dcd29d2022a69be93929
 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
@@ -84,4 +85,5 @@ EBUILD netbeans-java-9999_p20151121.ebuild 14977 SHA256 a4c4df7ca04298581880f20b
 EBUILD netbeans-java-9999_p20151122.ebuild 14977 SHA256 b28572b136f968c62b17831a36aa2a002b965904b0615ceac3ec5356a25f3af5 SHA512 177003307b76987b2e1054bc3b7a32072f3c00205554fa1e476e1f6f2bb151de281e668f953ff61064844e553988e6b66890579f6290fe5584d33a33f75f3443 WHIRLPOOL a7641327755e9a593c9f0a90c48ac2f80f3cfdc8ef5ba2eac20f81e2257fe43c37c7f04c3198253183ac90e7cd017c9a4f9d9df9392c6d1ad12d96d0a42f3d5b
 EBUILD netbeans-java-9999_p20151123.ebuild 14977 SHA256 98b9059009db78bb0e29e46d358b45da50e53964e3d0db8d6f3981d723d294f7 SHA512 9be8d15f38db240be9d939971e997047f229c6e7a6998474c96c2d3e023e6540150ffc24d25ef1ad303bce840ef4ccbda3f54876429aa4f178d4b2acc96552e8 WHIRLPOOL 96dd48f4b7d73e5d48a38d94dc7ec438ee950ea0a5e798b7d5e2f928383b91fe4a3fd750e7a81e1304a17fbf44b3b259ed60dc7aca39e1f1e8e0733f54b09412
 EBUILD netbeans-java-9999_p20151124.ebuild 14977 SHA256 32b17195b22d4dd1675fcf5e905bccad7121fda3b72913f6f01285f2898d7745 SHA512 04c5af8cc1e1dc5dd24e9c8072666991dfc3c44d7a53f361acba2692fe57380e683a91d970bdc6dd776e4f5294a8657af26d2107d42dbdebf1b5f2b120f20759 WHIRLPOOL 6280c46a76868155a483d5b8fa984d3967b60e9a687461be3f9c7322686b09617b4baa820cd335ee5d0a7cc03c8a490b4e873a50d04f2269ba7790cfaa3faaa0
+EBUILD netbeans-java-9999_p20151125.ebuild 14977 SHA256 85d5eb3ea770e34e0c2dfa3c7c7d6904784e09597326dc61c78e515e8546fad5 SHA512 a34548182589bc0f453d34f264afbc5cb4d61833f8a6d0968d4d31bd603102f776d6ea5d23b3e899af29186258b1503f8788477cc84afacebc2bdd5b64889e4d WHIRLPOOL af729ec3ad73beadd50f32691c267169d827310cc441d32961a4d502b32cd855bf9addb66f37054c2edebca527f8d4b0f01de2349f178953e8cf4aa6e067e7a8
 MISC metadata.xml 251 SHA256 5a4ff53a9862390a48d45c79be24086646e7a6ff0c5bdf0fcb799d0871299003 SHA512 04153cbd9776ad56a94d6a47d043df15d082d8888df8658f18d0d4b659c6c0526ab3a9b22ccbe2471091bf2d8165f224854bc99c51f3664aaf350ccb93532a7c WHIRLPOOL 2ee8a646c6e23bc46c72cac0ecb5cfe43720ec42404ddaeed8ab1b59d139b3d5c1a94764de847f979da978c001c9f02f709d663a68eeea64d19e88f1fefbca43

diff --git a/dev-java/netbeans-java/netbeans-java-9999_p20151125.ebuild b/dev-java/netbeans-java/netbeans-java-9999_p20151125.ebuild
new file mode 100644
index 0000000..1e46c17
--- /dev/null
+++ b/dev-java/netbeans-java/netbeans-java-9999_p20151125.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-11-25_00-02-04/zip/netbeans-trunk-nightly-201511250002-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/B2EB2006BCDB022420BDB4C2D596564539C65699-nb-javac-api.jar
+	http://hg.netbeans.org/binaries/61EFAA681DB4565984F8FB85AA95CCA5F7CE88D1-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}"/B2EB2006BCDB022420BDB4C2D596564539C65699-nb-javac-api.jar libs.javacapi/external/nb-javac-api.jar || die
+	ln -s "${DISTDIR}"/61EFAA681DB4565984F8FB85AA95CCA5F7CE88D1-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 34955d8..71ffaa7 100644
--- a/dev-java/netbeans-javacard/Manifest
+++ b/dev-java/netbeans-javacard/Manifest
@@ -31,6 +31,7 @@ DIST netbeans-trunk-nightly-201511210002-src.zip 209010240 SHA256 f2ae849caecc3b
 DIST netbeans-trunk-nightly-201511220002-src.zip 209010278 SHA256 fd9b4be1bea62ec36f817ac6f074699524b4b6e831fd929fe0af4ac7b0fe7a1d SHA512 05107a3b235508c68fe710ee6ea3e16583088151dfbab5d86fbe6d4ad996b45bc4efd52931220c55ccf615e10645ef2e4678e8de9ae5b98885785d726cd1b076 WHIRLPOOL 91caf15373bd802d84d970642e9f6694a461d0a730f72297f0a5511b6f60ac032cdaef21997a60e6f692bd4e873d967e4c7c5f4645737bb4693a96cd6dc6f138
 DIST netbeans-trunk-nightly-201511230002-src.zip 209010278 SHA256 1e7b0dd059f2838bd3513cccf5b5380bd32d50984376627cc66345966e065be6 SHA512 21ae5ae00ad2863c8fec26e63f5c45404271d3aef900908923572e8d3dd283e40900e2902ea3b743a9cb422de0bb4ab29f047cb3c6961f0366451c4993cb282a WHIRLPOOL 7f8a9fbf9ba76495ab7356a1332ee37927b755214e68f4af1d31f18f363446de08536018f9934f067c3fa889fa090c1611eb7c15703d5a6fc6c609d2a7d4596c
 DIST netbeans-trunk-nightly-201511240002-src.zip 209016790 SHA256 f7cf4fdfefab6bf0f8895703a7bb603335d3ba8e53eba66d57889278fa8be3bb SHA512 9d11fcede1f5ea7572151cfc2b57b79bf353fc06f1eb6ae175cb52cf1bf9b6c9774e1ea581078a83c4dec502c94cf6dbeca464461593f6f3e360bab9492723da WHIRLPOOL 55f3b39feace5ab179ad75316d8582ac1b47c953623cb59857e69103a8427407736f0a43639034c7bf4cb322fac47adcb24cb6ce8fb33b0fecbf040f171d8b3a
+DIST netbeans-trunk-nightly-201511250002-src.zip 209050331 SHA256 c5bddd15370c7b689caff156e3d447575f1219ebe8a40973df3c4065f68f259f SHA512 b2b02288525f68ccbbb3f1a1d7cbd236cefe0c4298d44279c49a7742637791ea9bd2c9cb34983fe881235efb143e511aa62e949efd254c610ccd5bb061a0e69a WHIRLPOOL 7ddf332ee1ca12ebf95bec63bcfaae141150247d1009ea4604891a43c03d4a45ae324930f08a06147f79270cdd1e0d897d4516b28e22dcd29d2022a69be93929
 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
@@ -58,4 +59,5 @@ EBUILD netbeans-javacard-9999_p20151121.ebuild 4976 SHA256 020148e08634e24871372
 EBUILD netbeans-javacard-9999_p20151122.ebuild 4976 SHA256 906cabf8a4548da53c58722a62860d29799c41cda1638cb3035411850c74d838 SHA512 8462ef7fe8b410065d01f41d1db2d03e16905a3f7a6d142058183656e33ef4261af86f7a1720d71c6c8486eff523d6ed08fb8d7b74a0da30caf64187486ab98b WHIRLPOOL d107dfcff42f7e3b4a60dd59f2e8583f72f1eca5cb1e089c6cac82a6705de216def76f7356c7d0dde2d5fd3d38a01c1cdb0ca07c4de3b8662dacbb43fc320123
 EBUILD netbeans-javacard-9999_p20151123.ebuild 4976 SHA256 4a4fb7323400dbb6c0ce232c810974203ddefd70456495aabb26be366b415d60 SHA512 88dbdb3c2686508102a0b498980d4bc3373ea30ab6461b1abedd8fc46fc6fb21306e129201a080c7b7cb5643c52e84d21958e2836efb2bfd534df07c097d801c WHIRLPOOL a285375b88742973174296d8a12221184e35854d2d6c451550c33a894528f53887df1e5608fcc8a8e628c2ef553ae89d9eafe3029b42bedbcc381867e3836b31
 EBUILD netbeans-javacard-9999_p20151124.ebuild 4976 SHA256 c2fdbe7d307fdfbe2eb64aa7543e45cb5629740ca5f6bd64b8db4a85141dcb6b SHA512 3a0680958d19b89371550612f504c1943fc1200e118e61296a8ed976bdfcb90f078d7afccca2f92821e50c5b302bedb368b82942a8aac72ae6ae6053a25f1eab WHIRLPOOL 82e9ebf1e541c71ec02b8d891964ed0619810b37f3cd206da8bb0ca5540ef0a9acf9fe3cae892567854c80dd183e11596a0e8a3b25e3c1f3ded2db2dac52ebcb
+EBUILD netbeans-javacard-9999_p20151125.ebuild 4976 SHA256 f9d036c91eb55e4f14d8c0dfdcbf99063b044c9339dde0b09da416c411717d3e SHA512 55243230fe5f31bc0f21bffcd5aff4959cae262ba1495ed9d09e9e981ce5e55d13209a4de45e2eb003f7199d2b64c6640b2154b9cad1fa5f4187dfdd706f109c WHIRLPOOL c01e4bd1f0a9f253efcfd024764ac499ea84901c4ae9bd20c4823011b57b70c583fa18d29a25b350ac96fefc089da1e20c1a6d12f328f699dd49a0c8fb2f61de
 MISC metadata.xml 251 SHA256 5a4ff53a9862390a48d45c79be24086646e7a6ff0c5bdf0fcb799d0871299003 SHA512 04153cbd9776ad56a94d6a47d043df15d082d8888df8658f18d0d4b659c6c0526ab3a9b22ccbe2471091bf2d8165f224854bc99c51f3664aaf350ccb93532a7c WHIRLPOOL 2ee8a646c6e23bc46c72cac0ecb5cfe43720ec42404ddaeed8ab1b59d139b3d5c1a94764de847f979da978c001c9f02f709d663a68eeea64d19e88f1fefbca43

diff --git a/dev-java/netbeans-javacard/netbeans-javacard-9999_p20151125.ebuild b/dev-java/netbeans-javacard/netbeans-javacard-9999_p20151125.ebuild
new file mode 100644
index 0000000..62e83da
--- /dev/null
+++ b/dev-java/netbeans-javacard/netbeans-javacard-9999_p20151125.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-11-25_00-02-04/zip/netbeans-trunk-nightly-201511250002-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 7d8ecff..b83e101 100644
--- a/dev-java/netbeans-javadoc/Manifest
+++ b/dev-java/netbeans-javadoc/Manifest
@@ -29,6 +29,7 @@ DIST netbeans-trunk-nightly-201511210002-src.zip 209010240 SHA256 f2ae849caecc3b
 DIST netbeans-trunk-nightly-201511220002-src.zip 209010278 SHA256 fd9b4be1bea62ec36f817ac6f074699524b4b6e831fd929fe0af4ac7b0fe7a1d SHA512 05107a3b235508c68fe710ee6ea3e16583088151dfbab5d86fbe6d4ad996b45bc4efd52931220c55ccf615e10645ef2e4678e8de9ae5b98885785d726cd1b076 WHIRLPOOL 91caf15373bd802d84d970642e9f6694a461d0a730f72297f0a5511b6f60ac032cdaef21997a60e6f692bd4e873d967e4c7c5f4645737bb4693a96cd6dc6f138
 DIST netbeans-trunk-nightly-201511230002-src.zip 209010278 SHA256 1e7b0dd059f2838bd3513cccf5b5380bd32d50984376627cc66345966e065be6 SHA512 21ae5ae00ad2863c8fec26e63f5c45404271d3aef900908923572e8d3dd283e40900e2902ea3b743a9cb422de0bb4ab29f047cb3c6961f0366451c4993cb282a WHIRLPOOL 7f8a9fbf9ba76495ab7356a1332ee37927b755214e68f4af1d31f18f363446de08536018f9934f067c3fa889fa090c1611eb7c15703d5a6fc6c609d2a7d4596c
 DIST netbeans-trunk-nightly-201511240002-src.zip 209016790 SHA256 f7cf4fdfefab6bf0f8895703a7bb603335d3ba8e53eba66d57889278fa8be3bb SHA512 9d11fcede1f5ea7572151cfc2b57b79bf353fc06f1eb6ae175cb52cf1bf9b6c9774e1ea581078a83c4dec502c94cf6dbeca464461593f6f3e360bab9492723da WHIRLPOOL 55f3b39feace5ab179ad75316d8582ac1b47c953623cb59857e69103a8427407736f0a43639034c7bf4cb322fac47adcb24cb6ce8fb33b0fecbf040f171d8b3a
+DIST netbeans-trunk-nightly-201511250002-src.zip 209050331 SHA256 c5bddd15370c7b689caff156e3d447575f1219ebe8a40973df3c4065f68f259f SHA512 b2b02288525f68ccbbb3f1a1d7cbd236cefe0c4298d44279c49a7742637791ea9bd2c9cb34983fe881235efb143e511aa62e949efd254c610ccd5bb061a0e69a WHIRLPOOL 7ddf332ee1ca12ebf95bec63bcfaae141150247d1009ea4604891a43c03d4a45ae324930f08a06147f79270cdd1e0d897d4516b28e22dcd29d2022a69be93929
 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
@@ -56,4 +57,5 @@ EBUILD netbeans-javadoc-9999_p20151121.ebuild 6293 SHA256 ee514278a2d9fda27b4ca8
 EBUILD netbeans-javadoc-9999_p20151122.ebuild 6293 SHA256 a8e440d4332f5b024226cb3dd378c7aafb7e639349565c2c7f04faa5745f6355 SHA512 82a159e736e70111609df6490645607a078042408a4541ad5b5d4675a0dc34980ae19f9ded52485c55b96907019180abe515d06f7de6763bcddc2bc64d3b57b2 WHIRLPOOL 4bd5ac1f44c650b70908c81b558c0fed556d008f1c9133482f003e9c60b9a00f0565f7fd37ff7f4efa5512e7d9e445ba003486723cdf4e02f20fd4a114af8cb3
 EBUILD netbeans-javadoc-9999_p20151123.ebuild 6293 SHA256 f7dbb330dd85736927d8acfe79a630956d126467bfb4b5497aac4f5a7f39352e SHA512 b802432958c77a113c5ee96d60ef26006f51a183096eff8b60238d79e6985d6a1b023c776bb80140f6488b8852b704bee356b6046b5f102def70bf2a6e97b493 WHIRLPOOL c30b652988db05984fef2f24a49b4a87ce16b1f774949d62b78c168195c9fcb01cb0f500773ed15f8b83349babdd739058dab3de2ba206d5567a9e5e45022df9
 EBUILD netbeans-javadoc-9999_p20151124.ebuild 6293 SHA256 f3e2301e5a3ad20eca37c3121b519318f84c7943ba6d6f1f0e0976c9c8fe4352 SHA512 eceaa486ac55b9234496b3e095acb9661c9e6775466c8c93f16064e30da9a01730d17db49c4690f1caada0fd05670d7e1b165b8033c9fb13f5060a925eb1177d WHIRLPOOL 81aac704505448898715678c12f5144084fa7d8e97c9fbfb1d8588d7ca4f596f762852f02928eb2339b349cc0915d08069da51a418d47800c5fb652e82ed5f9d
+EBUILD netbeans-javadoc-9999_p20151125.ebuild 6293 SHA256 e410d368b37d8db5f243842033a5d4e85787680bfe1e39d7f02bd9797f16b2e5 SHA512 d7f424c34b5130f0d93b75428767fb4a5856ac679112ec668024d20f75923eda2a3185a2e8312758ed5b3189f841ff6a17ffdb01ad411d3e6e248a17165eaf7c WHIRLPOOL c95e97751c05ef425a9550b6d71d0968ae1794fbcc1401eb90e624cc1bd49fe4839b5d3bc7f0a04cc9e50ab819489d8efef3bd29f9c1e017c95f3bc7b0ebd08b
 MISC metadata.xml 251 SHA256 5a4ff53a9862390a48d45c79be24086646e7a6ff0c5bdf0fcb799d0871299003 SHA512 04153cbd9776ad56a94d6a47d043df15d082d8888df8658f18d0d4b659c6c0526ab3a9b22ccbe2471091bf2d8165f224854bc99c51f3664aaf350ccb93532a7c WHIRLPOOL 2ee8a646c6e23bc46c72cac0ecb5cfe43720ec42404ddaeed8ab1b59d139b3d5c1a94764de847f979da978c001c9f02f709d663a68eeea64d19e88f1fefbca43

diff --git a/dev-java/netbeans-javadoc/netbeans-javadoc-9999_p20151125.ebuild b/dev-java/netbeans-javadoc/netbeans-javadoc-9999_p20151125.ebuild
new file mode 100644
index 0000000..24eed8f
--- /dev/null
+++ b/dev-java/netbeans-javadoc/netbeans-javadoc-9999_p20151125.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-11-25_00-02-04/zip/netbeans-trunk-nightly-201511250002-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 74ab86b..c75fdd6 100644
--- a/dev-java/netbeans-javafx/Manifest
+++ b/dev-java/netbeans-javafx/Manifest
@@ -35,6 +35,7 @@ DIST netbeans-trunk-nightly-201511210002-src.zip 209010240 SHA256 f2ae849caecc3b
 DIST netbeans-trunk-nightly-201511220002-src.zip 209010278 SHA256 fd9b4be1bea62ec36f817ac6f074699524b4b6e831fd929fe0af4ac7b0fe7a1d SHA512 05107a3b235508c68fe710ee6ea3e16583088151dfbab5d86fbe6d4ad996b45bc4efd52931220c55ccf615e10645ef2e4678e8de9ae5b98885785d726cd1b076 WHIRLPOOL 91caf15373bd802d84d970642e9f6694a461d0a730f72297f0a5511b6f60ac032cdaef21997a60e6f692bd4e873d967e4c7c5f4645737bb4693a96cd6dc6f138
 DIST netbeans-trunk-nightly-201511230002-src.zip 209010278 SHA256 1e7b0dd059f2838bd3513cccf5b5380bd32d50984376627cc66345966e065be6 SHA512 21ae5ae00ad2863c8fec26e63f5c45404271d3aef900908923572e8d3dd283e40900e2902ea3b743a9cb422de0bb4ab29f047cb3c6961f0366451c4993cb282a WHIRLPOOL 7f8a9fbf9ba76495ab7356a1332ee37927b755214e68f4af1d31f18f363446de08536018f9934f067c3fa889fa090c1611eb7c15703d5a6fc6c609d2a7d4596c
 DIST netbeans-trunk-nightly-201511240002-src.zip 209016790 SHA256 f7cf4fdfefab6bf0f8895703a7bb603335d3ba8e53eba66d57889278fa8be3bb SHA512 9d11fcede1f5ea7572151cfc2b57b79bf353fc06f1eb6ae175cb52cf1bf9b6c9774e1ea581078a83c4dec502c94cf6dbeca464461593f6f3e360bab9492723da WHIRLPOOL 55f3b39feace5ab179ad75316d8582ac1b47c953623cb59857e69103a8427407736f0a43639034c7bf4cb322fac47adcb24cb6ce8fb33b0fecbf040f171d8b3a
+DIST netbeans-trunk-nightly-201511250002-src.zip 209050331 SHA256 c5bddd15370c7b689caff156e3d447575f1219ebe8a40973df3c4065f68f259f SHA512 b2b02288525f68ccbbb3f1a1d7cbd236cefe0c4298d44279c49a7742637791ea9bd2c9cb34983fe881235efb143e511aa62e949efd254c610ccd5bb061a0e69a WHIRLPOOL 7ddf332ee1ca12ebf95bec63bcfaae141150247d1009ea4604891a43c03d4a45ae324930f08a06147f79270cdd1e0d897d4516b28e22dcd29d2022a69be93929
 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
@@ -62,4 +63,5 @@ EBUILD netbeans-javafx-9999_p20151121.ebuild 4717 SHA256 b3239689cd7e4fe9c065362
 EBUILD netbeans-javafx-9999_p20151122.ebuild 4717 SHA256 eb61e14f4ad63794bb8fd3e022770c6c212a4bd4c8ca488480962647ee768d47 SHA512 4175d67de4d0bfdff32a8c32ff8ccdde81573137fa79a4041c552834819b7efaa7cadd52753c63342e57377ff6056dca33dc7175d798dbd36e15aca3d9946453 WHIRLPOOL 340aad778b311b96305c086b398a54603e4957fb8c3b66b051a55390c4bf9daa2c5eba2adb03f210fbbda407707231cdbba847ba0a4891e0876162799829c6a6
 EBUILD netbeans-javafx-9999_p20151123.ebuild 4717 SHA256 1ac64db943ad85dc1a7b4ae2567da14798c7f9cbeaf7e5f834119356fc3a7999 SHA512 f492e172a3d8f8f429778858dc451a0287e37b8d1391d4216eee6bf37a43609ec68468e93214bb29db04c229796ffc4f049ddce01bdf1c55c4d6d8e3a1c33c43 WHIRLPOOL e087e76ebe763604a8375a63815831271ce6a10a4cc5fc0f97eac3eedcdd2df3c6e08d7a92d1d86962d5fa39552155af337bf0e9f38b1535fa0892539859948b
 EBUILD netbeans-javafx-9999_p20151124.ebuild 4717 SHA256 da36975af65d9ab66c6d8e8de94a06b3468985a1c54e57958e291d88bad8d39a SHA512 ca2a93b0a2a888d29510e94f42ee3dc0b7d20680573bd81caf9e7efa045330a341146699ea596a73d4d412900bd384f61703969cdbbb2472b776180c0dc2f1a0 WHIRLPOOL 1d7be70df981c194f8b670ca2433444819531b826623f1ff0a7bc263e0995177cf8003fc4d6a9492536f363b0bc3dcdfbefa4bc75879ba19b251456a1f638d6f
+EBUILD netbeans-javafx-9999_p20151125.ebuild 4717 SHA256 05047579fa391d9bfc5026c90503eaeeffaf0983208aeb8ecb6e9a8c1dbac24b SHA512 fbf63aebc9bcb3f41945c468e58dd5a2891765ca0d8ac2464b8780e877f61892dc43796c904277d32787a4722a5cf0c6520ff4d5b7dc7ad1cf3c125f4ef330ff WHIRLPOOL f12d5dd46112d7e155bf0b7151d850f5323016be9103a64084615d63158697b1a18c50a18bf3b9820e93f7dbe1ba72444262c32c43545b4da3ef44d2f82f33aa
 MISC metadata.xml 251 SHA256 5a4ff53a9862390a48d45c79be24086646e7a6ff0c5bdf0fcb799d0871299003 SHA512 04153cbd9776ad56a94d6a47d043df15d082d8888df8658f18d0d4b659c6c0526ab3a9b22ccbe2471091bf2d8165f224854bc99c51f3664aaf350ccb93532a7c WHIRLPOOL 2ee8a646c6e23bc46c72cac0ecb5cfe43720ec42404ddaeed8ab1b59d139b3d5c1a94764de847f979da978c001c9f02f709d663a68eeea64d19e88f1fefbca43

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

diff --git a/dev-java/netbeans-mobility/Manifest b/dev-java/netbeans-mobility/Manifest
index 61eba35..4be6db3 100644
--- a/dev-java/netbeans-mobility/Manifest
+++ b/dev-java/netbeans-mobility/Manifest
@@ -28,6 +28,7 @@ DIST netbeans-trunk-nightly-201511210002-src.zip 209010240 SHA256 f2ae849caecc3b
 DIST netbeans-trunk-nightly-201511220002-src.zip 209010278 SHA256 fd9b4be1bea62ec36f817ac6f074699524b4b6e831fd929fe0af4ac7b0fe7a1d SHA512 05107a3b235508c68fe710ee6ea3e16583088151dfbab5d86fbe6d4ad996b45bc4efd52931220c55ccf615e10645ef2e4678e8de9ae5b98885785d726cd1b076 WHIRLPOOL 91caf15373bd802d84d970642e9f6694a461d0a730f72297f0a5511b6f60ac032cdaef21997a60e6f692bd4e873d967e4c7c5f4645737bb4693a96cd6dc6f138
 DIST netbeans-trunk-nightly-201511230002-src.zip 209010278 SHA256 1e7b0dd059f2838bd3513cccf5b5380bd32d50984376627cc66345966e065be6 SHA512 21ae5ae00ad2863c8fec26e63f5c45404271d3aef900908923572e8d3dd283e40900e2902ea3b743a9cb422de0bb4ab29f047cb3c6961f0366451c4993cb282a WHIRLPOOL 7f8a9fbf9ba76495ab7356a1332ee37927b755214e68f4af1d31f18f363446de08536018f9934f067c3fa889fa090c1611eb7c15703d5a6fc6c609d2a7d4596c
 DIST netbeans-trunk-nightly-201511240002-src.zip 209016790 SHA256 f7cf4fdfefab6bf0f8895703a7bb603335d3ba8e53eba66d57889278fa8be3bb SHA512 9d11fcede1f5ea7572151cfc2b57b79bf353fc06f1eb6ae175cb52cf1bf9b6c9774e1ea581078a83c4dec502c94cf6dbeca464461593f6f3e360bab9492723da WHIRLPOOL 55f3b39feace5ab179ad75316d8582ac1b47c953623cb59857e69103a8427407736f0a43639034c7bf4cb322fac47adcb24cb6ce8fb33b0fecbf040f171d8b3a
+DIST netbeans-trunk-nightly-201511250002-src.zip 209050331 SHA256 c5bddd15370c7b689caff156e3d447575f1219ebe8a40973df3c4065f68f259f SHA512 b2b02288525f68ccbbb3f1a1d7cbd236cefe0c4298d44279c49a7742637791ea9bd2c9cb34983fe881235efb143e511aa62e949efd254c610ccd5bb061a0e69a WHIRLPOOL 7ddf332ee1ca12ebf95bec63bcfaae141150247d1009ea4604891a43c03d4a45ae324930f08a06147f79270cdd1e0d897d4516b28e22dcd29d2022a69be93929
 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
@@ -55,4 +56,5 @@ EBUILD netbeans-mobility-9999_p20151121.ebuild 4412 SHA256 2fffebc7c086a12f4622c
 EBUILD netbeans-mobility-9999_p20151122.ebuild 4412 SHA256 2dbf28dad8d251fa9885e9d3dfb23751091a81038082e93837510bda0419ad19 SHA512 d3f5d41ae3c317b48e65c74023b5b1402f27a47bc75b20ed271c7713404196fe1a1de9794677fa0d6b571ab4be172db8957aa0fe8eb1294959a4c039af5d25d7 WHIRLPOOL 8605a37231f26c81f0836dfa133ed6611479b5b1435a4d8f56c386f41067ef25cc64be9b6f97a29ba38828f5f45f33fd8ceb5d7b38c637c231ccaadda07ca82a
 EBUILD netbeans-mobility-9999_p20151123.ebuild 4412 SHA256 43221758d5312167be41f738be9c47839f7de5b3d533e93828d23f7906d4ce32 SHA512 1511fb027175e4123fd2b332ae1b429cbb055994c91f57d96f82caec7dfbfc2876720733de5bfc5a71acbb21e683d1928ced8caa94c4f8af54dcf91bfce2b809 WHIRLPOOL f297d3113cdcfff5151cfe73c27e08b1f869109a2bada10a31a4070318ada0674284c5669172373f1e04036642563f5a77fd481e16b835494f2be3cb565e6f32
 EBUILD netbeans-mobility-9999_p20151124.ebuild 4412 SHA256 ecbb6f54463089206195865b8de2199d413e0461d13a35a4b516abca0aa34540 SHA512 576d74879a225a7c10f12ec00b7e9d70481a19777466ce58839e37568a8a8672964e37a61fff66b5fdbf38770a0bbcb0bd63f458d96cfb791083e5d3b6d6f16e WHIRLPOOL c3a088b7a8c9e3e6ac2cd327809589c98faa8b7254b8fb2f7eb5f9513551d58d608357e32491f82fa9f0ab3e5c6c71d269a5c8b0ef84aa8d1b601e4a1aa416fd
+EBUILD netbeans-mobility-9999_p20151125.ebuild 4412 SHA256 c8304352bfd298a615aa3d14a1dcf4fe7175efb3339678fc05d79538133a15a2 SHA512 f6c65f312a50d855088e487af744b8599b727e2ecabb75992448dc340766b052e17ac7950b6ee6add6bd5981dfd1788755f6267c7c4030fac9b8a543882be8cf WHIRLPOOL 4e7a634787cc1a9369353a4b023fd33dd390c2a6516b2b91bec3bdf552fe414fdfdb0125431c0b43084625ab72950e43317fc058ba55f9deb4f94038a83cbcca
 MISC metadata.xml 251 SHA256 5a4ff53a9862390a48d45c79be24086646e7a6ff0c5bdf0fcb799d0871299003 SHA512 04153cbd9776ad56a94d6a47d043df15d082d8888df8658f18d0d4b659c6c0526ab3a9b22ccbe2471091bf2d8165f224854bc99c51f3664aaf350ccb93532a7c WHIRLPOOL 2ee8a646c6e23bc46c72cac0ecb5cfe43720ec42404ddaeed8ab1b59d139b3d5c1a94764de847f979da978c001c9f02f709d663a68eeea64d19e88f1fefbca43

diff --git a/dev-java/netbeans-mobility/netbeans-mobility-9999_p20151125.ebuild b/dev-java/netbeans-mobility/netbeans-mobility-9999_p20151125.ebuild
new file mode 100644
index 0000000..bb419f5
--- /dev/null
+++ b/dev-java/netbeans-mobility/netbeans-mobility-9999_p20151125.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-11-25_00-02-04/zip/netbeans-trunk-nightly-201511250002-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 17f4b28..f417711 100644
--- a/dev-java/netbeans-nb/Manifest
+++ b/dev-java/netbeans-nb/Manifest
@@ -31,6 +31,7 @@ DIST netbeans-trunk-nightly-201511210002-src.zip 209010240 SHA256 f2ae849caecc3b
 DIST netbeans-trunk-nightly-201511220002-src.zip 209010278 SHA256 fd9b4be1bea62ec36f817ac6f074699524b4b6e831fd929fe0af4ac7b0fe7a1d SHA512 05107a3b235508c68fe710ee6ea3e16583088151dfbab5d86fbe6d4ad996b45bc4efd52931220c55ccf615e10645ef2e4678e8de9ae5b98885785d726cd1b076 WHIRLPOOL 91caf15373bd802d84d970642e9f6694a461d0a730f72297f0a5511b6f60ac032cdaef21997a60e6f692bd4e873d967e4c7c5f4645737bb4693a96cd6dc6f138
 DIST netbeans-trunk-nightly-201511230002-src.zip 209010278 SHA256 1e7b0dd059f2838bd3513cccf5b5380bd32d50984376627cc66345966e065be6 SHA512 21ae5ae00ad2863c8fec26e63f5c45404271d3aef900908923572e8d3dd283e40900e2902ea3b743a9cb422de0bb4ab29f047cb3c6961f0366451c4993cb282a WHIRLPOOL 7f8a9fbf9ba76495ab7356a1332ee37927b755214e68f4af1d31f18f363446de08536018f9934f067c3fa889fa090c1611eb7c15703d5a6fc6c609d2a7d4596c
 DIST netbeans-trunk-nightly-201511240002-src.zip 209016790 SHA256 f7cf4fdfefab6bf0f8895703a7bb603335d3ba8e53eba66d57889278fa8be3bb SHA512 9d11fcede1f5ea7572151cfc2b57b79bf353fc06f1eb6ae175cb52cf1bf9b6c9774e1ea581078a83c4dec502c94cf6dbeca464461593f6f3e360bab9492723da WHIRLPOOL 55f3b39feace5ab179ad75316d8582ac1b47c953623cb59857e69103a8427407736f0a43639034c7bf4cb322fac47adcb24cb6ce8fb33b0fecbf040f171d8b3a
+DIST netbeans-trunk-nightly-201511250002-src.zip 209050331 SHA256 c5bddd15370c7b689caff156e3d447575f1219ebe8a40973df3c4065f68f259f SHA512 b2b02288525f68ccbbb3f1a1d7cbd236cefe0c4298d44279c49a7742637791ea9bd2c9cb34983fe881235efb143e511aa62e949efd254c610ccd5bb061a0e69a WHIRLPOOL 7ddf332ee1ca12ebf95bec63bcfaae141150247d1009ea4604891a43c03d4a45ae324930f08a06147f79270cdd1e0d897d4516b28e22dcd29d2022a69be93929
 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
@@ -58,4 +59,5 @@ EBUILD netbeans-nb-9999_p20151121.ebuild 4111 SHA256 74ba8351dc49d5d6f3f61a2fb45
 EBUILD netbeans-nb-9999_p20151122.ebuild 4111 SHA256 a09cd43b5d65194921906a3a19aa93c5c489cefea416d59192f3a07e694f4451 SHA512 151ff07384a0f917063debdbc0dc5f91ccd0f9f5088ad645752bbed1c49610866cbf8bb0c4c35b9a698742633b3ce08edb5d86a765949da65e9c61e6d9b74370 WHIRLPOOL c1ccabbb9e693fc6276261bc3c34b17c5868bee0b2f7cc52fd0decea3fbc8d158c66d746fa330e1caba79eb481bb100a5cb0ab55b789d93993e880831047ca35
 EBUILD netbeans-nb-9999_p20151123.ebuild 4111 SHA256 080d12a194c75740f24f8b8046663c3ae32b67d48a2308dcc2b501f02b2c6842 SHA512 640a58e0c2780b2d2c9d9cc066e7c798f73d1cb302cdd9f241a766b2b8640ed605bd2600b776520832fe9364794a53707392f43d4aaebebbb872b998f0014b13 WHIRLPOOL 988210714137c11af1c5a09b23409695b99f105cddf6d8927c3545bf36a895796e891f09627f895aa014fc83ced871cfda686e5472e4f861cb42db73a1d43ecc
 EBUILD netbeans-nb-9999_p20151124.ebuild 4111 SHA256 112f3a4c698164e6de192b5fc730e1db3493921e2f3a7fa8a0158a6524fc7114 SHA512 f0f8c1946f361d44b57a268aae57475653d70ba1ae4cf7ad36eb38bb70a248282af6bbf72e9b87eb871132be91fe6ae6fd1785911c3433012b0aca8b687eb2ce WHIRLPOOL 8fadb83319092c549b60776313bd93f4c9634943146bfb785a97d7112052242b9a4f660e996ffa7abe0271672cbdcac86342b5bc7ebb3c0b9537734158fb779e
+EBUILD netbeans-nb-9999_p20151125.ebuild 4111 SHA256 c1729efc020f64b791b9a5f13d0eaf365bd7e71a1cc5e4a4bfa5214f5c3fe2e3 SHA512 00e4f0daf8a2c4943551fe1587e6377cc892dc1ce597113fb9ee18840e43169a51fd47700fd499ed6e9e534481b8edf63b2311d3b98f0ecce42b74a7eeebb9bc WHIRLPOOL d471879d38b20599cdcffe20025afed25abf757e176810556697e1a2df04f07d43d3f2b9484652ad4a599b5eaf73f98037ee8fa05894d22127672a4695c3cccd
 MISC metadata.xml 396 SHA256 5083064ed2246a84e2aedbc326d56cc8bf571fd8e7c24af0e4bc14c50f1ebb49 SHA512 a0b2171264f1ea6ba33b184ef802589d679eaba5c4a1753e149d7cd93c2c31aace934eddf5dffed6be341d9e4061c843c849e464afb7b4417c6c2dff3e9ff1c7 WHIRLPOOL 1be3a1a3c2b64d8818108de191db834395ee4ab3cf7994914c9331d6e42ca9015dd2493b9516db20990cb30b4dea385a3dde08b75df956ca39ad65e3fa721cb7

diff --git a/dev-java/netbeans-nb/netbeans-nb-9999_p20151125.ebuild b/dev-java/netbeans-nb/netbeans-nb-9999_p20151125.ebuild
new file mode 100644
index 0000000..80d633f
--- /dev/null
+++ b/dev-java/netbeans-nb/netbeans-nb-9999_p20151125.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-11-25_00-02-04/zip/netbeans-trunk-nightly-201511250002-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 dfc5133..a7045ae 100644
--- a/dev-java/netbeans-php/Manifest
+++ b/dev-java/netbeans-php/Manifest
@@ -32,6 +32,7 @@ DIST netbeans-trunk-nightly-201511210002-src.zip 209010240 SHA256 f2ae849caecc3b
 DIST netbeans-trunk-nightly-201511220002-src.zip 209010278 SHA256 fd9b4be1bea62ec36f817ac6f074699524b4b6e831fd929fe0af4ac7b0fe7a1d SHA512 05107a3b235508c68fe710ee6ea3e16583088151dfbab5d86fbe6d4ad996b45bc4efd52931220c55ccf615e10645ef2e4678e8de9ae5b98885785d726cd1b076 WHIRLPOOL 91caf15373bd802d84d970642e9f6694a461d0a730f72297f0a5511b6f60ac032cdaef21997a60e6f692bd4e873d967e4c7c5f4645737bb4693a96cd6dc6f138
 DIST netbeans-trunk-nightly-201511230002-src.zip 209010278 SHA256 1e7b0dd059f2838bd3513cccf5b5380bd32d50984376627cc66345966e065be6 SHA512 21ae5ae00ad2863c8fec26e63f5c45404271d3aef900908923572e8d3dd283e40900e2902ea3b743a9cb422de0bb4ab29f047cb3c6961f0366451c4993cb282a WHIRLPOOL 7f8a9fbf9ba76495ab7356a1332ee37927b755214e68f4af1d31f18f363446de08536018f9934f067c3fa889fa090c1611eb7c15703d5a6fc6c609d2a7d4596c
 DIST netbeans-trunk-nightly-201511240002-src.zip 209016790 SHA256 f7cf4fdfefab6bf0f8895703a7bb603335d3ba8e53eba66d57889278fa8be3bb SHA512 9d11fcede1f5ea7572151cfc2b57b79bf353fc06f1eb6ae175cb52cf1bf9b6c9774e1ea581078a83c4dec502c94cf6dbeca464461593f6f3e360bab9492723da WHIRLPOOL 55f3b39feace5ab179ad75316d8582ac1b47c953623cb59857e69103a8427407736f0a43639034c7bf4cb322fac47adcb24cb6ce8fb33b0fecbf040f171d8b3a
+DIST netbeans-trunk-nightly-201511250002-src.zip 209050331 SHA256 c5bddd15370c7b689caff156e3d447575f1219ebe8a40973df3c4065f68f259f SHA512 b2b02288525f68ccbbb3f1a1d7cbd236cefe0c4298d44279c49a7742637791ea9bd2c9cb34983fe881235efb143e511aa62e949efd254c610ccd5bb061a0e69a WHIRLPOOL 7ddf332ee1ca12ebf95bec63bcfaae141150247d1009ea4604891a43c03d4a45ae324930f08a06147f79270cdd1e0d897d4516b28e22dcd29d2022a69be93929
 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
@@ -59,4 +60,5 @@ EBUILD netbeans-php-9999_p20151121.ebuild 4417 SHA256 71be3d78bf534544b2b16250db
 EBUILD netbeans-php-9999_p20151122.ebuild 4417 SHA256 a78673bf22acb3d8fe10f57357801c28a4e437f6b72e5b242c2bc5c6ad04dc51 SHA512 fd4647229beac98f96a5e4ee2e95a666884d269aa5df10b0cc7323281a4059867e9a53cd4a9f69f9464126245fee2af4f80f5a8855548bd39a3b3409070a1aef WHIRLPOOL 09f95158cb4666fa50d0e441acc260cb3193b26d515a9843db6f91d23893a79cf0a252e3cce905f63416c2aa98f3227b531cbc4c278f645b871356eab33b3b32
 EBUILD netbeans-php-9999_p20151123.ebuild 4417 SHA256 601b41d8295015786735a03f047fe470c5f4f7b0e187a53774f696723ecf322e SHA512 20bce4f0454a23481134d2a065dda0acfba3f3f5d85d4b86fafec50abf2eaba9d4f17c56eca4aaac42deffc09dc7f7cf31b9393ba00d9de69219071a6ad17dc8 WHIRLPOOL 4eef446315894ad45508a733137f2c195127e3715b25b748119f9962d0501f6b9c2681e6774d78d1e306032fc9963509e9d4ed66d9674f84766c7e2a230f2ce6
 EBUILD netbeans-php-9999_p20151124.ebuild 4417 SHA256 0f22fd374eda92634f2f86e466282ae2058c8b6c6e7fc1e186bf3d367b21e7ea SHA512 53f512a1a0191476a1ef2392c3e93d971de45a0f8edf9d91f75fa910fcfd0b9bab07cb89eba10ab2a6202a53fd29e77b7c018fb60cb9e1e6c76a783035615b04 WHIRLPOOL 3c08d4b0a52542c47463f718d316cb005d52ba866cea8c1fd25af1fba5368d660112a6b26c0bb7b588272c503f8d2d5e9107d73dd33b40381f7de6d0023e3849
+EBUILD netbeans-php-9999_p20151125.ebuild 4417 SHA256 8fb92088f6fbd34249d01f54e400f1131fe4adf909f7eafffeabced80f81fa7e SHA512 29da10038e6eab01aeee3da8f479658a125f1866034fd4899c1d4583479ec0febdeb59a5fa5b29617a6059eae52656967ef2d776e68a1c5c46fadeec93a65503 WHIRLPOOL 926630abb3ac8d316d34812ee71e82c85cdbfed0f9e439d35bae519f74ea23940937552cd2e11ce649f1cf823153edc5312691b52189e03cbc92850af02dff38
 MISC metadata.xml 251 SHA256 5a4ff53a9862390a48d45c79be24086646e7a6ff0c5bdf0fcb799d0871299003 SHA512 04153cbd9776ad56a94d6a47d043df15d082d8888df8658f18d0d4b659c6c0526ab3a9b22ccbe2471091bf2d8165f224854bc99c51f3664aaf350ccb93532a7c WHIRLPOOL 2ee8a646c6e23bc46c72cac0ecb5cfe43720ec42404ddaeed8ab1b59d139b3d5c1a94764de847f979da978c001c9f02f709d663a68eeea64d19e88f1fefbca43

diff --git a/dev-java/netbeans-php/netbeans-php-9999_p20151125.ebuild b/dev-java/netbeans-php/netbeans-php-9999_p20151125.ebuild
new file mode 100644
index 0000000..19a3869
--- /dev/null
+++ b/dev-java/netbeans-php/netbeans-php-9999_p20151125.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-11-25_00-02-04/zip/netbeans-trunk-nightly-201511250002-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 b1abe70..3fe6115 100644
--- a/dev-java/netbeans-platform/Manifest
+++ b/dev-java/netbeans-platform/Manifest
@@ -44,6 +44,7 @@ DIST netbeans-trunk-nightly-201511210002-src.zip 209010240 SHA256 f2ae849caecc3b
 DIST netbeans-trunk-nightly-201511220002-src.zip 209010278 SHA256 fd9b4be1bea62ec36f817ac6f074699524b4b6e831fd929fe0af4ac7b0fe7a1d SHA512 05107a3b235508c68fe710ee6ea3e16583088151dfbab5d86fbe6d4ad996b45bc4efd52931220c55ccf615e10645ef2e4678e8de9ae5b98885785d726cd1b076 WHIRLPOOL 91caf15373bd802d84d970642e9f6694a461d0a730f72297f0a5511b6f60ac032cdaef21997a60e6f692bd4e873d967e4c7c5f4645737bb4693a96cd6dc6f138
 DIST netbeans-trunk-nightly-201511230002-src.zip 209010278 SHA256 1e7b0dd059f2838bd3513cccf5b5380bd32d50984376627cc66345966e065be6 SHA512 21ae5ae00ad2863c8fec26e63f5c45404271d3aef900908923572e8d3dd283e40900e2902ea3b743a9cb422de0bb4ab29f047cb3c6961f0366451c4993cb282a WHIRLPOOL 7f8a9fbf9ba76495ab7356a1332ee37927b755214e68f4af1d31f18f363446de08536018f9934f067c3fa889fa090c1611eb7c15703d5a6fc6c609d2a7d4596c
 DIST netbeans-trunk-nightly-201511240002-src.zip 209016790 SHA256 f7cf4fdfefab6bf0f8895703a7bb603335d3ba8e53eba66d57889278fa8be3bb SHA512 9d11fcede1f5ea7572151cfc2b57b79bf353fc06f1eb6ae175cb52cf1bf9b6c9774e1ea581078a83c4dec502c94cf6dbeca464461593f6f3e360bab9492723da WHIRLPOOL 55f3b39feace5ab179ad75316d8582ac1b47c953623cb59857e69103a8427407736f0a43639034c7bf4cb322fac47adcb24cb6ce8fb33b0fecbf040f171d8b3a
+DIST netbeans-trunk-nightly-201511250002-src.zip 209050331 SHA256 c5bddd15370c7b689caff156e3d447575f1219ebe8a40973df3c4065f68f259f SHA512 b2b02288525f68ccbbb3f1a1d7cbd236cefe0c4298d44279c49a7742637791ea9bd2c9cb34983fe881235efb143e511aa62e949efd254c610ccd5bb061a0e69a WHIRLPOOL 7ddf332ee1ca12ebf95bec63bcfaae141150247d1009ea4604891a43c03d4a45ae324930f08a06147f79270cdd1e0d897d4516b28e22dcd29d2022a69be93929
 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
@@ -71,4 +72,5 @@ EBUILD netbeans-platform-9999_p20151121.ebuild 9367 SHA256 ed7d2a967197a0182cca1
 EBUILD netbeans-platform-9999_p20151122.ebuild 9367 SHA256 fcbc36e36b01054cf611b08eb86ec629a22425621889e50f96ff8715a75d39b2 SHA512 08740f77cf2f65d9748733223cd16a0dc396736810939d2fef76bb1bfb47ca041a3697825ab3c3a7509681b1c60c9f03a4d553c33b5c78c2e6d566ce36ad7e69 WHIRLPOOL bd3f95bda83ebce7e2e97652bcac8658f1bf92e77631211b0586b3dfd62e8d568d91ef6a3e66588fd251955540c9ca4bcb212019517381697f5bb8549fd51916
 EBUILD netbeans-platform-9999_p20151123.ebuild 9367 SHA256 29e947dbdf2d41583d59683c1febf2e92c5a1169a05e5a38561a0700fa0bd7e2 SHA512 0ac9e0c04ecf276061836cd614fa537764f48cbe716daa43cb13c68083bff3e3ba2481c93e6417a7eb9257f3656a4ab639b9693a3c2489f437933082dd607ebf WHIRLPOOL 3673eda1965cf36feebab00f5822bb9dd08a82116137cc0e0720f776b529f010fc5939a3468392e21b8a3c2581b945ad602a7db0c3b7ff54c3548b412a844af7
 EBUILD netbeans-platform-9999_p20151124.ebuild 9367 SHA256 43145fbfa4c483a587f4f5a6f4876624fd7c7da0cbbfccc6e0ef7ca130c015cf SHA512 90b34c71b44a6d3035fe990a9950f2fe3662f6defd4775d9b82413453c7687c245b3ed764eaa7685fa28c121614d733133b8d2c3d2943a5bb024f37e9425d6af WHIRLPOOL ab9b486dec31ca690fb3fe63d7cb57b46a06569d94240272a4be8efba4c67ad63e91902345f690449ebe1023d8f48ce7a21b3f824e13f8da5550129e6f140645
+EBUILD netbeans-platform-9999_p20151125.ebuild 9367 SHA256 b45fa5f45198a14f6209aafc35c58c4b9a5b8a213c79ab6019433c84a63589e0 SHA512 742d652a6f0a529afc45a0defaeaf5b8aa4ca8ad8ece4cc24f0de77dbcad67e0993bf469e807678ebf836d2661642ea435190321a5178b8e5af689650f9aa4c6 WHIRLPOOL 7cb1d0601080d20a5085ae2a82b0bbe93c1d0017d2930bc980aaca143fda5c440cc6ca57b89df4bcf7f4a87737a2b143d1edfe7ea365dac59f772ab993c82464
 MISC metadata.xml 251 SHA256 5a4ff53a9862390a48d45c79be24086646e7a6ff0c5bdf0fcb799d0871299003 SHA512 04153cbd9776ad56a94d6a47d043df15d082d8888df8658f18d0d4b659c6c0526ab3a9b22ccbe2471091bf2d8165f224854bc99c51f3664aaf350ccb93532a7c WHIRLPOOL 2ee8a646c6e23bc46c72cac0ecb5cfe43720ec42404ddaeed8ab1b59d139b3d5c1a94764de847f979da978c001c9f02f709d663a68eeea64d19e88f1fefbca43

diff --git a/dev-java/netbeans-platform/netbeans-platform-9999_p20151125.ebuild b/dev-java/netbeans-platform/netbeans-platform-9999_p20151125.ebuild
new file mode 100644
index 0000000..e6285f9
--- /dev/null
+++ b/dev-java/netbeans-platform/netbeans-platform-9999_p20151125.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-11-25_00-02-04/zip/netbeans-trunk-nightly-201511250002-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/B27F1304F18FEDE876F940AEFA6C9EB5632619D7-org.eclipse.osgi_3.9.1.v20140110-1610.jar
+	http://hg.netbeans.org/binaries/1C7FE319052EF49126CF07D0DB6953CB7007229E-swing-layout-1.0.4-doc.zip
+	http://hg.netbeans.org/binaries/AF022CBCACD8CBFCF946816441D1E7568D817745-testng-6.8.1-javadoc.zip"
+LICENSE="|| ( CDDL GPL-2-with-linking-exception )"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+S="${WORKDIR}"
+
+# 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}"/B27F1304F18FEDE876F940AEFA6C9EB5632619D7-org.eclipse.osgi_3.9.1.v20140110-1610.jar netbinox/external/org.eclipse.osgi_3.9.1.v20140110-1610.jar || die
+	ln -s "${DISTDIR}"/1C7FE319052EF49126CF07D0DB6953CB7007229E-swing-layout-1.0.4-doc.zip o.jdesktop.layout/external/swing-layout-1.0.4-doc.zip || die
+	ln -s "${DISTDIR}"/AF022CBCACD8CBFCF946816441D1E7568D817745-testng-6.8.1-javadoc.zip libs.testng/external/testng-6.8.1-javadoc.zip || die
+	popd >/dev/null || die
+}
+
+src_prepare() {
+	einfo "Deleting bundled class files..."
+	find -name "*.class" -type f | xargs rm -vf
+
+	# upstream jna jar contains bundled binary libraries so we disable that feature
+	epatch netbeans-9999-r14-build.xml.patch
+
+	# Support for custom patches
+	if [ -n "${NETBEANS9999_PATCHES_DIR}" -a -d "${NETBEANS9999_PATCHES_DIR}" ] ; then
+		local files=`find "${NETBEANS9999_PATCHES_DIR}" -type f`
+
+		if [ -n "${files}" ] ; then
+			einfo "Applying custom patches:"
+
+			for file in ${files} ; do
+				epatch "${file}"
+			done
+		fi
+	fi
+
+	einfo "Symlinking external libraries..."
+	java-pkg_jar-from --into libs.junit4/external hamcrest-core-1.3 hamcrest-core.jar hamcrest-core-1.3.jar
+	java-pkg_jar-from --into libs.jna.platform/external jna platform.jar jna-platform-4.1.0.jar
+	java-pkg_jar-from --into javahelp/external javahelp jhall.jar jhall-2.0_05.jar
+	java-pkg_jar-from --into libs.jna/external jna jna.jar jna-4.1.0.jar
+	java-pkg_jar-from --into libs.junit4/external junit-4 junit.jar junit-4.12.jar
+	ln -s /usr/share/junit-4/sources/junit-src.zip junitlib/external/junit-4.12-sources.jar || die
+	java-pkg_jar-from --into libs.osgi/external osgi-core-api osgi-core-api.jar osgi.core-5.0.0.jar
+	java-pkg_jar-from --into libs.osgi/external osgi-compendium osgi-compendium.jar osgi.cmpn-4.2.jar
+	java-pkg_jar-from --into o.jdesktop.layout/external swing-layout-1 swing-layout.jar swing-layout-1.0.4.jar
+	ln -s /usr/share/swing-layout-1/sources/swing-layout-src.zip o.jdesktop.layout/external/swing-layout-1.0.4-src.zip || die
+	java-pkg_jar-from --into libs.testng/external testng testng.jar testng-6.8.1-dist.jar
+
+	java-pkg-2_src_prepare
+}
+
+src_compile() {
+	unset DISPLAY
+	eant -f ${EANT_BUILD_XML} ${EANT_EXTRA_ARGS} ${EANT_BUILD_TARGET} || die "Compilation failed"
+}
+
+src_install() {
+	pushd nbbuild/netbeans/platform >/dev/null || die
+
+	java-pkg_dojar lib/*.jar
+	grep -E "/platform$" ../moduleCluster.properties > "${D}"/${INSTALL_DIR}/moduleCluster.properties || die
+
+	insinto ${INSTALL_DIR}
+	doins -r *
+	rm "${D}"/${INSTALL_DIR}/docs/junit-4.12-sources.jar || die
+	dosym /usr/share/junit-4/sources/junit-src.zip ${INSTALL_DIR}/docs/junit-4.12-sources.jar
+	rm "${D}"/${INSTALL_DIR}/docs/swing-layout-1.0.4-src.zip || die
+	dosym /usr/share/swing-layout-1/sources/swing-layout-src.zip ${INSTALL_DIR}/docs/swing-layout-1.0.4-src.zip
+	find "${D}"/${INSTALL_DIR} -name "*.exe" -delete
+	find "${D}"/${INSTALL_DIR} -name "*.dll" -delete
+	rm -fr "${D}"/modules/lib || die
+
+	popd >/dev/null || die
+
+	fperms 775 ${INSTALL_DIR}/lib/nbexec
+	dosym ${INSTALL_DIR}/lib/nbexec /usr/bin/nbexec-${SLOT}
+
+	local instdir=${INSTALL_DIR}/modules/ext
+	pushd "${D}"/${instdir} >/dev/null || die
+	rm hamcrest-core-1.3.jar && dosym /usr/share/hamcrest-core-1.3/lib/hamcrest-core.jar ${instdir}/hamcrest-core-1.3.jar || die
+	rm jhall-2.0_05.jar && dosym /usr/share/javahelp/lib/jhall.jar ${instdir}/jhall-2.0_05.jar || die
+	rm jna-4.1.0.jar && dosym /usr/share/jna/lib/jna.jar ${instdir}/jna-4.1.0.jar || die
+	rm jna-platform-4.1.0.jar && dosym /usr/share/jna/lib/platform.jar ${instdir}/jna-platform-4.1.0.jar || die
+	rm junit-4.12.jar && dosym /usr/share/junit-4/lib/junit.jar ${instdir}/junit-4.12.jar || die
+	rm osgi.cmpn-4.2.jar && dosym /usr/share/osgi-compendium/lib/osgi-compendium.jar ${instdir}/osgi.cmpn-4.2.jar || die
+	rm osgi.core-5.0.0.jar && dosym /usr/share/osgi-core-api/lib/osgi-core-api.jar ${instdir}/osgi.core-5.0.0.jar || die
+	rm swing-layout-1.0.4.jar && dosym /usr/share/swing-layout-1/lib/swing-layout.jar ${instdir}/swing-layout-1.0.4.jar || die
+	rm testng-6.8.1-dist.jar && dosym /usr/share/testng/lib/testng.jar ${instdir}/testng-6.8.1-dist.jar || die
+	popd >/dev/null || die
+
+	dosym ${INSTALL_DIR} /usr/share/netbeans-nb-${SLOT}/platform
+}

diff --git a/dev-java/netbeans-profiler/Manifest b/dev-java/netbeans-profiler/Manifest
index 3ceeb79..43d068b 100644
--- a/dev-java/netbeans-profiler/Manifest
+++ b/dev-java/netbeans-profiler/Manifest
@@ -28,6 +28,7 @@ DIST netbeans-trunk-nightly-201511210002-src.zip 209010240 SHA256 f2ae849caecc3b
 DIST netbeans-trunk-nightly-201511220002-src.zip 209010278 SHA256 fd9b4be1bea62ec36f817ac6f074699524b4b6e831fd929fe0af4ac7b0fe7a1d SHA512 05107a3b235508c68fe710ee6ea3e16583088151dfbab5d86fbe6d4ad996b45bc4efd52931220c55ccf615e10645ef2e4678e8de9ae5b98885785d726cd1b076 WHIRLPOOL 91caf15373bd802d84d970642e9f6694a461d0a730f72297f0a5511b6f60ac032cdaef21997a60e6f692bd4e873d967e4c7c5f4645737bb4693a96cd6dc6f138
 DIST netbeans-trunk-nightly-201511230002-src.zip 209010278 SHA256 1e7b0dd059f2838bd3513cccf5b5380bd32d50984376627cc66345966e065be6 SHA512 21ae5ae00ad2863c8fec26e63f5c45404271d3aef900908923572e8d3dd283e40900e2902ea3b743a9cb422de0bb4ab29f047cb3c6961f0366451c4993cb282a WHIRLPOOL 7f8a9fbf9ba76495ab7356a1332ee37927b755214e68f4af1d31f18f363446de08536018f9934f067c3fa889fa090c1611eb7c15703d5a6fc6c609d2a7d4596c
 DIST netbeans-trunk-nightly-201511240002-src.zip 209016790 SHA256 f7cf4fdfefab6bf0f8895703a7bb603335d3ba8e53eba66d57889278fa8be3bb SHA512 9d11fcede1f5ea7572151cfc2b57b79bf353fc06f1eb6ae175cb52cf1bf9b6c9774e1ea581078a83c4dec502c94cf6dbeca464461593f6f3e360bab9492723da WHIRLPOOL 55f3b39feace5ab179ad75316d8582ac1b47c953623cb59857e69103a8427407736f0a43639034c7bf4cb322fac47adcb24cb6ce8fb33b0fecbf040f171d8b3a
+DIST netbeans-trunk-nightly-201511250002-src.zip 209050331 SHA256 c5bddd15370c7b689caff156e3d447575f1219ebe8a40973df3c4065f68f259f SHA512 b2b02288525f68ccbbb3f1a1d7cbd236cefe0c4298d44279c49a7742637791ea9bd2c9cb34983fe881235efb143e511aa62e949efd254c610ccd5bb061a0e69a WHIRLPOOL 7ddf332ee1ca12ebf95bec63bcfaae141150247d1009ea4604891a43c03d4a45ae324930f08a06147f79270cdd1e0d897d4516b28e22dcd29d2022a69be93929
 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
@@ -55,4 +56,5 @@ EBUILD netbeans-profiler-9999_p20151121.ebuild 3472 SHA256 a21ed72bfefed50f0dd83
 EBUILD netbeans-profiler-9999_p20151122.ebuild 3472 SHA256 4d23541db14d2ebbcfb84aa60561c431886e6125bd2d5da14d3b993d4d98fa54 SHA512 809ce98372da1156869e80a0e7a6c9946d21990ef0d0e34f51ebc4fc58e7bf2d422fbae246fff6a61368d94a760d4dda0a7796134fc6c1a92e35093b1ce9ccdc WHIRLPOOL ce3f191b7762d995bf154dee04148ca3bd6b2090bdee481b1ccc9b721813f72521b76e2d9b6e0285ceb726d615cb7b6ca0e354346940b307c1e8bd79dcf4a4f6
 EBUILD netbeans-profiler-9999_p20151123.ebuild 3472 SHA256 6de5efdae27ae1fff7d6d86066d8d502a857fe93aa9c23c99c4238205c2657a4 SHA512 cd2cd7aea6e058132eaa349f393c284269f47662a9c77ffca7f7e85a2f0d276834f7304356d14ff4863566c0ba59c2b74e3c45e4117ed704ff6a7b806aa191c1 WHIRLPOOL f25ef3f80905e35680633350daa4a4ab94409c1637f411b376c8e02519b7a3d9c048d9684f493f35dc50d7f09c82feb6386b539a38ba2b2ef371fb61c6c87229
 EBUILD netbeans-profiler-9999_p20151124.ebuild 3472 SHA256 e1e6e276414d763db27300c62376ebf27ae219da62afda4270a4d6a775d23eff SHA512 e0e18a89f0a807d8c4e7fce59198552081b19e4c0c4d59937b740189a2a1a417d627d5f88fe06a57384b292ce4366a818c54efb64460f6a432a1ca14864f7761 WHIRLPOOL e0a7587eb8469c0b4ce8d3fe8770007ea5fb9a3f6b541aa961416933a4d53ecf6c6e86ea3f4d4f9ba946cd6049c23f469f551c0abff5bf360a0abd31d2e02bad
+EBUILD netbeans-profiler-9999_p20151125.ebuild 3472 SHA256 2d4431b6d9a7df2c56c1c8b284ed8a61bedb531a07fcfab2498ac61cfcf1c0ef SHA512 de90df04fb89242a9a377fc575a702db5875d414ec2bcb2ae88a819ea7ee29ab6a006b390c768dccc35df5f7d8bf39ce9896a1eccbe00cb6b4275ea899641827 WHIRLPOOL 270eb3eab8a1fa55816740d8b2a99a8908432a65f9a9c4249c3dacedf2009f7a4239bdb995626e66626af6e2bcf93b4ac1055301f6bacf32fcc24f4177a6d0e2
 MISC metadata.xml 251 SHA256 5a4ff53a9862390a48d45c79be24086646e7a6ff0c5bdf0fcb799d0871299003 SHA512 04153cbd9776ad56a94d6a47d043df15d082d8888df8658f18d0d4b659c6c0526ab3a9b22ccbe2471091bf2d8165f224854bc99c51f3664aaf350ccb93532a7c WHIRLPOOL 2ee8a646c6e23bc46c72cac0ecb5cfe43720ec42404ddaeed8ab1b59d139b3d5c1a94764de847f979da978c001c9f02f709d663a68eeea64d19e88f1fefbca43

diff --git a/dev-java/netbeans-profiler/netbeans-profiler-9999_p20151125.ebuild b/dev-java/netbeans-profiler/netbeans-profiler-9999_p20151125.ebuild
new file mode 100644
index 0000000..48eda10
--- /dev/null
+++ b/dev-java/netbeans-profiler/netbeans-profiler-9999_p20151125.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-11-25_00-02-04/zip/netbeans-trunk-nightly-201511250002-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 9c5c48d..7213855 100644
--- a/dev-java/netbeans-webcommon/Manifest
+++ b/dev-java/netbeans-webcommon/Manifest
@@ -37,6 +37,7 @@ DIST netbeans-trunk-nightly-201511210002-src.zip 209010240 SHA256 f2ae849caecc3b
 DIST netbeans-trunk-nightly-201511220002-src.zip 209010278 SHA256 fd9b4be1bea62ec36f817ac6f074699524b4b6e831fd929fe0af4ac7b0fe7a1d SHA512 05107a3b235508c68fe710ee6ea3e16583088151dfbab5d86fbe6d4ad996b45bc4efd52931220c55ccf615e10645ef2e4678e8de9ae5b98885785d726cd1b076 WHIRLPOOL 91caf15373bd802d84d970642e9f6694a461d0a730f72297f0a5511b6f60ac032cdaef21997a60e6f692bd4e873d967e4c7c5f4645737bb4693a96cd6dc6f138
 DIST netbeans-trunk-nightly-201511230002-src.zip 209010278 SHA256 1e7b0dd059f2838bd3513cccf5b5380bd32d50984376627cc66345966e065be6 SHA512 21ae5ae00ad2863c8fec26e63f5c45404271d3aef900908923572e8d3dd283e40900e2902ea3b743a9cb422de0bb4ab29f047cb3c6961f0366451c4993cb282a WHIRLPOOL 7f8a9fbf9ba76495ab7356a1332ee37927b755214e68f4af1d31f18f363446de08536018f9934f067c3fa889fa090c1611eb7c15703d5a6fc6c609d2a7d4596c
 DIST netbeans-trunk-nightly-201511240002-src.zip 209016790 SHA256 f7cf4fdfefab6bf0f8895703a7bb603335d3ba8e53eba66d57889278fa8be3bb SHA512 9d11fcede1f5ea7572151cfc2b57b79bf353fc06f1eb6ae175cb52cf1bf9b6c9774e1ea581078a83c4dec502c94cf6dbeca464461593f6f3e360bab9492723da WHIRLPOOL 55f3b39feace5ab179ad75316d8582ac1b47c953623cb59857e69103a8427407736f0a43639034c7bf4cb322fac47adcb24cb6ce8fb33b0fecbf040f171d8b3a
+DIST netbeans-trunk-nightly-201511250002-src.zip 209050331 SHA256 c5bddd15370c7b689caff156e3d447575f1219ebe8a40973df3c4065f68f259f SHA512 b2b02288525f68ccbbb3f1a1d7cbd236cefe0c4298d44279c49a7742637791ea9bd2c9cb34983fe881235efb143e511aa62e949efd254c610ccd5bb061a0e69a WHIRLPOOL 7ddf332ee1ca12ebf95bec63bcfaae141150247d1009ea4604891a43c03d4a45ae324930f08a06147f79270cdd1e0d897d4516b28e22dcd29d2022a69be93929
 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
@@ -64,4 +65,5 @@ EBUILD netbeans-webcommon-9999_p20151121.ebuild 4590 SHA256 1e27623a1716872097ff
 EBUILD netbeans-webcommon-9999_p20151122.ebuild 4590 SHA256 29239d2516519068d8f5fe4594c47503a7d6bc26745f95cbd1110bc94f962f9f SHA512 eb9573c3c4daad78ad9ed36561730c9c4e8f354a9bad6b58173b461328b6bc16fdb56a7d80acbc3d445604c103969fb56fce1c7439e2d41ab678282c9dbfbc69 WHIRLPOOL d1a08b3d965ecf5935e577035f08ec11605670509832ec75874517af3d5d772dcbf739e11aa805460d20b5876f51b6a8222e9483a6c7d296e3bde49f43c2495a
 EBUILD netbeans-webcommon-9999_p20151123.ebuild 4590 SHA256 4bcfe927e21975ef2dd6b09d63e5a3f511192077804fdefd57c187c6ef0ab958 SHA512 114965e224ca688a9472a05f830babf5eec4a11935189687c79d4e7c8e0778273544e89719c23449a3eac8870e402a776853ed81067e43a4e1a0e2a4efb7f395 WHIRLPOOL 9e0c91bc31cf8fe7d559de62d3f2d2b9231ecbbe20a5166e331c71f055699c74d7e8ef73f00c1e8375347be5f074ab8c9c499235a04a57ba2c7e64523e782d85
 EBUILD netbeans-webcommon-9999_p20151124.ebuild 4590 SHA256 9f29ac471ddc7e44893b0c567020ad4635ee06936fc8e22e524ead8af61f1869 SHA512 3e012f249df5a3b2f5480e9974dd9049f180060058c3492e61b70dc9bceb3e1f2b40a3d4cde0ee52e149f3978ae599150bd758957bbf1455a9a0a9aad823f917 WHIRLPOOL 208573c99756b9c547181e77f1ec6649bcde97320d6469149306ff874f97aa91e1276df97eebf3faf5417e0d9cc7721e72b84b0c563c43ad1e6f022caac67bbd
+EBUILD netbeans-webcommon-9999_p20151125.ebuild 4590 SHA256 55b2bc892d888f89140d90e9907704777e287fc6f5b7ac77495dcfbef0bfd03e SHA512 e7d8da1b1bfbade4bac86c9b9ede476043d543a6de97edce6d85229535bb241fdb437303908354803276e9cef574d9c685a834771289f5c34a2fd9642ef0dcd9 WHIRLPOOL ea80cb85898884ede0f1965f9b15f106a652c598f75579a5d6f45a31cd1e7de41328b5738b1a5773bee49f4639e5c0c6e2407d2b9a24e15508debda0d4949d08
 MISC metadata.xml 251 SHA256 5a4ff53a9862390a48d45c79be24086646e7a6ff0c5bdf0fcb799d0871299003 SHA512 04153cbd9776ad56a94d6a47d043df15d082d8888df8658f18d0d4b659c6c0526ab3a9b22ccbe2471091bf2d8165f224854bc99c51f3664aaf350ccb93532a7c WHIRLPOOL 2ee8a646c6e23bc46c72cac0ecb5cfe43720ec42404ddaeed8ab1b59d139b3d5c1a94764de847f979da978c001c9f02f709d663a68eeea64d19e88f1fefbca43

diff --git a/dev-java/netbeans-webcommon/netbeans-webcommon-9999_p20151125.ebuild b/dev-java/netbeans-webcommon/netbeans-webcommon-9999_p20151125.ebuild
new file mode 100644
index 0000000..b519621
--- /dev/null
+++ b/dev-java/netbeans-webcommon/netbeans-webcommon-9999_p20151125.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-11-25_00-02-04/zip/netbeans-trunk-nightly-201511250002-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 ba7e1b4..de3980e 100644
--- a/dev-java/netbeans-websvccommon/Manifest
+++ b/dev-java/netbeans-websvccommon/Manifest
@@ -28,6 +28,7 @@ DIST netbeans-trunk-nightly-201511210002-src.zip 209010240 SHA256 f2ae849caecc3b
 DIST netbeans-trunk-nightly-201511220002-src.zip 209010278 SHA256 fd9b4be1bea62ec36f817ac6f074699524b4b6e831fd929fe0af4ac7b0fe7a1d SHA512 05107a3b235508c68fe710ee6ea3e16583088151dfbab5d86fbe6d4ad996b45bc4efd52931220c55ccf615e10645ef2e4678e8de9ae5b98885785d726cd1b076 WHIRLPOOL 91caf15373bd802d84d970642e9f6694a461d0a730f72297f0a5511b6f60ac032cdaef21997a60e6f692bd4e873d967e4c7c5f4645737bb4693a96cd6dc6f138
 DIST netbeans-trunk-nightly-201511230002-src.zip 209010278 SHA256 1e7b0dd059f2838bd3513cccf5b5380bd32d50984376627cc66345966e065be6 SHA512 21ae5ae00ad2863c8fec26e63f5c45404271d3aef900908923572e8d3dd283e40900e2902ea3b743a9cb422de0bb4ab29f047cb3c6961f0366451c4993cb282a WHIRLPOOL 7f8a9fbf9ba76495ab7356a1332ee37927b755214e68f4af1d31f18f363446de08536018f9934f067c3fa889fa090c1611eb7c15703d5a6fc6c609d2a7d4596c
 DIST netbeans-trunk-nightly-201511240002-src.zip 209016790 SHA256 f7cf4fdfefab6bf0f8895703a7bb603335d3ba8e53eba66d57889278fa8be3bb SHA512 9d11fcede1f5ea7572151cfc2b57b79bf353fc06f1eb6ae175cb52cf1bf9b6c9774e1ea581078a83c4dec502c94cf6dbeca464461593f6f3e360bab9492723da WHIRLPOOL 55f3b39feace5ab179ad75316d8582ac1b47c953623cb59857e69103a8427407736f0a43639034c7bf4cb322fac47adcb24cb6ce8fb33b0fecbf040f171d8b3a
+DIST netbeans-trunk-nightly-201511250002-src.zip 209050331 SHA256 c5bddd15370c7b689caff156e3d447575f1219ebe8a40973df3c4065f68f259f SHA512 b2b02288525f68ccbbb3f1a1d7cbd236cefe0c4298d44279c49a7742637791ea9bd2c9cb34983fe881235efb143e511aa62e949efd254c610ccd5bb061a0e69a WHIRLPOOL 7ddf332ee1ca12ebf95bec63bcfaae141150247d1009ea4604891a43c03d4a45ae324930f08a06147f79270cdd1e0d897d4516b28e22dcd29d2022a69be93929
 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
@@ -55,4 +56,5 @@ EBUILD netbeans-websvccommon-9999_p20151121.ebuild 2721 SHA256 69a9f299ae4cfa482
 EBUILD netbeans-websvccommon-9999_p20151122.ebuild 2721 SHA256 3fa6f8116185fb25542107243c0d743166f9ac39b3c14ccc4bf716418bb9493f SHA512 3872b57a031cd33d278af25e134d04102325db82aa0f17111e17265f9c8bd1333914f7ec353708efce8d71c317c1cfe625ded4805799ae684a879fa16c95be88 WHIRLPOOL d51d32074eb1da2f7640c4f15d4386fb81799783f29be0766953149cf86f6868134793e5afeb1bc7746cd980e18861b1c287d8f6c8e4b47245202259aa29c4f9
 EBUILD netbeans-websvccommon-9999_p20151123.ebuild 2721 SHA256 4e5c2b47a796784e610ff082efac0e1bf698a93fda1047ac7b3a7f18e3cb4ad4 SHA512 c8172598168905424fa343217e36500079db2c0561424dff03e4e1514771c21fdb51d4e7cea6cc6d31ac830a32598844a366758f0089b3c9e9fbc4d087f762c2 WHIRLPOOL 73f31dc0a035288887aa2368f9644a1851ff448102ea112d2ed34577fa3e97e41e503ea365968c2eb2e246d11ca62cb33e06a61e8e691461c0c2e33f6371634a
 EBUILD netbeans-websvccommon-9999_p20151124.ebuild 2721 SHA256 9c2b3e303409b306431f01780eb5ec558a4e110d65c1ab64fa82455070a4d619 SHA512 e19aa2d1633846b0aad67203360aa4f4fefcc02673ca60fccf16ac24c34d921004588a945017d1ab9c9ca0b71e51b611a08175251017acd48e5cc7879025f963 WHIRLPOOL 8161836bf6c90cd62dafdc97db119dd71a71204457179f7bfc32ebdffaee8d94d3d2019bfb00e08409e2ca90ea115f56648f41b6033f36507ea11a9d862ffc0b
+EBUILD netbeans-websvccommon-9999_p20151125.ebuild 2721 SHA256 ae6f0b467716fef58a134f9216484f5255c1df5591abaca6be8a368bedb009d7 SHA512 8d53f5e62c71730df31e99e6f039bdf53deb01cfa176d59448bac091cdee5911ec2feba44c5719d69c6f2faa6e7342cf0c443b7005ecd3e542922d48bb2ef6d3 WHIRLPOOL 832be05ffe1daedaad6e381677492ebf98c3b28f070835a7b1e8bfe56832889838d715f034233db573b071fc51340cfa5b859cfc6807cc2b6e42d493d97dbd8e
 MISC metadata.xml 251 SHA256 5a4ff53a9862390a48d45c79be24086646e7a6ff0c5bdf0fcb799d0871299003 SHA512 04153cbd9776ad56a94d6a47d043df15d082d8888df8658f18d0d4b659c6c0526ab3a9b22ccbe2471091bf2d8165f224854bc99c51f3664aaf350ccb93532a7c WHIRLPOOL 2ee8a646c6e23bc46c72cac0ecb5cfe43720ec42404ddaeed8ab1b59d139b3d5c1a94764de847f979da978c001c9f02f709d663a68eeea64d19e88f1fefbca43

diff --git a/dev-java/netbeans-websvccommon/netbeans-websvccommon-9999_p20151125.ebuild b/dev-java/netbeans-websvccommon/netbeans-websvccommon-9999_p20151125.ebuild
new file mode 100644
index 0000000..945b3ac
--- /dev/null
+++ b/dev-java/netbeans-websvccommon/netbeans-websvccommon-9999_p20151125.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-11-25_00-02-04/zip/netbeans-trunk-nightly-201511250002-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 b9cdd40..dc8ae4e 100644
--- a/dev-util/netbeans/Manifest
+++ b/dev-util/netbeans/Manifest
@@ -31,6 +31,7 @@ DIST netbeans-trunk-nightly-201511210002-src.zip 209010240 SHA256 f2ae849caecc3b
 DIST netbeans-trunk-nightly-201511220002-src.zip 209010278 SHA256 fd9b4be1bea62ec36f817ac6f074699524b4b6e831fd929fe0af4ac7b0fe7a1d SHA512 05107a3b235508c68fe710ee6ea3e16583088151dfbab5d86fbe6d4ad996b45bc4efd52931220c55ccf615e10645ef2e4678e8de9ae5b98885785d726cd1b076 WHIRLPOOL 91caf15373bd802d84d970642e9f6694a461d0a730f72297f0a5511b6f60ac032cdaef21997a60e6f692bd4e873d967e4c7c5f4645737bb4693a96cd6dc6f138
 DIST netbeans-trunk-nightly-201511230002-src.zip 209010278 SHA256 1e7b0dd059f2838bd3513cccf5b5380bd32d50984376627cc66345966e065be6 SHA512 21ae5ae00ad2863c8fec26e63f5c45404271d3aef900908923572e8d3dd283e40900e2902ea3b743a9cb422de0bb4ab29f047cb3c6961f0366451c4993cb282a WHIRLPOOL 7f8a9fbf9ba76495ab7356a1332ee37927b755214e68f4af1d31f18f363446de08536018f9934f067c3fa889fa090c1611eb7c15703d5a6fc6c609d2a7d4596c
 DIST netbeans-trunk-nightly-201511240002-src.zip 209016790 SHA256 f7cf4fdfefab6bf0f8895703a7bb603335d3ba8e53eba66d57889278fa8be3bb SHA512 9d11fcede1f5ea7572151cfc2b57b79bf353fc06f1eb6ae175cb52cf1bf9b6c9774e1ea581078a83c4dec502c94cf6dbeca464461593f6f3e360bab9492723da WHIRLPOOL 55f3b39feace5ab179ad75316d8582ac1b47c953623cb59857e69103a8427407736f0a43639034c7bf4cb322fac47adcb24cb6ce8fb33b0fecbf040f171d8b3a
+DIST netbeans-trunk-nightly-201511250002-src.zip 209050331 SHA256 c5bddd15370c7b689caff156e3d447575f1219ebe8a40973df3c4065f68f259f SHA512 b2b02288525f68ccbbb3f1a1d7cbd236cefe0c4298d44279c49a7742637791ea9bd2c9cb34983fe881235efb143e511aa62e949efd254c610ccd5bb061a0e69a WHIRLPOOL 7ddf332ee1ca12ebf95bec63bcfaae141150247d1009ea4604891a43c03d4a45ae324930f08a06147f79270cdd1e0d897d4516b28e22dcd29d2022a69be93929
 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
@@ -58,4 +59,5 @@ EBUILD netbeans-9999_p20151121.ebuild 6938 SHA256 644b8fd20a1b566f878009f19745ff
 EBUILD netbeans-9999_p20151122.ebuild 6938 SHA256 4b22e4e7488e3e6d2a8ff9922af6f9b305f2bcd39003326bc9909fdd9ae9d184 SHA512 3b52e99a80b517ebf81b1d94f0788a0b3b14446f6a343d979deed186e244aa15d3c78e01eeedba0aefd46cac9305149dafe2eb47951dffa716dbd1752b13b09e WHIRLPOOL 6cae354db5c01ec4a9e04016ca1cf5aad0969b8ca5a99e7eb0802ef90e23ddd906b01529b74a899046104e334c223a636bd4785616ddaf0d5ce4bc6d437201fe
 EBUILD netbeans-9999_p20151123.ebuild 6938 SHA256 5b534ad2b696b315d560ffc477ac1ecc1f10b91ededc697b6d48f23f1577fa72 SHA512 3baffa7836d67b8b6edeb94bd15fd1e2581a4b3db9817432bbbe80b669b29b07c44db3e3ca662c443e1d229986b1f0f83ea97372e92489d9df886f1cda3ef612 WHIRLPOOL 593cfc777f1df697a23ed4c4b46a1a4dce0b350b35da7d71c5b5bfe6bf57c2fb398c9a168145224d44001eb17c8255cc887fff43dc77248704151153e9105329
 EBUILD netbeans-9999_p20151124.ebuild 6938 SHA256 175d7cfda6ad4ab65e8893b9caafb93f319b431a3ab74aed69aca2d731a4233d SHA512 9e839734230834e29429648ffa49144ed19c2b553a0ab67730b66be0de8f6d2e2407436f82157379b73593f61b36ec93a9d7687442af9d1ef1799c6597d79cb0 WHIRLPOOL 9b7ca89c1ff3181b85187754b11ac6ecaa24faf8d360255e7a7a25e4d86d5f444e39273fb8798a4f2f63dc7552512feebd6b6f397c0d7fa821ed79ad70ae5b15
+EBUILD netbeans-9999_p20151125.ebuild 6938 SHA256 a77720b0eeda9e431920fd277296cfce620f6591a991eb98144dd94cf08cb1af SHA512 8e5a0d6ed73287eac9715c7afc8f4f232831c6a79539375f4d7faded39176467616ecc7cfad756646b050578d12338909bf5dfbea447e605f83cd69c12f4eac9 WHIRLPOOL da13d20077581682f976d0292047e67a0eaf5b1a4d87c359059ce63e4ca7c580e7284f0743416e9d17a7e166a001fea528597fd8e23292a4a8c7fe97913dfb03
 MISC metadata.xml 333 SHA256 a7c289d7be537b4c51bd8100bca0d8a40ceb5fb011942bbd1b286841cf3c1d0a SHA512 3f730fc27f893489524053e81a465519037a68e297f02a5d6400f85f8bfd8a20006e5515a135b8a5779ebf5951a661d99aaa8bf3b9b96141f863e134dba2265e WHIRLPOOL d37106234351185946f6dc870e9b77babd38bed88673771949d26d176d8dad4071be5f2c59bf72b139a6a35c899c2c7ac9ffde1c7b4885135d52c821780cf3d2

diff --git a/dev-util/netbeans/netbeans-9999_p20151125.ebuild b/dev-util/netbeans/netbeans-9999_p20151125.ebuild
new file mode 100644
index 0000000..0535cb9
--- /dev/null
+++ b/dev-util/netbeans/netbeans-9999_p20151125.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-11-25_00-02-04/zip/netbeans-trunk-nightly-201511250002-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-11-25 17:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-11-25 16:59 [gentoo-commits] dev/fordfrog:master commit in: dev-java/netbeans-ide/, dev-java/netbeans-groovy/, 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