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

commit:     d2d65dbafcc43beae6fe92c93ce5af0987382ed0
Author:     Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
AuthorDate: Mon Dec  8 09:24:10 2014 +0000
Commit:     Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
CommitDate: Mon Dec  8 09:24:10 2014 +0000
URL:        http://sources.gentoo.org/gitweb/?p=dev/fordfrog.git;a=commit;h=d2d65dba

netbeans: bumped to the latest sources

---
 dev-java/netbeans-apisupport/ChangeLog             |   6 +
 dev-java/netbeans-apisupport/Manifest              |   6 +-
 .../netbeans-apisupport-9999_p20141208.ebuild      | 111 ++++++
 dev-java/netbeans-cnd/ChangeLog                    |   6 +
 dev-java/netbeans-cnd/Manifest                     |   6 +-
 .../netbeans-cnd-9999_p20141208.ebuild             | 125 +++++++
 dev-java/netbeans-dlight/ChangeLog                 |   6 +
 dev-java/netbeans-dlight/Manifest                  |   6 +-
 .../netbeans-dlight-9999_p20141208.ebuild          | 101 ++++++
 dev-java/netbeans-enterprise/ChangeLog             |   6 +
 dev-java/netbeans-enterprise/Manifest              |   6 +-
 .../netbeans-enterprise-9999_p20141208.ebuild      | 249 ++++++++++++++
 dev-java/netbeans-ergonomics/ChangeLog             |   6 +
 dev-java/netbeans-ergonomics/Manifest              |   6 +-
 .../netbeans-ergonomics-9999_p20141208.ebuild      | 101 ++++++
 dev-java/netbeans-extide/ChangeLog                 |   6 +
 dev-java/netbeans-extide/Manifest                  |   6 +-
 .../netbeans-extide-9999_p20141208.ebuild          | 108 ++++++
 dev-java/netbeans-groovy/ChangeLog                 |   6 +
 dev-java/netbeans-groovy/Manifest                  |   6 +-
 .../netbeans-groovy-9999_p20141208.ebuild          | 111 ++++++
 dev-java/netbeans-harness/ChangeLog                |   6 +
 dev-java/netbeans-harness/Manifest                 |   6 +-
 .../netbeans-harness-9999_p20141208.ebuild         | 114 +++++++
 dev-java/netbeans-ide/ChangeLog                    |   6 +
 dev-java/netbeans-ide/Manifest                     |   6 +-
 .../netbeans-ide-9999_p20141208.ebuild             | 373 +++++++++++++++++++++
 dev-java/netbeans-java/ChangeLog                   |   6 +
 dev-java/netbeans-java/Manifest                    |   6 +-
 .../netbeans-java-9999_p20141208.ebuild            | 253 ++++++++++++++
 dev-java/netbeans-javacard/ChangeLog               |   6 +
 dev-java/netbeans-javacard/Manifest                |   6 +-
 .../netbeans-javacard-9999_p20141208.ebuild        | 134 ++++++++
 dev-java/netbeans-javadoc/ChangeLog                |   6 +
 dev-java/netbeans-javadoc/Manifest                 |   6 +-
 .../netbeans-javadoc-9999_p20141208.ebuild         | 168 ++++++++++
 dev-java/netbeans-javafx/ChangeLog                 |   6 +
 dev-java/netbeans-javafx/Manifest                  |   6 +-
 .../netbeans-javafx-9999_p20141208.ebuild          | 124 +++++++
 dev-java/netbeans-mobility/ChangeLog               |   6 +
 dev-java/netbeans-mobility/Manifest                |   6 +-
 .../netbeans-mobility-9999_p20141208.ebuild        | 126 +++++++
 dev-java/netbeans-nb/ChangeLog                     |   6 +
 dev-java/netbeans-nb/Manifest                      |   6 +-
 .../netbeans-nb/netbeans-nb-9999_p20141208.ebuild  | 148 ++++++++
 dev-java/netbeans-php/ChangeLog                    |   6 +
 dev-java/netbeans-php/Manifest                     |   6 +-
 .../netbeans-php-9999_p20141208.ebuild             | 127 +++++++
 dev-java/netbeans-platform/ChangeLog               |   6 +
 dev-java/netbeans-platform/Manifest                |   6 +-
 .../netbeans-platform-9999_p20141208.ebuild        | 155 +++++++++
 dev-java/netbeans-profiler/ChangeLog               |   6 +
 dev-java/netbeans-profiler/Manifest                |   6 +-
 .../netbeans-profiler-9999_p20141208.ebuild        | 121 +++++++
 dev-java/netbeans-webcommon/ChangeLog              |   6 +
 dev-java/netbeans-webcommon/Manifest               |   6 +-
 .../netbeans-webcommon-9999_p20141208.ebuild       | 123 +++++++
 dev-java/netbeans-websvccommon/ChangeLog           |   6 +
 dev-java/netbeans-websvccommon/Manifest            |   6 +-
 .../netbeans-websvccommon-9999_p20141208.ebuild    |  94 ++++++
 dev-util/netbeans/ChangeLog                        |   6 +
 dev-util/netbeans/Manifest                         |   6 +-
 dev-util/netbeans/netbeans-9999_p20141208.ebuild   | 264 +++++++++++++++
 63 files changed, 3440 insertions(+), 42 deletions(-)

diff --git a/dev-java/netbeans-apisupport/ChangeLog b/dev-java/netbeans-apisupport/ChangeLog
index f406867..c22e016 100644
--- a/dev-java/netbeans-apisupport/ChangeLog
+++ b/dev-java/netbeans-apisupport/ChangeLog
@@ -2,6 +2,12 @@
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+*netbeans-apisupport-9999_p20141208 (08 Dec 2014)
+
+  08 Dec 2014; Miroslav Šulc <fordfrog@gentoo.org>
+  +netbeans-apisupport-9999_p20141208.ebuild:
+  bumped to the latest sources
+
 *netbeans-apisupport-8.0.2 (07 Dec 2014)
 
   07 Dec 2014; Miroslav Šulc <fordfrog@gentoo.org>

diff --git a/dev-java/netbeans-apisupport/Manifest b/dev-java/netbeans-apisupport/Manifest
index 532ee05..ba5c42a 100644
--- a/dev-java/netbeans-apisupport/Manifest
+++ b/dev-java/netbeans-apisupport/Manifest
@@ -10,7 +10,7 @@ DIST netbeans-7.4-build.xml.patch.bz2 2685 SHA256 3ffbe61e33ab28f39acbe28209469c
 DIST netbeans-8.0-201403101706-src.zip 194215149 SHA256 737a6fe9313e720590933773672c1f241820b795ce384a605743f3eeba0a9396 SHA512 dbc4ea3852ac0a698729a7698f2dccff427680bf01234c8a463268540e886f57b39697ec124fc0701cd52b558987961fc82e6f27bc9f0fc115159d250fddd676 WHIRLPOOL 47d914d023212076c463a99eda49b202aa6c05a2ffd5c32b61f97a4cd76930c94e18059292a8520359f38736e838a7c2d053ecf584493dbb3a9d8f5133ed6b36
 DIST netbeans-8.0-build.xml.patch.bz2 2685 SHA256 3ffbe61e33ab28f39acbe28209469c673ac97ba4620e9ab7391537b9d242da6a SHA512 247c67cf53ee40e94768d547218664cbf82c487f16982a43daed054a17327f168f35319ed4fa2def995adf3f0a6d25f85a3bb23ff4a84aa4e4f751257f255545 WHIRLPOOL bceeaebe6a7079910cfabcbf48738694b8b86a5ab7147002182eba3c305a310febe5861abdc3e63df904b45fcf3a5ecb3007c15611b59b4ce53406e578d13c47
 DIST netbeans-8.0.2-201411181905-src.zip 196585461 SHA256 581f80d3c2e8d87a0f007dd3f358ce0534a0bb2e4b3312cd6c8c7263713bc530 SHA512 9533de5b3c45e4a5b025213dd5602344e16d024e0cdb013f207ac3c7a9d8e63da19279f97910ad136777d75780c620224953f2974070d5c9833d1d6ef3fd427c WHIRLPOOL 2e45e83309743df167ddd1d58068848166d01ef6d9eec99ddf72b9ba7664cb182a04d6420ab03a9270842b3cd9a16a161c1eebb66953ef09158d8d521fb96516
-DIST netbeans-8.0.2-build.xml.patch.bz2 2671 SHA256 b5384db6533d41c7d3fdaffd3cd296d156ac99f0a026e3d74c4ac5b5d388a70f SHA512 1dd5dcf02fd81691b0f9c531470379138484dcbc271f65ba53a3844a1e697719e47cb98c90f92f92c5980a577d27370efc800297525f62da7211393ea0a18915 WHIRLPOOL c77621b5f4eea9e688d9714be9268d05f7c1e792d9d46d3a082418d8c1cb52c35f76d59f0befddc73f30a0e0e12c0af25b4b31c1cb69b68dd90e48638d7da509
+DIST netbeans-8.0.2-build.xml.patch.bz2 2678 SHA256 cf120f7fd8b4ad40e9abdcb09e7763fd93b4acef04ff0365e18f178706ea83bb SHA512 b61adf29bcb139207241c68513724f352420078583ca5e6d7856a4dd335ad36b7d05311eb6e14ff1c568aaf090de4ca083c32f6db1dec0b6f50d66a388bbedf7 WHIRLPOOL fb4d63329aa450a1b387fa45b59fa3c18d1a1ca8ecf9443111a3056d409a6d928d15dae275e9c564558f4b2abd54cc0f8db2df653ac432d9f58f8ef4dd747dff
 DIST netbeans-9999-r1-build.xml.patch.bz2 2379 SHA256 09cfedef0fd9d713ddc71a54848d7551ce750c15e3df00af7feef37d25260a7e SHA512 7f28a0b2536ea84ebaba26df072411f62db01873e7803f2e28400b55bd61f0857b5508668bd03894364333edf6b8cf9901b823980a8f51f8d6a711bd3a47cb59 WHIRLPOOL 74dcc47859101722f9879bf0cf2dadd210555560b2fcd036e43ac099c71fe0c712b360aadad8e88092a324c93ff42fc2e467e89e3227f23a24d55b9c9e2c27b6
 DIST netbeans-9999-r14-build.xml.patch.bz2 2671 SHA256 b5384db6533d41c7d3fdaffd3cd296d156ac99f0a026e3d74c4ac5b5d388a70f SHA512 1dd5dcf02fd81691b0f9c531470379138484dcbc271f65ba53a3844a1e697719e47cb98c90f92f92c5980a577d27370efc800297525f62da7211393ea0a18915 WHIRLPOOL c77621b5f4eea9e688d9714be9268d05f7c1e792d9d46d3a082418d8c1cb52c35f76d59f0befddc73f30a0e0e12c0af25b4b31c1cb69b68dd90e48638d7da509
 DIST netbeans-trunk-nightly-201410010001-src.zip 197355068 SHA256 0d284d68152ca0da1c8dfb7149e5b2638133fe3be6790f312c9959e59528144b SHA512 33ce5f22e9d3ac55d4f7b4b353956a39e030dee6380c5f379fba810f3ec86f8b36e88b773dbbf8bc3c430fc58caba9097764b7eac2d44ce2a25129f8f20fa4f2 WHIRLPOOL b4228286acec04cb321ca8aba60af42a7a1e2c20de1f657773166021a36e284b5ac4f49e9dbf8a51d81577b0d49d387707de3fcc0a622fd13b57c7d704b3da00
@@ -56,6 +56,7 @@ DIST netbeans-trunk-nightly-201412020001-src.zip 199498951 SHA256 c454e3862954d2
 DIST netbeans-trunk-nightly-201412030001-src.zip 199499099 SHA256 adae819d7f94b21e1b65d00dd39082305e79c34801397f474c2ed4e87745c19a SHA512 5eec00d8e086024101cd916bf01603ab2a4ff5b2acd4f03bed258e02b84ce678fe99f85f22824685ae5bc560f67093a4072d741c80a0e772b210569bfb8c75e3 WHIRLPOOL b08f24fb2df1ecb13833490696e331893a7001e668ea387e8c6a5b791b43631b7259db29c1ba76a5629bc001fe293ea1aa0108d213492600cfe057cfe6f6672b
 DIST netbeans-trunk-nightly-201412040001-src.zip 199544440 SHA256 1f721475c4cada742f1128627eba186360874a9a9d95f9634bd1ac8c2cd680d5 SHA512 26921a476d3b94fd7f636569306a2a072f10c6276acdb2b37c830eed3fdb983641ee44d675386fb04f2be760c9f1fe7f180fc43771329c602a05128a2ad2495a WHIRLPOOL 776a1e308af0da58535a9cd33a4b2901b3aeddb8fc61fed440f5c6bf0f86a746490f4e8dc3f7f787586763fc210a2f70771b9c42813703ee97206145cb6e4002
 DIST netbeans-trunk-nightly-201412070001-src.zip 199641850 SHA256 87bb9a998b5814f7d372433ab97ee3827f331a7f1ff92d9c7ba93a64f95d80ec SHA512 5e8ebd97085e603e09e5ea61fedbf12d069ad25edd0a4285dda6cb249ac5b9b75d01b615a0751e25058263041996b0b19adf819f102093ecaeef3364838e54bc WHIRLPOOL d376184e8f06a0b5c4cae82eea627b8dfc30874ff613251171e0e9d753bd7255db8417a79188ad96f52daf43fddc9ca094541090d4432f756ec5d7de679c7488
+DIST netbeans-trunk-nightly-201412080001-src.zip 199642324 SHA256 b13a7830fb7c88b2e188b3f5d4cf554597c9bf09990bff738f94c3d7a8eb9627 SHA512 079b33ccaf071b3db2bab3e92c189dbfe94c75640250080d1b710ae52e846a85a44569c3b5dc2e1ced6611df62ee6573e0957885498002b028e4d86344d171e9 WHIRLPOOL 9cf70238be22ffe165447cf7c75ce4fed9c0a43de377a9b4c99a6052d5fdd5aa525294b51c1e70b19b705d80d36da754f382026263a55008c67d05b53c82b812
 EBUILD netbeans-apisupport-7.0.1.ebuild 3134 SHA256 41c32033c9945a39c0aebb6b0271767031d53a47e5c8365d9e3a7c86712e24cd SHA512 dd4bdde9574a87b46b02fd7204b1e90394bd87dc572dfa015b601203b026b35571f20323db834a310f90aefe6e4a822044b0d71d535a7351137219b50ecb2aa8 WHIRLPOOL f3721521a33b337d7dc24d6b49b0b2fe723f5ec446a5a4befb085051140a41bfd2d3081876e9f02f8b9932a3a0997b92211cd964fe372e40b42813df5db5170e
 EBUILD netbeans-apisupport-7.1.2.ebuild 3143 SHA256 cf24048c0ecca98a7d6371624bb0ddfb78663bead073d515a7c84229dbec00a8 SHA512 ec44c263e786210fd64c9ebb253bc9d4fc34d3be9493157dad06007c19734672bfd767765c003393d1e5cc6755fd5d1eda956b00c2092e98592a73ec1af4e729 WHIRLPOOL d619c304a994a2b818d892fb6315d092588f2ebf95e566f7a909f92daf21bb368a28c4e1af876ae585980dc82996e62aba30b12c41461103c23620a215480b76
 EBUILD netbeans-apisupport-7.2.ebuild 3126 SHA256 b0d64795b8403a932e3e20721a116c755c4de66fc36f7191476fcb4a226bad13 SHA512 cea062a72a8e75a9c2fe91c323f83d542a70149336360e1c41479f401fcae5ead6a301c8a7d5704d5beb27f7810b5d1e3cff0196cce7a26890a001c570179f6a WHIRLPOOL c286f4e4d3a02cbeb1a6e13b2005dc5435a6e9ec026a98fcc00bb83222014b800cd83f437c69352b48d16bdf442a6c7ebbed6aff86f10b3c5e6cdfb7edd9e184
@@ -106,5 +107,6 @@ EBUILD netbeans-apisupport-9999_p20141202.ebuild 3390 SHA256 f008f268a6972841de9
 EBUILD netbeans-apisupport-9999_p20141203.ebuild 3390 SHA256 0bf5f91ebb32976e30eae6297a183541af45c5c9e7ec81be5395d2b08f63b75c SHA512 1be52c7d6e5cc40fcdc0795a7014266817900de341308d8a0163d833d9b463fcf4420f44fd0b4b8f33d985e77c5ca2f8d76ac1f393ff1f525f262ee25123abf8 WHIRLPOOL 3ad978ae80a6bd22cda26976b2918bd80f41f623f365838ed6f9117bc43030eef830bc17701a6f3ef72e64728023388ca28819be3d00ea95198a8794252e5a05
 EBUILD netbeans-apisupport-9999_p20141204.ebuild 3390 SHA256 2272f75757177f431487b70eeb29b6e4c30c023e7f162be43790765f6603e390 SHA512 466da49640d2ad360f54cf6dbda8754a8a40af0d986e59127a0fd15691f1a59129a112adadf4430f2063b4327e63dd74a81ed6f506c741b385590c66030ee923 WHIRLPOOL b617e0a87e845ee70707791180e3d1ed0521c9e48aeb87fb64d376c2f447c77634f1f58c189ce7b01078fcc05fbc118d272d398bb6b29050771124ae376d5efa
 EBUILD netbeans-apisupport-9999_p20141207.ebuild 3390 SHA256 5eb0e991859001d9804664b38a3b33fda21c488a8691b60578f614fca735c674 SHA512 04b0977f429602afa5ded366ff42024f9d5d06dd79f4c56d85d020ce0a2e3b53346d2dc8eaa63183ac603a8779caac69915ba6ed1f0ee12a67e64e85a57ef8c5 WHIRLPOOL 86ec49bbb0cfad4790b0875c2e9e8983ad9b6ac98330721a3585769ddf74329776b4b97ebba5cebd3cc739a0052bc85856c00035a68bbfd863b76b73419163a2
-MISC ChangeLog 145228 SHA256 2b42e292c9919263494d44aeea620d0ac2e424cfed7a22b56e019763f23aabed SHA512 956c78fad4a3cf6411699c839bbbf8da1bebdcf056804813a7005f32950a6ee0f7e49491da0524e8a2c55ef3048ee6b69e1ae97cc5102018174d6e38f12a3492 WHIRLPOOL 905d756a12c3d17754ede6ece6dbaa42f8bc4fa8d3dc1fdc06b32833b9ff17178de7654777ea7e2e22f20fec7b35c510b7cb8af64cae99f039de016c105b4de5
+EBUILD netbeans-apisupport-9999_p20141208.ebuild 3390 SHA256 4b9dd0953e91c29247aebe8d8379109ff5a2e90cf3a8b94e5d627c7e20ba84ef SHA512 658f7b4f3a2526e3dbb1d9097a9ae6ebd3bfbf15b620493aee36f0014177fb10d5257d74fa4a01b8ec091c3b350f2422c3263aac6c8439b6f70d53efee1b4249 WHIRLPOOL baaa6af40feb2edcac8273a4428450987ee4d403500553a5c89781e63d542871d29bcc31e1e2687eda68fb39016e06e7819dfb555cb94a74dc1e0360bd5deae2
+MISC ChangeLog 145409 SHA256 566f277cf8e885ac7a7d912b80b13d0fa657e7b9f01bb12fd99723bea9de2593 SHA512 6a21c63e9450c4aa0cc21a946b02e0229b60a0978a5c8161d35205836ea751aa0ed885148cd619962edbd39a7370080395338f064620f3f4ce729b799e9f00e1 WHIRLPOOL d286ae4aa4b3bf5657c601f0752df196aa33885984cbcf207b1d9a7020303f9b2a28719da3169bf7ab96aeaeceb4f5113ae90740327db54db935a52707e594b5
 MISC metadata.xml 251 SHA256 5a4ff53a9862390a48d45c79be24086646e7a6ff0c5bdf0fcb799d0871299003 SHA512 04153cbd9776ad56a94d6a47d043df15d082d8888df8658f18d0d4b659c6c0526ab3a9b22ccbe2471091bf2d8165f224854bc99c51f3664aaf350ccb93532a7c WHIRLPOOL 2ee8a646c6e23bc46c72cac0ecb5cfe43720ec42404ddaeed8ab1b59d139b3d5c1a94764de847f979da978c001c9f02f709d663a68eeea64d19e88f1fefbca43

diff --git a/dev-java/netbeans-apisupport/netbeans-apisupport-9999_p20141208.ebuild b/dev-java/netbeans-apisupport/netbeans-apisupport-9999_p20141208.ebuild
new file mode 100644
index 0000000..36be65b
--- /dev/null
+++ b/dev-java/netbeans-apisupport/netbeans-apisupport-9999_p20141208.ebuild
@@ -0,0 +1,111 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+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/2014-12-08_00-01-49/zip/netbeans-trunk-nightly-201412080001-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/ChangeLog b/dev-java/netbeans-cnd/ChangeLog
index 24d2db2..4f95742 100644
--- a/dev-java/netbeans-cnd/ChangeLog
+++ b/dev-java/netbeans-cnd/ChangeLog
@@ -2,6 +2,12 @@
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+*netbeans-cnd-9999_p20141208 (08 Dec 2014)
+
+  08 Dec 2014; Miroslav Šulc <fordfrog@gentoo.org>
+  +netbeans-cnd-9999_p20141208.ebuild:
+  bumped to the latest sources
+
 *netbeans-cnd-8.0.2 (07 Dec 2014)
 
   07 Dec 2014; Miroslav Šulc <fordfrog@gentoo.org> +netbeans-cnd-8.0.2.ebuild:

diff --git a/dev-java/netbeans-cnd/Manifest b/dev-java/netbeans-cnd/Manifest
index 1f635ac..add545b 100644
--- a/dev-java/netbeans-cnd/Manifest
+++ b/dev-java/netbeans-cnd/Manifest
@@ -23,7 +23,7 @@ DIST netbeans-7.4-build.xml.patch.bz2 2685 SHA256 3ffbe61e33ab28f39acbe28209469c
 DIST netbeans-8.0-201403101706-src.zip 194215149 SHA256 737a6fe9313e720590933773672c1f241820b795ce384a605743f3eeba0a9396 SHA512 dbc4ea3852ac0a698729a7698f2dccff427680bf01234c8a463268540e886f57b39697ec124fc0701cd52b558987961fc82e6f27bc9f0fc115159d250fddd676 WHIRLPOOL 47d914d023212076c463a99eda49b202aa6c05a2ffd5c32b61f97a4cd76930c94e18059292a8520359f38736e838a7c2d053ecf584493dbb3a9d8f5133ed6b36
 DIST netbeans-8.0-build.xml.patch.bz2 2685 SHA256 3ffbe61e33ab28f39acbe28209469c673ac97ba4620e9ab7391537b9d242da6a SHA512 247c67cf53ee40e94768d547218664cbf82c487f16982a43daed054a17327f168f35319ed4fa2def995adf3f0a6d25f85a3bb23ff4a84aa4e4f751257f255545 WHIRLPOOL bceeaebe6a7079910cfabcbf48738694b8b86a5ab7147002182eba3c305a310febe5861abdc3e63df904b45fcf3a5ecb3007c15611b59b4ce53406e578d13c47
 DIST netbeans-8.0.2-201411181905-src.zip 196585461 SHA256 581f80d3c2e8d87a0f007dd3f358ce0534a0bb2e4b3312cd6c8c7263713bc530 SHA512 9533de5b3c45e4a5b025213dd5602344e16d024e0cdb013f207ac3c7a9d8e63da19279f97910ad136777d75780c620224953f2974070d5c9833d1d6ef3fd427c WHIRLPOOL 2e45e83309743df167ddd1d58068848166d01ef6d9eec99ddf72b9ba7664cb182a04d6420ab03a9270842b3cd9a16a161c1eebb66953ef09158d8d521fb96516
-DIST netbeans-8.0.2-build.xml.patch.bz2 2671 SHA256 b5384db6533d41c7d3fdaffd3cd296d156ac99f0a026e3d74c4ac5b5d388a70f SHA512 1dd5dcf02fd81691b0f9c531470379138484dcbc271f65ba53a3844a1e697719e47cb98c90f92f92c5980a577d27370efc800297525f62da7211393ea0a18915 WHIRLPOOL c77621b5f4eea9e688d9714be9268d05f7c1e792d9d46d3a082418d8c1cb52c35f76d59f0befddc73f30a0e0e12c0af25b4b31c1cb69b68dd90e48638d7da509
+DIST netbeans-8.0.2-build.xml.patch.bz2 2678 SHA256 cf120f7fd8b4ad40e9abdcb09e7763fd93b4acef04ff0365e18f178706ea83bb SHA512 b61adf29bcb139207241c68513724f352420078583ca5e6d7856a4dd335ad36b7d05311eb6e14ff1c568aaf090de4ca083c32f6db1dec0b6f50d66a388bbedf7 WHIRLPOOL fb4d63329aa450a1b387fa45b59fa3c18d1a1ca8ecf9443111a3056d409a6d928d15dae275e9c564558f4b2abd54cc0f8db2df653ac432d9f58f8ef4dd747dff
 DIST netbeans-9999-r1-build.xml.patch.bz2 2379 SHA256 09cfedef0fd9d713ddc71a54848d7551ce750c15e3df00af7feef37d25260a7e SHA512 7f28a0b2536ea84ebaba26df072411f62db01873e7803f2e28400b55bd61f0857b5508668bd03894364333edf6b8cf9901b823980a8f51f8d6a711bd3a47cb59 WHIRLPOOL 74dcc47859101722f9879bf0cf2dadd210555560b2fcd036e43ac099c71fe0c712b360aadad8e88092a324c93ff42fc2e467e89e3227f23a24d55b9c9e2c27b6
 DIST netbeans-9999-r14-build.xml.patch.bz2 2671 SHA256 b5384db6533d41c7d3fdaffd3cd296d156ac99f0a026e3d74c4ac5b5d388a70f SHA512 1dd5dcf02fd81691b0f9c531470379138484dcbc271f65ba53a3844a1e697719e47cb98c90f92f92c5980a577d27370efc800297525f62da7211393ea0a18915 WHIRLPOOL c77621b5f4eea9e688d9714be9268d05f7c1e792d9d46d3a082418d8c1cb52c35f76d59f0befddc73f30a0e0e12c0af25b4b31c1cb69b68dd90e48638d7da509
 DIST netbeans-trunk-nightly-201410010001-src.zip 197355068 SHA256 0d284d68152ca0da1c8dfb7149e5b2638133fe3be6790f312c9959e59528144b SHA512 33ce5f22e9d3ac55d4f7b4b353956a39e030dee6380c5f379fba810f3ec86f8b36e88b773dbbf8bc3c430fc58caba9097764b7eac2d44ce2a25129f8f20fa4f2 WHIRLPOOL b4228286acec04cb321ca8aba60af42a7a1e2c20de1f657773166021a36e284b5ac4f49e9dbf8a51d81577b0d49d387707de3fcc0a622fd13b57c7d704b3da00
@@ -69,6 +69,7 @@ DIST netbeans-trunk-nightly-201412020001-src.zip 199498951 SHA256 c454e3862954d2
 DIST netbeans-trunk-nightly-201412030001-src.zip 199499099 SHA256 adae819d7f94b21e1b65d00dd39082305e79c34801397f474c2ed4e87745c19a SHA512 5eec00d8e086024101cd916bf01603ab2a4ff5b2acd4f03bed258e02b84ce678fe99f85f22824685ae5bc560f67093a4072d741c80a0e772b210569bfb8c75e3 WHIRLPOOL b08f24fb2df1ecb13833490696e331893a7001e668ea387e8c6a5b791b43631b7259db29c1ba76a5629bc001fe293ea1aa0108d213492600cfe057cfe6f6672b
 DIST netbeans-trunk-nightly-201412040001-src.zip 199544440 SHA256 1f721475c4cada742f1128627eba186360874a9a9d95f9634bd1ac8c2cd680d5 SHA512 26921a476d3b94fd7f636569306a2a072f10c6276acdb2b37c830eed3fdb983641ee44d675386fb04f2be760c9f1fe7f180fc43771329c602a05128a2ad2495a WHIRLPOOL 776a1e308af0da58535a9cd33a4b2901b3aeddb8fc61fed440f5c6bf0f86a746490f4e8dc3f7f787586763fc210a2f70771b9c42813703ee97206145cb6e4002
 DIST netbeans-trunk-nightly-201412070001-src.zip 199641850 SHA256 87bb9a998b5814f7d372433ab97ee3827f331a7f1ff92d9c7ba93a64f95d80ec SHA512 5e8ebd97085e603e09e5ea61fedbf12d069ad25edd0a4285dda6cb249ac5b9b75d01b615a0751e25058263041996b0b19adf819f102093ecaeef3364838e54bc WHIRLPOOL d376184e8f06a0b5c4cae82eea627b8dfc30874ff613251171e0e9d753bd7255db8417a79188ad96f52daf43fddc9ca094541090d4432f756ec5d7de679c7488
+DIST netbeans-trunk-nightly-201412080001-src.zip 199642324 SHA256 b13a7830fb7c88b2e188b3f5d4cf554597c9bf09990bff738f94c3d7a8eb9627 SHA512 079b33ccaf071b3db2bab3e92c189dbfe94c75640250080d1b710ae52e846a85a44569c3b5dc2e1ced6611df62ee6573e0957885498002b028e4d86344d171e9 WHIRLPOOL 9cf70238be22ffe165447cf7c75ce4fed9c0a43de377a9b4c99a6052d5fdd5aa525294b51c1e70b19b705d80d36da754f382026263a55008c67d05b53c82b812
 EBUILD netbeans-cnd-7.0.1.ebuild 4602 SHA256 1336b76de715719ef59a3601dd5ad3b24992f58096f874f0e37935ec0d088d8e SHA512 38745c3ad6364198516ebb64002185fd05c34dee75acdb3933221d772177d5d6fcda853bb63991f0d071b21079fdab0c090db93e59cddd8daeb8f8d571a18a41 WHIRLPOOL cc196275289a01c1168b8c2710e0be0c2483cc86dc47b8fb3383ce1141f7bc11565e2b2feb95436cf448c09aaac7ee8c8804316ce6782d8853c0742367c0963a
 EBUILD netbeans-cnd-7.1.2.ebuild 4218 SHA256 6c80020e4204226274f4a24413dad8bf134f5beb7aee4ecc53d6b4d709093bb2 SHA512 299c07f5e5d930045e8c8ef3d04009beee7035daa2022a803e6dcb16b380096bbf5014c2d684094705d06b4608afcf6925266ef609a483a86452b03505dcb67c WHIRLPOOL 6d6c8bddf3490282b9134315f9bc94ff55675160056fa4c98c302a59d943a9cb38f23ffb9ca313c82061d84d0ae86898ce72d16756d41c468737e319e68f06ce
 EBUILD netbeans-cnd-7.2.ebuild 4201 SHA256 0f77a1a343d437e2eb1236722b27b2f2f03901ecc1afde29e1d38e54aef7c81d SHA512 b5fc985d1280ab900cb5125691a0ff99bab075ff5e93ded9af256310a7dcbea87a28a52ba383875caa24fd0ff28bc8dff4fc0fa0242987a673fdc729f7234b58 WHIRLPOOL 19e79dc426fb05ffb48ff9b13de3bab40f483b6dd9d79514e8f819029c278ee47a09c9531b5b4dba2014f805d502e66745f3355e2932e24e0dd9b5e3e273d2c2
@@ -119,5 +120,6 @@ EBUILD netbeans-cnd-9999_p20141202.ebuild 4586 SHA256 65fffb437c97926111635a815d
 EBUILD netbeans-cnd-9999_p20141203.ebuild 4586 SHA256 5ff6ba96c6f744392831ac122a92d07cef722223fd1d27e3a21334580a61efe4 SHA512 85989fa6b3c474cc2801853f279ff6e5724c0d5182873e141074a1f8d518e81ba2164076414b76fd8d4e4b2cf9cb6d4439d451297ea81bc9b3c2388041bb08a2 WHIRLPOOL 0fb8c427551ba25bb24f737f894114767d23412c68c7ac6378b1e6c6c07c767356dda41802a3024cc7ae839d27abb606418bc45bebde72cf92993e5f1994d761
 EBUILD netbeans-cnd-9999_p20141204.ebuild 4586 SHA256 09458e98254c9a60fe78e9ad9076d92bf5d75c409fa511fe774b3cb6f264c050 SHA512 feff4559300924a34cda3497b49175288ebd11e338d67f298fa0fd194c56003aec77bbb34e3ef21e86678f17aa060e166fb4526d3970b09ccf07c8b6c4eeffe5 WHIRLPOOL 65626994e4db53046a8be08999a08a3105c4946623f3678347ca04731ca1343ace8b00d6ad2417e51223395e04696c12078b4c89e52cf5d829d6ddc2b3a7478d
 EBUILD netbeans-cnd-9999_p20141207.ebuild 4586 SHA256 55848c97244028b4ba160c8d69e1511f05299adf1bdcdb78fc997d5cda9c04c6 SHA512 3ebc80f8862a332e2e28fdde15ab25e3bb8d1a53b98948bbb7f8a6d3b35e64d5418ebadef5c043bd229101c75b0292c2298955b03e86d87580d8484c729f2b1d WHIRLPOOL 6bd671a1fbf64c3f422345dce407ea8bd5e6a73a288f82b744b30f146143f2a95d65cea7ce288d6521f51051028b3be7f6b9b98996e9903b80258253aef8d521
-MISC ChangeLog 132800 SHA256 6cee60eab4651c4677c39f7c2d7fb3150425cbb4acdb2dd4d61913d412930f69 SHA512 6d26dbdb257aa84bd230357339dbc43a41fad69f16f9cc6833cb5422c70eda5cf7fbaba4928570ae8f52553ab1811e9ca6fe3e2257d6f84a4e9543914e2159cd WHIRLPOOL 615b186c1aca6a73bfc9828a8b6f81f3e8c9bd66bd2b90688ccd2b961190b412a7463c33a55af218a14536defbaee29cc11c3576fc7a10fd033644abb019ec49
+EBUILD netbeans-cnd-9999_p20141208.ebuild 4586 SHA256 a39d7a3f814e7c838da68e3e1c91f027da37edda483e9419831c34a63fe680ce SHA512 75babd67f96e0031c553ef72c16ba400b434a638f256c5408637056e2848ece3dee414883e825d569e0927ab6072fe373cbe9bb72e4c82ab47ffd02e472a42c4 WHIRLPOOL 9fe9edc1d30eed839dfbed322cf8b1c80d4882b3a3339c2f0e5c614347fb1027cbee4ecc3befc7b08bcd7bedc59dcb7fac18cdbb19d12add138af7c79423ee72
+MISC ChangeLog 132967 SHA256 ce8a5172181bbe2752bd2105f647c072a7641a7fb605b0592545a8180a968063 SHA512 418892a921ee069a45e62b64fe492eccbd42e1c9cfa29e3357bc903da37361ac1fd51a6f356088d1fdeb9ab433a02878618aa4779587a879eafa67b1926d1698 WHIRLPOOL 2315554d6b39d28220373f217d683cd20772708c2d94437fbee1bd9eebb4eb503cd4a5d3842e95b304b0e1a466ef97d97c3a13f7ca39d868ec233eef52a93663
 MISC metadata.xml 251 SHA256 5a4ff53a9862390a48d45c79be24086646e7a6ff0c5bdf0fcb799d0871299003 SHA512 04153cbd9776ad56a94d6a47d043df15d082d8888df8658f18d0d4b659c6c0526ab3a9b22ccbe2471091bf2d8165f224854bc99c51f3664aaf350ccb93532a7c WHIRLPOOL 2ee8a646c6e23bc46c72cac0ecb5cfe43720ec42404ddaeed8ab1b59d139b3d5c1a94764de847f979da978c001c9f02f709d663a68eeea64d19e88f1fefbca43

diff --git a/dev-java/netbeans-cnd/netbeans-cnd-9999_p20141208.ebuild b/dev-java/netbeans-cnd/netbeans-cnd-9999_p20141208.ebuild
new file mode 100644
index 0000000..6b9e402
--- /dev/null
+++ b/dev-java/netbeans-cnd/netbeans-cnd-9999_p20141208.ebuild
@@ -0,0 +1,125 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+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/2014-12-08_00-01-49/zip/netbeans-trunk-nightly-201412080001-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/24C58A1D3C410AD3E23CD828871630C17068B238-cnd-build-trace-1.0.zip
+	http://hg.netbeans.org/binaries/2BCF2047382FB68A2F275677745C80E79B4046AB-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}"/24C58A1D3C410AD3E23CD828871630C17068B238-cnd-build-trace-1.0.zip cnd.discovery/external/cnd-build-trace-1.0.zip || die
+	ln -s "${DISTDIR}"/2BCF2047382FB68A2F275677745C80E79B4046AB-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/ChangeLog b/dev-java/netbeans-dlight/ChangeLog
index 4ffbbf8..5a960ea 100644
--- a/dev-java/netbeans-dlight/ChangeLog
+++ b/dev-java/netbeans-dlight/ChangeLog
@@ -2,6 +2,12 @@
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+*netbeans-dlight-9999_p20141208 (08 Dec 2014)
+
+  08 Dec 2014; Miroslav Šulc <fordfrog@gentoo.org>
+  +netbeans-dlight-9999_p20141208.ebuild:
+  bumped to the latest sources
+
 *netbeans-dlight-8.0.2 (07 Dec 2014)
 
   07 Dec 2014; Miroslav Šulc <fordfrog@gentoo.org>

diff --git a/dev-java/netbeans-dlight/Manifest b/dev-java/netbeans-dlight/Manifest
index c1fddcd..4240d0d 100644
--- a/dev-java/netbeans-dlight/Manifest
+++ b/dev-java/netbeans-dlight/Manifest
@@ -15,7 +15,7 @@ DIST netbeans-7.4-build.xml.patch.bz2 2685 SHA256 3ffbe61e33ab28f39acbe28209469c
 DIST netbeans-8.0-201403101706-src.zip 194215149 SHA256 737a6fe9313e720590933773672c1f241820b795ce384a605743f3eeba0a9396 SHA512 dbc4ea3852ac0a698729a7698f2dccff427680bf01234c8a463268540e886f57b39697ec124fc0701cd52b558987961fc82e6f27bc9f0fc115159d250fddd676 WHIRLPOOL 47d914d023212076c463a99eda49b202aa6c05a2ffd5c32b61f97a4cd76930c94e18059292a8520359f38736e838a7c2d053ecf584493dbb3a9d8f5133ed6b36
 DIST netbeans-8.0-build.xml.patch.bz2 2685 SHA256 3ffbe61e33ab28f39acbe28209469c673ac97ba4620e9ab7391537b9d242da6a SHA512 247c67cf53ee40e94768d547218664cbf82c487f16982a43daed054a17327f168f35319ed4fa2def995adf3f0a6d25f85a3bb23ff4a84aa4e4f751257f255545 WHIRLPOOL bceeaebe6a7079910cfabcbf48738694b8b86a5ab7147002182eba3c305a310febe5861abdc3e63df904b45fcf3a5ecb3007c15611b59b4ce53406e578d13c47
 DIST netbeans-8.0.2-201411181905-src.zip 196585461 SHA256 581f80d3c2e8d87a0f007dd3f358ce0534a0bb2e4b3312cd6c8c7263713bc530 SHA512 9533de5b3c45e4a5b025213dd5602344e16d024e0cdb013f207ac3c7a9d8e63da19279f97910ad136777d75780c620224953f2974070d5c9833d1d6ef3fd427c WHIRLPOOL 2e45e83309743df167ddd1d58068848166d01ef6d9eec99ddf72b9ba7664cb182a04d6420ab03a9270842b3cd9a16a161c1eebb66953ef09158d8d521fb96516
-DIST netbeans-8.0.2-build.xml.patch.bz2 2671 SHA256 b5384db6533d41c7d3fdaffd3cd296d156ac99f0a026e3d74c4ac5b5d388a70f SHA512 1dd5dcf02fd81691b0f9c531470379138484dcbc271f65ba53a3844a1e697719e47cb98c90f92f92c5980a577d27370efc800297525f62da7211393ea0a18915 WHIRLPOOL c77621b5f4eea9e688d9714be9268d05f7c1e792d9d46d3a082418d8c1cb52c35f76d59f0befddc73f30a0e0e12c0af25b4b31c1cb69b68dd90e48638d7da509
+DIST netbeans-8.0.2-build.xml.patch.bz2 2678 SHA256 cf120f7fd8b4ad40e9abdcb09e7763fd93b4acef04ff0365e18f178706ea83bb SHA512 b61adf29bcb139207241c68513724f352420078583ca5e6d7856a4dd335ad36b7d05311eb6e14ff1c568aaf090de4ca083c32f6db1dec0b6f50d66a388bbedf7 WHIRLPOOL fb4d63329aa450a1b387fa45b59fa3c18d1a1ca8ecf9443111a3056d409a6d928d15dae275e9c564558f4b2abd54cc0f8db2df653ac432d9f58f8ef4dd747dff
 DIST netbeans-9999-r1-build.xml.patch.bz2 2379 SHA256 09cfedef0fd9d713ddc71a54848d7551ce750c15e3df00af7feef37d25260a7e SHA512 7f28a0b2536ea84ebaba26df072411f62db01873e7803f2e28400b55bd61f0857b5508668bd03894364333edf6b8cf9901b823980a8f51f8d6a711bd3a47cb59 WHIRLPOOL 74dcc47859101722f9879bf0cf2dadd210555560b2fcd036e43ac099c71fe0c712b360aadad8e88092a324c93ff42fc2e467e89e3227f23a24d55b9c9e2c27b6
 DIST netbeans-9999-r14-build.xml.patch.bz2 2671 SHA256 b5384db6533d41c7d3fdaffd3cd296d156ac99f0a026e3d74c4ac5b5d388a70f SHA512 1dd5dcf02fd81691b0f9c531470379138484dcbc271f65ba53a3844a1e697719e47cb98c90f92f92c5980a577d27370efc800297525f62da7211393ea0a18915 WHIRLPOOL c77621b5f4eea9e688d9714be9268d05f7c1e792d9d46d3a082418d8c1cb52c35f76d59f0befddc73f30a0e0e12c0af25b4b31c1cb69b68dd90e48638d7da509
 DIST netbeans-trunk-nightly-201410010001-src.zip 197355068 SHA256 0d284d68152ca0da1c8dfb7149e5b2638133fe3be6790f312c9959e59528144b SHA512 33ce5f22e9d3ac55d4f7b4b353956a39e030dee6380c5f379fba810f3ec86f8b36e88b773dbbf8bc3c430fc58caba9097764b7eac2d44ce2a25129f8f20fa4f2 WHIRLPOOL b4228286acec04cb321ca8aba60af42a7a1e2c20de1f657773166021a36e284b5ac4f49e9dbf8a51d81577b0d49d387707de3fcc0a622fd13b57c7d704b3da00
@@ -61,6 +61,7 @@ DIST netbeans-trunk-nightly-201412020001-src.zip 199498951 SHA256 c454e3862954d2
 DIST netbeans-trunk-nightly-201412030001-src.zip 199499099 SHA256 adae819d7f94b21e1b65d00dd39082305e79c34801397f474c2ed4e87745c19a SHA512 5eec00d8e086024101cd916bf01603ab2a4ff5b2acd4f03bed258e02b84ce678fe99f85f22824685ae5bc560f67093a4072d741c80a0e772b210569bfb8c75e3 WHIRLPOOL b08f24fb2df1ecb13833490696e331893a7001e668ea387e8c6a5b791b43631b7259db29c1ba76a5629bc001fe293ea1aa0108d213492600cfe057cfe6f6672b
 DIST netbeans-trunk-nightly-201412040001-src.zip 199544440 SHA256 1f721475c4cada742f1128627eba186360874a9a9d95f9634bd1ac8c2cd680d5 SHA512 26921a476d3b94fd7f636569306a2a072f10c6276acdb2b37c830eed3fdb983641ee44d675386fb04f2be760c9f1fe7f180fc43771329c602a05128a2ad2495a WHIRLPOOL 776a1e308af0da58535a9cd33a4b2901b3aeddb8fc61fed440f5c6bf0f86a746490f4e8dc3f7f787586763fc210a2f70771b9c42813703ee97206145cb6e4002
 DIST netbeans-trunk-nightly-201412070001-src.zip 199641850 SHA256 87bb9a998b5814f7d372433ab97ee3827f331a7f1ff92d9c7ba93a64f95d80ec SHA512 5e8ebd97085e603e09e5ea61fedbf12d069ad25edd0a4285dda6cb249ac5b9b75d01b615a0751e25058263041996b0b19adf819f102093ecaeef3364838e54bc WHIRLPOOL d376184e8f06a0b5c4cae82eea627b8dfc30874ff613251171e0e9d753bd7255db8417a79188ad96f52daf43fddc9ca094541090d4432f756ec5d7de679c7488
+DIST netbeans-trunk-nightly-201412080001-src.zip 199642324 SHA256 b13a7830fb7c88b2e188b3f5d4cf554597c9bf09990bff738f94c3d7a8eb9627 SHA512 079b33ccaf071b3db2bab3e92c189dbfe94c75640250080d1b710ae52e846a85a44569c3b5dc2e1ced6611df62ee6573e0957885498002b028e4d86344d171e9 WHIRLPOOL 9cf70238be22ffe165447cf7c75ce4fed9c0a43de377a9b4c99a6052d5fdd5aa525294b51c1e70b19b705d80d36da754f382026263a55008c67d05b53c82b812
 EBUILD netbeans-dlight-7.0.1.ebuild 3624 SHA256 499a9303a1972ee89dfa2685e1dc1e4511c7531ff3b29caadd1136ba25dee82e SHA512 ad60adc5d64f93d03e27170311ce7bd0a6952c8b41cdc51385f8efc9140593201064d162b3130bff7a003570de11963d375d3676476115b1129ac74632d4a227 WHIRLPOOL d68dcdba50b2565d40e1adc484b51c1ed0171c2fcf99fbee08a221e6d9767f96d161d45eda612eb4c4d62e0db6826e2cd124b83e11ee2f7c9bfb6a440ec6821d
 EBUILD netbeans-dlight-7.1.2.ebuild 2935 SHA256 dc7d110b80174b1baeaca9c005e2cc9167540f186c7794067cfb45d335251b9a SHA512 7dc2db63ee40a3e64375eb49e669c54f88cc532d7ac8c7320329f8378a3be15ebc4536208ea2975c7fe4a9b3f2ac60d0ec5b8c9a9da392587fb04838f101e0ec WHIRLPOOL 1801653d9e146eba02642dbdb0a39c235a40e5d3d5ac8d4d5b8d2a570aa62330638355ee8df76693db177c58bbf31271342215c70d7e198e4b6bd905984ed9c7
 EBUILD netbeans-dlight-7.2.ebuild 2650 SHA256 9b0c0049b7cf6894cd44327c3697d4ddfb0dba2aebd6aabc1821b550932cd69d SHA512 0584c2a1cc65193673bded284c454b430fa3f5774c33d704922977d25ed26bf88d090670e330299c85ada2e897e5f124ae9f635a6f8be7d7fd10740482df7eae WHIRLPOOL 1c27b0c84a34865cb8a84062127f49aefcd245fa16fb825d7ee57d24c3f5841935242c16b3250319078762ce4e8aa5bc8dbd8dbe497b39af8e027b9e39ee585f
@@ -111,5 +112,6 @@ EBUILD netbeans-dlight-9999_p20141202.ebuild 2995 SHA256 229a863207592c01baa1d1e
 EBUILD netbeans-dlight-9999_p20141203.ebuild 2995 SHA256 f64a5c9f7358a0efbb4111450684c9547b50ca6d16116301ae91710bda2cf11f SHA512 58e765c31fc7bc95dfaf2e77bcb97988f9c32ab39634b29962e244805bdf362b5c51b827f37fe9e0f99c46f5ac77ca1cb3b091ef700a7b46b2f76f63d7ed8b5e WHIRLPOOL c996388183ce0672cee9ffbc035249bb5745e041c2b43d3bd9133c890cab34d9e28b5634ee10a9b6fc360b32fc842c41fd9f5c08fcbca1292787f7d805c51035
 EBUILD netbeans-dlight-9999_p20141204.ebuild 2995 SHA256 b8ca54d89427cc5a4e6419921c817d5d57e9e8e9837597565f39eb418910627e SHA512 80defadf64df1b0e74a01ce32d9e393945b49a72c5d5a2723a5985a81dda07a298cc652279587fb07cc13f8066a91404177551a32a5dd1b86ce494fb33d74fcd WHIRLPOOL 8faaa8b91cbb156d64e9697724b30f2750a3c60ef200df53de5ce75e04bf058bef4c1be01c7dcc83af4e289c117a1b72d5deabd53383f8139fa54b356cb3ea48
 EBUILD netbeans-dlight-9999_p20141207.ebuild 2995 SHA256 457b5c954c207f3e74931927014e37988ace3786519f4238fa8cb9cdf8f3f6ca SHA512 3467ecc071e3774e76ef15fae3aa32d2ca25565909b61dbe76c29e90b2d65eacb9719d61ef3975e14fefb7d0b8e903a96aaeb62b3397a84ac65f872c0ad51125 WHIRLPOOL fd42b2841ea6d3c8c82747775ce58cebcd9537e9a982ed9c98880100f2bb21f98dbfff670635adf191d88d133a6d1f5ebaea07b56c862e98c339a2acdd1e33a2
-MISC ChangeLog 138379 SHA256 cddc93c43085cbe4eddd16a8800526c365bb92c0ef2e49a78dbc481a3578cc74 SHA512 b8026809a118bb2f32a564fc04cea6dfb221de8904e4abcd9d2e43158702eab9ed9089fc6678771a9c84029842b7fe451155091a9baab55d1f50bdc007b21c35 WHIRLPOOL c6c50fa3315d4e4ad7f9266d8bba2c32dfcdb865e54dc7f2b156f79429bb10ee9ce0d10ecb1066f6d208d742a5231d81906d83ecf2a58adf36f0ee8405048076
+EBUILD netbeans-dlight-9999_p20141208.ebuild 2995 SHA256 e71442da43024ef38b09840424093c29d87b21a9885d8ae8e1ecd80219db4500 SHA512 895f9af5690174b18380da5420b36acf01bcab3d95f0c2e06a259ea4471f9a2826da31e0034d86cf21f6cf98738c0992446c4f8fed0b9a0fd69a10bfd12b1f72 WHIRLPOOL 762f4b9ec19cc23fc7a032457abb4817271d0429b5d4844da7eedc061e245684059068fb0ba3527530cdadae53259006de93b47d04ffefefcfc3582275107129
+MISC ChangeLog 138552 SHA256 88f5d9b63bb7ddf3dd9efe75b9e9e70d3398e8b732b96aef1ef4d7b3e565ecc3 SHA512 9d71c7dbb0145d7153da50bd8a61bfd2a99e3274318a07ccc9ca644d0b41242be292074a1e6c854b947ce4dd7c0cada5598c10754a03c5ef9bf6a31e6dc87afe WHIRLPOOL f98665e17b810345c650d5c7ab3cf2a178a1db846c2da2b2275b4bce7bdb3aa9390d4896140b378c78ccee00f3a14e305e8948c827312763fce5bc4b0c8c9385
 MISC metadata.xml 251 SHA256 5a4ff53a9862390a48d45c79be24086646e7a6ff0c5bdf0fcb799d0871299003 SHA512 04153cbd9776ad56a94d6a47d043df15d082d8888df8658f18d0d4b659c6c0526ab3a9b22ccbe2471091bf2d8165f224854bc99c51f3664aaf350ccb93532a7c WHIRLPOOL 2ee8a646c6e23bc46c72cac0ecb5cfe43720ec42404ddaeed8ab1b59d139b3d5c1a94764de847f979da978c001c9f02f709d663a68eeea64d19e88f1fefbca43

diff --git a/dev-java/netbeans-dlight/netbeans-dlight-9999_p20141208.ebuild b/dev-java/netbeans-dlight/netbeans-dlight-9999_p20141208.ebuild
new file mode 100644
index 0000000..3f27967
--- /dev/null
+++ b/dev-java/netbeans-dlight/netbeans-dlight-9999_p20141208.ebuild
@@ -0,0 +1,101 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+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/2014-12-08_00-01-49/zip/netbeans-trunk-nightly-201412080001-src.zip"
+SRC_URI="${SOURCE_URL}
+	http://dev.gentoo.org/~fordfrog/distfiles/netbeans-9999-r14-build.xml.patch.bz2
+	http://hg.netbeans.org/binaries/457A4C66AE33D1D5887BB1F359EEA41A10EBB2AB-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}"/457A4C66AE33D1D5887BB1F359EEA41A10EBB2AB-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/ChangeLog b/dev-java/netbeans-enterprise/ChangeLog
index 7f2bea9..c3cbd22 100644
--- a/dev-java/netbeans-enterprise/ChangeLog
+++ b/dev-java/netbeans-enterprise/ChangeLog
@@ -2,6 +2,12 @@
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+*netbeans-enterprise-9999_p20141208 (08 Dec 2014)
+
+  08 Dec 2014; Miroslav Šulc <fordfrog@gentoo.org>
+  +netbeans-enterprise-9999_p20141208.ebuild:
+  bumped to the latest sources
+
 *netbeans-enterprise-8.0.2 (07 Dec 2014)
 
   07 Dec 2014; Miroslav Šulc <fordfrog@gentoo.org>

diff --git a/dev-java/netbeans-enterprise/Manifest b/dev-java/netbeans-enterprise/Manifest
index 2b58cf9..8417bc1 100644
--- a/dev-java/netbeans-enterprise/Manifest
+++ b/dev-java/netbeans-enterprise/Manifest
@@ -99,7 +99,7 @@ DIST netbeans-7.4-build.xml.patch.bz2 2685 SHA256 3ffbe61e33ab28f39acbe28209469c
 DIST netbeans-8.0-201403101706-src.zip 194215149 SHA256 737a6fe9313e720590933773672c1f241820b795ce384a605743f3eeba0a9396 SHA512 dbc4ea3852ac0a698729a7698f2dccff427680bf01234c8a463268540e886f57b39697ec124fc0701cd52b558987961fc82e6f27bc9f0fc115159d250fddd676 WHIRLPOOL 47d914d023212076c463a99eda49b202aa6c05a2ffd5c32b61f97a4cd76930c94e18059292a8520359f38736e838a7c2d053ecf584493dbb3a9d8f5133ed6b36
 DIST netbeans-8.0-build.xml.patch.bz2 2685 SHA256 3ffbe61e33ab28f39acbe28209469c673ac97ba4620e9ab7391537b9d242da6a SHA512 247c67cf53ee40e94768d547218664cbf82c487f16982a43daed054a17327f168f35319ed4fa2def995adf3f0a6d25f85a3bb23ff4a84aa4e4f751257f255545 WHIRLPOOL bceeaebe6a7079910cfabcbf48738694b8b86a5ab7147002182eba3c305a310febe5861abdc3e63df904b45fcf3a5ecb3007c15611b59b4ce53406e578d13c47
 DIST netbeans-8.0.2-201411181905-src.zip 196585461 SHA256 581f80d3c2e8d87a0f007dd3f358ce0534a0bb2e4b3312cd6c8c7263713bc530 SHA512 9533de5b3c45e4a5b025213dd5602344e16d024e0cdb013f207ac3c7a9d8e63da19279f97910ad136777d75780c620224953f2974070d5c9833d1d6ef3fd427c WHIRLPOOL 2e45e83309743df167ddd1d58068848166d01ef6d9eec99ddf72b9ba7664cb182a04d6420ab03a9270842b3cd9a16a161c1eebb66953ef09158d8d521fb96516
-DIST netbeans-8.0.2-build.xml.patch.bz2 2671 SHA256 b5384db6533d41c7d3fdaffd3cd296d156ac99f0a026e3d74c4ac5b5d388a70f SHA512 1dd5dcf02fd81691b0f9c531470379138484dcbc271f65ba53a3844a1e697719e47cb98c90f92f92c5980a577d27370efc800297525f62da7211393ea0a18915 WHIRLPOOL c77621b5f4eea9e688d9714be9268d05f7c1e792d9d46d3a082418d8c1cb52c35f76d59f0befddc73f30a0e0e12c0af25b4b31c1cb69b68dd90e48638d7da509
+DIST netbeans-8.0.2-build.xml.patch.bz2 2678 SHA256 cf120f7fd8b4ad40e9abdcb09e7763fd93b4acef04ff0365e18f178706ea83bb SHA512 b61adf29bcb139207241c68513724f352420078583ca5e6d7856a4dd335ad36b7d05311eb6e14ff1c568aaf090de4ca083c32f6db1dec0b6f50d66a388bbedf7 WHIRLPOOL fb4d63329aa450a1b387fa45b59fa3c18d1a1ca8ecf9443111a3056d409a6d928d15dae275e9c564558f4b2abd54cc0f8db2df653ac432d9f58f8ef4dd747dff
 DIST netbeans-9999-r1-build.xml.patch.bz2 2379 SHA256 09cfedef0fd9d713ddc71a54848d7551ce750c15e3df00af7feef37d25260a7e SHA512 7f28a0b2536ea84ebaba26df072411f62db01873e7803f2e28400b55bd61f0857b5508668bd03894364333edf6b8cf9901b823980a8f51f8d6a711bd3a47cb59 WHIRLPOOL 74dcc47859101722f9879bf0cf2dadd210555560b2fcd036e43ac099c71fe0c712b360aadad8e88092a324c93ff42fc2e467e89e3227f23a24d55b9c9e2c27b6
 DIST netbeans-9999-r14-build.xml.patch.bz2 2671 SHA256 b5384db6533d41c7d3fdaffd3cd296d156ac99f0a026e3d74c4ac5b5d388a70f SHA512 1dd5dcf02fd81691b0f9c531470379138484dcbc271f65ba53a3844a1e697719e47cb98c90f92f92c5980a577d27370efc800297525f62da7211393ea0a18915 WHIRLPOOL c77621b5f4eea9e688d9714be9268d05f7c1e792d9d46d3a082418d8c1cb52c35f76d59f0befddc73f30a0e0e12c0af25b4b31c1cb69b68dd90e48638d7da509
 DIST netbeans-trunk-nightly-201410010001-src.zip 197355068 SHA256 0d284d68152ca0da1c8dfb7149e5b2638133fe3be6790f312c9959e59528144b SHA512 33ce5f22e9d3ac55d4f7b4b353956a39e030dee6380c5f379fba810f3ec86f8b36e88b773dbbf8bc3c430fc58caba9097764b7eac2d44ce2a25129f8f20fa4f2 WHIRLPOOL b4228286acec04cb321ca8aba60af42a7a1e2c20de1f657773166021a36e284b5ac4f49e9dbf8a51d81577b0d49d387707de3fcc0a622fd13b57c7d704b3da00
@@ -145,6 +145,7 @@ DIST netbeans-trunk-nightly-201412020001-src.zip 199498951 SHA256 c454e3862954d2
 DIST netbeans-trunk-nightly-201412030001-src.zip 199499099 SHA256 adae819d7f94b21e1b65d00dd39082305e79c34801397f474c2ed4e87745c19a SHA512 5eec00d8e086024101cd916bf01603ab2a4ff5b2acd4f03bed258e02b84ce678fe99f85f22824685ae5bc560f67093a4072d741c80a0e772b210569bfb8c75e3 WHIRLPOOL b08f24fb2df1ecb13833490696e331893a7001e668ea387e8c6a5b791b43631b7259db29c1ba76a5629bc001fe293ea1aa0108d213492600cfe057cfe6f6672b
 DIST netbeans-trunk-nightly-201412040001-src.zip 199544440 SHA256 1f721475c4cada742f1128627eba186360874a9a9d95f9634bd1ac8c2cd680d5 SHA512 26921a476d3b94fd7f636569306a2a072f10c6276acdb2b37c830eed3fdb983641ee44d675386fb04f2be760c9f1fe7f180fc43771329c602a05128a2ad2495a WHIRLPOOL 776a1e308af0da58535a9cd33a4b2901b3aeddb8fc61fed440f5c6bf0f86a746490f4e8dc3f7f787586763fc210a2f70771b9c42813703ee97206145cb6e4002
 DIST netbeans-trunk-nightly-201412070001-src.zip 199641850 SHA256 87bb9a998b5814f7d372433ab97ee3827f331a7f1ff92d9c7ba93a64f95d80ec SHA512 5e8ebd97085e603e09e5ea61fedbf12d069ad25edd0a4285dda6cb249ac5b9b75d01b615a0751e25058263041996b0b19adf819f102093ecaeef3364838e54bc WHIRLPOOL d376184e8f06a0b5c4cae82eea627b8dfc30874ff613251171e0e9d753bd7255db8417a79188ad96f52daf43fddc9ca094541090d4432f756ec5d7de679c7488
+DIST netbeans-trunk-nightly-201412080001-src.zip 199642324 SHA256 b13a7830fb7c88b2e188b3f5d4cf554597c9bf09990bff738f94c3d7a8eb9627 SHA512 079b33ccaf071b3db2bab3e92c189dbfe94c75640250080d1b710ae52e846a85a44569c3b5dc2e1ced6611df62ee6573e0957885498002b028e4d86344d171e9 WHIRLPOOL 9cf70238be22ffe165447cf7c75ce4fed9c0a43de377a9b4c99a6052d5fdd5aa525294b51c1e70b19b705d80d36da754f382026263a55008c67d05b53c82b812
 EBUILD netbeans-enterprise-7.0.1.ebuild 16338 SHA256 03ea08daaf5d4c5592937929bac33b4af3bac00a23f2167a7ef7b3c172a72abe SHA512 4d24162c7920b9a1c65e6c6753900ead387a4941c2db98b522631bb09889c281bce048a74e2e584f8b5732cfaad1d7125e0cfd37aa2dc81fe85160b0e123ccd8 WHIRLPOOL 35eb648c37cb6e59aca7969c1074c2c280814529aa7ec3c3191b0d3f2a92fa24e1a8d981f343e4217fff52f6100b4884b970df734c45145759889aa6e6661ff2
 EBUILD netbeans-enterprise-7.1.2.ebuild 18060 SHA256 f63721b8ce5e1afbc58f783348f66f1e3501be519a1c9c1287ef860acc64ceda SHA512 2ca89ec8f89f106a284136d4d0ed52fe3bcf49c650d56ded6e62306c531e5e41f62b8aa923cb544842cf6e34e5f433fecb278bc1515abac987e2d00fb68ffa26 WHIRLPOOL 879067d72285aa6c7273e84ddc3dfef7d09c7cb9f9a6c279fddfbd3eea6439dea053d3c648fcd56d47ef2292db14d101307eb1aa8b3081dfcdbc3dac4d0c3ed9
 EBUILD netbeans-enterprise-7.2.ebuild 17752 SHA256 2f46916df731fe33c5d4626ae580a77686c392932a3388f755324bc3184bd636 SHA512 3543d033b971108fa2b8e6633ed640e812a83b34807e1cb5a69d425823d1fec1c13ecba3cc36fa4504fbfd6297e7eff1ecabe07d01725d9f13c99ffd70d220ba WHIRLPOOL 512753153bbf714ae3fbf9c580f350234d88bd5ce5690e7bc0fadd1c355bd38c2a5c1e9adb7993c3678d759661bbfb1654b0630e3535a2fb9198742fa7fd2c1e
@@ -195,5 +196,6 @@ EBUILD netbeans-enterprise-9999_p20141202.ebuild 15147 SHA256 b870668afa390cca0f
 EBUILD netbeans-enterprise-9999_p20141203.ebuild 15147 SHA256 d4b95e5ba86b06c8a51cfb08c24c0087edb2f9c9b3eaee6ee22ffd212d68313e SHA512 f7094e1f3f8b4d976798166c4ea143cef4ff0eaf60fa87fc55203e27e056831193ae126c96b478d335b55e46ab9171f0e9234fb9dbec66bd1a827803ff7486a7 WHIRLPOOL 92d121f1425d93173524b99e7555b3a65d9d80ffd786e339978176356f700c0ff0d10036fee0a7e08c4fc29108e4918ed056a42117d5ad33ab90c03c24888e82
 EBUILD netbeans-enterprise-9999_p20141204.ebuild 15147 SHA256 200dcf909ee0c3af8b8dc3591349005289d97ae7c2a6a01bb40126b85dcf9332 SHA512 609b9d2be2f8e97b36291cb38b6e146fa75c46e1f0f5a9b4ad5e04ae13772958465c948ab894b13f23eb1db1c6be7ed5665f50c5280c7c9a2e0d31098f01893e WHIRLPOOL 13d5a59d72312962e74d4bee89e23ec3b6319a07399f29e94ac6f0eade9b9e48d6adf4c5e5c768319a46a274e6cf4cc7c09e08f740beb58ef9ac2a787df83fe1
 EBUILD netbeans-enterprise-9999_p20141207.ebuild 15147 SHA256 bc673d7cd51f7e4f8e40206566c39b60933a5089425d469f262a0b9cda4a7e54 SHA512 2cb3990b4c3f3d188f2d41b2ebf0b170b4c8592e12b686c760fe3e61b51ee84d2d092fc377daae414ea51679bda62ce9d2f0767355c7c5340180240c34cc9f92 WHIRLPOOL 39c6dbabcaf50c91bd8ce51d41247d3f0d86cff6a75e604d51ac849f45f132ce1c28f9934f85f7058bd4ac25149b86071c60aba562d4262bf788e33f39a52b99
-MISC ChangeLog 145753 SHA256 d8ab476b3fc4e17a492814dfb1a3c296f8c51f5ef153e0129e22e1a7f0a076b7 SHA512 7f71e1755750a44b38a2ddc19fc599a8f26acdc4d894e38a93e1afa712c2f9e4d1eb72be95e79ecd06b120e3a0c584a91f308db441ab16a8e90d024ef09af5e7 WHIRLPOOL 633e6c4162259ab33cc35684618c8ca7d1de67117f73e07851cf57be02b80dd988117e4918bf28da6084dd168b6e5e06a01b326c297c5ce709fac29315cdc94d
+EBUILD netbeans-enterprise-9999_p20141208.ebuild 15147 SHA256 5270b0dc116076af9e01392976170a1e1d52f56efbff67e5bd1e590bdfcf2b9b SHA512 4189c157bae5bc50b911f1cdb6030a1d7b1a0787d99516a68e88a8143fd66b9e4b9c9fc7f5d9c613be007dc89a79b294d6417074ff6c2d361aff9b0e6221def2 WHIRLPOOL 88a9d07a37dba585f054d903adcd2498d0370f09be0fbe01f8b583ea2e9d300ec35accd5fe2ac6164c1b690d8f22244a56823a72c6883e0c7b7bc339189c419c
+MISC ChangeLog 145934 SHA256 279cc56d582a480b542dec86013767d8bd44b55e999cc3a2373b61ee6143eb44 SHA512 ac4738526288a245491e73cec7281bdebe9aa5c49f57180f3ccd2bcd2f4a5231054de0a9f912aaf1dc5c9ef674b2de90187a69aa718f7e7d02f754133d791442 WHIRLPOOL b8f152c88a1332868c710c0ba37336e359f02f98c529a35e23773b95491dc0699b33935c87e479a42c95b55f7c14a10717acb7a73876fc44dc3e1d680fda981c
 MISC metadata.xml 251 SHA256 5a4ff53a9862390a48d45c79be24086646e7a6ff0c5bdf0fcb799d0871299003 SHA512 04153cbd9776ad56a94d6a47d043df15d082d8888df8658f18d0d4b659c6c0526ab3a9b22ccbe2471091bf2d8165f224854bc99c51f3664aaf350ccb93532a7c WHIRLPOOL 2ee8a646c6e23bc46c72cac0ecb5cfe43720ec42404ddaeed8ab1b59d139b3d5c1a94764de847f979da978c001c9f02f709d663a68eeea64d19e88f1fefbca43

diff --git a/dev-java/netbeans-enterprise/netbeans-enterprise-9999_p20141208.ebuild b/dev-java/netbeans-enterprise/netbeans-enterprise-9999_p20141208.ebuild
new file mode 100644
index 0000000..d209107
--- /dev/null
+++ b/dev-java/netbeans-enterprise/netbeans-enterprise-9999_p20141208.ebuild
@@ -0,0 +1,249 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+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/2014-12-08_00-01-49/zip/netbeans-trunk-nightly-201412080001-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/75C30C488AD2A18A82C7FE3829F4A33FC7841643-glassfish-tooling-sdk-0.3-b054-246345.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/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/jakarta-oro:2.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}"/75C30C488AD2A18A82C7FE3829F4A33FC7841643-glassfish-tooling-sdk-0.3-b054-246345.jar libs.glassfish.sdk/external/glassfish-tooling-sdk-0.3-b054-246345.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.10.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/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/ChangeLog b/dev-java/netbeans-ergonomics/ChangeLog
index 0515d21..238a16f 100644
--- a/dev-java/netbeans-ergonomics/ChangeLog
+++ b/dev-java/netbeans-ergonomics/ChangeLog
@@ -2,6 +2,12 @@
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+*netbeans-ergonomics-9999_p20141208 (08 Dec 2014)
+
+  08 Dec 2014; Miroslav Šulc <fordfrog@gentoo.org>
+  +netbeans-ergonomics-9999_p20141208.ebuild:
+  bumped to the latest sources
+
 *netbeans-ergonomics-8.0.2 (07 Dec 2014)
 
   07 Dec 2014; Miroslav Šulc <fordfrog@gentoo.org>

diff --git a/dev-java/netbeans-ergonomics/Manifest b/dev-java/netbeans-ergonomics/Manifest
index ffac049..ea332af 100644
--- a/dev-java/netbeans-ergonomics/Manifest
+++ b/dev-java/netbeans-ergonomics/Manifest
@@ -10,7 +10,7 @@ DIST netbeans-7.4-build.xml.patch.bz2 2685 SHA256 3ffbe61e33ab28f39acbe28209469c
 DIST netbeans-8.0-201403101706-src.zip 194215149 SHA256 737a6fe9313e720590933773672c1f241820b795ce384a605743f3eeba0a9396 SHA512 dbc4ea3852ac0a698729a7698f2dccff427680bf01234c8a463268540e886f57b39697ec124fc0701cd52b558987961fc82e6f27bc9f0fc115159d250fddd676 WHIRLPOOL 47d914d023212076c463a99eda49b202aa6c05a2ffd5c32b61f97a4cd76930c94e18059292a8520359f38736e838a7c2d053ecf584493dbb3a9d8f5133ed6b36
 DIST netbeans-8.0-build.xml.patch.bz2 2685 SHA256 3ffbe61e33ab28f39acbe28209469c673ac97ba4620e9ab7391537b9d242da6a SHA512 247c67cf53ee40e94768d547218664cbf82c487f16982a43daed054a17327f168f35319ed4fa2def995adf3f0a6d25f85a3bb23ff4a84aa4e4f751257f255545 WHIRLPOOL bceeaebe6a7079910cfabcbf48738694b8b86a5ab7147002182eba3c305a310febe5861abdc3e63df904b45fcf3a5ecb3007c15611b59b4ce53406e578d13c47
 DIST netbeans-8.0.2-201411181905-src.zip 196585461 SHA256 581f80d3c2e8d87a0f007dd3f358ce0534a0bb2e4b3312cd6c8c7263713bc530 SHA512 9533de5b3c45e4a5b025213dd5602344e16d024e0cdb013f207ac3c7a9d8e63da19279f97910ad136777d75780c620224953f2974070d5c9833d1d6ef3fd427c WHIRLPOOL 2e45e83309743df167ddd1d58068848166d01ef6d9eec99ddf72b9ba7664cb182a04d6420ab03a9270842b3cd9a16a161c1eebb66953ef09158d8d521fb96516
-DIST netbeans-8.0.2-build.xml.patch.bz2 2671 SHA256 b5384db6533d41c7d3fdaffd3cd296d156ac99f0a026e3d74c4ac5b5d388a70f SHA512 1dd5dcf02fd81691b0f9c531470379138484dcbc271f65ba53a3844a1e697719e47cb98c90f92f92c5980a577d27370efc800297525f62da7211393ea0a18915 WHIRLPOOL c77621b5f4eea9e688d9714be9268d05f7c1e792d9d46d3a082418d8c1cb52c35f76d59f0befddc73f30a0e0e12c0af25b4b31c1cb69b68dd90e48638d7da509
+DIST netbeans-8.0.2-build.xml.patch.bz2 2678 SHA256 cf120f7fd8b4ad40e9abdcb09e7763fd93b4acef04ff0365e18f178706ea83bb SHA512 b61adf29bcb139207241c68513724f352420078583ca5e6d7856a4dd335ad36b7d05311eb6e14ff1c568aaf090de4ca083c32f6db1dec0b6f50d66a388bbedf7 WHIRLPOOL fb4d63329aa450a1b387fa45b59fa3c18d1a1ca8ecf9443111a3056d409a6d928d15dae275e9c564558f4b2abd54cc0f8db2df653ac432d9f58f8ef4dd747dff
 DIST netbeans-9999-r1-build.xml.patch.bz2 2379 SHA256 09cfedef0fd9d713ddc71a54848d7551ce750c15e3df00af7feef37d25260a7e SHA512 7f28a0b2536ea84ebaba26df072411f62db01873e7803f2e28400b55bd61f0857b5508668bd03894364333edf6b8cf9901b823980a8f51f8d6a711bd3a47cb59 WHIRLPOOL 74dcc47859101722f9879bf0cf2dadd210555560b2fcd036e43ac099c71fe0c712b360aadad8e88092a324c93ff42fc2e467e89e3227f23a24d55b9c9e2c27b6
 DIST netbeans-9999-r14-build.xml.patch.bz2 2671 SHA256 b5384db6533d41c7d3fdaffd3cd296d156ac99f0a026e3d74c4ac5b5d388a70f SHA512 1dd5dcf02fd81691b0f9c531470379138484dcbc271f65ba53a3844a1e697719e47cb98c90f92f92c5980a577d27370efc800297525f62da7211393ea0a18915 WHIRLPOOL c77621b5f4eea9e688d9714be9268d05f7c1e792d9d46d3a082418d8c1cb52c35f76d59f0befddc73f30a0e0e12c0af25b4b31c1cb69b68dd90e48638d7da509
 DIST netbeans-trunk-nightly-201410010001-src.zip 197355068 SHA256 0d284d68152ca0da1c8dfb7149e5b2638133fe3be6790f312c9959e59528144b SHA512 33ce5f22e9d3ac55d4f7b4b353956a39e030dee6380c5f379fba810f3ec86f8b36e88b773dbbf8bc3c430fc58caba9097764b7eac2d44ce2a25129f8f20fa4f2 WHIRLPOOL b4228286acec04cb321ca8aba60af42a7a1e2c20de1f657773166021a36e284b5ac4f49e9dbf8a51d81577b0d49d387707de3fcc0a622fd13b57c7d704b3da00
@@ -56,6 +56,7 @@ DIST netbeans-trunk-nightly-201412020001-src.zip 199498951 SHA256 c454e3862954d2
 DIST netbeans-trunk-nightly-201412030001-src.zip 199499099 SHA256 adae819d7f94b21e1b65d00dd39082305e79c34801397f474c2ed4e87745c19a SHA512 5eec00d8e086024101cd916bf01603ab2a4ff5b2acd4f03bed258e02b84ce678fe99f85f22824685ae5bc560f67093a4072d741c80a0e772b210569bfb8c75e3 WHIRLPOOL b08f24fb2df1ecb13833490696e331893a7001e668ea387e8c6a5b791b43631b7259db29c1ba76a5629bc001fe293ea1aa0108d213492600cfe057cfe6f6672b
 DIST netbeans-trunk-nightly-201412040001-src.zip 199544440 SHA256 1f721475c4cada742f1128627eba186360874a9a9d95f9634bd1ac8c2cd680d5 SHA512 26921a476d3b94fd7f636569306a2a072f10c6276acdb2b37c830eed3fdb983641ee44d675386fb04f2be760c9f1fe7f180fc43771329c602a05128a2ad2495a WHIRLPOOL 776a1e308af0da58535a9cd33a4b2901b3aeddb8fc61fed440f5c6bf0f86a746490f4e8dc3f7f787586763fc210a2f70771b9c42813703ee97206145cb6e4002
 DIST netbeans-trunk-nightly-201412070001-src.zip 199641850 SHA256 87bb9a998b5814f7d372433ab97ee3827f331a7f1ff92d9c7ba93a64f95d80ec SHA512 5e8ebd97085e603e09e5ea61fedbf12d069ad25edd0a4285dda6cb249ac5b9b75d01b615a0751e25058263041996b0b19adf819f102093ecaeef3364838e54bc WHIRLPOOL d376184e8f06a0b5c4cae82eea627b8dfc30874ff613251171e0e9d753bd7255db8417a79188ad96f52daf43fddc9ca094541090d4432f756ec5d7de679c7488
+DIST netbeans-trunk-nightly-201412080001-src.zip 199642324 SHA256 b13a7830fb7c88b2e188b3f5d4cf554597c9bf09990bff738f94c3d7a8eb9627 SHA512 079b33ccaf071b3db2bab3e92c189dbfe94c75640250080d1b710ae52e846a85a44569c3b5dc2e1ced6611df62ee6573e0957885498002b028e4d86344d171e9 WHIRLPOOL 9cf70238be22ffe165447cf7c75ce4fed9c0a43de377a9b4c99a6052d5fdd5aa525294b51c1e70b19b705d80d36da754f382026263a55008c67d05b53c82b812
 EBUILD netbeans-ergonomics-7.0.1.ebuild 2884 SHA256 e8e4a785fc11b6d0d3c722826761581b8c9c779c5460dc7d1487b3154f4402ab SHA512 3ba2810e650726f48fbdb1bc0c58b6ee1e7d9d29d4be3b27c00bc981b773f26d979fd90154184276e044eafd1d4d8940b47d6f0f58589f9cff7fbadef5fbb05f WHIRLPOOL 5fab7fe6492f91bd0e97a8a95c0652266d771e9b60957e16ce6ff683c1e38081372151cd8c7bea44ee1f1dd7bf435f8b00b9a1a23e4c6106c990794c6093ba10
 EBUILD netbeans-ergonomics-7.1.2.ebuild 2893 SHA256 cd56250980429160b8fa9deb17f15050d016394d5fdef19bf772cf29988c86d8 SHA512 32d4556218791a32efb8cf8ec8303f7e8f27bfb03b97af0c66cee717563c7e02fcd9e350b0425ec0cec28ab09865d4815aba1471ee958e05e7c42e421a7f71c2 WHIRLPOOL 318c8528c2338c1e2f6e342c263be52753fa74c9ac934b0ee60fe0fff2146e86d1761fef8eaeca8eab844709bea2196fbe181fad1f689a9d5b9994da3271b4db
 EBUILD netbeans-ergonomics-7.2.ebuild 2876 SHA256 ca7184ac24c255941c4ec3e686c4237ef0af4be7242c44417fa799813083515e SHA512 c6537bedf2fed4ea914c74a208124fe692af837ab2c81c98b8aa0347cb9d5af496378a8c042437facced26d3b42b101225dfa8b81dfc3d6ec4e3e5613e359f72 WHIRLPOOL c7e4c08ace118690f454dbf6a9040bff3e7013c646947fd02b05bca2b4d802393b6eca3234c6228f8e4df4da1ed193ecfd93c848038e4dd9ae3f50959692aa15
@@ -106,5 +107,6 @@ EBUILD netbeans-ergonomics-9999_p20141202.ebuild 2919 SHA256 916412b66f781981771
 EBUILD netbeans-ergonomics-9999_p20141203.ebuild 2919 SHA256 9118b167b81a4491fbb7d820cec15ce79c108dd0780cb908a7e1591c608d503e SHA512 018b8a226cc4839d067da51597ef66a7d2ba70b1c7f75685db70200fba0fc1de0dccfeffc73b9ef72721ab90b129ab9b1889067560d14df77d69015935c354d9 WHIRLPOOL 2b398fd89b9ebd99c4bac9249755606cf52ca9629a63966991c77bd64c0adf65699646a46071035a7ad6f1e526280c034efb89b3f3fd4d45d9a489e642631c97
 EBUILD netbeans-ergonomics-9999_p20141204.ebuild 2919 SHA256 81dcb38963f0c5534e6043c89c2e0443a905af270a4329f0aa5198e5b1feb352 SHA512 79cd4f9a6eb21982721cbac014cea42a9d8c744545a91cd7d24fa3452d43202e19cb7669a1209707f3f5cc73e3f7553e284e2b0acd19c2b0c6ad446d829dc1fc WHIRLPOOL 83a2736027642080d3074389e4bf99b30c462fcbea02f01e53c70be2cd46d4ec9c721c08aaa582baba734842dcff2bbabdafca063ca85bd1d93f62f68ed027e3
 EBUILD netbeans-ergonomics-9999_p20141207.ebuild 2919 SHA256 31700f3b2a65a36290800e32fd5d35433263122e40d45f29eeebc10289e17d5a SHA512 2536bc495d66a14cccedfd7eeefeec4deccc082eedac11cb3725ef36675f3246b4b1b86fba030258582a981c5cb19b657739a495ee3456c0d87d5cc7feee8438 WHIRLPOOL 847dbfefd5494fb4e8d4dbeb27659d74ce2ffecc2a4a52bbabb9f08f7ffc3160932419b3d8f5900a8fe979970428d5321af04dbcbe811d898669707fa4eb7b82
-MISC ChangeLog 145228 SHA256 2c38e2eb104b37762e796271249f7a0d017dbb92218e0b4ff265d6fb38a906a2 SHA512 351500073010cce3c4c319210ad678f8bd765457605ff17a650b443d5fae11d506cb4aae0dfd7b0b39eb8f5f76deb7b9ef4a8603df02fb5bcf1ac12a9bd725f9 WHIRLPOOL 494310a2fe023691ef38ce965204e14a44aee491eff78436498a8bfa9607c5543e0df4ef60caad1f21f887ce23d87004feb383e12902a3648d376a9c68d8c8e3
+EBUILD netbeans-ergonomics-9999_p20141208.ebuild 2919 SHA256 dda8b4cd7b59663261d0e835c4761d5b2d2469b3ed9f5c66a04afcb4f28d4805 SHA512 1858a46a05fd7b96863a8e34cd8beb3d6cccacf25f84a25d6bfc96612952d3befbe125502d9d64c9811e7a27acf158f2d0d4c4c1e88f34e676f6ba6a5a562192 WHIRLPOOL 420c5cf36ce62a45fe3eff9770fa58568af7e34cf474ba7a23b4bb5020aec26fe4554ed872933c8a9c504f3bfb659a0c89ff7c9624b5f1dd4cb49baa2852a494
+MISC ChangeLog 145409 SHA256 627c232b86b20491fadc1760606deb690cab0f517384d1fcc5871c5abfd215da SHA512 9e81bce69aa5832c428bf30351f87d5f68b690cca70e5fc100a4958047e1cdfbd2288d7da839e98d8c3e89250c862fa76cf8a8efba2e1155c4e55d38c814b208 WHIRLPOOL 8c0081e0335910aeca7c9615470b1e88ea08f544ff0ab8b3b448e83f2680685544cfaa5178f071d7b605825080cb8cff689c1a5cd12ad660351d5639ce3ba1c5
 MISC metadata.xml 251 SHA256 5a4ff53a9862390a48d45c79be24086646e7a6ff0c5bdf0fcb799d0871299003 SHA512 04153cbd9776ad56a94d6a47d043df15d082d8888df8658f18d0d4b659c6c0526ab3a9b22ccbe2471091bf2d8165f224854bc99c51f3664aaf350ccb93532a7c WHIRLPOOL 2ee8a646c6e23bc46c72cac0ecb5cfe43720ec42404ddaeed8ab1b59d139b3d5c1a94764de847f979da978c001c9f02f709d663a68eeea64d19e88f1fefbca43

diff --git a/dev-java/netbeans-ergonomics/netbeans-ergonomics-9999_p20141208.ebuild b/dev-java/netbeans-ergonomics/netbeans-ergonomics-9999_p20141208.ebuild
new file mode 100644
index 0000000..846097b
--- /dev/null
+++ b/dev-java/netbeans-ergonomics/netbeans-ergonomics-9999_p20141208.ebuild
@@ -0,0 +1,101 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+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/2014-12-08_00-01-49/zip/netbeans-trunk-nightly-201412080001-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/ChangeLog b/dev-java/netbeans-extide/ChangeLog
index 6b88b3d..5d82c45 100644
--- a/dev-java/netbeans-extide/ChangeLog
+++ b/dev-java/netbeans-extide/ChangeLog
@@ -2,6 +2,12 @@
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+*netbeans-extide-9999_p20141208 (08 Dec 2014)
+
+  08 Dec 2014; Miroslav Šulc <fordfrog@gentoo.org>
+  +netbeans-extide-9999_p20141208.ebuild:
+  bumped to the latest sources
+
 *netbeans-extide-8.0.2 (07 Dec 2014)
 
   07 Dec 2014; Miroslav Šulc <fordfrog@gentoo.org>

diff --git a/dev-java/netbeans-extide/Manifest b/dev-java/netbeans-extide/Manifest
index 9ab44e3..789c16e 100644
--- a/dev-java/netbeans-extide/Manifest
+++ b/dev-java/netbeans-extide/Manifest
@@ -9,7 +9,7 @@ DIST netbeans-7.4-build.xml.patch.bz2 2685 SHA256 3ffbe61e33ab28f39acbe28209469c
 DIST netbeans-8.0-201403101706-src.zip 194215149 SHA256 737a6fe9313e720590933773672c1f241820b795ce384a605743f3eeba0a9396 SHA512 dbc4ea3852ac0a698729a7698f2dccff427680bf01234c8a463268540e886f57b39697ec124fc0701cd52b558987961fc82e6f27bc9f0fc115159d250fddd676 WHIRLPOOL 47d914d023212076c463a99eda49b202aa6c05a2ffd5c32b61f97a4cd76930c94e18059292a8520359f38736e838a7c2d053ecf584493dbb3a9d8f5133ed6b36
 DIST netbeans-8.0-build.xml.patch.bz2 2685 SHA256 3ffbe61e33ab28f39acbe28209469c673ac97ba4620e9ab7391537b9d242da6a SHA512 247c67cf53ee40e94768d547218664cbf82c487f16982a43daed054a17327f168f35319ed4fa2def995adf3f0a6d25f85a3bb23ff4a84aa4e4f751257f255545 WHIRLPOOL bceeaebe6a7079910cfabcbf48738694b8b86a5ab7147002182eba3c305a310febe5861abdc3e63df904b45fcf3a5ecb3007c15611b59b4ce53406e578d13c47
 DIST netbeans-8.0.2-201411181905-src.zip 196585461 SHA256 581f80d3c2e8d87a0f007dd3f358ce0534a0bb2e4b3312cd6c8c7263713bc530 SHA512 9533de5b3c45e4a5b025213dd5602344e16d024e0cdb013f207ac3c7a9d8e63da19279f97910ad136777d75780c620224953f2974070d5c9833d1d6ef3fd427c WHIRLPOOL 2e45e83309743df167ddd1d58068848166d01ef6d9eec99ddf72b9ba7664cb182a04d6420ab03a9270842b3cd9a16a161c1eebb66953ef09158d8d521fb96516
-DIST netbeans-8.0.2-build.xml.patch.bz2 2671 SHA256 b5384db6533d41c7d3fdaffd3cd296d156ac99f0a026e3d74c4ac5b5d388a70f SHA512 1dd5dcf02fd81691b0f9c531470379138484dcbc271f65ba53a3844a1e697719e47cb98c90f92f92c5980a577d27370efc800297525f62da7211393ea0a18915 WHIRLPOOL c77621b5f4eea9e688d9714be9268d05f7c1e792d9d46d3a082418d8c1cb52c35f76d59f0befddc73f30a0e0e12c0af25b4b31c1cb69b68dd90e48638d7da509
+DIST netbeans-8.0.2-build.xml.patch.bz2 2678 SHA256 cf120f7fd8b4ad40e9abdcb09e7763fd93b4acef04ff0365e18f178706ea83bb SHA512 b61adf29bcb139207241c68513724f352420078583ca5e6d7856a4dd335ad36b7d05311eb6e14ff1c568aaf090de4ca083c32f6db1dec0b6f50d66a388bbedf7 WHIRLPOOL fb4d63329aa450a1b387fa45b59fa3c18d1a1ca8ecf9443111a3056d409a6d928d15dae275e9c564558f4b2abd54cc0f8db2df653ac432d9f58f8ef4dd747dff
 DIST netbeans-9999-r14-build.xml.patch.bz2 2671 SHA256 b5384db6533d41c7d3fdaffd3cd296d156ac99f0a026e3d74c4ac5b5d388a70f SHA512 1dd5dcf02fd81691b0f9c531470379138484dcbc271f65ba53a3844a1e697719e47cb98c90f92f92c5980a577d27370efc800297525f62da7211393ea0a18915 WHIRLPOOL c77621b5f4eea9e688d9714be9268d05f7c1e792d9d46d3a082418d8c1cb52c35f76d59f0befddc73f30a0e0e12c0af25b4b31c1cb69b68dd90e48638d7da509
 DIST netbeans-trunk-nightly-201410010001-src.zip 197355068 SHA256 0d284d68152ca0da1c8dfb7149e5b2638133fe3be6790f312c9959e59528144b SHA512 33ce5f22e9d3ac55d4f7b4b353956a39e030dee6380c5f379fba810f3ec86f8b36e88b773dbbf8bc3c430fc58caba9097764b7eac2d44ce2a25129f8f20fa4f2 WHIRLPOOL b4228286acec04cb321ca8aba60af42a7a1e2c20de1f657773166021a36e284b5ac4f49e9dbf8a51d81577b0d49d387707de3fcc0a622fd13b57c7d704b3da00
 DIST netbeans-trunk-nightly-201410030001-src.zip 197355085 SHA256 f915305ddfd881aaf161ca366c2af9eb29e954c971e73580aaab68cc0836f53e SHA512 d681dd706f0ca188fd5c8d055c88396e33a4e5b3f956017273e0834c755cb6905427c7a9f1dc12c05668580b2ce09caef1b5ea18e2f15384e06900f6cc197df5 WHIRLPOOL a93aa92eabd9120ec1923d6f7af586bead3915691a795d45e2929623b34c52d267091203c7b6d4e2bf0b1629624e6a49ad2d28bddce35ab9508bdc099aa511ed
@@ -54,6 +54,7 @@ DIST netbeans-trunk-nightly-201412020001-src.zip 199498951 SHA256 c454e3862954d2
 DIST netbeans-trunk-nightly-201412030001-src.zip 199499099 SHA256 adae819d7f94b21e1b65d00dd39082305e79c34801397f474c2ed4e87745c19a SHA512 5eec00d8e086024101cd916bf01603ab2a4ff5b2acd4f03bed258e02b84ce678fe99f85f22824685ae5bc560f67093a4072d741c80a0e772b210569bfb8c75e3 WHIRLPOOL b08f24fb2df1ecb13833490696e331893a7001e668ea387e8c6a5b791b43631b7259db29c1ba76a5629bc001fe293ea1aa0108d213492600cfe057cfe6f6672b
 DIST netbeans-trunk-nightly-201412040001-src.zip 199544440 SHA256 1f721475c4cada742f1128627eba186360874a9a9d95f9634bd1ac8c2cd680d5 SHA512 26921a476d3b94fd7f636569306a2a072f10c6276acdb2b37c830eed3fdb983641ee44d675386fb04f2be760c9f1fe7f180fc43771329c602a05128a2ad2495a WHIRLPOOL 776a1e308af0da58535a9cd33a4b2901b3aeddb8fc61fed440f5c6bf0f86a746490f4e8dc3f7f787586763fc210a2f70771b9c42813703ee97206145cb6e4002
 DIST netbeans-trunk-nightly-201412070001-src.zip 199641850 SHA256 87bb9a998b5814f7d372433ab97ee3827f331a7f1ff92d9c7ba93a64f95d80ec SHA512 5e8ebd97085e603e09e5ea61fedbf12d069ad25edd0a4285dda6cb249ac5b9b75d01b615a0751e25058263041996b0b19adf819f102093ecaeef3364838e54bc WHIRLPOOL d376184e8f06a0b5c4cae82eea627b8dfc30874ff613251171e0e9d753bd7255db8417a79188ad96f52daf43fddc9ca094541090d4432f756ec5d7de679c7488
+DIST netbeans-trunk-nightly-201412080001-src.zip 199642324 SHA256 b13a7830fb7c88b2e188b3f5d4cf554597c9bf09990bff738f94c3d7a8eb9627 SHA512 079b33ccaf071b3db2bab3e92c189dbfe94c75640250080d1b710ae52e846a85a44569c3b5dc2e1ced6611df62ee6573e0957885498002b028e4d86344d171e9 WHIRLPOOL 9cf70238be22ffe165447cf7c75ce4fed9c0a43de377a9b4c99a6052d5fdd5aa525294b51c1e70b19b705d80d36da754f382026263a55008c67d05b53c82b812
 EBUILD netbeans-extide-7.4.ebuild 3311 SHA256 8585e0b9eac3b9bb35d5b5e0152936f84708a824d76831930a3dfd3d196556b0 SHA512 19eceec7a634923b4712eb277a1ff9900a2eb4d9ac0a2c699175333c263f0c02baaf24eb30bd7919444f5c9df751186689b2d4359ca1c88dca02884d7c18c3cd WHIRLPOOL e64509f198c4d09851f98d5bd2ddd5b469b0a7c0f3122f391c17833e5d6d77b7a6c2fd9e942e34f2df42047504ad40593f97af9b2898450e769c7b012355c316
 EBUILD netbeans-extide-8.0.2.ebuild 3315 SHA256 91d5ece7097d8bff6d04ebbfd12b6fefb787b41ef33b4288e31e9babc49feca1 SHA512 42f4767cf06a9528d02db53f4d487a495135934302e33bcac9384cfd174260ff922638c9a0e659c537c50a81f91372aaf9d2585b4505b999e681dca9acaea4e0 WHIRLPOOL c55f05d55e8dc22478d29cf9e8ecd15de3e402f19e2d41cd302ec8f0b0d0f23dd434fded92761d5bbc55e1219a6d424afe8754b146f8312248e3a53dfede3b2d
 EBUILD netbeans-extide-8.0.ebuild 3305 SHA256 b2d57e2e2d92760ead3d383fe4dd5b4fb9fc2807a9b58c6f40b44fc24072b8bb SHA512 6e7f12758188a564ef6b5cf8b0ffdf79e30d1021172d10f215d04e727bc4001e4385fd0961a26a6bb42638089e0919b1d4628a13ba11a3deac94d4693c7210d5 WHIRLPOOL adac8461de43669b7bb98ea8920c0a2944837211a37503b957221149d4b91c4bd92b6db160191990b838c474495c65f62c8a4bb9fdbcaa371b4648a335b1afa9
@@ -100,5 +101,6 @@ EBUILD netbeans-extide-9999_p20141202.ebuild 3383 SHA256 2bec748368d61771c46e650
 EBUILD netbeans-extide-9999_p20141203.ebuild 3383 SHA256 8b076ddd0f3075024208dc45beaee4432e51c13aa9cc702a881407f0ea690392 SHA512 6cac496b5dae50e5854a196f67a3fb744e7e44f50fa379d0f73650abad31480addf34854f5c1d77b07216e8caf5a3bd28dff92354a128ef8282dc4fbc8f52448 WHIRLPOOL 342284e4a097a1132b61bfa8154bf63d3cb235132130235d0152462f93f694b3ddc1a6dfe9d7e43c406e78ee078e46f0aded7a7880ccadb94d54c321dabc1e8b
 EBUILD netbeans-extide-9999_p20141204.ebuild 3383 SHA256 bd0d6ead640125d629c0f6dd64baeed8c5970f3832c555a441a2cce6286cf5da SHA512 cc1fa0db9bbef75a45494903c3071a4ac2e5edbb90bbc6c1d7b9cc03d17b56bf8e0bf2963e7b1e73b3bb7299540cb9cc48b10a267a5a91734fff19848355d037 WHIRLPOOL c6224d5e29078c794c0cb053e91beed04d6241cc537d19232bc91b3376a2add97957770465375b23776afd2a4a47001d238e0dbe45fac56dd17c32ed9b46ed9d
 EBUILD netbeans-extide-9999_p20141207.ebuild 3383 SHA256 9772092c5c60abe3e89f3164d5a17a5d0d4ce65417e47029b1a157480e37a9f5 SHA512 8ccc77f589b36eb9ef18628e6772ca094caad9ed6745dbbe49a5f0c0a8c474b585d520a6c724dfde6e2773bf3151dc58ecd96cc61a4bcfa68afb6193e2b20563 WHIRLPOOL 9275c4e903b88fde75484409bb3c747701bacd11f21028fb914065ff01b4ef4698c6d890720a0b13456f62ca656bf1fad3a2366e42af1d588c6b0193fb93821e
-MISC ChangeLog 70391 SHA256 32ed49f99cbe56f8fac77d13327dac62b7bfbcc3639d267f17af8f310b1c1616 SHA512 93e8946ec4badd5b2b65f174fb2aab0afb1d3404a0d02a0231acc3ded663f1dcfb238849114e92d11659969e48fd81274b8478c888675c8ddafab556cd88cf72 WHIRLPOOL a318aec19aebd2767a977dbd3571237086895b41635e6bf16bfc0b89913ada9091fbe0f781d649e8eb4ae5a6c4808ca6e4e1a8105fe52688959913935ea37729
+EBUILD netbeans-extide-9999_p20141208.ebuild 3383 SHA256 746b252fb212c060cdff88c21d43b10d92d1e209c2dced3612100b5b01f8da9c SHA512 8a9bb1f1417772b3ab657e97c6a1802322d1ac07b34a9e75b1f39c48a7ca665394908b54581ceb87ee3bfd24281a311f36e062f6761b2426688a5499f0f0708c WHIRLPOOL 24136e8d1a843611b665569ec1f6b009f8b92513152e3039efaead5eb22b7f4bd6e3d71d1322b7c33a5c4ac88c5a1edbdab8e82a9d56dc53c1a46cde13e3a9bf
+MISC ChangeLog 70564 SHA256 c4ad311a2ccfc3fb22bb0025f13c9792d1eeca6116aae481ac7eef131064e0ba SHA512 278dba1da7f24fa495753423be7a3b213605cacbe2a44e62fb52fcc80e47122763f1c79b9177df64938ca9c7d89ed7e803aa523c2508ad89a21fc9c40387bae0 WHIRLPOOL 478ed96abf1d8c6abae6664ea6e2ce921379eabb2737e0b93e7b281b9145a30d598a6d8b91b9dd79e29e969218ff37f108e14aa8771221a6dd7d9cc7b1f0501f
 MISC metadata.xml 251 SHA256 5a4ff53a9862390a48d45c79be24086646e7a6ff0c5bdf0fcb799d0871299003 SHA512 04153cbd9776ad56a94d6a47d043df15d082d8888df8658f18d0d4b659c6c0526ab3a9b22ccbe2471091bf2d8165f224854bc99c51f3664aaf350ccb93532a7c WHIRLPOOL 2ee8a646c6e23bc46c72cac0ecb5cfe43720ec42404ddaeed8ab1b59d139b3d5c1a94764de847f979da978c001c9f02f709d663a68eeea64d19e88f1fefbca43

diff --git a/dev-java/netbeans-extide/netbeans-extide-9999_p20141208.ebuild b/dev-java/netbeans-extide/netbeans-extide-9999_p20141208.ebuild
new file mode 100644
index 0000000..8ddbd71
--- /dev/null
+++ b/dev-java/netbeans-extide/netbeans-extide-9999_p20141208.ebuild
@@ -0,0 +1,108 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+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/2014-12-08_00-01-49/zip/netbeans-trunk-nightly-201412080001-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/ChangeLog b/dev-java/netbeans-groovy/ChangeLog
index 17e0f22..1d2cf2f 100644
--- a/dev-java/netbeans-groovy/ChangeLog
+++ b/dev-java/netbeans-groovy/ChangeLog
@@ -2,6 +2,12 @@
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+*netbeans-groovy-9999_p20141208 (08 Dec 2014)
+
+  08 Dec 2014; Miroslav Šulc <fordfrog@gentoo.org>
+  +netbeans-groovy-9999_p20141208.ebuild:
+  bumped to the latest sources
+
 *netbeans-groovy-8.0.2 (07 Dec 2014)
 
   07 Dec 2014; Miroslav Šulc <fordfrog@gentoo.org>

diff --git a/dev-java/netbeans-groovy/Manifest b/dev-java/netbeans-groovy/Manifest
index 0ff0e2a..f2d96e0 100644
--- a/dev-java/netbeans-groovy/Manifest
+++ b/dev-java/netbeans-groovy/Manifest
@@ -14,7 +14,7 @@ DIST netbeans-7.4-build.xml.patch.bz2 2685 SHA256 3ffbe61e33ab28f39acbe28209469c
 DIST netbeans-8.0-201403101706-src.zip 194215149 SHA256 737a6fe9313e720590933773672c1f241820b795ce384a605743f3eeba0a9396 SHA512 dbc4ea3852ac0a698729a7698f2dccff427680bf01234c8a463268540e886f57b39697ec124fc0701cd52b558987961fc82e6f27bc9f0fc115159d250fddd676 WHIRLPOOL 47d914d023212076c463a99eda49b202aa6c05a2ffd5c32b61f97a4cd76930c94e18059292a8520359f38736e838a7c2d053ecf584493dbb3a9d8f5133ed6b36
 DIST netbeans-8.0-build.xml.patch.bz2 2685 SHA256 3ffbe61e33ab28f39acbe28209469c673ac97ba4620e9ab7391537b9d242da6a SHA512 247c67cf53ee40e94768d547218664cbf82c487f16982a43daed054a17327f168f35319ed4fa2def995adf3f0a6d25f85a3bb23ff4a84aa4e4f751257f255545 WHIRLPOOL bceeaebe6a7079910cfabcbf48738694b8b86a5ab7147002182eba3c305a310febe5861abdc3e63df904b45fcf3a5ecb3007c15611b59b4ce53406e578d13c47
 DIST netbeans-8.0.2-201411181905-src.zip 196585461 SHA256 581f80d3c2e8d87a0f007dd3f358ce0534a0bb2e4b3312cd6c8c7263713bc530 SHA512 9533de5b3c45e4a5b025213dd5602344e16d024e0cdb013f207ac3c7a9d8e63da19279f97910ad136777d75780c620224953f2974070d5c9833d1d6ef3fd427c WHIRLPOOL 2e45e83309743df167ddd1d58068848166d01ef6d9eec99ddf72b9ba7664cb182a04d6420ab03a9270842b3cd9a16a161c1eebb66953ef09158d8d521fb96516
-DIST netbeans-8.0.2-build.xml.patch.bz2 2671 SHA256 b5384db6533d41c7d3fdaffd3cd296d156ac99f0a026e3d74c4ac5b5d388a70f SHA512 1dd5dcf02fd81691b0f9c531470379138484dcbc271f65ba53a3844a1e697719e47cb98c90f92f92c5980a577d27370efc800297525f62da7211393ea0a18915 WHIRLPOOL c77621b5f4eea9e688d9714be9268d05f7c1e792d9d46d3a082418d8c1cb52c35f76d59f0befddc73f30a0e0e12c0af25b4b31c1cb69b68dd90e48638d7da509
+DIST netbeans-8.0.2-build.xml.patch.bz2 2678 SHA256 cf120f7fd8b4ad40e9abdcb09e7763fd93b4acef04ff0365e18f178706ea83bb SHA512 b61adf29bcb139207241c68513724f352420078583ca5e6d7856a4dd335ad36b7d05311eb6e14ff1c568aaf090de4ca083c32f6db1dec0b6f50d66a388bbedf7 WHIRLPOOL fb4d63329aa450a1b387fa45b59fa3c18d1a1ca8ecf9443111a3056d409a6d928d15dae275e9c564558f4b2abd54cc0f8db2df653ac432d9f58f8ef4dd747dff
 DIST netbeans-9999-r1-build.xml.patch.bz2 2379 SHA256 09cfedef0fd9d713ddc71a54848d7551ce750c15e3df00af7feef37d25260a7e SHA512 7f28a0b2536ea84ebaba26df072411f62db01873e7803f2e28400b55bd61f0857b5508668bd03894364333edf6b8cf9901b823980a8f51f8d6a711bd3a47cb59 WHIRLPOOL 74dcc47859101722f9879bf0cf2dadd210555560b2fcd036e43ac099c71fe0c712b360aadad8e88092a324c93ff42fc2e467e89e3227f23a24d55b9c9e2c27b6
 DIST netbeans-9999-r14-build.xml.patch.bz2 2671 SHA256 b5384db6533d41c7d3fdaffd3cd296d156ac99f0a026e3d74c4ac5b5d388a70f SHA512 1dd5dcf02fd81691b0f9c531470379138484dcbc271f65ba53a3844a1e697719e47cb98c90f92f92c5980a577d27370efc800297525f62da7211393ea0a18915 WHIRLPOOL c77621b5f4eea9e688d9714be9268d05f7c1e792d9d46d3a082418d8c1cb52c35f76d59f0befddc73f30a0e0e12c0af25b4b31c1cb69b68dd90e48638d7da509
 DIST netbeans-trunk-nightly-201410010001-src.zip 197355068 SHA256 0d284d68152ca0da1c8dfb7149e5b2638133fe3be6790f312c9959e59528144b SHA512 33ce5f22e9d3ac55d4f7b4b353956a39e030dee6380c5f379fba810f3ec86f8b36e88b773dbbf8bc3c430fc58caba9097764b7eac2d44ce2a25129f8f20fa4f2 WHIRLPOOL b4228286acec04cb321ca8aba60af42a7a1e2c20de1f657773166021a36e284b5ac4f49e9dbf8a51d81577b0d49d387707de3fcc0a622fd13b57c7d704b3da00
@@ -60,6 +60,7 @@ DIST netbeans-trunk-nightly-201412020001-src.zip 199498951 SHA256 c454e3862954d2
 DIST netbeans-trunk-nightly-201412030001-src.zip 199499099 SHA256 adae819d7f94b21e1b65d00dd39082305e79c34801397f474c2ed4e87745c19a SHA512 5eec00d8e086024101cd916bf01603ab2a4ff5b2acd4f03bed258e02b84ce678fe99f85f22824685ae5bc560f67093a4072d741c80a0e772b210569bfb8c75e3 WHIRLPOOL b08f24fb2df1ecb13833490696e331893a7001e668ea387e8c6a5b791b43631b7259db29c1ba76a5629bc001fe293ea1aa0108d213492600cfe057cfe6f6672b
 DIST netbeans-trunk-nightly-201412040001-src.zip 199544440 SHA256 1f721475c4cada742f1128627eba186360874a9a9d95f9634bd1ac8c2cd680d5 SHA512 26921a476d3b94fd7f636569306a2a072f10c6276acdb2b37c830eed3fdb983641ee44d675386fb04f2be760c9f1fe7f180fc43771329c602a05128a2ad2495a WHIRLPOOL 776a1e308af0da58535a9cd33a4b2901b3aeddb8fc61fed440f5c6bf0f86a746490f4e8dc3f7f787586763fc210a2f70771b9c42813703ee97206145cb6e4002
 DIST netbeans-trunk-nightly-201412070001-src.zip 199641850 SHA256 87bb9a998b5814f7d372433ab97ee3827f331a7f1ff92d9c7ba93a64f95d80ec SHA512 5e8ebd97085e603e09e5ea61fedbf12d069ad25edd0a4285dda6cb249ac5b9b75d01b615a0751e25058263041996b0b19adf819f102093ecaeef3364838e54bc WHIRLPOOL d376184e8f06a0b5c4cae82eea627b8dfc30874ff613251171e0e9d753bd7255db8417a79188ad96f52daf43fddc9ca094541090d4432f756ec5d7de679c7488
+DIST netbeans-trunk-nightly-201412080001-src.zip 199642324 SHA256 b13a7830fb7c88b2e188b3f5d4cf554597c9bf09990bff738f94c3d7a8eb9627 SHA512 079b33ccaf071b3db2bab3e92c189dbfe94c75640250080d1b710ae52e846a85a44569c3b5dc2e1ced6611df62ee6573e0957885498002b028e4d86344d171e9 WHIRLPOOL 9cf70238be22ffe165447cf7c75ce4fed9c0a43de377a9b4c99a6052d5fdd5aa525294b51c1e70b19b705d80d36da754f382026263a55008c67d05b53c82b812
 EBUILD netbeans-groovy-7.0.1.ebuild 3296 SHA256 29c3d304eca5999e78550fd715dbcbef9d15639d4e4f17fa0e45a46803080729 SHA512 43a0ddb43354bb3c0b8e29004ab547da508662d037b0006dfd24250c49470ddc0384bfffb6423f1e3eeaca98410c5de8b314a69970189306869a16380ab098a1 WHIRLPOOL bf626cecf6dec0c51e7e0b95ac4ff26a795e44a5dabd25719eeb2244742d96d33cb20ebbd9a68728dc27d28b8e558a7e2a3ee318c2e4fde234e0b5e8d32e6a58
 EBUILD netbeans-groovy-7.1.2.ebuild 3305 SHA256 1e00f335b8cc1e90deec3c3251629ba699286b25be5b6945d135d271004dc34b SHA512 3a1d67d02054478ed15e11789292fcce3fcfd343b8feebde5e07a9463c380c644310603a3f9f984e8071b0b097075809dce423b888e1f2aed316cb90a562d20e WHIRLPOOL a790c1e186c4d1949de6b4dd975b929c132e3e7b7c455c7867bd1445f59fb6ace72b5c9adf09d0c6079718fdc6c34a0c5f0c9c437517b55b7ae109ce3e20b064
 EBUILD netbeans-groovy-7.2.ebuild 3160 SHA256 6d709b7cc07d7ebb59c3ede0a19c9890ca3230144d7f455cf24d984ac2f633b0 SHA512 e30c8d58165b87a39a356f8b813c593910cd2c247de41420369fee21157c2f2881db34612711f77c9ecd9501aa6d7235ab7bc41d4092be1e68fab778c16d8288 WHIRLPOOL 4a6495ca077f3c374105b25698c8251aaa89daf56c2749bdc73867b0ea1ae404cfc7b2a8b435ef7b19f00aee8128be051c04d6a24fb631379fbe98d6854a507b
@@ -110,5 +111,6 @@ EBUILD netbeans-groovy-9999_p20141202.ebuild 3422 SHA256 1ccb810ef3c8b26ba15990b
 EBUILD netbeans-groovy-9999_p20141203.ebuild 3422 SHA256 273716865013a2fff7dc9ced2ce1271b56f477928d836ffcd069b7901b748341 SHA512 bb5b00f15308067be0bb0504c5493aaae1ba5659e8cfbe49b645a49c8e23c586c76c7f0b5dfe62ceec7365ae15b1f1effceffa47c93c38b82868401a24073fc2 WHIRLPOOL ff01e2569251ee1a39838f59b169f57d0d56a3b67166fdb9603f74605bd419a553e58ed209503883ed54b28df5c791b0bea01fcde91b5dab4bdf4f20ebdc2031
 EBUILD netbeans-groovy-9999_p20141204.ebuild 3422 SHA256 aba8de91002100577b51dd55590c26b8f44617b890d1d8ad7ed7c149157a6a55 SHA512 efe727594cdecd346ce978e6d7a34f4cac4f545bcdd07e56f00239729786faa26faca283e5b5a4698f250d065a89eb6285afc59891f3523e46b407aaebba001f WHIRLPOOL 28451f30a9a7bde8561e8fb366cdff00f4fd95d56708edaa65f319ff64abfad5bf95d374f10b3c6ad7be3c00a4338272826e32c9f55ead3ebebece5aa0236fd2
 EBUILD netbeans-groovy-9999_p20141207.ebuild 3422 SHA256 52172990f06c4ceafb0251980ac586098641c6137414001c9adc64743d91c8ee SHA512 b6dff464eee59a4c21404f32bc5bbd459f6b145cdf1dee689db8b8ff7e7c31a10928c7128ac948059ecbfd3336f45dcb00741b757a8efce917b31ba9fbda065e WHIRLPOOL 1bd5779b181f27aa24278a44950979bfa4371107a3fcebb262613bf6dd12ef37941a06dc599438c1d36751a10e9790c5ee46bbdec2097f02909cde443b88f3c9
-MISC ChangeLog 138371 SHA256 37c83a82565a0fcc40b32d539bce471fe809592e07032ce25c82a9b56a764e19 SHA512 870674fd2354e914669c79ac8ac95b61588f11ae3185993d9edc8512b5e43aa37d67c944243128e0977800b4beba2245d27b3112cf2cad5f22b4788d4b7e63d6 WHIRLPOOL 5fa63ad1ec895cb177fd9551403dce49873ef31eff409708318f1ac0c0579df7ec59c78bfd4dc577ebf03d883e5fb0ac1729f2155fb75e13e86d84c9dfcff504
+EBUILD netbeans-groovy-9999_p20141208.ebuild 3422 SHA256 c44788246380d2865921870823907ea901b49566b4be9276e0cc209974a69707 SHA512 09b4819e1bdc6d5b63f56819dfa7819fdbfc5b98a5e35477493973005919b5d1c9b44907db18c3c3ff4fa755a179107388d954e734688f5b46d392edbdb6cef9 WHIRLPOOL 1e8f4be6e6fc457109b09eb5ff941c95e63b8f8b1947a23efdd01659a497e5d9b6636170650e19b5d4701cf3142c5f524b7ebefb6b84dfb44b7b5b222f32a683
+MISC ChangeLog 138544 SHA256 1d9abeaff808ddb1711a7cca7c82032fd6743e0889e0d60529a32507ebe59c85 SHA512 49d2b9ad0c41bb03a318ff6003b9defbc350d2f9d23da070079f4ddf326f5c2e124062f9d135465da6d4e3be3b10674924d13c4ea9bb31449ed7959b84985538 WHIRLPOOL 589840258aa92a66a52e9781d9e8f8828b55d66199538d7595d7a10eb31bac769997f03084352b1823241227126b813b854577013a2f4a05f4eaca8bfccfe2b3
 MISC metadata.xml 251 SHA256 5a4ff53a9862390a48d45c79be24086646e7a6ff0c5bdf0fcb799d0871299003 SHA512 04153cbd9776ad56a94d6a47d043df15d082d8888df8658f18d0d4b659c6c0526ab3a9b22ccbe2471091bf2d8165f224854bc99c51f3664aaf350ccb93532a7c WHIRLPOOL 2ee8a646c6e23bc46c72cac0ecb5cfe43720ec42404ddaeed8ab1b59d139b3d5c1a94764de847f979da978c001c9f02f709d663a68eeea64d19e88f1fefbca43

diff --git a/dev-java/netbeans-groovy/netbeans-groovy-9999_p20141208.ebuild b/dev-java/netbeans-groovy/netbeans-groovy-9999_p20141208.ebuild
new file mode 100644
index 0000000..29818bf
--- /dev/null
+++ b/dev-java/netbeans-groovy/netbeans-groovy-9999_p20141208.ebuild
@@ -0,0 +1,111 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+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/2014-12-08_00-01-49/zip/netbeans-trunk-nightly-201412080001-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/ChangeLog b/dev-java/netbeans-harness/ChangeLog
index 1c2c359..7117c07 100644
--- a/dev-java/netbeans-harness/ChangeLog
+++ b/dev-java/netbeans-harness/ChangeLog
@@ -2,6 +2,12 @@
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+*netbeans-harness-9999_p20141208 (08 Dec 2014)
+
+  08 Dec 2014; Miroslav Šulc <fordfrog@gentoo.org>
+  +netbeans-harness-9999_p20141208.ebuild:
+  bumped to the latest sources
+
 *netbeans-harness-8.0.2 (07 Dec 2014)
 
   07 Dec 2014; Miroslav Šulc <fordfrog@gentoo.org>

diff --git a/dev-java/netbeans-harness/Manifest b/dev-java/netbeans-harness/Manifest
index dba020a..bba634f 100644
--- a/dev-java/netbeans-harness/Manifest
+++ b/dev-java/netbeans-harness/Manifest
@@ -16,7 +16,7 @@ DIST netbeans-7.4-build.xml.patch.bz2 2685 SHA256 3ffbe61e33ab28f39acbe28209469c
 DIST netbeans-8.0-201403101706-src.zip 194215149 SHA256 737a6fe9313e720590933773672c1f241820b795ce384a605743f3eeba0a9396 SHA512 dbc4ea3852ac0a698729a7698f2dccff427680bf01234c8a463268540e886f57b39697ec124fc0701cd52b558987961fc82e6f27bc9f0fc115159d250fddd676 WHIRLPOOL 47d914d023212076c463a99eda49b202aa6c05a2ffd5c32b61f97a4cd76930c94e18059292a8520359f38736e838a7c2d053ecf584493dbb3a9d8f5133ed6b36
 DIST netbeans-8.0-build.xml.patch.bz2 2685 SHA256 3ffbe61e33ab28f39acbe28209469c673ac97ba4620e9ab7391537b9d242da6a SHA512 247c67cf53ee40e94768d547218664cbf82c487f16982a43daed054a17327f168f35319ed4fa2def995adf3f0a6d25f85a3bb23ff4a84aa4e4f751257f255545 WHIRLPOOL bceeaebe6a7079910cfabcbf48738694b8b86a5ab7147002182eba3c305a310febe5861abdc3e63df904b45fcf3a5ecb3007c15611b59b4ce53406e578d13c47
 DIST netbeans-8.0.2-201411181905-src.zip 196585461 SHA256 581f80d3c2e8d87a0f007dd3f358ce0534a0bb2e4b3312cd6c8c7263713bc530 SHA512 9533de5b3c45e4a5b025213dd5602344e16d024e0cdb013f207ac3c7a9d8e63da19279f97910ad136777d75780c620224953f2974070d5c9833d1d6ef3fd427c WHIRLPOOL 2e45e83309743df167ddd1d58068848166d01ef6d9eec99ddf72b9ba7664cb182a04d6420ab03a9270842b3cd9a16a161c1eebb66953ef09158d8d521fb96516
-DIST netbeans-8.0.2-build.xml.patch.bz2 2671 SHA256 b5384db6533d41c7d3fdaffd3cd296d156ac99f0a026e3d74c4ac5b5d388a70f SHA512 1dd5dcf02fd81691b0f9c531470379138484dcbc271f65ba53a3844a1e697719e47cb98c90f92f92c5980a577d27370efc800297525f62da7211393ea0a18915 WHIRLPOOL c77621b5f4eea9e688d9714be9268d05f7c1e792d9d46d3a082418d8c1cb52c35f76d59f0befddc73f30a0e0e12c0af25b4b31c1cb69b68dd90e48638d7da509
+DIST netbeans-8.0.2-build.xml.patch.bz2 2678 SHA256 cf120f7fd8b4ad40e9abdcb09e7763fd93b4acef04ff0365e18f178706ea83bb SHA512 b61adf29bcb139207241c68513724f352420078583ca5e6d7856a4dd335ad36b7d05311eb6e14ff1c568aaf090de4ca083c32f6db1dec0b6f50d66a388bbedf7 WHIRLPOOL fb4d63329aa450a1b387fa45b59fa3c18d1a1ca8ecf9443111a3056d409a6d928d15dae275e9c564558f4b2abd54cc0f8db2df653ac432d9f58f8ef4dd747dff
 DIST netbeans-9999-r1-build.xml.patch.bz2 2379 SHA256 09cfedef0fd9d713ddc71a54848d7551ce750c15e3df00af7feef37d25260a7e SHA512 7f28a0b2536ea84ebaba26df072411f62db01873e7803f2e28400b55bd61f0857b5508668bd03894364333edf6b8cf9901b823980a8f51f8d6a711bd3a47cb59 WHIRLPOOL 74dcc47859101722f9879bf0cf2dadd210555560b2fcd036e43ac099c71fe0c712b360aadad8e88092a324c93ff42fc2e467e89e3227f23a24d55b9c9e2c27b6
 DIST netbeans-9999-r14-build.xml.patch.bz2 2671 SHA256 b5384db6533d41c7d3fdaffd3cd296d156ac99f0a026e3d74c4ac5b5d388a70f SHA512 1dd5dcf02fd81691b0f9c531470379138484dcbc271f65ba53a3844a1e697719e47cb98c90f92f92c5980a577d27370efc800297525f62da7211393ea0a18915 WHIRLPOOL c77621b5f4eea9e688d9714be9268d05f7c1e792d9d46d3a082418d8c1cb52c35f76d59f0befddc73f30a0e0e12c0af25b4b31c1cb69b68dd90e48638d7da509
 DIST netbeans-trunk-nightly-201410010001-src.zip 197355068 SHA256 0d284d68152ca0da1c8dfb7149e5b2638133fe3be6790f312c9959e59528144b SHA512 33ce5f22e9d3ac55d4f7b4b353956a39e030dee6380c5f379fba810f3ec86f8b36e88b773dbbf8bc3c430fc58caba9097764b7eac2d44ce2a25129f8f20fa4f2 WHIRLPOOL b4228286acec04cb321ca8aba60af42a7a1e2c20de1f657773166021a36e284b5ac4f49e9dbf8a51d81577b0d49d387707de3fcc0a622fd13b57c7d704b3da00
@@ -62,6 +62,7 @@ DIST netbeans-trunk-nightly-201412020001-src.zip 199498951 SHA256 c454e3862954d2
 DIST netbeans-trunk-nightly-201412030001-src.zip 199499099 SHA256 adae819d7f94b21e1b65d00dd39082305e79c34801397f474c2ed4e87745c19a SHA512 5eec00d8e086024101cd916bf01603ab2a4ff5b2acd4f03bed258e02b84ce678fe99f85f22824685ae5bc560f67093a4072d741c80a0e772b210569bfb8c75e3 WHIRLPOOL b08f24fb2df1ecb13833490696e331893a7001e668ea387e8c6a5b791b43631b7259db29c1ba76a5629bc001fe293ea1aa0108d213492600cfe057cfe6f6672b
 DIST netbeans-trunk-nightly-201412040001-src.zip 199544440 SHA256 1f721475c4cada742f1128627eba186360874a9a9d95f9634bd1ac8c2cd680d5 SHA512 26921a476d3b94fd7f636569306a2a072f10c6276acdb2b37c830eed3fdb983641ee44d675386fb04f2be760c9f1fe7f180fc43771329c602a05128a2ad2495a WHIRLPOOL 776a1e308af0da58535a9cd33a4b2901b3aeddb8fc61fed440f5c6bf0f86a746490f4e8dc3f7f787586763fc210a2f70771b9c42813703ee97206145cb6e4002
 DIST netbeans-trunk-nightly-201412070001-src.zip 199641850 SHA256 87bb9a998b5814f7d372433ab97ee3827f331a7f1ff92d9c7ba93a64f95d80ec SHA512 5e8ebd97085e603e09e5ea61fedbf12d069ad25edd0a4285dda6cb249ac5b9b75d01b615a0751e25058263041996b0b19adf819f102093ecaeef3364838e54bc WHIRLPOOL d376184e8f06a0b5c4cae82eea627b8dfc30874ff613251171e0e9d753bd7255db8417a79188ad96f52daf43fddc9ca094541090d4432f756ec5d7de679c7488
+DIST netbeans-trunk-nightly-201412080001-src.zip 199642324 SHA256 b13a7830fb7c88b2e188b3f5d4cf554597c9bf09990bff738f94c3d7a8eb9627 SHA512 079b33ccaf071b3db2bab3e92c189dbfe94c75640250080d1b710ae52e846a85a44569c3b5dc2e1ced6611df62ee6573e0957885498002b028e4d86344d171e9 WHIRLPOOL 9cf70238be22ffe165447cf7c75ce4fed9c0a43de377a9b4c99a6052d5fdd5aa525294b51c1e70b19b705d80d36da754f382026263a55008c67d05b53c82b812
 EBUILD netbeans-harness-7.0.1.ebuild 3579 SHA256 f4d09cb7bd5e8485caf75a3020ddb8102d3ea326878ac384ef4aecb011a1f6a5 SHA512 390c26b4a3dbc81ad1ef210b3ea668926398cb38ea13fa37dceb6782b4478b1ceb7a49e9db300f691fb8b31c21c56b25f4c3237c0890f0c637ca45f596c88294 WHIRLPOOL ae1e34af6dd61c30f645f39a825b6235e3eb1f9a42dd23431225513733209a2eb225a741b75342f827a4be0ffbf41b9786a6a6430051f543c321abe3c20da6bd
 EBUILD netbeans-harness-7.1.2.ebuild 3587 SHA256 e0adc470109009641bf48569623bf0fc51a400ac1ba686475c7dae1a5b561c96 SHA512 e4157a6b294c17fd7430802b33253d473120dc16173557e0d7840078f4043a383d5e3672af64f124509e54cc85d590abfa4375f181a32ab8b49e976cb6613cea WHIRLPOOL 423a5844a2c55ea99db4ac78e1c605a55a04f634601c0ac054e739c0ab4a3e9c765778dbd81ccf4a1e50e9d9e4cc29ecfad2ec64b483197927f434b67cd4d773
 EBUILD netbeans-harness-7.2.ebuild 3421 SHA256 47a5281d140b47e0235592c58657a9065d1827175ccca7d0c73fd81e90710090 SHA512 403fd1f49e11b27ef8002c4066fc911dbeadcccc7adddcdded86c6cd95e8bddaf0603c0ccafd0e91ef31a0909508deab1eb326e98e621bcbae7304413acca291 WHIRLPOOL fe3c5f95a606db39861a80201c185cb5a25e2d80698ac78ff724587b54e859f861b834b89aa79aac22f2c5da700532eaafae67fbcc33259ee07d578ba5c7f9ee
@@ -112,5 +113,6 @@ EBUILD netbeans-harness-9999_p20141202.ebuild 4131 SHA256 e96ce4ebfe6f68df6482f2
 EBUILD netbeans-harness-9999_p20141203.ebuild 4131 SHA256 e8d2c5fdc1ecaa8cd1b0779def20fb4222ef98cfaed77c7da5575729f8820f3e SHA512 33d46256b56dbbc1f13367ea3e8276bc34ceaa7bb1a0d052707e35e31d986b18f0a20cbc0264171db67e030ef789492faf41d6c4d1573eb03883f8408ec8a3c8 WHIRLPOOL 266ee8c96828c9ddaf1144f72324380c18c328402a264361cd2d1d40b2d5e82ad4fee877e04bcc864b6efd140bf2cc2da5d2699b20a882faab04cf8d1bb41f5a
 EBUILD netbeans-harness-9999_p20141204.ebuild 4131 SHA256 f257affad5a6989da9d39c80f01077e2ba89a954845c1c61b3a452514e3e746f SHA512 c6d03e8cb46eae52a48d461f31a8092019a4dd035eaffb4fd41e1d9961e5bf1f7f23283a55928cf0799a83282412bf889084a526d5ca1fa305f8c02307f4c398 WHIRLPOOL 07b7e069b78560c718f47a85633bc7f8e59f4a039eb29328d6890d603417f7d7145f98688a962361b3010331187dd53b7364ea408be255cf364d3686546f2ff4
 EBUILD netbeans-harness-9999_p20141207.ebuild 4131 SHA256 46459dd48217cb321802cd52347ae2414a1efc853f3f9338768e45e9425a351c SHA512 87dd971a1e4e9985ff99f25f339ce1d24804c54a86a8122df4915515670a9323607125a336d601a8b38bed694ecc94cca480f6b234587b5a119aca0a186e8994 WHIRLPOOL 1f34c194caf1a50b9a641c1f2241696b9608fefeb95545d4ed1548b7866b9a14bbb1656064bb67dcd00d77c3925d74c2c980c75697b5141e76f6ff8e3208cb7b
-MISC ChangeLog 140114 SHA256 0aa5b053f3013ee3d74b7fa3db9bfdddc22ffbc0ce4c5a3f8ba78434367410b2 SHA512 f428576385441d30f7af307b39fe506ff3c25345305532f27f7069d69b4b199ea0fc6239e4c01960549620a4d6669b9732fd40c493d632094d2a23afd8836894 WHIRLPOOL 6652d1f96169f52fbd7583246d5014af7153371fd80baee280216d2fa19482c0ffc59967dfed846dcb247dccfbc26714ccd920f88038ad9bad06ab22ffe202f8
+EBUILD netbeans-harness-9999_p20141208.ebuild 4131 SHA256 d566df7091cdbe3a0168b7368a89fd3d4bb197584e56ff15b938f21ff1038997 SHA512 bdbccb373df5d7db480d0e7199f4b0af6938a36906eec69eb2cf3d0a59379367f6f4a34d8c46ff967ea125a26c0e9738dffeeee31d9cb973e5800f6d9c926b36 WHIRLPOOL 352c3e5e65a2145716a674452456d64aaff094d5f49ec4a7f67d8748497410bb686bd48f3961847370af6bab9ac9cf9aff6c81450c09c1d1e050218f4d2e4c36
+MISC ChangeLog 140289 SHA256 8e63dd0e80aae32ae54559a48ca0cdb5b5bcbd9cb9c3d8ee5fd6af925f68471b SHA512 e8c68c91977ded23ed2c15b802facac394670b85af6ec83d9caf705294edf864a73d38700d55599358a39af0dcc64b877c7448f09efa8df1587f0ff960511f93 WHIRLPOOL 73c77d43457fa3b32cb878310d60ef5638a3116ca4abc1a507144a07d2a2b195ac2f0cddad1360455df79e0fdf94b2c3bb42ba073a56e4811ab8cea699bc9eb6
 MISC metadata.xml 251 SHA256 5a4ff53a9862390a48d45c79be24086646e7a6ff0c5bdf0fcb799d0871299003 SHA512 04153cbd9776ad56a94d6a47d043df15d082d8888df8658f18d0d4b659c6c0526ab3a9b22ccbe2471091bf2d8165f224854bc99c51f3664aaf350ccb93532a7c WHIRLPOOL 2ee8a646c6e23bc46c72cac0ecb5cfe43720ec42404ddaeed8ab1b59d139b3d5c1a94764de847f979da978c001c9f02f709d663a68eeea64d19e88f1fefbca43

diff --git a/dev-java/netbeans-harness/netbeans-harness-9999_p20141208.ebuild b/dev-java/netbeans-harness/netbeans-harness-9999_p20141208.ebuild
new file mode 100644
index 0000000..d5dae86
--- /dev/null
+++ b/dev-java/netbeans-harness/netbeans-harness-9999_p20141208.ebuild
@@ -0,0 +1,114 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+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/2014-12-08_00-01-49/zip/netbeans-trunk-nightly-201412080001-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.10.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/ChangeLog b/dev-java/netbeans-ide/ChangeLog
index 2a76089..e89e42c 100644
--- a/dev-java/netbeans-ide/ChangeLog
+++ b/dev-java/netbeans-ide/ChangeLog
@@ -2,6 +2,12 @@
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+*netbeans-ide-9999_p20141208 (08 Dec 2014)
+
+  08 Dec 2014; Miroslav Šulc <fordfrog@gentoo.org>
+  +netbeans-ide-9999_p20141208.ebuild:
+  bumped to the latest sources
+
 *netbeans-ide-8.0.2 (07 Dec 2014)
 
   07 Dec 2014; Miroslav Šulc <fordfrog@gentoo.org> +netbeans-ide-8.0.2.ebuild:

diff --git a/dev-java/netbeans-ide/Manifest b/dev-java/netbeans-ide/Manifest
index 26002bc..48c3dcc 100644
--- a/dev-java/netbeans-ide/Manifest
+++ b/dev-java/netbeans-ide/Manifest
@@ -192,7 +192,7 @@ DIST netbeans-7.4-build.xml.patch.bz2 2685 SHA256 3ffbe61e33ab28f39acbe28209469c
 DIST netbeans-8.0-201403101706-src.zip 194215149 SHA256 737a6fe9313e720590933773672c1f241820b795ce384a605743f3eeba0a9396 SHA512 dbc4ea3852ac0a698729a7698f2dccff427680bf01234c8a463268540e886f57b39697ec124fc0701cd52b558987961fc82e6f27bc9f0fc115159d250fddd676 WHIRLPOOL 47d914d023212076c463a99eda49b202aa6c05a2ffd5c32b61f97a4cd76930c94e18059292a8520359f38736e838a7c2d053ecf584493dbb3a9d8f5133ed6b36
 DIST netbeans-8.0-build.xml.patch.bz2 2685 SHA256 3ffbe61e33ab28f39acbe28209469c673ac97ba4620e9ab7391537b9d242da6a SHA512 247c67cf53ee40e94768d547218664cbf82c487f16982a43daed054a17327f168f35319ed4fa2def995adf3f0a6d25f85a3bb23ff4a84aa4e4f751257f255545 WHIRLPOOL bceeaebe6a7079910cfabcbf48738694b8b86a5ab7147002182eba3c305a310febe5861abdc3e63df904b45fcf3a5ecb3007c15611b59b4ce53406e578d13c47
 DIST netbeans-8.0.2-201411181905-src.zip 196585461 SHA256 581f80d3c2e8d87a0f007dd3f358ce0534a0bb2e4b3312cd6c8c7263713bc530 SHA512 9533de5b3c45e4a5b025213dd5602344e16d024e0cdb013f207ac3c7a9d8e63da19279f97910ad136777d75780c620224953f2974070d5c9833d1d6ef3fd427c WHIRLPOOL 2e45e83309743df167ddd1d58068848166d01ef6d9eec99ddf72b9ba7664cb182a04d6420ab03a9270842b3cd9a16a161c1eebb66953ef09158d8d521fb96516
-DIST netbeans-8.0.2-build.xml.patch.bz2 2671 SHA256 b5384db6533d41c7d3fdaffd3cd296d156ac99f0a026e3d74c4ac5b5d388a70f SHA512 1dd5dcf02fd81691b0f9c531470379138484dcbc271f65ba53a3844a1e697719e47cb98c90f92f92c5980a577d27370efc800297525f62da7211393ea0a18915 WHIRLPOOL c77621b5f4eea9e688d9714be9268d05f7c1e792d9d46d3a082418d8c1cb52c35f76d59f0befddc73f30a0e0e12c0af25b4b31c1cb69b68dd90e48638d7da509
+DIST netbeans-8.0.2-build.xml.patch.bz2 2678 SHA256 cf120f7fd8b4ad40e9abdcb09e7763fd93b4acef04ff0365e18f178706ea83bb SHA512 b61adf29bcb139207241c68513724f352420078583ca5e6d7856a4dd335ad36b7d05311eb6e14ff1c568aaf090de4ca083c32f6db1dec0b6f50d66a388bbedf7 WHIRLPOOL fb4d63329aa450a1b387fa45b59fa3c18d1a1ca8ecf9443111a3056d409a6d928d15dae275e9c564558f4b2abd54cc0f8db2df653ac432d9f58f8ef4dd747dff
 DIST netbeans-9999-r1-build.xml.patch.bz2 2379 SHA256 09cfedef0fd9d713ddc71a54848d7551ce750c15e3df00af7feef37d25260a7e SHA512 7f28a0b2536ea84ebaba26df072411f62db01873e7803f2e28400b55bd61f0857b5508668bd03894364333edf6b8cf9901b823980a8f51f8d6a711bd3a47cb59 WHIRLPOOL 74dcc47859101722f9879bf0cf2dadd210555560b2fcd036e43ac099c71fe0c712b360aadad8e88092a324c93ff42fc2e467e89e3227f23a24d55b9c9e2c27b6
 DIST netbeans-9999-r14-build.xml.patch.bz2 2671 SHA256 b5384db6533d41c7d3fdaffd3cd296d156ac99f0a026e3d74c4ac5b5d388a70f SHA512 1dd5dcf02fd81691b0f9c531470379138484dcbc271f65ba53a3844a1e697719e47cb98c90f92f92c5980a577d27370efc800297525f62da7211393ea0a18915 WHIRLPOOL c77621b5f4eea9e688d9714be9268d05f7c1e792d9d46d3a082418d8c1cb52c35f76d59f0befddc73f30a0e0e12c0af25b4b31c1cb69b68dd90e48638d7da509
 DIST netbeans-trunk-nightly-201410010001-src.zip 197355068 SHA256 0d284d68152ca0da1c8dfb7149e5b2638133fe3be6790f312c9959e59528144b SHA512 33ce5f22e9d3ac55d4f7b4b353956a39e030dee6380c5f379fba810f3ec86f8b36e88b773dbbf8bc3c430fc58caba9097764b7eac2d44ce2a25129f8f20fa4f2 WHIRLPOOL b4228286acec04cb321ca8aba60af42a7a1e2c20de1f657773166021a36e284b5ac4f49e9dbf8a51d81577b0d49d387707de3fcc0a622fd13b57c7d704b3da00
@@ -238,6 +238,7 @@ DIST netbeans-trunk-nightly-201412020001-src.zip 199498951 SHA256 c454e3862954d2
 DIST netbeans-trunk-nightly-201412030001-src.zip 199499099 SHA256 adae819d7f94b21e1b65d00dd39082305e79c34801397f474c2ed4e87745c19a SHA512 5eec00d8e086024101cd916bf01603ab2a4ff5b2acd4f03bed258e02b84ce678fe99f85f22824685ae5bc560f67093a4072d741c80a0e772b210569bfb8c75e3 WHIRLPOOL b08f24fb2df1ecb13833490696e331893a7001e668ea387e8c6a5b791b43631b7259db29c1ba76a5629bc001fe293ea1aa0108d213492600cfe057cfe6f6672b
 DIST netbeans-trunk-nightly-201412040001-src.zip 199544440 SHA256 1f721475c4cada742f1128627eba186360874a9a9d95f9634bd1ac8c2cd680d5 SHA512 26921a476d3b94fd7f636569306a2a072f10c6276acdb2b37c830eed3fdb983641ee44d675386fb04f2be760c9f1fe7f180fc43771329c602a05128a2ad2495a WHIRLPOOL 776a1e308af0da58535a9cd33a4b2901b3aeddb8fc61fed440f5c6bf0f86a746490f4e8dc3f7f787586763fc210a2f70771b9c42813703ee97206145cb6e4002
 DIST netbeans-trunk-nightly-201412070001-src.zip 199641850 SHA256 87bb9a998b5814f7d372433ab97ee3827f331a7f1ff92d9c7ba93a64f95d80ec SHA512 5e8ebd97085e603e09e5ea61fedbf12d069ad25edd0a4285dda6cb249ac5b9b75d01b615a0751e25058263041996b0b19adf819f102093ecaeef3364838e54bc WHIRLPOOL d376184e8f06a0b5c4cae82eea627b8dfc30874ff613251171e0e9d753bd7255db8417a79188ad96f52daf43fddc9ca094541090d4432f756ec5d7de679c7488
+DIST netbeans-trunk-nightly-201412080001-src.zip 199642324 SHA256 b13a7830fb7c88b2e188b3f5d4cf554597c9bf09990bff738f94c3d7a8eb9627 SHA512 079b33ccaf071b3db2bab3e92c189dbfe94c75640250080d1b710ae52e846a85a44569c3b5dc2e1ced6611df62ee6573e0957885498002b028e4d86344d171e9 WHIRLPOOL 9cf70238be22ffe165447cf7c75ce4fed9c0a43de377a9b4c99a6052d5fdd5aa525294b51c1e70b19b705d80d36da754f382026263a55008c67d05b53c82b812
 EBUILD netbeans-ide-7.0.1.ebuild 22653 SHA256 4c1b3e46e2a6cb89d902c7f4fe6ad9306cbd0c9463a514e87d4c6ec019dc0356 SHA512 5dd526a85a70720686c612efb3aa5602c395111d507b91ae4db04c5814b27bafd1480ab7e44e1148b7412f768543110ff58abdf676de303cd3be9d87b87bd373 WHIRLPOOL abaedc56df115c6050ad7824929ee959ba1669fc1f3f9d4cd1eb9f9f948a608828621f46aeedd0b6062c85b1ad4481d12f952a504559e52c110ff37b88ae0d72
 EBUILD netbeans-ide-7.1.2-r1.ebuild 26831 SHA256 2643a4435aa093e292a2728583d8ffbf213dac6a13dad8e47029ed13a2478493 SHA512 5ba14c7b820f2daae788588ae2fdebdc8af6bb870d6ed56adcc2d43810e5dbd2ea21ae639e6b864d6d0b1e69c9aa4f86dfb15e99eb4a170434aadf0109ad876a WHIRLPOOL c9367735f073f9fcf6bb992b6d481aaea1ebe8526907cb6366d432a3f47a0c4d76bc9224206e0e512708dfe896b465878a2a1ad68836c7cd9b51a3a4efa2aecc
 EBUILD netbeans-ide-7.1.2.ebuild 26834 SHA256 1e57e60a1a00b4530f917319b5d8eef915b9669b9dd3ab82b5afabe171d8959a SHA512 4242265c0783a87c028f955425c86596038aa477e3256ff8ba244220a573486bb7f2e47b07b3c94fbef07940a3b32c313a1320b58656a67cb15a490e7307b1ca WHIRLPOOL 1e23b1e4370292500f154527ecd7a0e7ca315ee73588806413f630355677ee8fe9318a0e672b5f6ad60f829c0a5579b37eedbd737bc8ec154aba9f59c53bd337
@@ -290,5 +291,6 @@ EBUILD netbeans-ide-9999_p20141202.ebuild 29641 SHA256 83ad1c5cdfcfbacc3ff73d2e9
 EBUILD netbeans-ide-9999_p20141203.ebuild 29641 SHA256 83f8d62e91658bb41a02ed5d23dfbd5906753c93d53c5d105f530a3987599d6b SHA512 acc077c7e4713d77fe576e3205d6c97f9c7f36cd34168316be54f8a1a59bf06cf15dd1b89f773edfeba781241dd64dd27df67082ea5473955c5e9221b535a4a6 WHIRLPOOL 956e9816b60a2b121c3eaec438678928124ace22ac7011e4683c2acd783669843c7ba37de95713c39195995c48d4338836b6a5fe3f0aa290bf8dadd92eb77bae
 EBUILD netbeans-ide-9999_p20141204.ebuild 29641 SHA256 94df7ef675d14af846907f2e38f8626fc368757a6ccc916a386901a5d5fd001d SHA512 0e6ec10a63e73061be47b7d961dbdb92e2e9ecc5ca8a51641b0f3e33e680284cc66b0809b3d932a81a19bedb6730502acff56b22c96ee5ff326b2648f324653f WHIRLPOOL 634cac991883b82971886465e31efffacb4d08d6b60ad75c0bb21b38e1d0f3f8e5421d221938d4a9fc2ae14218d04cc6c7112b734462f6c701c30f9f73ba04e2
 EBUILD netbeans-ide-9999_p20141207.ebuild 29641 SHA256 a472dc3a96a0ea39597a55b8fb3db1a54cfba26dca8894eedb0cf2d902181a75 SHA512 2927f48048d8f51bd8e6c2ce264d270bd90e0ac163d6bedb1194b10e09430a52c520fd00ff78accb0a547907614d1e78cc437b6435475d7f9445da518a63812a WHIRLPOOL b95598d632874c5509faedf0fac41a5e50b9cbea297ea4f3f47bab947cb4a9397bb14dbad7d9db049e45c44858f1bb31987a819166faf868fb5e5b3c4f5bce99
-MISC ChangeLog 133714 SHA256 2e78041b295084066de7855fdead592d3b0486f1f1b045428e769088a4fe57cf SHA512 bd41e635dd66f6b3370ff092aafdb650088dbcefeb884d073c22ffd0c59fde7c9b54624c6b5fe541784a9bdfef03840c752420ff93b8907ce6df0cb7c9b7c5d9 WHIRLPOOL 1436ae375f909c11965094638675baafaed2f3e97c930de1ca51d698cf625c0aa3e2c779fbe4798913b7fe306f78b446a0b2d02dea91ccd83ed16a4963495fa6
+EBUILD netbeans-ide-9999_p20141208.ebuild 29641 SHA256 9cbaab69923791e62ef35bfa5743162faeea6c5836169785c0cfdc982feee243 SHA512 74919b87a08eab1524d143289c6e2aace177b59d000f67da607543f4be1225b5c66168c768c7b7ff4a0f8e2b40f3e7d6b2184fbd811d16b613e9bfff31429d64 WHIRLPOOL ea00d500e073b5bd4ff3b0cbf5ea6fd0fcb623e04c955719ad92429139b96209f98fce2a173162785d40e7eb15d126424be65e6dea60d671cc601f2362e05305
+MISC ChangeLog 133881 SHA256 cfd52bc6628f234caff46af253a34120a01dd0931715d45a5ee394d5d82dab01 SHA512 bb7f7b56f4dea07cfa213c55119365b2c93b269da48cd1c2391f37838223776dc9d91f4bc1b66dbf77f94dbe37481abc0b97d1ee71dc33820646aceae74ee41d WHIRLPOOL a505959244e4c6ec34b1ae5eeefdf107cf5e87d3ad7603c076d52aa2bc674bf1e586fd3dcd1427399dcad122056b4157ec16bfa30c231e446eaa277c85f1c5c6
 MISC metadata.xml 251 SHA256 5a4ff53a9862390a48d45c79be24086646e7a6ff0c5bdf0fcb799d0871299003 SHA512 04153cbd9776ad56a94d6a47d043df15d082d8888df8658f18d0d4b659c6c0526ab3a9b22ccbe2471091bf2d8165f224854bc99c51f3664aaf350ccb93532a7c WHIRLPOOL 2ee8a646c6e23bc46c72cac0ecb5cfe43720ec42404ddaeed8ab1b59d139b3d5c1a94764de847f979da978c001c9f02f709d663a68eeea64d19e88f1fefbca43

diff --git a/dev-java/netbeans-ide/netbeans-ide-9999_p20141208.ebuild b/dev-java/netbeans-ide/netbeans-ide-9999_p20141208.ebuild
new file mode 100644
index 0000000..e08b7ac
--- /dev/null
+++ b/dev-java/netbeans-ide/netbeans-ide-9999_p20141208.ebuild
@@ -0,0 +1,373 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+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/2014-12-08_00-01-49/zip/netbeans-trunk-nightly-201412080001-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/A8762D07E76CFDE2395257A5DA47BA7C1DBD3DCE-commons-io-1.4.jar
+	http://hg.netbeans.org/binaries/CD0D5510908225F76C5FE5A3F1DF4FA44866F81E-commons-net-3.3.jar
+	http://hg.netbeans.org/binaries/901D8F815922C435D985DA3814D20E34CC7622CB-css21-spec.zip
+	http://hg.netbeans.org/binaries/53AFD6CAA1B476204557B0626E7D673FBD5D245C-css3-spec.zip
+	http://hg.netbeans.org/binaries/C9A6304FAA121C97CB2458B93D30B1FD6F0F7691-derbysampledb.zip
+	http://hg.netbeans.org/binaries/C40DFDACDF892D1BA14B540B32C11B6F34659931-exechlp-1.0.zip
+	http://hg.netbeans.org/binaries/5EEAAC41164FEBCB79C73BEBD678A7B6C10C3E80-freemarker-2.3.19.jar
+	http://hg.netbeans.org/binaries/75C30C488AD2A18A82C7FE3829F4A33FC7841643-glassfish-tooling-sdk-0.3-b054-246345.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/4388C34B9F085A42FBEA06C5B00FDF0A251171EC-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/DA6CE3C2EB334DB61EFA99CD66134619867368FA-js-corestubs.zip
+	http://hg.netbeans.org/binaries/997BF4A93B8A99E37AB51C9016D1D18CF5FF4B60-js-domstubs.zip
+	http://hg.netbeans.org/binaries/291540295937BAC426A5A5BDDB6D86604075F4C0-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/7052E115041D04410A4519A61307502FB7C138E6-org.eclipse.core.contenttype_3.4.100.v20110423-0524.jar
+	http://hg.netbeans.org/binaries/B19A4D998C76FE7A30830C96B9E3A47682F320FC-org.eclipse.core.jobs-3.5.101.jar
+	http://hg.netbeans.org/binaries/E64EF6A3FC5DB01AD95632B843706CCE56614C90-org.eclipse.core.net_1.2.100.I20110511-0800.jar
+	http://hg.netbeans.org/binaries/6658C235056134F7E86295E751129508802D71F2-org.eclipse.core.runtime-3.7.0.jar
+	http://hg.netbeans.org/binaries/0CA9B9DF8A8E4C6805C60A5761C470FCE8AE828F-org.eclipse.core.runtime.compatibility.auth_3.2.200.v20110110.jar
+	http://hg.netbeans.org/binaries/9C74D245214DB08E7EB9BC07A951B41CFE3E3648-org.eclipse.equinox.app-1.3.100.jar
+	http://hg.netbeans.org/binaries/78E5D0B8516B042495660DA36CE5114650F8F156-org.eclipse.equinox.common_3.6.0.v20110523.jar
+	http://hg.netbeans.org/binaries/FD94003A1BCE42008753522BFED68E5A84B92644-org.eclipse.equinox.preferences-3.4.2.jar
+	http://hg.netbeans.org/binaries/54AE046B40C9095C2637F8D21664C5CD76E34485-org.eclipse.equinox.registry_3.5.200.v20120522-1841.jar
+	http://hg.netbeans.org/binaries/0FFB9B1D7CD992CE6C8AAEEC2F6F98DFBB1D2F91-org.eclipse.equinox.security-1.1.1.jar
+	http://hg.netbeans.org/binaries/7FE73A21F4A078ABAAFACE4D2B03B5EB3D306F63-org.eclipse.jgit-3.4.1.201406201815-r.jar
+	http://hg.netbeans.org/binaries/49F1EFEBC8CECA5D514209BE18A048EB5707C0A7-org.eclipse.jgit.java7-3.4.1.201406201815-r.jar
+	http://hg.netbeans.org/binaries/A94F8F805202B28236FFBC03C1CA149129DAEA1C-org.eclipse.mylyn.bugzilla.core_3.10.0.20131024-1218.jar
+	http://hg.netbeans.org/binaries/19D64C17A692D2023E22B16AD515118DF6427790-org.eclipse.mylyn.commons.core_3.10.0.20130926-1710.jar
+	http://hg.netbeans.org/binaries/A1BF01D1DD09274446738C3F83360314B8881CD5-org.eclipse.mylyn.commons.net_3.10.0.20131018-1210.jar
+	http://hg.netbeans.org/binaries/136A7EB3BB9B2559C5F9184B438F108C959B3C03-org.eclipse.mylyn.commons.repositories.core_1.2.0.20130704-2116.jar
+	http://hg.netbeans.org/binaries/531746EBE57071AB7F8CCC7ACB0E806F25893916-org.eclipse.mylyn.commons.xmlrpc_3.10.0.20130704-2116.jar
+	http://hg.netbeans.org/binaries/D3ED088A49DE9E5163457E9279181DD4185BFBE6-org.eclipse.mylyn.tasks.core_3.10.0.20131010-2023.jar
+	http://hg.netbeans.org/binaries/8D4278A9F47D17A104182E59CF06D682B3DE0B3E-org.eclipse.mylyn.wikitext.confluence.core_1.9.0.20131007-2055.jar
+	http://hg.netbeans.org/binaries/1FC011B8A350B70950B3F1D722D7F2890C6E76D8-org.eclipse.mylyn.wikitext.core_1.9.0.20131007-2055.jar
+	http://hg.netbeans.org/binaries/6E914CA3075C8FDF7652F04A02868CF32F2EDCE3-org.eclipse.mylyn.wikitext.textile.core_1.9.0.20131007-2055.jar
+	http://hg.netbeans.org/binaries/8A2F6232978E0330A5D36F19BA0686F96FB980B5-org.tmatesoft.svnkit_1.8.4.r10218_v20140302_1242.jar
+	http://hg.netbeans.org/binaries/820FD32B3FB7F885996B15474F220BDCCACD6D27-processtreekiller-1.0.2.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/CE9A1C96875443F2FDD5127B750DA39CF4CE818B-com.trilead.ssh2_1.0.0.build217_r155_v20130603_1628.jar
+	http://hg.netbeans.org/binaries/89BC047153217F5254506F4C622A771A78883CBC-ValidationAPI.jar
+	http://hg.netbeans.org/binaries/6FC6098C230D7CBA5730106D379CBBB42F6EC48A-validator.jar
+	http://hg.netbeans.org/binaries/C9757EFB2CFBA523A7375A78FA9ECFAF0D0AC505-winp-1.14-patched.jar
+	http://hg.netbeans.org/binaries/64F5BEEADD2A239C4BC354B8DFDB97CF7FDD9983-xmlrpc-client-3.0.jar
+	http://hg.netbeans.org/binaries/8FA16AD28B5E79A7CD52B8B72985B0AE8CCD6ADF-xmlrpc-common-3.0.jar
+	http://hg.netbeans.org/binaries/D6917BF718583002CBE44E773EE21E2DF08ADC71-xmlrpc-server-3.0.jar"
+LICENSE="|| ( CDDL GPL-2-with-linking-exception )"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+S="${WORKDIR}"
+
+CDEPEND="~dev-java/netbeans-harness-${PV}
+	~dev-java/netbeans-platform-${PV}
+	dev-java/commons-httpclient:3
+	dev-java/commons-lang:2.1
+	dev-java/commons-logging:0
+	dev-java/icu4j:4.4
+	dev-java/iso-relax:0
+	dev-java/jdbc-mysql:0
+	dev-java/jdbc-postgresql:0
+	>=dev-java/json-simple-1.1:0
+	dev-java/jsr173:0
+	dev-java/jvyamlb:0
+	dev-java/log4j:0
+	dev-java/lucene:3.5
+	dev-java/rhino:1.6
+	dev-java/saxon:9
+	dev-java/smack:2.2
+	dev-java/sun-jaf:0
+	dev-java/tomcat-servlet-api:2.2
+	dev-java/ws-commons-util:0
+	dev-java/xerces:2"
+#	dev-vcs/subversion>=1.8.4:0[java] missing from the tree
+#	app-text/jing:0 our version is probably too old
+#	dev-java/commons-io:1 fails with "Missing manifest tag OpenIDE-Module"
+#	dev-java/freemarker:2.3
+#	dev-java/ini4j:0 our version is too old
+#	dev-java/jaxb:2 upstream version contains more stuff so websvccommon does not compile with ours
+#	dev-java/trilead-ssh2:0 in overlay
+DEPEND=">=virtual/jdk-1.7
+	app-arch/unzip
+	dev-java/commons-codec:0
+	>=dev-java/jsch-0.1.46:0
+	dev-java/jzlib: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}"/A8762D07E76CFDE2395257A5DA47BA7C1DBD3DCE-commons-io-1.4.jar o.apache.commons.io/external/commons-io-1.4.jar || die
+	ln -s "${DISTDIR}"/CD0D5510908225F76C5FE5A3F1DF4FA44866F81E-commons-net-3.3.jar libs.commons_net/external/commons-net-3.3.jar || die
+	ln -s "${DISTDIR}"/901D8F815922C435D985DA3814D20E34CC7622CB-css21-spec.zip css.editor/external/css21-spec.zip || die
+	ln -s "${DISTDIR}"/53AFD6CAA1B476204557B0626E7D673FBD5D245C-css3-spec.zip css.editor/external/css3-spec.zip || die
+	ln -s "${DISTDIR}"/C9A6304FAA121C97CB2458B93D30B1FD6F0F7691-derbysampledb.zip derby/external/derbysampledb.zip || die
+	ln -s "${DISTDIR}"/C40DFDACDF892D1BA14B540B32C11B6F34659931-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}"/75C30C488AD2A18A82C7FE3829F4A33FC7841643-glassfish-tooling-sdk-0.3-b054-246345.jar libs.glassfish.sdk/external/glassfish-tooling-sdk-0.3-b054-246345.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}"/4388C34B9F085A42FBEA06C5B00FDF0A251171EC-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}"/DA6CE3C2EB334DB61EFA99CD66134619867368FA-js-corestubs.zip javascript2.editor/external/js-corestubs.zip || die
+	ln -s "${DISTDIR}"/997BF4A93B8A99E37AB51C9016D1D18CF5FF4B60-js-domstubs.zip javascript2.editor/external/js-domstubs.zip || die
+	ln -s "${DISTDIR}"/291540295937BAC426A5A5BDDB6D86604075F4C0-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}"/7052E115041D04410A4519A61307502FB7C138E6-org.eclipse.core.contenttype_3.4.100.v20110423-0524.jar o.eclipse.core.contenttype/external/org.eclipse.core.contenttype_3.4.100.v20110423-0524.jar || die
+	ln -s "${DISTDIR}"/B19A4D998C76FE7A30830C96B9E3A47682F320FC-org.eclipse.core.jobs-3.5.101.jar o.eclipse.core.jobs/external/org.eclipse.core.jobs-3.5.101.jar || die
+	ln -s "${DISTDIR}"/E64EF6A3FC5DB01AD95632B843706CCE56614C90-org.eclipse.core.net_1.2.100.I20110511-0800.jar o.eclipse.core.net/external/org.eclipse.core.net_1.2.100.I20110511-0800.jar || die
+	ln -s "${DISTDIR}"/6658C235056134F7E86295E751129508802D71F2-org.eclipse.core.runtime-3.7.0.jar o.eclipse.core.runtime/external/org.eclipse.core.runtime-3.7.0.jar || die
+	ln -s "${DISTDIR}"/0CA9B9DF8A8E4C6805C60A5761C470FCE8AE828F-org.eclipse.core.runtime.compatibility.auth_3.2.200.v20110110.jar o.eclipse.core.runtime.compatibility.auth/external/org.eclipse.core.runtime.compatibility.auth_3.2.200.v20110110.jar || die
+	ln -s "${DISTDIR}"/9C74D245214DB08E7EB9BC07A951B41CFE3E3648-org.eclipse.equinox.app-1.3.100.jar o.eclipse.equinox.app/external/org.eclipse.equinox.app-1.3.100.jar || die
+	ln -s "${DISTDIR}"/78E5D0B8516B042495660DA36CE5114650F8F156-org.eclipse.equinox.common_3.6.0.v20110523.jar o.eclipse.equinox.common/external/org.eclipse.equinox.common_3.6.0.v20110523.jar || die
+	ln -s "${DISTDIR}"/FD94003A1BCE42008753522BFED68E5A84B92644-org.eclipse.equinox.preferences-3.4.2.jar o.eclipse.equinox.preferences/external/org.eclipse.equinox.preferences-3.4.2.jar || die
+	ln -s "${DISTDIR}"/54AE046B40C9095C2637F8D21664C5CD76E34485-org.eclipse.equinox.registry_3.5.200.v20120522-1841.jar o.eclipse.equinox.registry/external/org.eclipse.equinox.registry_3.5.200.v20120522-1841.jar || die
+	ln -s "${DISTDIR}"/0FFB9B1D7CD992CE6C8AAEEC2F6F98DFBB1D2F91-org.eclipse.equinox.security-1.1.1.jar o.eclipse.equinox.security/external/org.eclipse.equinox.security-1.1.1.jar || die
+	ln -s "${DISTDIR}"/7FE73A21F4A078ABAAFACE4D2B03B5EB3D306F63-org.eclipse.jgit-3.4.1.201406201815-r.jar o.eclipse.jgit/external/org.eclipse.jgit-3.4.1.201406201815-r.jar || die
+	ln -s "${DISTDIR}"/49F1EFEBC8CECA5D514209BE18A048EB5707C0A7-org.eclipse.jgit.java7-3.4.1.201406201815-r.jar o.eclipse.jgit.java7/external/org.eclipse.jgit.java7-3.4.1.201406201815-r.jar || die
+	ln -s "${DISTDIR}"/A94F8F805202B28236FFBC03C1CA149129DAEA1C-org.eclipse.mylyn.bugzilla.core_3.10.0.20131024-1218.jar o.eclipse.mylyn.bugzilla.core/external/org.eclipse.mylyn.bugzilla.core_3.10.0.20131024-1218.jar || die
+	ln -s "${DISTDIR}"/19D64C17A692D2023E22B16AD515118DF6427790-org.eclipse.mylyn.commons.core_3.10.0.20130926-1710.jar o.eclipse.mylyn.commons.core/external/org.eclipse.mylyn.commons.core_3.10.0.20130926-1710.jar || die
+	ln -s "${DISTDIR}"/A1BF01D1DD09274446738C3F83360314B8881CD5-org.eclipse.mylyn.commons.net_3.10.0.20131018-1210.jar o.eclipse.mylyn.commons.net/external/org.eclipse.mylyn.commons.net_3.10.0.20131018-1210.jar || die
+	ln -s "${DISTDIR}"/136A7EB3BB9B2559C5F9184B438F108C959B3C03-org.eclipse.mylyn.commons.repositories.core_1.2.0.20130704-2116.jar o.eclipse.mylyn.commons.repositories.core/external/org.eclipse.mylyn.commons.repositories.core_1.2.0.20130704-2116.jar || die
+	ln -s "${DISTDIR}"/531746EBE57071AB7F8CCC7ACB0E806F25893916-org.eclipse.mylyn.commons.xmlrpc_3.10.0.20130704-2116.jar o.eclipse.mylyn.commons.xmlrpc/external/org.eclipse.mylyn.commons.xmlrpc_3.10.0.20130704-2116.jar || die
+	ln -s "${DISTDIR}"/D3ED088A49DE9E5163457E9279181DD4185BFBE6-org.eclipse.mylyn.tasks.core_3.10.0.20131010-2023.jar o.eclipse.mylyn.tasks.core/external/org.eclipse.mylyn.tasks.core_3.10.0.20131010-2023.jar || die
+	ln -s "${DISTDIR}"/8D4278A9F47D17A104182E59CF06D682B3DE0B3E-org.eclipse.mylyn.wikitext.confluence.core_1.9.0.20131007-2055.jar o.eclipse.mylyn.wikitext.confluence.core/external/org.eclipse.mylyn.wikitext.confluence.core_1.9.0.20131007-2055.jar || die
+	ln -s "${DISTDIR}"/1FC011B8A350B70950B3F1D722D7F2890C6E76D8-org.eclipse.mylyn.wikitext.core_1.9.0.20131007-2055.jar o.eclipse.mylyn.wikitext.core/external/org.eclipse.mylyn.wikitext.core_1.9.0.20131007-2055.jar || die
+	ln -s "${DISTDIR}"/6E914CA3075C8FDF7652F04A02868CF32F2EDCE3-org.eclipse.mylyn.wikitext.textile.core_1.9.0.20131007-2055.jar o.eclipse.mylyn.wikitext.textile.core/external/org.eclipse.mylyn.wikitext.textile.core_1.9.0.20131007-2055.jar  || die
+	ln -s "${DISTDIR}"/8A2F6232978E0330A5D36F19BA0686F96FB980B5-org.tmatesoft.svnkit_1.8.4.r10218_v20140302_1242.jar libs.svnClientAdapter.svnkit/external/org.tmatesoft.svnkit_1.8.4.r10218_v20140302_1242.jar || die
+	ln -s "${DISTDIR}"/820FD32B3FB7F885996B15474F220BDCCACD6D27-processtreekiller-1.0.2.jar extexecution.process/external/processtreekiller-1.0.2.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}"/CE9A1C96875443F2FDD5127B750DA39CF4CE818B-com.trilead.ssh2_1.0.0.build217_r155_v20130603_1628.jar libs.svnClientAdapter.svnkit/external/com.trilead.ssh2_1.0.0.build217_r155_v20130603_1628.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 --build-only --into c.jcraft.jsch/external jsch jsch.jar jsch-0.1.49.jar
+	java-pkg_jar-from --build-only --into c.jcraft.jzlib/external jzlib jzlib.jar jzlib-1.0.7.jar
+	java-pkg_jar-from --into db.drivers/external jdbc-mysql jdbc-mysql.jar mysql-connector-java-5.1.23-bin.jar
+	java-pkg_jar-from --into db.drivers/external jdbc-postgresql jdbc-postgresql.jar postgresql-9.2-1002.jdbc4.jar
+	java-pkg_jar-from --build-only --into db.sql.visualeditor/external javacc javacc.jar javacc-3.2.jar
+	java-pkg_jar-from --into html.parser/external icu4j-4.4 icu4j.jar icu4j-4_4_2.jar
+	java-pkg_jar-from --into html.validation/external iso-relax isorelax.jar isorelax.jar
+	java-pkg_jar-from --into html.validation/external log4j log4j.jar log4j-1.2.15.jar
+	java-pkg_jar-from --into html.validation/external saxon-9 saxon.jar saxon9B.jar
+	# java-pkg_jar-from --into libs.freemarker/external freemarker-2.3 freemarker.jar freemarker-2.3.19.jar
+	java-pkg_jar-from --into libs.jvyamlb/external jvyamlb jvyamlb.jar jvyamlb-0.2.3.jar
+	java-pkg_jar-from --into libs.lucene/external lucene-3.5 lucene-core.jar lucene-core-3.5.0.jar
+	java-pkg_jar-from --into libs.smack/external smack-2.2 smack.jar smack.jar
+	java-pkg_jar-from --into libs.smack/external smack-2.2 smackx.jar smackx.jar
+	# java-pkg_jar-from --into libs.svnClientAdapter.javahl/external subversion svn-javahl.jar svnjavahl-1.8.4.jar
+	java-pkg_jar-from --into libs.xerces/external xerces-2 xercesImpl.jar xerces-2.8.0.jar
+	java-pkg_jar-from --build-only --into o.apache.commons.codec/external commons-codec commons-codec.jar apache-commons-codec-1.3.jar
+	java-pkg_jar-from --into o.apache.commons.httpclient/external commons-httpclient-3 commons-httpclient.jar commons-httpclient-3.1.jar
+	java-pkg_jar-from --into o.apache.commons.lang/external commons-lang-2.1 commons-lang.jar commons-lang-2.4.jar
+	java-pkg_jar-from --into o.apache.commons.logging/external commons-logging commons-logging.jar commons-logging-1.1.1.jar
+	java-pkg_jar-from --into o.apache.ws.commons.util/external ws-commons-util ws-commons-util.jar ws-commons-util-1.0.1.jar
+	java-pkg_jar-from --into servletapi/external tomcat-servlet-api-2.2 servlet.jar servlet-2.2.jar
+	java-pkg_jar-from --into xml.jaxb.api/external sun-jaf activation.jar activation.jar
+	java-pkg_jar-from --into xml.jaxb.api/external jsr173 jsr173.jar jsr173_1.0_api.jar
+
+	java-pkg-2_src_prepare
+}
+
+src_compile() {
+	unset DISPLAY
+	eant -f ${EANT_BUILD_XML} ${EANT_EXTRA_ARGS} ${EANT_BUILD_TARGET} || die "Compilation failed"
+}
+
+src_install() {
+	pushd nbbuild/netbeans/ide >/dev/null || die
+
+	insinto ${INSTALL_DIR}
+
+	grep -E "/ide$" ../moduleCluster.properties > "${D}"/${INSTALL_DIR}/moduleCluster.properties || die
+
+	doins -r *
+	rm -fr "${D}"/${INSTALL_DIR}/bin/nativeexecution || die
+	rm -fr "${D}"/${INSTALL_DIR}/modules/lib || die
+
+	insinto ${INSTALL_DIR}/bin/nativeexecution
+	doins bin/nativeexecution/*
+
+	pushd "${D}"/${INSTALL_DIR}/bin/nativeexecution >/dev/null || die
+	for file in *.sh ; do
+		fperms 755 ${file}
+	done
+	popd >/dev/null || die
+
+	if use x86 ; then
+		doins -r bin/nativeexecution/Linux-x86
+		pushd "${D}"/${INSTALL_DIR}/bin/nativeexecution/Linux-x86 >/dev/null || die
+		for file in * ; do
+			fperms 755 ${file}
+		done
+		popd >/dev/null || die
+	elif use amd64 ; then
+		doins -r bin/nativeexecution/Linux-x86_64
+		pushd "${D}"/${INSTALL_DIR}/bin/nativeexecution/Linux-x86_64 >/dev/null || die
+		for file in * ; do
+			fperms 755 ${file}
+		done
+		popd >/dev/null || die
+	fi
+
+	popd >/dev/null || die
+
+	local instdir=${INSTALL_DIR}/modules/ext
+	pushd "${D}"/${instdir} >/dev/null || die
+	# rm freemarker-2.3.19.jar && dosym /usr/share/freemarker-2.3/lib/freemarker.jar ${instdir}/freemarker-2.3.19.jar || die
+	rm icu4j-4_4_2.jar && dosym /usr/share/icu4j-4.4/lib/icu4j.jar ${instdir}/icu4j-4_4_2.jar || die
+	rm isorelax.jar && dosym /usr/share/iso-relax/lib/isorelax.jar ${instdir}/isorelax.jar || die
+	rm json-simple-1.1.1.jar && dosym /usr/share/json-simple/lib/json-simple.jar ${instdir}/json-simple-1.1.1.jar || die
+	rm jvyamlb-0.2.3.jar && dosym /usr/share/jvyamlb/lib/jvyamlb.jar ${instdir}/jvyamlb-0.2.3.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/ChangeLog b/dev-java/netbeans-java/ChangeLog
index ac26995..890467f 100644
--- a/dev-java/netbeans-java/ChangeLog
+++ b/dev-java/netbeans-java/ChangeLog
@@ -2,6 +2,12 @@
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+*netbeans-java-9999_p20141208 (08 Dec 2014)
+
+  08 Dec 2014; Miroslav Šulc <fordfrog@gentoo.org>
+  +netbeans-java-9999_p20141208.ebuild:
+  bumped to the latest sources
+
 *netbeans-java-8.0.2 (07 Dec 2014)
 
   07 Dec 2014; Miroslav Šulc <fordfrog@gentoo.org>

diff --git a/dev-java/netbeans-java/Manifest b/dev-java/netbeans-java/Manifest
index 0612a4f..81ea023 100644
--- a/dev-java/netbeans-java/Manifest
+++ b/dev-java/netbeans-java/Manifest
@@ -88,7 +88,7 @@ DIST netbeans-7.4-build.xml.patch.bz2 2685 SHA256 3ffbe61e33ab28f39acbe28209469c
 DIST netbeans-8.0-201403101706-src.zip 194215149 SHA256 737a6fe9313e720590933773672c1f241820b795ce384a605743f3eeba0a9396 SHA512 dbc4ea3852ac0a698729a7698f2dccff427680bf01234c8a463268540e886f57b39697ec124fc0701cd52b558987961fc82e6f27bc9f0fc115159d250fddd676 WHIRLPOOL 47d914d023212076c463a99eda49b202aa6c05a2ffd5c32b61f97a4cd76930c94e18059292a8520359f38736e838a7c2d053ecf584493dbb3a9d8f5133ed6b36
 DIST netbeans-8.0-build.xml.patch.bz2 2685 SHA256 3ffbe61e33ab28f39acbe28209469c673ac97ba4620e9ab7391537b9d242da6a SHA512 247c67cf53ee40e94768d547218664cbf82c487f16982a43daed054a17327f168f35319ed4fa2def995adf3f0a6d25f85a3bb23ff4a84aa4e4f751257f255545 WHIRLPOOL bceeaebe6a7079910cfabcbf48738694b8b86a5ab7147002182eba3c305a310febe5861abdc3e63df904b45fcf3a5ecb3007c15611b59b4ce53406e578d13c47
 DIST netbeans-8.0.2-201411181905-src.zip 196585461 SHA256 581f80d3c2e8d87a0f007dd3f358ce0534a0bb2e4b3312cd6c8c7263713bc530 SHA512 9533de5b3c45e4a5b025213dd5602344e16d024e0cdb013f207ac3c7a9d8e63da19279f97910ad136777d75780c620224953f2974070d5c9833d1d6ef3fd427c WHIRLPOOL 2e45e83309743df167ddd1d58068848166d01ef6d9eec99ddf72b9ba7664cb182a04d6420ab03a9270842b3cd9a16a161c1eebb66953ef09158d8d521fb96516
-DIST netbeans-8.0.2-build.xml.patch.bz2 2671 SHA256 b5384db6533d41c7d3fdaffd3cd296d156ac99f0a026e3d74c4ac5b5d388a70f SHA512 1dd5dcf02fd81691b0f9c531470379138484dcbc271f65ba53a3844a1e697719e47cb98c90f92f92c5980a577d27370efc800297525f62da7211393ea0a18915 WHIRLPOOL c77621b5f4eea9e688d9714be9268d05f7c1e792d9d46d3a082418d8c1cb52c35f76d59f0befddc73f30a0e0e12c0af25b4b31c1cb69b68dd90e48638d7da509
+DIST netbeans-8.0.2-build.xml.patch.bz2 2678 SHA256 cf120f7fd8b4ad40e9abdcb09e7763fd93b4acef04ff0365e18f178706ea83bb SHA512 b61adf29bcb139207241c68513724f352420078583ca5e6d7856a4dd335ad36b7d05311eb6e14ff1c568aaf090de4ca083c32f6db1dec0b6f50d66a388bbedf7 WHIRLPOOL fb4d63329aa450a1b387fa45b59fa3c18d1a1ca8ecf9443111a3056d409a6d928d15dae275e9c564558f4b2abd54cc0f8db2df653ac432d9f58f8ef4dd747dff
 DIST netbeans-9999-r1-build.xml.patch.bz2 2379 SHA256 09cfedef0fd9d713ddc71a54848d7551ce750c15e3df00af7feef37d25260a7e SHA512 7f28a0b2536ea84ebaba26df072411f62db01873e7803f2e28400b55bd61f0857b5508668bd03894364333edf6b8cf9901b823980a8f51f8d6a711bd3a47cb59 WHIRLPOOL 74dcc47859101722f9879bf0cf2dadd210555560b2fcd036e43ac099c71fe0c712b360aadad8e88092a324c93ff42fc2e467e89e3227f23a24d55b9c9e2c27b6
 DIST netbeans-9999-r14-build.xml.patch.bz2 2671 SHA256 b5384db6533d41c7d3fdaffd3cd296d156ac99f0a026e3d74c4ac5b5d388a70f SHA512 1dd5dcf02fd81691b0f9c531470379138484dcbc271f65ba53a3844a1e697719e47cb98c90f92f92c5980a577d27370efc800297525f62da7211393ea0a18915 WHIRLPOOL c77621b5f4eea9e688d9714be9268d05f7c1e792d9d46d3a082418d8c1cb52c35f76d59f0befddc73f30a0e0e12c0af25b4b31c1cb69b68dd90e48638d7da509
 DIST netbeans-trunk-nightly-201410010001-src.zip 197355068 SHA256 0d284d68152ca0da1c8dfb7149e5b2638133fe3be6790f312c9959e59528144b SHA512 33ce5f22e9d3ac55d4f7b4b353956a39e030dee6380c5f379fba810f3ec86f8b36e88b773dbbf8bc3c430fc58caba9097764b7eac2d44ce2a25129f8f20fa4f2 WHIRLPOOL b4228286acec04cb321ca8aba60af42a7a1e2c20de1f657773166021a36e284b5ac4f49e9dbf8a51d81577b0d49d387707de3fcc0a622fd13b57c7d704b3da00
@@ -134,6 +134,7 @@ DIST netbeans-trunk-nightly-201412020001-src.zip 199498951 SHA256 c454e3862954d2
 DIST netbeans-trunk-nightly-201412030001-src.zip 199499099 SHA256 adae819d7f94b21e1b65d00dd39082305e79c34801397f474c2ed4e87745c19a SHA512 5eec00d8e086024101cd916bf01603ab2a4ff5b2acd4f03bed258e02b84ce678fe99f85f22824685ae5bc560f67093a4072d741c80a0e772b210569bfb8c75e3 WHIRLPOOL b08f24fb2df1ecb13833490696e331893a7001e668ea387e8c6a5b791b43631b7259db29c1ba76a5629bc001fe293ea1aa0108d213492600cfe057cfe6f6672b
 DIST netbeans-trunk-nightly-201412040001-src.zip 199544440 SHA256 1f721475c4cada742f1128627eba186360874a9a9d95f9634bd1ac8c2cd680d5 SHA512 26921a476d3b94fd7f636569306a2a072f10c6276acdb2b37c830eed3fdb983641ee44d675386fb04f2be760c9f1fe7f180fc43771329c602a05128a2ad2495a WHIRLPOOL 776a1e308af0da58535a9cd33a4b2901b3aeddb8fc61fed440f5c6bf0f86a746490f4e8dc3f7f787586763fc210a2f70771b9c42813703ee97206145cb6e4002
 DIST netbeans-trunk-nightly-201412070001-src.zip 199641850 SHA256 87bb9a998b5814f7d372433ab97ee3827f331a7f1ff92d9c7ba93a64f95d80ec SHA512 5e8ebd97085e603e09e5ea61fedbf12d069ad25edd0a4285dda6cb249ac5b9b75d01b615a0751e25058263041996b0b19adf819f102093ecaeef3364838e54bc WHIRLPOOL d376184e8f06a0b5c4cae82eea627b8dfc30874ff613251171e0e9d753bd7255db8417a79188ad96f52daf43fddc9ca094541090d4432f756ec5d7de679c7488
+DIST netbeans-trunk-nightly-201412080001-src.zip 199642324 SHA256 b13a7830fb7c88b2e188b3f5d4cf554597c9bf09990bff738f94c3d7a8eb9627 SHA512 079b33ccaf071b3db2bab3e92c189dbfe94c75640250080d1b710ae52e846a85a44569c3b5dc2e1ced6611df62ee6573e0957885498002b028e4d86344d171e9 WHIRLPOOL 9cf70238be22ffe165447cf7c75ce4fed9c0a43de377a9b4c99a6052d5fdd5aa525294b51c1e70b19b705d80d36da754f382026263a55008c67d05b53c82b812
 EBUILD netbeans-java-7.0.1-r2.ebuild 14932 SHA256 3d8eeb5c3aea368c5064e83e9519b2982a3d0f999db11344ba33605f46f865b0 SHA512 0c99037f44aa968f357724650189fe0f6fc89496fbf73f6c5a9bcd589afa5af4974f058a8eea2b6a97e1884f4cabba8b5ecf0214b7e840870358f0e55abbc595 WHIRLPOOL 4c1ccada62d0c8883033500ead9586e5bfcd360e6030b3d8368b0b16b9ed01cc03d3c3d5888de437a16d5382b5fe9ec7c02f3e200c3c19bc9a43f011f32d3a68
 EBUILD netbeans-java-7.1.2-r1.ebuild 14936 SHA256 6082d8d5022e011e7aa9d4ff92bf9a144a4f733b879127552c0ca55566b0f18c SHA512 c03a674b6d93a4261bff40ad9aaad6fa9bc0451d6017aeb51f14c42113cc2ff12f84ff5a6cc01c01b43c7ce1b4d885da5c9cb4c0e13601c8ff780eb140060ac6 WHIRLPOOL d32f06a7bd7d4924f14fcb2ed67fd2f5a1766087e4f46ed77d12d472c4c133eef5431d75a709da1abcf8b8cff5afef303dd57e82e4022651a7278076502300d6
 EBUILD netbeans-java-7.2.ebuild 12206 SHA256 da05f74f2c02e4aac745dcf1be75069cc7070f241d063c19c40465e139ac135f SHA512 62be228321e175ad03c2a7d9270065445ba9e1ca08a1a51927027ddbc78aa43a0c57c6b4193add993764235068c7128655f2f12e00fcd17fbac807334f2483c6 WHIRLPOOL 5f518535df8a5f1e1e4f0bc5c845ca063317221c619c3e8928c89a4f2bb30be5a03838f5a610bcda58959d535e4fb152f92f4edd780bcd423918b448d7ddf2e1
@@ -184,5 +185,6 @@ EBUILD netbeans-java-9999_p20141202.ebuild 13405 SHA256 63d47b300112d788f1b352f6
 EBUILD netbeans-java-9999_p20141203.ebuild 13405 SHA256 3d47b4f900ad41ac0a9fd69dc25594782b65e9051e8f2c6a0e90e1eba9dfa4fd SHA512 8e09ad0f07501c82e19056e98a75f518da455f7adcf226d7adcf780f81bc542204895478aa35efa8418f987ff5893fde22d4456751cababbe63000fb30654b7d WHIRLPOOL ca16fd938de45a296dfed80834f15704de04645192218faa3021156f7c7557f0acd8f5bf9b239da635ef7c1821c77632e26cdfdc4050da884b1f4a07b29cd992
 EBUILD netbeans-java-9999_p20141204.ebuild 13405 SHA256 19bb9e85738004c1d3007c0a782c82cc956adc8ad3619d6399fbc51af2eb7b11 SHA512 1f24a97bcb4110c3b19a9a4b1c1820c566753de576104c62db238d1a0b2a02ab5b574136357b907cd848ea5978a722782c2a487fdc5e039a42ddad6cbfc6af9a WHIRLPOOL 8a03c74d3377166e6b18ed6d5dd532a07486a4799574b5d6284d523f0f699f470b8674fe8f555aadc5974e39f57de04a0f0a330a82f7662383c3a9e184f0cc0f
 EBUILD netbeans-java-9999_p20141207.ebuild 13405 SHA256 6118d26adbb0cae9a9d156a16d04acb72eba4356f4a13903658bb951fbbf3920 SHA512 9ba0e0924449c2d36ff8644fcd19e128efbbf8cb9bc5c0b7e331a9d1c1901eb88ff3d58d1d3facfaa7a15ca8099e2f55e102e562d207f27e8e91fb20b27301ec WHIRLPOOL 92836b9e145535660b0fc7972c4cc11d22a11313b05ea3d698da46eda1832a73df4b09420ab53cc50bfa3ba08c9793826945df42e604a16f12c66b5e64ac0a5a
-MISC ChangeLog 136231 SHA256 a71e2aaf251c14e3498044bf7d2ad5066a5be1e73548eb390e478e1c7e224ce5 SHA512 949ef0454c7a8b7a786acc79b45c673f4eb402e03da91f717ae7dbbbf08aee25f021146533746193115e8fc7394a054feb3f92497d76ac5f98bda9baa84f0fde WHIRLPOOL 8ff09031b65fc3060c0abac9d01bc1f5fa7bc7538cfe46e8f7c5f7fd75494cc4b058c7d7395f3692a1aa4d269794dd5799aa0d83914027205fc64a0b38ccae12
+EBUILD netbeans-java-9999_p20141208.ebuild 13405 SHA256 357f3ba0dd2af9888c3e0c89d3148c53e3a24aef7a26ed86700c8f366723e79a SHA512 7c8badb7d2576fc1046bf3f840c593928c59163f273f6cff6c5d09bfa7b01da9270eec4bf8771e5072c25b1abfdecd69aabae27c596eb535837d8acaf732f074 WHIRLPOOL f20067f214a3321c92aeab64fe6c358a023cdaa79005cbccf18d68cc4ef40cb24322c88ae4c6cec7fa70b6325e9bb61f36c14ae74640902e27b02ee8a562df8d
+MISC ChangeLog 136400 SHA256 1bf925f6a13d3973f5fb805e3ae1fd9911ceeef3537ac2fe58eafe9671809641 SHA512 360f55ac4a491c2bdac33e4b138f9863a447325c285437b30e1a968a489005afbf46c8ddb842686d7db15374670a8aec64080023dd53b48104884ebb1afe6201 WHIRLPOOL 95caaf7f1f552d547cc6aaa9a261cc5d0ec3992ac763a9db2cc319673e47409b9bc8535af280113206589c0d6306818650a08ef6ddb808648c1d10d2261a5b75
 MISC metadata.xml 251 SHA256 5a4ff53a9862390a48d45c79be24086646e7a6ff0c5bdf0fcb799d0871299003 SHA512 04153cbd9776ad56a94d6a47d043df15d082d8888df8658f18d0d4b659c6c0526ab3a9b22ccbe2471091bf2d8165f224854bc99c51f3664aaf350ccb93532a7c WHIRLPOOL 2ee8a646c6e23bc46c72cac0ecb5cfe43720ec42404ddaeed8ab1b59d139b3d5c1a94764de847f979da978c001c9f02f709d663a68eeea64d19e88f1fefbca43

diff --git a/dev-java/netbeans-java/netbeans-java-9999_p20141208.ebuild b/dev-java/netbeans-java/netbeans-java-9999_p20141208.ebuild
new file mode 100644
index 0000000..9af150a
--- /dev/null
+++ b/dev-java/netbeans-java/netbeans-java-9999_p20141208.ebuild
@@ -0,0 +1,253 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+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/2014-12-08_00-01-49/zip/netbeans-trunk-nightly-201412080001-src.zip"
+SRC_URI="${SOURCE_URL}
+	http://dev.gentoo.org/~fordfrog/distfiles/netbeans-9999-r14-build.xml.patch.bz2
+	http://hg.netbeans.org/binaries/694F57282D92C434800F79218E64704E5947008A-apache-maven-3.0.5-bin.zip
+	http://hg.netbeans.org/binaries/F7BD95641780C2AAE8CB9BED1686441A1CE5E749-beansbinding-1.2.1-doc.zip
+	http://hg.netbeans.org/binaries/CD2211635F3011E300CA8FEDC1CE0E1CF61C175B-eclipselink.jar
+	http://hg.netbeans.org/binaries/A9A0648BD7D9FD2CDFBD22C25366E71DA72438DA-hibernate-release-4.3.1-lib.zip
+	http://hg.netbeans.org/binaries/562F0CFA47F0636EBB5A544968EE7A692FC5D26D-indexer-artifact-5.1.1.jar
+	http://hg.netbeans.org/binaries/2B9EAB164D8748F9793F6A0D29B6463E97B284DA-indexer-core-5.1.1.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/E5579EF3B0C1EF2F43562DD0C3B32F8E1F603B49-nb-javac-api.jar
+	http://hg.netbeans.org/binaries/38F9F426B1CE20EDC709424F51EDA1C87F13F420-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"
+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:2.2
+	dev-java/jdom:1.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/cglib:2.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/saaj:0
+	dev-java/stax-ex:0
+	dev-java/xmlstreambuffer:0"
+
+INSTALL_DIR="/usr/share/${PN}-${SLOT}"
+
+EANT_BUILD_XML="nbbuild/build.xml"
+EANT_BUILD_TARGET="rebuild-cluster"
+EANT_EXTRA_ARGS="-Drebuild.cluster.name=nb.cluster.java -Dext.binaries.downloaded=true -Dpermit.jdk8.builds=true"
+EANT_FILTER_COMPILER="ecj-3.3 ecj-3.4 ecj-3.5 ecj-3.6 ecj-3.7"
+JAVA_PKG_BSFIX="off"
+
+pkg_pretend() {
+	local die_now=""
+
+	if [ -d /usr/share/netbeans-java-${SLOT}/ant ]; then
+		if [ -n "$(find /usr/share/netbeans-java-${SLOT}/ant -type l)" ]; then
+			eerror "Please remove following symlinks and run emerge again:"
+			find /usr/share/netbeans-java-${SLOT}/ant -type l
+			die_now="1"
+		fi
+	fi
+
+	if [ -L /usr/share/netbeans-java-${SLOT}/maven ]; then
+		if [ -z "${die_now}" ]; then
+			eerror "Please remove following symlinks and run emerge again:"
+		fi
+
+		echo "/usr/share/netbeans-java-${SLOT}/maven"
+		die_now="1"
+	fi
+
+	if [ -n "${die_now}" ]; then
+		die "Symlinks exist"
+	fi
+}
+
+src_unpack() {
+	unpack $(basename ${SOURCE_URL})
+
+	einfo "Deleting bundled jars..."
+	find -name "*.jar" -type f -delete
+
+	unpack netbeans-9999-r14-build.xml.patch.bz2
+
+	pushd "${S}" >/dev/null || die
+	ln -s "${DISTDIR}"/694F57282D92C434800F79218E64704E5947008A-apache-maven-3.0.5-bin.zip maven.embedder/external/apache-maven-3.0.5-bin.zip || die
+	ln -s "${DISTDIR}"/F7BD95641780C2AAE8CB9BED1686441A1CE5E749-beansbinding-1.2.1-doc.zip o.jdesktop.beansbinding/external/beansbinding-1.2.1-doc.zip || die
+	ln -s "${DISTDIR}"/CD2211635F3011E300CA8FEDC1CE0E1CF61C175B-eclipselink.jar j2ee.eclipselink/external/eclipselink.jar || die
+	ln -s "${DISTDIR}"/A9A0648BD7D9FD2CDFBD22C25366E71DA72438DA-hibernate-release-4.3.1-lib.zip hibernate4lib/external/hibernate-release-4.3.1-lib.zip || die
+	ln -s "${DISTDIR}"/562F0CFA47F0636EBB5A544968EE7A692FC5D26D-indexer-artifact-5.1.1.jar maven.indexer/external/indexer-artifact-5.1.1.jar || die
+	ln -s "${DISTDIR}"/2B9EAB164D8748F9793F6A0D29B6463E97B284DA-indexer-core-5.1.1.jar maven.indexer/external/indexer-core-5.1.1.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}"/E5579EF3B0C1EF2F43562DD0C3B32F8E1F603B49-nb-javac-api.jar libs.javacapi/external/nb-javac-api.jar || die
+	ln -s "${DISTDIR}"/38F9F426B1CE20EDC709424F51EDA1C87F13F420-nb-javac-impl.jar libs.javacimpl/external/nb-javac-impl.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
+	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-2.2 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.10.jar
+	java-pkg_jar-from --into maven.embedder/external jdom-1.0 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}/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-2.2/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-2.1/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
+	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 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 streambuffer.jar && dosym /usr/share/xmlstreambuffer/lib/streambuffer.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-1.0/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/ChangeLog b/dev-java/netbeans-javacard/ChangeLog
index 64bcf7f..8ed430e 100644
--- a/dev-java/netbeans-javacard/ChangeLog
+++ b/dev-java/netbeans-javacard/ChangeLog
@@ -2,6 +2,12 @@
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+*netbeans-javacard-9999_p20141208 (08 Dec 2014)
+
+  08 Dec 2014; Miroslav Šulc <fordfrog@gentoo.org>
+  +netbeans-javacard-9999_p20141208.ebuild:
+  bumped to the latest sources
+
 *netbeans-javacard-8.0.2 (07 Dec 2014)
 
   07 Dec 2014; Miroslav Šulc <fordfrog@gentoo.org>

diff --git a/dev-java/netbeans-javacard/Manifest b/dev-java/netbeans-javacard/Manifest
index 3e8179d..485e075 100644
--- a/dev-java/netbeans-javacard/Manifest
+++ b/dev-java/netbeans-javacard/Manifest
@@ -13,7 +13,7 @@ DIST netbeans-7.4-build.xml.patch.bz2 2685 SHA256 3ffbe61e33ab28f39acbe28209469c
 DIST netbeans-8.0-201403101706-src.zip 194215149 SHA256 737a6fe9313e720590933773672c1f241820b795ce384a605743f3eeba0a9396 SHA512 dbc4ea3852ac0a698729a7698f2dccff427680bf01234c8a463268540e886f57b39697ec124fc0701cd52b558987961fc82e6f27bc9f0fc115159d250fddd676 WHIRLPOOL 47d914d023212076c463a99eda49b202aa6c05a2ffd5c32b61f97a4cd76930c94e18059292a8520359f38736e838a7c2d053ecf584493dbb3a9d8f5133ed6b36
 DIST netbeans-8.0-build.xml.patch.bz2 2685 SHA256 3ffbe61e33ab28f39acbe28209469c673ac97ba4620e9ab7391537b9d242da6a SHA512 247c67cf53ee40e94768d547218664cbf82c487f16982a43daed054a17327f168f35319ed4fa2def995adf3f0a6d25f85a3bb23ff4a84aa4e4f751257f255545 WHIRLPOOL bceeaebe6a7079910cfabcbf48738694b8b86a5ab7147002182eba3c305a310febe5861abdc3e63df904b45fcf3a5ecb3007c15611b59b4ce53406e578d13c47
 DIST netbeans-8.0.2-201411181905-src.zip 196585461 SHA256 581f80d3c2e8d87a0f007dd3f358ce0534a0bb2e4b3312cd6c8c7263713bc530 SHA512 9533de5b3c45e4a5b025213dd5602344e16d024e0cdb013f207ac3c7a9d8e63da19279f97910ad136777d75780c620224953f2974070d5c9833d1d6ef3fd427c WHIRLPOOL 2e45e83309743df167ddd1d58068848166d01ef6d9eec99ddf72b9ba7664cb182a04d6420ab03a9270842b3cd9a16a161c1eebb66953ef09158d8d521fb96516
-DIST netbeans-8.0.2-build.xml.patch.bz2 2671 SHA256 b5384db6533d41c7d3fdaffd3cd296d156ac99f0a026e3d74c4ac5b5d388a70f SHA512 1dd5dcf02fd81691b0f9c531470379138484dcbc271f65ba53a3844a1e697719e47cb98c90f92f92c5980a577d27370efc800297525f62da7211393ea0a18915 WHIRLPOOL c77621b5f4eea9e688d9714be9268d05f7c1e792d9d46d3a082418d8c1cb52c35f76d59f0befddc73f30a0e0e12c0af25b4b31c1cb69b68dd90e48638d7da509
+DIST netbeans-8.0.2-build.xml.patch.bz2 2678 SHA256 cf120f7fd8b4ad40e9abdcb09e7763fd93b4acef04ff0365e18f178706ea83bb SHA512 b61adf29bcb139207241c68513724f352420078583ca5e6d7856a4dd335ad36b7d05311eb6e14ff1c568aaf090de4ca083c32f6db1dec0b6f50d66a388bbedf7 WHIRLPOOL fb4d63329aa450a1b387fa45b59fa3c18d1a1ca8ecf9443111a3056d409a6d928d15dae275e9c564558f4b2abd54cc0f8db2df653ac432d9f58f8ef4dd747dff
 DIST netbeans-9999-r1-build.xml.patch.bz2 2379 SHA256 09cfedef0fd9d713ddc71a54848d7551ce750c15e3df00af7feef37d25260a7e SHA512 7f28a0b2536ea84ebaba26df072411f62db01873e7803f2e28400b55bd61f0857b5508668bd03894364333edf6b8cf9901b823980a8f51f8d6a711bd3a47cb59 WHIRLPOOL 74dcc47859101722f9879bf0cf2dadd210555560b2fcd036e43ac099c71fe0c712b360aadad8e88092a324c93ff42fc2e467e89e3227f23a24d55b9c9e2c27b6
 DIST netbeans-9999-r14-build.xml.patch.bz2 2671 SHA256 b5384db6533d41c7d3fdaffd3cd296d156ac99f0a026e3d74c4ac5b5d388a70f SHA512 1dd5dcf02fd81691b0f9c531470379138484dcbc271f65ba53a3844a1e697719e47cb98c90f92f92c5980a577d27370efc800297525f62da7211393ea0a18915 WHIRLPOOL c77621b5f4eea9e688d9714be9268d05f7c1e792d9d46d3a082418d8c1cb52c35f76d59f0befddc73f30a0e0e12c0af25b4b31c1cb69b68dd90e48638d7da509
 DIST netbeans-trunk-nightly-201410010001-src.zip 197355068 SHA256 0d284d68152ca0da1c8dfb7149e5b2638133fe3be6790f312c9959e59528144b SHA512 33ce5f22e9d3ac55d4f7b4b353956a39e030dee6380c5f379fba810f3ec86f8b36e88b773dbbf8bc3c430fc58caba9097764b7eac2d44ce2a25129f8f20fa4f2 WHIRLPOOL b4228286acec04cb321ca8aba60af42a7a1e2c20de1f657773166021a36e284b5ac4f49e9dbf8a51d81577b0d49d387707de3fcc0a622fd13b57c7d704b3da00
@@ -59,6 +59,7 @@ DIST netbeans-trunk-nightly-201412020001-src.zip 199498951 SHA256 c454e3862954d2
 DIST netbeans-trunk-nightly-201412030001-src.zip 199499099 SHA256 adae819d7f94b21e1b65d00dd39082305e79c34801397f474c2ed4e87745c19a SHA512 5eec00d8e086024101cd916bf01603ab2a4ff5b2acd4f03bed258e02b84ce678fe99f85f22824685ae5bc560f67093a4072d741c80a0e772b210569bfb8c75e3 WHIRLPOOL b08f24fb2df1ecb13833490696e331893a7001e668ea387e8c6a5b791b43631b7259db29c1ba76a5629bc001fe293ea1aa0108d213492600cfe057cfe6f6672b
 DIST netbeans-trunk-nightly-201412040001-src.zip 199544440 SHA256 1f721475c4cada742f1128627eba186360874a9a9d95f9634bd1ac8c2cd680d5 SHA512 26921a476d3b94fd7f636569306a2a072f10c6276acdb2b37c830eed3fdb983641ee44d675386fb04f2be760c9f1fe7f180fc43771329c602a05128a2ad2495a WHIRLPOOL 776a1e308af0da58535a9cd33a4b2901b3aeddb8fc61fed440f5c6bf0f86a746490f4e8dc3f7f787586763fc210a2f70771b9c42813703ee97206145cb6e4002
 DIST netbeans-trunk-nightly-201412070001-src.zip 199641850 SHA256 87bb9a998b5814f7d372433ab97ee3827f331a7f1ff92d9c7ba93a64f95d80ec SHA512 5e8ebd97085e603e09e5ea61fedbf12d069ad25edd0a4285dda6cb249ac5b9b75d01b615a0751e25058263041996b0b19adf819f102093ecaeef3364838e54bc WHIRLPOOL d376184e8f06a0b5c4cae82eea627b8dfc30874ff613251171e0e9d753bd7255db8417a79188ad96f52daf43fddc9ca094541090d4432f756ec5d7de679c7488
+DIST netbeans-trunk-nightly-201412080001-src.zip 199642324 SHA256 b13a7830fb7c88b2e188b3f5d4cf554597c9bf09990bff738f94c3d7a8eb9627 SHA512 079b33ccaf071b3db2bab3e92c189dbfe94c75640250080d1b710ae52e846a85a44569c3b5dc2e1ced6611df62ee6573e0957885498002b028e4d86344d171e9 WHIRLPOOL 9cf70238be22ffe165447cf7c75ce4fed9c0a43de377a9b4c99a6052d5fdd5aa525294b51c1e70b19b705d80d36da754f382026263a55008c67d05b53c82b812
 EBUILD netbeans-javacard-7.0.1.ebuild 4961 SHA256 566bc7e3275c97d0fe3d68c843b53aee641548ec39a8143aebd56d248da3c32c SHA512 5973c8d4254943473209b0881c0fbe40ac6b61563d508e58adc248dd40c8c2d6b742bd6c1667ee11fb404f9d2e62f08a8e4d822a2a3db9fccab254f73828c3b0 WHIRLPOOL fd1e08943ce754a2abfe8c8b83954399287500ce574a46fe0d76f94b300fd2a5978957f94a3ac1d85781330248a46fefacfbae25db95669c3de910145ef96424
 EBUILD netbeans-javacard-7.1.2.ebuild 4970 SHA256 15ff13152b140edaa549ea6515949d99cdb2a4656918566179836ab2277f01b8 SHA512 b7e52b477f6ba645084034eb27e848fb48361351937fc45455bf4b7d74acbdd257427ec589286f0edc71cc98c8cdb114e55988b6d3dc92143e13f407e3b45a52 WHIRLPOOL 85ab6dc2c230ea89fd19d7602ac24e3d2b0f226590998e6a6e277c24ef60a7e86874f7e95e90921d255e84f05e04ad1998ee7361b4d26c6f14828076792a933c
 EBUILD netbeans-javacard-7.2.ebuild 4718 SHA256 d173c848e825b342a52073ba16b7784016f92124d4bc3b5ad8beebb7a7dda772 SHA512 019183c236c59ec2b961445c49643c6da0b376048f1be1d58677a753890bcb03db126f6441221c7572a74fe45c4c27aeee4acb38db620f9203ad04ae8ff2c426 WHIRLPOOL f2a10183045edd22ef4419b630cedafc093b326eb593178a0f50e8d82ebb25ab732fb8c561d49969073d9fce551c5b9150fb1900b49458ed53f0234baa29a78e
@@ -109,5 +110,6 @@ EBUILD netbeans-javacard-9999_p20141202.ebuild 4982 SHA256 4df029f1df6c341531de4
 EBUILD netbeans-javacard-9999_p20141203.ebuild 4982 SHA256 f8fe806217764d6d0e9f9079e59083f104cffe2eb09134b7c5b4ff5058838b67 SHA512 f4aa190ec532fe1f99bd9a58962f0e8817b8d1250e597712423a05c62113d4cda8c44552b534a9c861fd74e9d9460352d1ee3557147a8d0da47c29667e737834 WHIRLPOOL 7ce42e58df43690f13610b804ca7cd088d488d2d177ed152766e8186085264ba5d0d28e65f207c2020c962b38203136f144c4352cf1f544c428d23e7a3fdc978
 EBUILD netbeans-javacard-9999_p20141204.ebuild 4982 SHA256 08126f995688aa2a7e8666974d9e1234088d1bb49ab8989bf3432dde96cefac6 SHA512 4539c9bb1fad805dc3c48e24220c934f28520f97d47ab51205b4d8453362af4d86221a33ea34ade2ded7ba3016f9a707365fc1e3f3d4bdc36f987620a6b034c4 WHIRLPOOL cbcca28fb8f4f47788888c3cf543bd97725e7174b9642229c296e530a12776233dc2ad0e7614ca970a6eb4586ee29e21c3bc072a25078918a807e463199c6397
 EBUILD netbeans-javacard-9999_p20141207.ebuild 4982 SHA256 054b0f568c06efb382bc1b308c8d6f678d92034a81fc17ea22560d54b3aaf1e7 SHA512 1e72a85c67d3d622d6559ab3a67cbc580971356a5dc54404f1c40377174fa652f96869bf74fa76f5b9d2451c39760b0ab8b47ed036bbf4742d27f320fdd1b166 WHIRLPOOL e3747b05167e86ae7d169742189e45e0ff371e518bda29cb7a7fd56081d7893645992a8281939a1baad4f994ccfae061115f28627a46c1db2920cd10285604fa
-MISC ChangeLog 141857 SHA256 265a11c5201175c3c49ac8e43fe41f2d3454666e2ba0b806222120c688b468c1 SHA512 f8d1e32a959d2a14349adf0c31e1a850c40e26ee15e25d824464d83f6e9d926e5893629070a70881267434080afe4dab042201191a470fd0e192ffce3631a861 WHIRLPOOL 1ae7db8f3b83aa440e3d094f03640a5c5dc24b2852ed68d9707ef7527d28769a744bf1dd7e3743caa752f573b2eb82edb10e9b58e17a8dd1663a6a03957696cd
+EBUILD netbeans-javacard-9999_p20141208.ebuild 4982 SHA256 3124e24244e3e2612418d97427e1037dc3abb0d009954f3cbef27323225e8d99 SHA512 d62cbe6551610623a9ada537e85beb2d5c1e699d4f9e7c0a3607e4034e50708c07dd71b942fda677215cc467e44586b33ba7d022ab8ed0ecf4dbe200a3c11311 WHIRLPOOL fb96c1f1822e80a4d87a9690778133a6a3939035a3d251778c71e7129f4fc883842106f68b66237f919a0fb9a90f5420bb430bc634c71a9103f381466c691469
+MISC ChangeLog 142034 SHA256 532b5cbc5ddf487f6e0ba13749e73d79058b4bbf75fa217c5ea8071ab3d099b9 SHA512 1b05f1df30a927e41973192a9ab80c150205585c1fdcd5185668f3be40783409df71bf3d63bf94b55013371106ce553e7d0ba6bf87f83fac1619a87dfd1eba94 WHIRLPOOL 21ff0b6defe6b1f3e27aba62e8cce52c7f6a6fc284df823cf2331a26c03ee0570e5a0f892a1bb0ac73830fdd06b71fd4956caf7014a44e8d5126f6cefe9cd195
 MISC metadata.xml 251 SHA256 5a4ff53a9862390a48d45c79be24086646e7a6ff0c5bdf0fcb799d0871299003 SHA512 04153cbd9776ad56a94d6a47d043df15d082d8888df8658f18d0d4b659c6c0526ab3a9b22ccbe2471091bf2d8165f224854bc99c51f3664aaf350ccb93532a7c WHIRLPOOL 2ee8a646c6e23bc46c72cac0ecb5cfe43720ec42404ddaeed8ab1b59d139b3d5c1a94764de847f979da978c001c9f02f709d663a68eeea64d19e88f1fefbca43

diff --git a/dev-java/netbeans-javacard/netbeans-javacard-9999_p20141208.ebuild b/dev-java/netbeans-javacard/netbeans-javacard-9999_p20141208.ebuild
new file mode 100644
index 0000000..a90fd40
--- /dev/null
+++ b/dev-java/netbeans-javacard/netbeans-javacard-9999_p20141208.ebuild
@@ -0,0 +1,134 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+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/2014-12-08_00-01-49/zip/netbeans-trunk-nightly-201412080001-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/ChangeLog b/dev-java/netbeans-javadoc/ChangeLog
index c093f4f..e909d3e 100644
--- a/dev-java/netbeans-javadoc/ChangeLog
+++ b/dev-java/netbeans-javadoc/ChangeLog
@@ -2,6 +2,12 @@
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+*netbeans-javadoc-9999_p20141208 (08 Dec 2014)
+
+  08 Dec 2014; Miroslav Šulc <fordfrog@gentoo.org>
+  +netbeans-javadoc-9999_p20141208.ebuild:
+  bumped to the latest sources
+
 *netbeans-javadoc-8.0.2 (07 Dec 2014)
 
   07 Dec 2014; Miroslav Šulc <fordfrog@gentoo.org>

diff --git a/dev-java/netbeans-javadoc/Manifest b/dev-java/netbeans-javadoc/Manifest
index bba8340..9c16a4d 100644
--- a/dev-java/netbeans-javadoc/Manifest
+++ b/dev-java/netbeans-javadoc/Manifest
@@ -16,7 +16,7 @@ DIST netbeans-7.4-build.xml.patch.bz2 2685 SHA256 3ffbe61e33ab28f39acbe28209469c
 DIST netbeans-8.0-201403101706-src.zip 194215149 SHA256 737a6fe9313e720590933773672c1f241820b795ce384a605743f3eeba0a9396 SHA512 dbc4ea3852ac0a698729a7698f2dccff427680bf01234c8a463268540e886f57b39697ec124fc0701cd52b558987961fc82e6f27bc9f0fc115159d250fddd676 WHIRLPOOL 47d914d023212076c463a99eda49b202aa6c05a2ffd5c32b61f97a4cd76930c94e18059292a8520359f38736e838a7c2d053ecf584493dbb3a9d8f5133ed6b36
 DIST netbeans-8.0-build.xml.patch.bz2 2685 SHA256 3ffbe61e33ab28f39acbe28209469c673ac97ba4620e9ab7391537b9d242da6a SHA512 247c67cf53ee40e94768d547218664cbf82c487f16982a43daed054a17327f168f35319ed4fa2def995adf3f0a6d25f85a3bb23ff4a84aa4e4f751257f255545 WHIRLPOOL bceeaebe6a7079910cfabcbf48738694b8b86a5ab7147002182eba3c305a310febe5861abdc3e63df904b45fcf3a5ecb3007c15611b59b4ce53406e578d13c47
 DIST netbeans-8.0.2-201411181905-src.zip 196585461 SHA256 581f80d3c2e8d87a0f007dd3f358ce0534a0bb2e4b3312cd6c8c7263713bc530 SHA512 9533de5b3c45e4a5b025213dd5602344e16d024e0cdb013f207ac3c7a9d8e63da19279f97910ad136777d75780c620224953f2974070d5c9833d1d6ef3fd427c WHIRLPOOL 2e45e83309743df167ddd1d58068848166d01ef6d9eec99ddf72b9ba7664cb182a04d6420ab03a9270842b3cd9a16a161c1eebb66953ef09158d8d521fb96516
-DIST netbeans-8.0.2-build.xml.patch.bz2 2671 SHA256 b5384db6533d41c7d3fdaffd3cd296d156ac99f0a026e3d74c4ac5b5d388a70f SHA512 1dd5dcf02fd81691b0f9c531470379138484dcbc271f65ba53a3844a1e697719e47cb98c90f92f92c5980a577d27370efc800297525f62da7211393ea0a18915 WHIRLPOOL c77621b5f4eea9e688d9714be9268d05f7c1e792d9d46d3a082418d8c1cb52c35f76d59f0befddc73f30a0e0e12c0af25b4b31c1cb69b68dd90e48638d7da509
+DIST netbeans-8.0.2-build.xml.patch.bz2 2678 SHA256 cf120f7fd8b4ad40e9abdcb09e7763fd93b4acef04ff0365e18f178706ea83bb SHA512 b61adf29bcb139207241c68513724f352420078583ca5e6d7856a4dd335ad36b7d05311eb6e14ff1c568aaf090de4ca083c32f6db1dec0b6f50d66a388bbedf7 WHIRLPOOL fb4d63329aa450a1b387fa45b59fa3c18d1a1ca8ecf9443111a3056d409a6d928d15dae275e9c564558f4b2abd54cc0f8db2df653ac432d9f58f8ef4dd747dff
 DIST netbeans-9999-r1-build.xml.patch.bz2 2379 SHA256 09cfedef0fd9d713ddc71a54848d7551ce750c15e3df00af7feef37d25260a7e SHA512 7f28a0b2536ea84ebaba26df072411f62db01873e7803f2e28400b55bd61f0857b5508668bd03894364333edf6b8cf9901b823980a8f51f8d6a711bd3a47cb59 WHIRLPOOL 74dcc47859101722f9879bf0cf2dadd210555560b2fcd036e43ac099c71fe0c712b360aadad8e88092a324c93ff42fc2e467e89e3227f23a24d55b9c9e2c27b6
 DIST netbeans-9999-r14-build.xml.patch.bz2 2671 SHA256 b5384db6533d41c7d3fdaffd3cd296d156ac99f0a026e3d74c4ac5b5d388a70f SHA512 1dd5dcf02fd81691b0f9c531470379138484dcbc271f65ba53a3844a1e697719e47cb98c90f92f92c5980a577d27370efc800297525f62da7211393ea0a18915 WHIRLPOOL c77621b5f4eea9e688d9714be9268d05f7c1e792d9d46d3a082418d8c1cb52c35f76d59f0befddc73f30a0e0e12c0af25b4b31c1cb69b68dd90e48638d7da509
 DIST netbeans-trunk-nightly-201410010001-src.zip 197355068 SHA256 0d284d68152ca0da1c8dfb7149e5b2638133fe3be6790f312c9959e59528144b SHA512 33ce5f22e9d3ac55d4f7b4b353956a39e030dee6380c5f379fba810f3ec86f8b36e88b773dbbf8bc3c430fc58caba9097764b7eac2d44ce2a25129f8f20fa4f2 WHIRLPOOL b4228286acec04cb321ca8aba60af42a7a1e2c20de1f657773166021a36e284b5ac4f49e9dbf8a51d81577b0d49d387707de3fcc0a622fd13b57c7d704b3da00
@@ -62,6 +62,7 @@ DIST netbeans-trunk-nightly-201412020001-src.zip 199498951 SHA256 c454e3862954d2
 DIST netbeans-trunk-nightly-201412030001-src.zip 199499099 SHA256 adae819d7f94b21e1b65d00dd39082305e79c34801397f474c2ed4e87745c19a SHA512 5eec00d8e086024101cd916bf01603ab2a4ff5b2acd4f03bed258e02b84ce678fe99f85f22824685ae5bc560f67093a4072d741c80a0e772b210569bfb8c75e3 WHIRLPOOL b08f24fb2df1ecb13833490696e331893a7001e668ea387e8c6a5b791b43631b7259db29c1ba76a5629bc001fe293ea1aa0108d213492600cfe057cfe6f6672b
 DIST netbeans-trunk-nightly-201412040001-src.zip 199544440 SHA256 1f721475c4cada742f1128627eba186360874a9a9d95f9634bd1ac8c2cd680d5 SHA512 26921a476d3b94fd7f636569306a2a072f10c6276acdb2b37c830eed3fdb983641ee44d675386fb04f2be760c9f1fe7f180fc43771329c602a05128a2ad2495a WHIRLPOOL 776a1e308af0da58535a9cd33a4b2901b3aeddb8fc61fed440f5c6bf0f86a746490f4e8dc3f7f787586763fc210a2f70771b9c42813703ee97206145cb6e4002
 DIST netbeans-trunk-nightly-201412070001-src.zip 199641850 SHA256 87bb9a998b5814f7d372433ab97ee3827f331a7f1ff92d9c7ba93a64f95d80ec SHA512 5e8ebd97085e603e09e5ea61fedbf12d069ad25edd0a4285dda6cb249ac5b9b75d01b615a0751e25058263041996b0b19adf819f102093ecaeef3364838e54bc WHIRLPOOL d376184e8f06a0b5c4cae82eea627b8dfc30874ff613251171e0e9d753bd7255db8417a79188ad96f52daf43fddc9ca094541090d4432f756ec5d7de679c7488
+DIST netbeans-trunk-nightly-201412080001-src.zip 199642324 SHA256 b13a7830fb7c88b2e188b3f5d4cf554597c9bf09990bff738f94c3d7a8eb9627 SHA512 079b33ccaf071b3db2bab3e92c189dbfe94c75640250080d1b710ae52e846a85a44569c3b5dc2e1ced6611df62ee6573e0957885498002b028e4d86344d171e9 WHIRLPOOL 9cf70238be22ffe165447cf7c75ce4fed9c0a43de377a9b4c99a6052d5fdd5aa525294b51c1e70b19b705d80d36da754f382026263a55008c67d05b53c82b812
 EBUILD netbeans-javadoc-7.0.1.ebuild 5814 SHA256 68531c51838c95012830f5ae09e2386ea3179c2b31bfd5191f67993e3b3dbe2f SHA512 3bfe0ecc46f371d2553b031a5699229fb874dad1e94415635558b7d46b6764c31337d03444753e687b19a7c0976c68cb72007ccc82df7d1e5848a81f241f80c3 WHIRLPOOL 6571f7a73c262b3b67407840523b79eecc14bad9678cff05fb32a2811049158400870de51bbcef97ecb3f18f8ff59f965bdca8e788918d53822b92e2f20f75f5
 EBUILD netbeans-javadoc-7.1.2.ebuild 5855 SHA256 af28efb956ac3b7147e254ca3083dfaab11b84ea42e20677ebdd18aa29ff87e0 SHA512 ee06c552782170b51cfe70d603792b4240aef6064ba0a5074f394701a43285ed1e4030f539622c616be3175dab013e791c1a3a1193ad379193f5fa3e92eefa40 WHIRLPOOL dfcc63d6c9fcf094e2998ce1c08e29b4d4acbefbe9bea6498c2e28f84576f628da50164a1e0ab3ff5528720fe54cae71f2f5e6f84aedca5b639f13053464e6c1
 EBUILD netbeans-javadoc-7.2.ebuild 5805 SHA256 20d01deae745a7e8d84ffe55ca63ad74342bd8528c0dd15a20aac6570a1a83e3 SHA512 3947f1ab3efc236b8faa14736406ee3e537bbdbe377ea1bbd4f1eafa06a36d2863f8700dc7c84e6c8501abdf130a78e87ad6a0f52c5172bf0ab52f288617bc86 WHIRLPOOL 8301cce0679ed5f68a09e2e968ab2ba0955547f438758b042a04744539324fd79d83d853dfb8b48421f6dac616362cf1a9dd2a0e0ff8763dc2e12a470d16b95f
@@ -112,5 +113,6 @@ EBUILD netbeans-javadoc-9999_p20141202.ebuild 6234 SHA256 a07f281084034740dfacd7
 EBUILD netbeans-javadoc-9999_p20141203.ebuild 6234 SHA256 92306f1541b1f5223933dd336c96bc54c6cac88d8df766621a48e42b3d00c43a SHA512 2f81b94b8c324cde92efd6aae39ba16d06c2d2789faa03543e3ce8c1880d4e04fb3f5a748db6b3caab7ddf455c482d6f55bac1b8739a18d7cd6a16dad730947a WHIRLPOOL 89f18f03608aff86f47631b233ae825dff374dc8f84db1946855e2dcd10a6366dc823210c06415572d4b87a7696086c95daeb8a7ec6efb91cb5269bb23142bf4
 EBUILD netbeans-javadoc-9999_p20141204.ebuild 6234 SHA256 adc2eb0304b1e01c8f0007e161b0ae58155e2a90afa30fa60c2bdeb075fc8884 SHA512 ad1c96f93ced474f5bfc10aee3a9a16a16c7d8815e6678631fbd665ac47a4adc0087929a898121d805521a2f9e5eaad936fdaa561bf072014a80ef888754be51 WHIRLPOOL a959327684443d6b14e2e53cc2ca5ef1f8bc5f353f4c09eeda91827ea8301491a3b01f4b0673946cfc5ef053d1490de1dea7563426fd5ca35acef0299c113f04
 EBUILD netbeans-javadoc-9999_p20141207.ebuild 6234 SHA256 f94d8e172621060376e4ae9f9ba7dd8fb90ef04e0a7f9581605497fad81e08ef SHA512 f36980b85db5d91a6ce6875ecc1ce02f4185d02dc642c79d316736bdba06c6f0c8efcb997760a394eaa04e14c87410a2a580fa48c6a6773756646c89d457f6cc WHIRLPOOL 3e442f3f8a3079602a0e666815ace6cb34cd648d9b6df8898d37fb7baf295899045ba0cabd53a4824a4b99ed508fa449d57898ea8ea7274250b61a4dee33f99d
-MISC ChangeLog 139940 SHA256 f8df17888046946c4519e1ced7ea4807f05a59196a94ce0305045ef26a6172c0 SHA512 8a78d0d94b569f96912d6b1d8c9085921a2d71ba27fc31e47e44bb4c882e91a4c0812229c81b2892c7b7194986a2e31d9cea94c61c72de0c7735bb2a1611fdbb WHIRLPOOL 4b1ebcb5da235766839a0734eb8e55766a2c1010356c61c79f8a9898919729039a753f85510976e5225194132506e23c253d7494afe13322a86ce5ff27458e8b
+EBUILD netbeans-javadoc-9999_p20141208.ebuild 6234 SHA256 29019c40be26681669813b894754929f7d88975756df491e370c853bf139c4d5 SHA512 0ea48ab8edd34a36ba646b36adf94934d793de5b7ae24b5238ddc2b1365f3e4c22547f53358dceb235097e3f5e7562212dc147c75d7ac4be8b07eb6309f2d8cd WHIRLPOOL 996452e6ef6ab204a215cce1af7ff6023a97e6ee733603f41163ccd5ade4d9e1514a2a6126e920ebabb511965deb782437c7c7fd94a7d9f3bdf675f954b30a63
+MISC ChangeLog 140115 SHA256 893d119145736e15b1d2d1b87e85e2836449b67e35e72038d9cc1db6e5b73642 SHA512 ec2587c0193e0fbd5bb8644df99b4175c37fced6b95e3bd0d9cf5f93c87589b1f1534536e06523a9165b6db417447fd203e4c96b0742bced9bda636ab9cfe811 WHIRLPOOL 0effbefc28c693113dbf9da9404084efcbf23ba0753502520032b5b727612e094af8a86cd7cc8af1eda852776b67d5334b290772d1d92b84e5caca4da5160f6f
 MISC metadata.xml 251 SHA256 5a4ff53a9862390a48d45c79be24086646e7a6ff0c5bdf0fcb799d0871299003 SHA512 04153cbd9776ad56a94d6a47d043df15d082d8888df8658f18d0d4b659c6c0526ab3a9b22ccbe2471091bf2d8165f224854bc99c51f3664aaf350ccb93532a7c WHIRLPOOL 2ee8a646c6e23bc46c72cac0ecb5cfe43720ec42404ddaeed8ab1b59d139b3d5c1a94764de847f979da978c001c9f02f709d663a68eeea64d19e88f1fefbca43

diff --git a/dev-java/netbeans-javadoc/netbeans-javadoc-9999_p20141208.ebuild b/dev-java/netbeans-javadoc/netbeans-javadoc-9999_p20141208.ebuild
new file mode 100644
index 0000000..3e5829a
--- /dev/null
+++ b/dev-java/netbeans-javadoc/netbeans-javadoc-9999_p20141208.ebuild
@@ -0,0 +1,168 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+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/2014-12-08_00-01-49/zip/netbeans-trunk-nightly-201412080001-src.zip"
+SRC_URI="${SOURCE_URL}
+	http://dev.gentoo.org/~fordfrog/distfiles/netbeans-9999-r14-build.xml.patch.bz2
+	http://hg.netbeans.org/binaries/22CB933E3A1450B092C45785C187837E97523F5C-ant-libs-1.9.4.zip"
+LICENSE="|| ( CDDL GPL-2-with-linking-exception )"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+S="${WORKDIR}"
+
+# oracle-jdk-bin is needed because other jdks do not contain jre/lib/ext/jfxrt.jar
+DEPEND="dev-java/oracle-jdk-bin:1.7
+	app-arch/unzip
+	dev-java/javahelp:0
+	dev-java/junit:4
+	~dev-java/netbeans-apisupport-${PV}
+	~dev-java/netbeans-cnd-${PV}
+	~dev-java/netbeans-dlight-${PV}
+	~dev-java/netbeans-enterprise-${PV}
+	~dev-java/netbeans-ergonomics-${PV}
+	~dev-java/netbeans-extide-${PV}
+	~dev-java/netbeans-groovy-${PV}
+	~dev-java/netbeans-harness-${PV}
+	~dev-java/netbeans-ide-${PV}
+	~dev-java/netbeans-java-${PV}
+	~dev-java/netbeans-javacard-${PV}
+	~dev-java/netbeans-mobility-${PV}
+	~dev-java/netbeans-nb-${PV}
+	~dev-java/netbeans-php-${PV}
+	~dev-java/netbeans-platform-${PV}
+	~dev-java/netbeans-profiler-${PV}
+	~dev-java/netbeans-websvccommon-${PV}"
+RDEPEND=""
+
+JAVA_PKG_BSFIX="off"
+JAVA_PKG_WANT_BUILD_VM="oracle-jdk-bin-1.7"
+JAVA_PKG_WANT_SOURCE="1.7"
+JAVA_PKG_WANT_TARGET="1.7"
+
+src_unpack() {
+	unpack $(basename ${SOURCE_URL})
+
+	einfo "Deleting bundled jars..."
+	find -name "*.jar" -type f -delete
+
+	unpack netbeans-9999-r14-build.xml.patch.bz2
+
+	pushd "${S}" >/dev/null || die
+	ln -s "${DISTDIR}"/22CB933E3A1450B092C45785C187837E97523F5C-ant-libs-1.9.4.zip o.apache.tools.ant.module/external/ant-libs-1.9.4.zip || die
+	popd >/dev/null || die
+}
+
+src_prepare() {
+	einfo "Deleting bundled class files..."
+	find -name "*.class" -type f | xargs rm -vf
+
+	epatch netbeans-9999-r14-build.xml.patch
+
+	# Support for custom patches
+	if [ -n "${NETBEANS9999_PATCHES_DIR}" -a -d "${NETBEANS9999_PATCHES_DIR}" ] ; then
+		local files=`find "${NETBEANS9999_PATCHES_DIR}" -type f`
+
+		if [ -n "${files}" ] ; then
+			einfo "Applying custom patches:"
+
+			for file in ${files} ; do
+				epatch "${file}"
+			done
+		fi
+	fi
+
+	einfo "Symlinking external libraries..."
+	java-pkg_jar-from --build-only --into javahelp/external javahelp jhall.jar jhall-2.0_05.jar
+	java-pkg_jar-from --build-only --into libs.junit4/external junit-4 junit.jar junit-4.10.jar
+
+	einfo "Linking in other clusters..."
+	mkdir "${S}"/nbbuild/netbeans || die
+	pushd "${S}"/nbbuild/netbeans >/dev/null || die
+
+	ln -s /usr/share/netbeans-apisupport-${SLOT} apisupport || die
+	cat /usr/share/netbeans-apisupport-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+	touch nb.cluster.apisupport.built
+
+	ln -s /usr/share/netbeans-cnd-${SLOT} cnd || die
+	cat /usr/share/netbeans-cnd-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+	touch nb.cluster.cnd.built
+
+	ln -s /usr/share/netbeans-dlight-${SLOT} dlight || die
+	cat /usr/share/netbeans-dlight-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+	touch nb.cluster.dlight.built
+
+	ln -s /usr/share/netbeans-enterprise-${SLOT} enterprise || die
+	cat /usr/share/netbeans-enterprise-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+	touch nb.cluster.enterprise.built
+
+	ln -s /usr/share/netbeans-ergonomics-${SLOT} ergonomics || die
+	cat /usr/share/netbeans-ergonomics-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+	touch nb.cluster.ergonomics.built
+
+	ln -s /usr/share/netbeans-extide-${SLOT} extide || die
+	cat /usr/share/netbeans-extide-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+	touch nb.cluster.extide.built
+
+	ln -s /usr/share/netbeans-groovy-${SLOT} groovy || die
+	cat /usr/share/netbeans-groovy-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+	touch nb.cluster.groovy.built
+
+	ln -s /usr/share/netbeans-harness-${SLOT} harness || die
+	cat /usr/share/netbeans-harness-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+	touch nb.cluster.harness.built
+
+	ln -s /usr/share/netbeans-ide-${SLOT} ide || die
+	cat /usr/share/netbeans-ide-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+	touch nb.cluster.ide.built
+
+	ln -s /usr/share/netbeans-java-${SLOT} java || die
+	cat /usr/share/netbeans-java-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+	touch nb.cluster.java.built
+
+	ln -s /usr/share/netbeans-javacard-${SLOT} javacard || die
+	cat /usr/share/netbeans-javacard-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+	touch nb.cluster.javacard.built
+
+	ln -s /usr/share/netbeans-mobility-${SLOT} mobility || die
+	cat /usr/share/netbeans-mobility-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+	touch nb.cluster.mobility.built
+
+	ln -s /usr/share/netbeans-nb-${SLOT}/nb nb || die
+	cat /usr/share/netbeans-nb-${SLOT}/nb/moduleCluster.properties >> moduleCluster.properties || die
+	touch nb.cluster.nb.built
+
+	ln -s /usr/share/netbeans-php-${SLOT} php || die
+	cat /usr/share/netbeans-php-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+	touch nb.cluster.php.built
+
+	ln -s /usr/share/netbeans-platform-${SLOT} platform || die
+	cat /usr/share/netbeans-platform-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+	touch nb.cluster.platform.built
+
+	ln -s /usr/share/netbeans-profiler-${SLOT} profiler || die
+	cat /usr/share/netbeans-profiler-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+	touch nb.cluster.profiler.built
+
+	ln -s /usr/share/netbeans-websvccommon-${SLOT} websvccommon || die
+	cat /usr/share/netbeans-websvccommon-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+	touch nb.cluster.websvccommon.built
+
+	java-pkg-2_src_prepare
+}
+
+src_compile() {
+	eant -f nbbuild/build.xml bootstrap || die
+	ANT_OPTS="-Xmx1536m" eant -f nbbuild/javadoctools/build.xml build-javadoc
+}
+
+src_install() {
+	rm nbbuild/build/javadoc/*.zip
+	java-pkg_dojavadoc nbbuild/build/javadoc
+}

diff --git a/dev-java/netbeans-javafx/ChangeLog b/dev-java/netbeans-javafx/ChangeLog
index e5bc6e6..77b1ebe 100644
--- a/dev-java/netbeans-javafx/ChangeLog
+++ b/dev-java/netbeans-javafx/ChangeLog
@@ -2,6 +2,12 @@
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+*netbeans-javafx-9999_p20141208 (08 Dec 2014)
+
+  08 Dec 2014; Miroslav Šulc <fordfrog@gentoo.org>
+  +netbeans-javafx-9999_p20141208.ebuild:
+  bumped to the latest sources
+
 *netbeans-javafx-8.0.2 (07 Dec 2014)
 
   07 Dec 2014; Miroslav Šulc <fordfrog@gentoo.org>

diff --git a/dev-java/netbeans-javafx/Manifest b/dev-java/netbeans-javafx/Manifest
index 260cf7c..e62a513 100644
--- a/dev-java/netbeans-javafx/Manifest
+++ b/dev-java/netbeans-javafx/Manifest
@@ -15,7 +15,7 @@ DIST netbeans-7.4-build.xml.patch.bz2 2685 SHA256 3ffbe61e33ab28f39acbe28209469c
 DIST netbeans-8.0-201403101706-src.zip 194215149 SHA256 737a6fe9313e720590933773672c1f241820b795ce384a605743f3eeba0a9396 SHA512 dbc4ea3852ac0a698729a7698f2dccff427680bf01234c8a463268540e886f57b39697ec124fc0701cd52b558987961fc82e6f27bc9f0fc115159d250fddd676 WHIRLPOOL 47d914d023212076c463a99eda49b202aa6c05a2ffd5c32b61f97a4cd76930c94e18059292a8520359f38736e838a7c2d053ecf584493dbb3a9d8f5133ed6b36
 DIST netbeans-8.0-build.xml.patch.bz2 2685 SHA256 3ffbe61e33ab28f39acbe28209469c673ac97ba4620e9ab7391537b9d242da6a SHA512 247c67cf53ee40e94768d547218664cbf82c487f16982a43daed054a17327f168f35319ed4fa2def995adf3f0a6d25f85a3bb23ff4a84aa4e4f751257f255545 WHIRLPOOL bceeaebe6a7079910cfabcbf48738694b8b86a5ab7147002182eba3c305a310febe5861abdc3e63df904b45fcf3a5ecb3007c15611b59b4ce53406e578d13c47
 DIST netbeans-8.0.2-201411181905-src.zip 196585461 SHA256 581f80d3c2e8d87a0f007dd3f358ce0534a0bb2e4b3312cd6c8c7263713bc530 SHA512 9533de5b3c45e4a5b025213dd5602344e16d024e0cdb013f207ac3c7a9d8e63da19279f97910ad136777d75780c620224953f2974070d5c9833d1d6ef3fd427c WHIRLPOOL 2e45e83309743df167ddd1d58068848166d01ef6d9eec99ddf72b9ba7664cb182a04d6420ab03a9270842b3cd9a16a161c1eebb66953ef09158d8d521fb96516
-DIST netbeans-8.0.2-build.xml.patch.bz2 2671 SHA256 b5384db6533d41c7d3fdaffd3cd296d156ac99f0a026e3d74c4ac5b5d388a70f SHA512 1dd5dcf02fd81691b0f9c531470379138484dcbc271f65ba53a3844a1e697719e47cb98c90f92f92c5980a577d27370efc800297525f62da7211393ea0a18915 WHIRLPOOL c77621b5f4eea9e688d9714be9268d05f7c1e792d9d46d3a082418d8c1cb52c35f76d59f0befddc73f30a0e0e12c0af25b4b31c1cb69b68dd90e48638d7da509
+DIST netbeans-8.0.2-build.xml.patch.bz2 2678 SHA256 cf120f7fd8b4ad40e9abdcb09e7763fd93b4acef04ff0365e18f178706ea83bb SHA512 b61adf29bcb139207241c68513724f352420078583ca5e6d7856a4dd335ad36b7d05311eb6e14ff1c568aaf090de4ca083c32f6db1dec0b6f50d66a388bbedf7 WHIRLPOOL fb4d63329aa450a1b387fa45b59fa3c18d1a1ca8ecf9443111a3056d409a6d928d15dae275e9c564558f4b2abd54cc0f8db2df653ac432d9f58f8ef4dd747dff
 DIST netbeans-9999-r1-build.xml.patch.bz2 2379 SHA256 09cfedef0fd9d713ddc71a54848d7551ce750c15e3df00af7feef37d25260a7e SHA512 7f28a0b2536ea84ebaba26df072411f62db01873e7803f2e28400b55bd61f0857b5508668bd03894364333edf6b8cf9901b823980a8f51f8d6a711bd3a47cb59 WHIRLPOOL 74dcc47859101722f9879bf0cf2dadd210555560b2fcd036e43ac099c71fe0c712b360aadad8e88092a324c93ff42fc2e467e89e3227f23a24d55b9c9e2c27b6
 DIST netbeans-9999-r14-build.xml.patch.bz2 2671 SHA256 b5384db6533d41c7d3fdaffd3cd296d156ac99f0a026e3d74c4ac5b5d388a70f SHA512 1dd5dcf02fd81691b0f9c531470379138484dcbc271f65ba53a3844a1e697719e47cb98c90f92f92c5980a577d27370efc800297525f62da7211393ea0a18915 WHIRLPOOL c77621b5f4eea9e688d9714be9268d05f7c1e792d9d46d3a082418d8c1cb52c35f76d59f0befddc73f30a0e0e12c0af25b4b31c1cb69b68dd90e48638d7da509
 DIST netbeans-trunk-nightly-201410010001-src.zip 197355068 SHA256 0d284d68152ca0da1c8dfb7149e5b2638133fe3be6790f312c9959e59528144b SHA512 33ce5f22e9d3ac55d4f7b4b353956a39e030dee6380c5f379fba810f3ec86f8b36e88b773dbbf8bc3c430fc58caba9097764b7eac2d44ce2a25129f8f20fa4f2 WHIRLPOOL b4228286acec04cb321ca8aba60af42a7a1e2c20de1f657773166021a36e284b5ac4f49e9dbf8a51d81577b0d49d387707de3fcc0a622fd13b57c7d704b3da00
@@ -61,6 +61,7 @@ DIST netbeans-trunk-nightly-201412020001-src.zip 199498951 SHA256 c454e3862954d2
 DIST netbeans-trunk-nightly-201412030001-src.zip 199499099 SHA256 adae819d7f94b21e1b65d00dd39082305e79c34801397f474c2ed4e87745c19a SHA512 5eec00d8e086024101cd916bf01603ab2a4ff5b2acd4f03bed258e02b84ce678fe99f85f22824685ae5bc560f67093a4072d741c80a0e772b210569bfb8c75e3 WHIRLPOOL b08f24fb2df1ecb13833490696e331893a7001e668ea387e8c6a5b791b43631b7259db29c1ba76a5629bc001fe293ea1aa0108d213492600cfe057cfe6f6672b
 DIST netbeans-trunk-nightly-201412040001-src.zip 199544440 SHA256 1f721475c4cada742f1128627eba186360874a9a9d95f9634bd1ac8c2cd680d5 SHA512 26921a476d3b94fd7f636569306a2a072f10c6276acdb2b37c830eed3fdb983641ee44d675386fb04f2be760c9f1fe7f180fc43771329c602a05128a2ad2495a WHIRLPOOL 776a1e308af0da58535a9cd33a4b2901b3aeddb8fc61fed440f5c6bf0f86a746490f4e8dc3f7f787586763fc210a2f70771b9c42813703ee97206145cb6e4002
 DIST netbeans-trunk-nightly-201412070001-src.zip 199641850 SHA256 87bb9a998b5814f7d372433ab97ee3827f331a7f1ff92d9c7ba93a64f95d80ec SHA512 5e8ebd97085e603e09e5ea61fedbf12d069ad25edd0a4285dda6cb249ac5b9b75d01b615a0751e25058263041996b0b19adf819f102093ecaeef3364838e54bc WHIRLPOOL d376184e8f06a0b5c4cae82eea627b8dfc30874ff613251171e0e9d753bd7255db8417a79188ad96f52daf43fddc9ca094541090d4432f756ec5d7de679c7488
+DIST netbeans-trunk-nightly-201412080001-src.zip 199642324 SHA256 b13a7830fb7c88b2e188b3f5d4cf554597c9bf09990bff738f94c3d7a8eb9627 SHA512 079b33ccaf071b3db2bab3e92c189dbfe94c75640250080d1b710ae52e846a85a44569c3b5dc2e1ced6611df62ee6573e0957885498002b028e4d86344d171e9 WHIRLPOOL 9cf70238be22ffe165447cf7c75ce4fed9c0a43de377a9b4c99a6052d5fdd5aa525294b51c1e70b19b705d80d36da754f382026263a55008c67d05b53c82b812
 EBUILD netbeans-javafx-7.1.2.ebuild 3593 SHA256 76a29b37765000745794e6ae20c6b8528d8637507a257ffef3bef2ce648f05cc SHA512 a04618bda036e6652c7208f90a4dd91e07e75b85243580263f6ec846425ab907a87c318117990d4e8d9044bcd7a0ca8b63bc32bdd0d84e5373a10e67a77b79c0 WHIRLPOOL 11acad585f7315ae6b4edd53c764167567a948cb0e2037d95f2f4de34765909b71d095540c054f4cef3ba70224d294b42720536566e445cbdd06ebf2ad903841
 EBUILD netbeans-javafx-7.2.ebuild 3576 SHA256 3441b901a5074013351bc6c7ba6c424455e2affe52e448f2cfac0058c82345e2 SHA512 ee384d6e4ac767ade82b5d337d7a1c5d2b463c15a7596d91e1a850b37349f88d7867a0ffa11a118c48e2ed463f38dcfa791ec42b3fe85ea1e6bf7c4b27f9b073 WHIRLPOOL 15c7d20f2caa39c6cfcba2f846736754b049483f135ac90ced399672932a6a73467f0b4016550c3b2d8583be20d1467486f5652111893ec16111095a3e9c941c
 EBUILD netbeans-javafx-7.3.ebuild 4476 SHA256 9f268a852d45f37f9d22c3bb58d36be17f438e4b4cb5105d88ac4404731facb3 SHA512 3fa0e48e949d0df0a4404c04379623529f73ff15259f4164fddd10afb9faa046ceed16aac1a7b14728af89bf3a4ed7037638fb7e7e932a64cc71e84f7ecaa44a WHIRLPOOL 0395ca679fa41610c61dceb6ac018d7a76b62c08ca740de2fa2d98523f8e5f840a2d0a8c357b674d171841f93d980b536a671a1f12b5261d402c03b691ac6504
@@ -110,5 +111,6 @@ EBUILD netbeans-javafx-9999_p20141202.ebuild 4723 SHA256 3e649da6c3718e41ca99790
 EBUILD netbeans-javafx-9999_p20141203.ebuild 4723 SHA256 3507ae534f711caa1e25f6cf79cd6f9762e951413ff0218ac3633e812962f1f6 SHA512 7af5658bab4759caae114b3944b3f64803658cfd1eda2d15a9b5dae8033f7c700236d85f18c44686b7d83b09d8c1b9055dd5e310a2b0fcfb5db6b35da694c194 WHIRLPOOL 0c05808b117f11c4b0ed5761f773fdf7ca5f76811653c87c0297d2db4baa6692d273ad4859ee7206ceb0c6df60e9b83d5c2eefc1bd4ed5a485623913f765aeb5
 EBUILD netbeans-javafx-9999_p20141204.ebuild 4723 SHA256 773b0d21fd1b96a0182f10c1cc67f18b3795877b302845db1ade116f220a9ed0 SHA512 35e1cfb93aae0ee9787029d4cc51895e62447a5bd390064e06c9ea1073505d31b65b40f1231107f752af64cacb562a34a4fc584c4e818d99233c2905321c1996 WHIRLPOOL c88f2b9d57212e8661238e6b0156af0b2dc04eaa003ffff6802dcd7ce00f0a5a80472c9dc83a29addd2379053a9f8200cb971c5d4299cb083a28fc03070697b3
 EBUILD netbeans-javafx-9999_p20141207.ebuild 4723 SHA256 40926aa87803db57e921a1ecd504a1b1dc0f0deb4451c98b6aba211aa2ee2ddc SHA512 67a7c6d6777bc645f2198956d1bc110bda02ef332965e4382f789eccc0525dfb69f4b597a4a5007fb10b6d771b859d50d59cb3cd26f2a074007b5ab629fb2c0d WHIRLPOOL ada2862ee509ada28e8b4d2824d4ef6ad9747bcb5199c8b4205148ac07daea29f37e041053f89b9f6e965ff9d49b6cc229b7a1474ba1b143b8155205bec25f29
-MISC ChangeLog 124890 SHA256 094b8dc2e908a28151f0d14c3f0cc6b6d355da786b2b634ac34e136ff876a651 SHA512 a952efb8b04263ce06a5d82bdbbf55eb39f63be9fecac00fae70104685899eee960eb384f139dadc12001bf31ebccc9643f67479cc349033de042e002de54ee4 WHIRLPOOL 8eada5be7223bf662739badc31581e188802c54905200f4ac4dc3db56a77b05daa14d6763ee1577bca7dfa88f9e329a1833e5f8e927048cf3735183235a7c696
+EBUILD netbeans-javafx-9999_p20141208.ebuild 4723 SHA256 cd5f52870bafb6aefd1a7c9da7d3ba25b7ab9bc4104313c0491fb517fa094d9f SHA512 c84ee67b0d0eb801240670825485ebbbace5e3a99b34c5ea10392b95c602f61ac50da5451cef28e97d3110d21c4fd05c7bbede34690860582e79c4eb259c65ba WHIRLPOOL 6ddcb5ee28953829cd3a81a806ffa8dddcaa32f7624a76568ec9d91d59bc4d5a33a00bcd84366807b879303daf7a2b04066d6601626bbbaf4d7ae3f37c4a1b1f
+MISC ChangeLog 125063 SHA256 4ef823dd869c63492529fdea1becb3d58dcfafd093535ae7379069ba2051cedf SHA512 2775e052254fef64a91d947773d9a16a8733f8c04aa07933288fcfeb7f89f22c001082b2ff24695a010f23a0f434c5b53cdef6d6c7401542dcae318ee4d8b13f WHIRLPOOL 75fe9764a8778959a68aee10eeaec614e0971bc971dac7f836231588ead7ba139875020ec6b462bb43fcc09b983ab34d96ebc42f38b0f290b717c8415a788dfc
 MISC metadata.xml 251 SHA256 5a4ff53a9862390a48d45c79be24086646e7a6ff0c5bdf0fcb799d0871299003 SHA512 04153cbd9776ad56a94d6a47d043df15d082d8888df8658f18d0d4b659c6c0526ab3a9b22ccbe2471091bf2d8165f224854bc99c51f3664aaf350ccb93532a7c WHIRLPOOL 2ee8a646c6e23bc46c72cac0ecb5cfe43720ec42404ddaeed8ab1b59d139b3d5c1a94764de847f979da978c001c9f02f709d663a68eeea64d19e88f1fefbca43

diff --git a/dev-java/netbeans-javafx/netbeans-javafx-9999_p20141208.ebuild b/dev-java/netbeans-javafx/netbeans-javafx-9999_p20141208.ebuild
new file mode 100644
index 0000000..4fa7dfe
--- /dev/null
+++ b/dev-java/netbeans-javafx/netbeans-javafx-9999_p20141208.ebuild
@@ -0,0 +1,124 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+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/2014-12-08_00-01-49/zip/netbeans-trunk-nightly-201412080001-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/0F7FC8D69950B86D5F67529B5C551DB84C5BCF87-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}"/0F7FC8D69950B86D5F67529B5C551DB84C5BCF87-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.10.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/ChangeLog b/dev-java/netbeans-mobility/ChangeLog
index ef1f45c..b440fbd 100644
--- a/dev-java/netbeans-mobility/ChangeLog
+++ b/dev-java/netbeans-mobility/ChangeLog
@@ -2,6 +2,12 @@
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+*netbeans-mobility-9999_p20141208 (08 Dec 2014)
+
+  08 Dec 2014; Miroslav Šulc <fordfrog@gentoo.org>
+  +netbeans-mobility-9999_p20141208.ebuild:
+  bumped to the latest sources
+
 *netbeans-mobility-8.0.2 (07 Dec 2014)
 
   07 Dec 2014; Miroslav Šulc <fordfrog@gentoo.org>

diff --git a/dev-java/netbeans-mobility/Manifest b/dev-java/netbeans-mobility/Manifest
index 7f8652a..f437abd 100644
--- a/dev-java/netbeans-mobility/Manifest
+++ b/dev-java/netbeans-mobility/Manifest
@@ -19,7 +19,7 @@ DIST netbeans-7.4-build.xml.patch.bz2 2685 SHA256 3ffbe61e33ab28f39acbe28209469c
 DIST netbeans-8.0-201403101706-src.zip 194215149 SHA256 737a6fe9313e720590933773672c1f241820b795ce384a605743f3eeba0a9396 SHA512 dbc4ea3852ac0a698729a7698f2dccff427680bf01234c8a463268540e886f57b39697ec124fc0701cd52b558987961fc82e6f27bc9f0fc115159d250fddd676 WHIRLPOOL 47d914d023212076c463a99eda49b202aa6c05a2ffd5c32b61f97a4cd76930c94e18059292a8520359f38736e838a7c2d053ecf584493dbb3a9d8f5133ed6b36
 DIST netbeans-8.0-build.xml.patch.bz2 2685 SHA256 3ffbe61e33ab28f39acbe28209469c673ac97ba4620e9ab7391537b9d242da6a SHA512 247c67cf53ee40e94768d547218664cbf82c487f16982a43daed054a17327f168f35319ed4fa2def995adf3f0a6d25f85a3bb23ff4a84aa4e4f751257f255545 WHIRLPOOL bceeaebe6a7079910cfabcbf48738694b8b86a5ab7147002182eba3c305a310febe5861abdc3e63df904b45fcf3a5ecb3007c15611b59b4ce53406e578d13c47
 DIST netbeans-8.0.2-201411181905-src.zip 196585461 SHA256 581f80d3c2e8d87a0f007dd3f358ce0534a0bb2e4b3312cd6c8c7263713bc530 SHA512 9533de5b3c45e4a5b025213dd5602344e16d024e0cdb013f207ac3c7a9d8e63da19279f97910ad136777d75780c620224953f2974070d5c9833d1d6ef3fd427c WHIRLPOOL 2e45e83309743df167ddd1d58068848166d01ef6d9eec99ddf72b9ba7664cb182a04d6420ab03a9270842b3cd9a16a161c1eebb66953ef09158d8d521fb96516
-DIST netbeans-8.0.2-build.xml.patch.bz2 2671 SHA256 b5384db6533d41c7d3fdaffd3cd296d156ac99f0a026e3d74c4ac5b5d388a70f SHA512 1dd5dcf02fd81691b0f9c531470379138484dcbc271f65ba53a3844a1e697719e47cb98c90f92f92c5980a577d27370efc800297525f62da7211393ea0a18915 WHIRLPOOL c77621b5f4eea9e688d9714be9268d05f7c1e792d9d46d3a082418d8c1cb52c35f76d59f0befddc73f30a0e0e12c0af25b4b31c1cb69b68dd90e48638d7da509
+DIST netbeans-8.0.2-build.xml.patch.bz2 2678 SHA256 cf120f7fd8b4ad40e9abdcb09e7763fd93b4acef04ff0365e18f178706ea83bb SHA512 b61adf29bcb139207241c68513724f352420078583ca5e6d7856a4dd335ad36b7d05311eb6e14ff1c568aaf090de4ca083c32f6db1dec0b6f50d66a388bbedf7 WHIRLPOOL fb4d63329aa450a1b387fa45b59fa3c18d1a1ca8ecf9443111a3056d409a6d928d15dae275e9c564558f4b2abd54cc0f8db2df653ac432d9f58f8ef4dd747dff
 DIST netbeans-9999-r1-build.xml.patch.bz2 2379 SHA256 09cfedef0fd9d713ddc71a54848d7551ce750c15e3df00af7feef37d25260a7e SHA512 7f28a0b2536ea84ebaba26df072411f62db01873e7803f2e28400b55bd61f0857b5508668bd03894364333edf6b8cf9901b823980a8f51f8d6a711bd3a47cb59 WHIRLPOOL 74dcc47859101722f9879bf0cf2dadd210555560b2fcd036e43ac099c71fe0c712b360aadad8e88092a324c93ff42fc2e467e89e3227f23a24d55b9c9e2c27b6
 DIST netbeans-9999-r14-build.xml.patch.bz2 2671 SHA256 b5384db6533d41c7d3fdaffd3cd296d156ac99f0a026e3d74c4ac5b5d388a70f SHA512 1dd5dcf02fd81691b0f9c531470379138484dcbc271f65ba53a3844a1e697719e47cb98c90f92f92c5980a577d27370efc800297525f62da7211393ea0a18915 WHIRLPOOL c77621b5f4eea9e688d9714be9268d05f7c1e792d9d46d3a082418d8c1cb52c35f76d59f0befddc73f30a0e0e12c0af25b4b31c1cb69b68dd90e48638d7da509
 DIST netbeans-trunk-nightly-201410010001-src.zip 197355068 SHA256 0d284d68152ca0da1c8dfb7149e5b2638133fe3be6790f312c9959e59528144b SHA512 33ce5f22e9d3ac55d4f7b4b353956a39e030dee6380c5f379fba810f3ec86f8b36e88b773dbbf8bc3c430fc58caba9097764b7eac2d44ce2a25129f8f20fa4f2 WHIRLPOOL b4228286acec04cb321ca8aba60af42a7a1e2c20de1f657773166021a36e284b5ac4f49e9dbf8a51d81577b0d49d387707de3fcc0a622fd13b57c7d704b3da00
@@ -65,6 +65,7 @@ DIST netbeans-trunk-nightly-201412020001-src.zip 199498951 SHA256 c454e3862954d2
 DIST netbeans-trunk-nightly-201412030001-src.zip 199499099 SHA256 adae819d7f94b21e1b65d00dd39082305e79c34801397f474c2ed4e87745c19a SHA512 5eec00d8e086024101cd916bf01603ab2a4ff5b2acd4f03bed258e02b84ce678fe99f85f22824685ae5bc560f67093a4072d741c80a0e772b210569bfb8c75e3 WHIRLPOOL b08f24fb2df1ecb13833490696e331893a7001e668ea387e8c6a5b791b43631b7259db29c1ba76a5629bc001fe293ea1aa0108d213492600cfe057cfe6f6672b
 DIST netbeans-trunk-nightly-201412040001-src.zip 199544440 SHA256 1f721475c4cada742f1128627eba186360874a9a9d95f9634bd1ac8c2cd680d5 SHA512 26921a476d3b94fd7f636569306a2a072f10c6276acdb2b37c830eed3fdb983641ee44d675386fb04f2be760c9f1fe7f180fc43771329c602a05128a2ad2495a WHIRLPOOL 776a1e308af0da58535a9cd33a4b2901b3aeddb8fc61fed440f5c6bf0f86a746490f4e8dc3f7f787586763fc210a2f70771b9c42813703ee97206145cb6e4002
 DIST netbeans-trunk-nightly-201412070001-src.zip 199641850 SHA256 87bb9a998b5814f7d372433ab97ee3827f331a7f1ff92d9c7ba93a64f95d80ec SHA512 5e8ebd97085e603e09e5ea61fedbf12d069ad25edd0a4285dda6cb249ac5b9b75d01b615a0751e25058263041996b0b19adf819f102093ecaeef3364838e54bc WHIRLPOOL d376184e8f06a0b5c4cae82eea627b8dfc30874ff613251171e0e9d753bd7255db8417a79188ad96f52daf43fddc9ca094541090d4432f756ec5d7de679c7488
+DIST netbeans-trunk-nightly-201412080001-src.zip 199642324 SHA256 b13a7830fb7c88b2e188b3f5d4cf554597c9bf09990bff738f94c3d7a8eb9627 SHA512 079b33ccaf071b3db2bab3e92c189dbfe94c75640250080d1b710ae52e846a85a44569c3b5dc2e1ced6611df62ee6573e0957885498002b028e4d86344d171e9 WHIRLPOOL 9cf70238be22ffe165447cf7c75ce4fed9c0a43de377a9b4c99a6052d5fdd5aa525294b51c1e70b19b705d80d36da754f382026263a55008c67d05b53c82b812
 EBUILD netbeans-mobility-7.0.1.ebuild 8655 SHA256 992e214ff2926e2f0db623d96b717bf8f8e4ceb47e96e69b3c6b8f67d6a8d130 SHA512 d51bc003f4b637cfe71c9f49a96427e535596542ac195a9621bc4f92c04a6f720a87fac6eb267732f869ba105f263d9d36f848b54a89c734b6a68a78ed323808 WHIRLPOOL 515da7153b12c3b5779cfad16e3800b4d26ba4b174027d9a7b06a26754fad065751c7eda137ba6199315d024a322d59e7ea39a1b2f4244ea75b30770ac505791
 EBUILD netbeans-mobility-7.1.2.ebuild 7543 SHA256 bb3f1245ad68133798fa507f06dd1ffbc1d55f6ba38f4cccc29ff0240e5b5f22 SHA512 41f663977a0716c5449db597d5f90054717ff3579a9137a910d1943d3e0b39379c34c0d9aa9c98d231037a042074c8ecf5fc62c018cd7cd5e8680734ff854c51 WHIRLPOOL c3c6feb41ce3df356f617ca80530673ac653cdf50da0aead00518854d0850d6420333529aa6591e15ddd4053249191fcb47100c5f39a804352722e54f802bae4
 EBUILD netbeans-mobility-7.2.ebuild 6571 SHA256 58af97ca9a6adc56fa6abe91777a1ac35a3a9b7d68af1e73c23a45dc5631abb2 SHA512 ac42c3a3daa7d55c9c13d1c99dd6880d5d99741f80cfceb683da27e30c70d6228d9434571f2405d0dbbf27d2203e3f877da6347794b07b98331edd1631d3a69d WHIRLPOOL 5a6af3cbcd08180dcdf708a038f3119faacb9c78532b4bb1945c7260fb0a8232af57745e41a73311fafffe185c969e0c88ac34970caab7708313f53417695374
@@ -115,5 +116,6 @@ EBUILD netbeans-mobility-9999_p20141202.ebuild 4418 SHA256 c8d651ae976df7262d237
 EBUILD netbeans-mobility-9999_p20141203.ebuild 4418 SHA256 6df6495216e80a94879dc38dd8af58b64002c8d6b7a2513faa0338141d858daa SHA512 fde3b5bd5ba3b29f02e082cfe20592d39c6e2b6ffb723528d7926ea0f94c0398d02bea1ef6feb3d25a77f5cf30897f844ea3d7bde07666adc2abaf3da88f336d WHIRLPOOL cfb5a560e004ae4f4973ded7002ce83ddbccf1d1c6205ba6f2f8212ea391ff3d626ee3369c2a6b192434c4378cdb5ca715ae55cbf0a156e7a280580a9776c726
 EBUILD netbeans-mobility-9999_p20141204.ebuild 4418 SHA256 dbd0b521d9161148d38c328af97556dbb948765636b10265fd3527114af45829 SHA512 6b997cdef5d89e282b7ef44627a66442ba104abcc47c8e94a5b1869388628c1dfe036fce5cdb70b1206ca807918aaac0a9a1db878ccb0b93ebea48583599c2c0 WHIRLPOOL 694b50bc34053f31afa6fe211330e809d3ed10263d1df3f8d122baab32b98b2a309109589ac647ccda062bb6948f8cd8ba2f1d1f16131db1a4e5d280f1046646
 EBUILD netbeans-mobility-9999_p20141207.ebuild 4418 SHA256 73dff06d56273915771ec23fc15299e33d6628942a5b716b7aa4f7d8e47c6e18 SHA512 1a0e6909e673536c4b10921faa68862d5a8818865116619469ad94534984222ed7196322cb726d331284c043a5d042515a663dca4222176f0eef11e81790821d WHIRLPOOL 73eb44be457203fb190ab21dca7005feb6344edd399a1adf4d4193c5d79026d90eb4baf628cf53af00d207f969a73cec8b3c03a7379b59e190eecf4f915fc49b
-MISC ChangeLog 141998 SHA256 688e9073bd5d63fd2ce821d6ca8b6fb8d77a5a2c8c543e459368fe35842c226b SHA512 651f53ca492dcfe73e60e5d1f14187a9fbbff1551e3ae27980bf266a01810b0d0966d70d6dae552a573ad53250e31b48f9c97f683b122532e64086694424512a WHIRLPOOL c29639fe4e6187ae1d83273a54b6603425150d8a1854f3a9eaab74d0569cc7825506048959f23cfcb3067c5386a25cb20185f1ef33f754e7823ae1c2d66a57f0
+EBUILD netbeans-mobility-9999_p20141208.ebuild 4418 SHA256 bb563222c0c0d2bd36adeb4c217139ab07977cc5d9260d6f9971bc1eb040c67f SHA512 bed802cf5578243cc68c30c59eaaa841835c00e66d7d02b51d18cb8f253ab5c9942325336d6aaaf49d3e3e73ea2af81f68e839e653b5d5b86097177a66eca6b5 WHIRLPOOL df0b3203f6da58f6235ae0dcdd74ffcd755500420f491e41b910f60d3848f13d1dadf10ba3d67e6cf4a62b98836cc671752d19dc991051a1175b653247afcd81
+MISC ChangeLog 142175 SHA256 bf00b9fcfefaf99c6ff35d5cfcb703b0b970cfa039b2fa59ec98cb2529f4bd9b SHA512 a2ae377a4f930cb632e9ac2c76f0d24f027f29200fd0c6a4cc49fa172d202cb759550a354114fa079168109a65932c6ae181293e9213bcba3e8e8feaf0e24588 WHIRLPOOL 8f6bb8d6fae437ca05eae192ec491a71a2960e3943ef97003673e45478ef15c4a2e6c1b28cbb5d7d916291c174e3ddcd043e2b9d35630dde72e5aeba6912b62c
 MISC metadata.xml 251 SHA256 5a4ff53a9862390a48d45c79be24086646e7a6ff0c5bdf0fcb799d0871299003 SHA512 04153cbd9776ad56a94d6a47d043df15d082d8888df8658f18d0d4b659c6c0526ab3a9b22ccbe2471091bf2d8165f224854bc99c51f3664aaf350ccb93532a7c WHIRLPOOL 2ee8a646c6e23bc46c72cac0ecb5cfe43720ec42404ddaeed8ab1b59d139b3d5c1a94764de847f979da978c001c9f02f709d663a68eeea64d19e88f1fefbca43

diff --git a/dev-java/netbeans-mobility/netbeans-mobility-9999_p20141208.ebuild b/dev-java/netbeans-mobility/netbeans-mobility-9999_p20141208.ebuild
new file mode 100644
index 0000000..4dfe9f7
--- /dev/null
+++ b/dev-java/netbeans-mobility/netbeans-mobility-9999_p20141208.ebuild
@@ -0,0 +1,126 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+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/2014-12-08_00-01-49/zip/netbeans-trunk-nightly-201412080001-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/ChangeLog b/dev-java/netbeans-nb/ChangeLog
index 5c15d98..876efe2 100644
--- a/dev-java/netbeans-nb/ChangeLog
+++ b/dev-java/netbeans-nb/ChangeLog
@@ -2,6 +2,12 @@
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+*netbeans-nb-9999_p20141208 (08 Dec 2014)
+
+  08 Dec 2014; Miroslav Šulc <fordfrog@gentoo.org>
+  +netbeans-nb-9999_p20141208.ebuild:
+  bumped to the latest sources
+
 *netbeans-nb-8.0.2 (07 Dec 2014)
 
   07 Dec 2014; Miroslav Šulc <fordfrog@gentoo.org> +netbeans-nb-8.0.2.ebuild:

diff --git a/dev-java/netbeans-nb/Manifest b/dev-java/netbeans-nb/Manifest
index b1302a4..18505b7 100644
--- a/dev-java/netbeans-nb/Manifest
+++ b/dev-java/netbeans-nb/Manifest
@@ -18,7 +18,7 @@ DIST netbeans-7.4-build.xml.patch.bz2 2685 SHA256 3ffbe61e33ab28f39acbe28209469c
 DIST netbeans-8.0-201403101706-src.zip 194215149 SHA256 737a6fe9313e720590933773672c1f241820b795ce384a605743f3eeba0a9396 SHA512 dbc4ea3852ac0a698729a7698f2dccff427680bf01234c8a463268540e886f57b39697ec124fc0701cd52b558987961fc82e6f27bc9f0fc115159d250fddd676 WHIRLPOOL 47d914d023212076c463a99eda49b202aa6c05a2ffd5c32b61f97a4cd76930c94e18059292a8520359f38736e838a7c2d053ecf584493dbb3a9d8f5133ed6b36
 DIST netbeans-8.0-build.xml.patch.bz2 2685 SHA256 3ffbe61e33ab28f39acbe28209469c673ac97ba4620e9ab7391537b9d242da6a SHA512 247c67cf53ee40e94768d547218664cbf82c487f16982a43daed054a17327f168f35319ed4fa2def995adf3f0a6d25f85a3bb23ff4a84aa4e4f751257f255545 WHIRLPOOL bceeaebe6a7079910cfabcbf48738694b8b86a5ab7147002182eba3c305a310febe5861abdc3e63df904b45fcf3a5ecb3007c15611b59b4ce53406e578d13c47
 DIST netbeans-8.0.2-201411181905-src.zip 196585461 SHA256 581f80d3c2e8d87a0f007dd3f358ce0534a0bb2e4b3312cd6c8c7263713bc530 SHA512 9533de5b3c45e4a5b025213dd5602344e16d024e0cdb013f207ac3c7a9d8e63da19279f97910ad136777d75780c620224953f2974070d5c9833d1d6ef3fd427c WHIRLPOOL 2e45e83309743df167ddd1d58068848166d01ef6d9eec99ddf72b9ba7664cb182a04d6420ab03a9270842b3cd9a16a161c1eebb66953ef09158d8d521fb96516
-DIST netbeans-8.0.2-build.xml.patch.bz2 2671 SHA256 b5384db6533d41c7d3fdaffd3cd296d156ac99f0a026e3d74c4ac5b5d388a70f SHA512 1dd5dcf02fd81691b0f9c531470379138484dcbc271f65ba53a3844a1e697719e47cb98c90f92f92c5980a577d27370efc800297525f62da7211393ea0a18915 WHIRLPOOL c77621b5f4eea9e688d9714be9268d05f7c1e792d9d46d3a082418d8c1cb52c35f76d59f0befddc73f30a0e0e12c0af25b4b31c1cb69b68dd90e48638d7da509
+DIST netbeans-8.0.2-build.xml.patch.bz2 2678 SHA256 cf120f7fd8b4ad40e9abdcb09e7763fd93b4acef04ff0365e18f178706ea83bb SHA512 b61adf29bcb139207241c68513724f352420078583ca5e6d7856a4dd335ad36b7d05311eb6e14ff1c568aaf090de4ca083c32f6db1dec0b6f50d66a388bbedf7 WHIRLPOOL fb4d63329aa450a1b387fa45b59fa3c18d1a1ca8ecf9443111a3056d409a6d928d15dae275e9c564558f4b2abd54cc0f8db2df653ac432d9f58f8ef4dd747dff
 DIST netbeans-9999-r1-build.xml.patch.bz2 2379 SHA256 09cfedef0fd9d713ddc71a54848d7551ce750c15e3df00af7feef37d25260a7e SHA512 7f28a0b2536ea84ebaba26df072411f62db01873e7803f2e28400b55bd61f0857b5508668bd03894364333edf6b8cf9901b823980a8f51f8d6a711bd3a47cb59 WHIRLPOOL 74dcc47859101722f9879bf0cf2dadd210555560b2fcd036e43ac099c71fe0c712b360aadad8e88092a324c93ff42fc2e467e89e3227f23a24d55b9c9e2c27b6
 DIST netbeans-9999-r14-build.xml.patch.bz2 2671 SHA256 b5384db6533d41c7d3fdaffd3cd296d156ac99f0a026e3d74c4ac5b5d388a70f SHA512 1dd5dcf02fd81691b0f9c531470379138484dcbc271f65ba53a3844a1e697719e47cb98c90f92f92c5980a577d27370efc800297525f62da7211393ea0a18915 WHIRLPOOL c77621b5f4eea9e688d9714be9268d05f7c1e792d9d46d3a082418d8c1cb52c35f76d59f0befddc73f30a0e0e12c0af25b4b31c1cb69b68dd90e48638d7da509
 DIST netbeans-trunk-nightly-201410010001-src.zip 197355068 SHA256 0d284d68152ca0da1c8dfb7149e5b2638133fe3be6790f312c9959e59528144b SHA512 33ce5f22e9d3ac55d4f7b4b353956a39e030dee6380c5f379fba810f3ec86f8b36e88b773dbbf8bc3c430fc58caba9097764b7eac2d44ce2a25129f8f20fa4f2 WHIRLPOOL b4228286acec04cb321ca8aba60af42a7a1e2c20de1f657773166021a36e284b5ac4f49e9dbf8a51d81577b0d49d387707de3fcc0a622fd13b57c7d704b3da00
@@ -64,6 +64,7 @@ DIST netbeans-trunk-nightly-201412020001-src.zip 199498951 SHA256 c454e3862954d2
 DIST netbeans-trunk-nightly-201412030001-src.zip 199499099 SHA256 adae819d7f94b21e1b65d00dd39082305e79c34801397f474c2ed4e87745c19a SHA512 5eec00d8e086024101cd916bf01603ab2a4ff5b2acd4f03bed258e02b84ce678fe99f85f22824685ae5bc560f67093a4072d741c80a0e772b210569bfb8c75e3 WHIRLPOOL b08f24fb2df1ecb13833490696e331893a7001e668ea387e8c6a5b791b43631b7259db29c1ba76a5629bc001fe293ea1aa0108d213492600cfe057cfe6f6672b
 DIST netbeans-trunk-nightly-201412040001-src.zip 199544440 SHA256 1f721475c4cada742f1128627eba186360874a9a9d95f9634bd1ac8c2cd680d5 SHA512 26921a476d3b94fd7f636569306a2a072f10c6276acdb2b37c830eed3fdb983641ee44d675386fb04f2be760c9f1fe7f180fc43771329c602a05128a2ad2495a WHIRLPOOL 776a1e308af0da58535a9cd33a4b2901b3aeddb8fc61fed440f5c6bf0f86a746490f4e8dc3f7f787586763fc210a2f70771b9c42813703ee97206145cb6e4002
 DIST netbeans-trunk-nightly-201412070001-src.zip 199641850 SHA256 87bb9a998b5814f7d372433ab97ee3827f331a7f1ff92d9c7ba93a64f95d80ec SHA512 5e8ebd97085e603e09e5ea61fedbf12d069ad25edd0a4285dda6cb249ac5b9b75d01b615a0751e25058263041996b0b19adf819f102093ecaeef3364838e54bc WHIRLPOOL d376184e8f06a0b5c4cae82eea627b8dfc30874ff613251171e0e9d753bd7255db8417a79188ad96f52daf43fddc9ca094541090d4432f756ec5d7de679c7488
+DIST netbeans-trunk-nightly-201412080001-src.zip 199642324 SHA256 b13a7830fb7c88b2e188b3f5d4cf554597c9bf09990bff738f94c3d7a8eb9627 SHA512 079b33ccaf071b3db2bab3e92c189dbfe94c75640250080d1b710ae52e846a85a44569c3b5dc2e1ced6611df62ee6573e0957885498002b028e4d86344d171e9 WHIRLPOOL 9cf70238be22ffe165447cf7c75ce4fed9c0a43de377a9b4c99a6052d5fdd5aa525294b51c1e70b19b705d80d36da754f382026263a55008c67d05b53c82b812
 EBUILD netbeans-nb-7.0.1.ebuild 5116 SHA256 17ac4a9aa7931d052a899ad8649bed42d5c37a06d913e0dc8ded118d7ef01c47 SHA512 932964fcc4d8d614a2ad8531eecd9298b89f06ac97db68e140e77bceb5d9c08c35524ae4766c18f5467bb01391a9c9f29cd4c5e45c29664b91340a33b0804d7e WHIRLPOOL 0e935fc1c63b61a97e60941111cd30fe4f7b740743013074f7722f3556473ccdba8bcd70ac6f544c67e2a60dd2d7c96abc9bf6bfc51aa6e9ff3135d041ebf3a1
 EBUILD netbeans-nb-7.1.2.ebuild 4987 SHA256 075ef11ab57b236061e4df3e905524ecfba2966c5d735d113b878a03219a9cc1 SHA512 321182e1780acfdbff56c1c84748897cf8c4dcf9fc94d0a6db71a018968e8f96e479a2dbb2f97655d50ee836ac1a81fdd62f6f04ba1b2d54157158e577c2b986 WHIRLPOOL 3d3742c6e90f0231ecabf5200446d00900204f51b9fb2be92954668dae86584d8ef477be11cad462a9721a04a1bc97673b8d8d808ef49f0345d979022471d919
 EBUILD netbeans-nb-7.2.ebuild 4970 SHA256 79d73ca57dd63e25afccd44816dd248e79f6974dd7e9ebbf4b3b11eb659092d9 SHA512 083317f6944c5fe38507fbca18804888e25c23070420a3080bb68bf00be95e520541c381482a6c55ff60656b36f8dd3fac60f2c605e4e3ee0ae92427faa468da WHIRLPOOL 7f02ab258612c5035b26326f25aaa08bf60fc0ff3108a2bf61dbcde9fe845e647f91319938206742a5f131fe905678833f3ad2449f68efef7e6ed4203f7538f3
@@ -114,5 +115,6 @@ EBUILD netbeans-nb-9999_p20141202.ebuild 5013 SHA256 c11d09bdbb60247ee6d1dfd65ab
 EBUILD netbeans-nb-9999_p20141203.ebuild 5013 SHA256 b5afafe514f25b63a38a9d1505d33286eec9d2809cf9de1254df7bcde6d719a7 SHA512 9f734573018a14384d64ed5921175f5bac0b48356929ef75e43e3aea07055f98a31f15a1f3168d56b0cb93ce1e3476f4a545921a72d15da1a9725f55b36e57b6 WHIRLPOOL ccb2cf929bf51922979f030e1636407dd1724648437eb58bc6a656a05dfa22840946fee7fc0912ffb6aa01337d262054ef45a899ecc967843c5083c60542e2d5
 EBUILD netbeans-nb-9999_p20141204.ebuild 5013 SHA256 ccdf45bab447c60b4dbc4f00c86cff8560ac62914c6ad4db36754c15bcbe229f SHA512 a1491215ff48ffaa0ac68ef5061c5381a8b027ddbe174b934111afce6f335fda1f33948c54f700d46d360902c1057d24d1ba2f466222089780fc131f94fbd6d1 WHIRLPOOL 860409ea70d956f5af9cf9db50d7626da5dd50078f1ca52c5cef83d5c9224f103aeef18379640717113249231fc6e0ad0272dacf24d1d30a54fa9a89bdcbd613
 EBUILD netbeans-nb-9999_p20141207.ebuild 5013 SHA256 e028ade574978934f8376023598fd59bbe05dde4d926975506aeb5d48513b189 SHA512 2616cf5de084529d85e598cdd8ff0fa7bd829bd9da0850430efe278f588600ce5c60142abc3bbcded5f74c5ed6631fbee82fa607fe02d1492a87554a1753e882 WHIRLPOOL 694811090f57b10cc637aeedb2b1c77392789efb01eee7cccda57deee195f5a1de86858e0f83290e954530a1c3026ccf5c03d312323f58558c93e909c6ecba01
-MISC ChangeLog 131835 SHA256 57427eabab97a819da9b6d0d2a42325c243b0e61e5c6f89ea637e459e73727a6 SHA512 12dd26b870e06f5d2fb26c27947f1fa0b636dbc97017eb191f3a89db3175bc769b0fba229f89b37c558c94f25178964f773da4c4ea208c745a3d5da42514d2f6 WHIRLPOOL a7dc9ef6aa19a6572e7ce7792c2caedb883e527900942194eb745e2d8095b02f702102207e05b0b680c0296c4cdb318411b8f4ede3b11372100df432f6ec4bd1
+EBUILD netbeans-nb-9999_p20141208.ebuild 5013 SHA256 2b290c575085a335d2c3e1040da1ba683b4dd08f67c838dd301fe4ede3bf9c03 SHA512 37ebfc7b93c4b94f982b243b3d9e1670cd774ba9e906b73a40bc2465cb5ccea20651e30d562691beb3bb25dcfcf2cddc9a9dfc8b6daaa9754132b41cd029b182 WHIRLPOOL 671a6ed81a377c4239cedbb27cfde79dcd4cd227049d5b42fef323d3869f6a803974c0528de993f1ab71899ac49ded9823106fb5b9a2e6552850d7059d2ab378
+MISC ChangeLog 132000 SHA256 77d6fa9ca7247ac9e0f1d71e6661a1bad2445cb901594b96b4d3089c8776e73a SHA512 3277dde7a624c808d8057613c996c837937172912c7ffd34aedfd25de030c61ee28e6d4e76318e389158c09e5fd896bc7238b5b7cbb9475d22da7d46f938b731 WHIRLPOOL fe5621c9ad8c0f4eb6732368403dbd57bf3487096b48c8cb2b0b3a2101ab9d2014f89223ed90948deb7bc1b47a380d4437aab07534ca3fd941edb1d80fda4bca
 MISC metadata.xml 396 SHA256 5083064ed2246a84e2aedbc326d56cc8bf571fd8e7c24af0e4bc14c50f1ebb49 SHA512 a0b2171264f1ea6ba33b184ef802589d679eaba5c4a1753e149d7cd93c2c31aace934eddf5dffed6be341d9e4061c843c849e464afb7b4417c6c2dff3e9ff1c7 WHIRLPOOL 1be3a1a3c2b64d8818108de191db834395ee4ab3cf7994914c9331d6e42ca9015dd2493b9516db20990cb30b4dea385a3dde08b75df956ca39ad65e3fa721cb7

diff --git a/dev-java/netbeans-nb/netbeans-nb-9999_p20141208.ebuild b/dev-java/netbeans-nb/netbeans-nb-9999_p20141208.ebuild
new file mode 100644
index 0000000..10cccf0
--- /dev/null
+++ b/dev-java/netbeans-nb/netbeans-nb-9999_p20141208.ebuild
@@ -0,0 +1,148 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+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/2014-12-08_00-01-49/zip/netbeans-trunk-nightly-201412080001-src.zip"
+SRC_URI="${SOURCE_URL}
+	http://dev.gentoo.org/~fordfrog/distfiles/netbeans-9999-r14-build.xml.patch.bz2
+	http://dev.gentoo.org/~fordfrog/distfiles/netbeans-7.0.png"
+LICENSE="|| ( CDDL GPL-2-with-linking-exception )"
+KEYWORDS="~amd64 ~x86"
+IUSE="keychain"
+S="${WORKDIR}"
+
+CDEPEND="~dev-java/netbeans-platform-${PV}
+	~dev-java/netbeans-harness-${PV}
+	~dev-java/netbeans-ide-${PV}"
+DEPEND=">=virtual/jdk-1.7
+	app-arch/unzip
+	${CDEPEND}
+	dev-java/javahelp:0"
+RDEPEND=">=virtual/jdk-1.7
+	${CDEPEND}
+	keychain? (
+		net-misc/keychain:0
+		net-misc/x11-ssh-askpass:0
+	)"
+
+INSTALL_DIR="/usr/share/${PN}-${SLOT}"
+
+EANT_BUILD_XML="nbbuild/build.xml"
+EANT_BUILD_TARGET="rebuild-cluster create-netbeans-import finish-build"
+EANT_EXTRA_ARGS="-Drebuild.cluster.name=nb.cluster.nb -Dext.binaries.downloaded=true -Dpermit.jdk8.builds=true"
+EANT_FILTER_COMPILER="ecj-3.3 ecj-3.4 ecj-3.5 ecj-3.6 ecj-3.7"
+JAVA_PKG_BSFIX="off"
+
+src_unpack() {
+	unpack $(basename ${SOURCE_URL})
+
+	einfo "Deleting bundled jars..."
+	find -name "*.jar" -type f -delete
+
+	unpack netbeans-9999-r14-build.xml.patch.bz2
+}
+
+src_prepare() {
+	einfo "Deleting bundled class files..."
+	find -name "*.class" -type f | xargs rm -vf
+
+	epatch netbeans-9999-r14-build.xml.patch
+	use keychain && epatch "${FILESDIR}"/${SLOT}/keychain-support.patch
+
+	# Support for custom patches
+	if [ -n "${NETBEANS9999_PATCHES_DIR}" -a -d "${NETBEANS9999_PATCHES_DIR}" ] ; then
+		local files=`find "${NETBEANS9999_PATCHES_DIR}" -type f`
+
+		if [ -n "${files}" ] ; then
+			einfo "Applying custom patches:"
+
+			for file in ${files} ; do
+				epatch "${file}"
+			done
+		fi
+	fi
+
+	einfo "Symlinking external libraries..."
+	java-pkg_jar-from --build-only --into javahelp/external javahelp jhall.jar jhall-2.0_05.jar
+
+	einfo "Linking in other clusters..."
+	mkdir "${S}"/nbbuild/netbeans || die
+	pushd "${S}"/nbbuild/netbeans >/dev/null || die
+
+	ln -s /usr/share/netbeans-platform-${SLOT} platform || die
+	cat /usr/share/netbeans-platform-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+	touch nb.cluster.platform.built
+
+	ln -s /usr/share/netbeans-harness-${SLOT} harness || die
+	cat /usr/share/netbeans-harness-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+	touch nb.cluster.harness.built
+
+	ln -s /usr/share/netbeans-ide-${SLOT} ide || die
+	cat /usr/share/netbeans-ide-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+	touch nb.cluster.ide.built
+	popd >/dev/null || die
+
+	java-pkg-2_src_prepare
+}
+
+src_install() {
+	pushd nbbuild/netbeans >/dev/null || die
+
+	insinto ${INSTALL_DIR}/nb
+
+	grep -E "/nb$" moduleCluster.properties > "${D}"/${INSTALL_DIR}/nb/moduleCluster.properties || die
+
+	insinto ${INSTALL_DIR}
+	doins -r nb
+	dodoc *.txt
+	dohtml *.html *.css
+
+	insinto ${INSTALL_DIR}/bin
+	doins bin/netbeans
+	dosym ${INSTALL_DIR}/bin/netbeans /usr/bin/netbeans-${SLOT}
+	fperms 755 ${INSTALL_DIR}/bin/netbeans
+
+	insinto /etc/netbeans-${SLOT}
+	doins etc/*
+	dosym /etc/netbeans-${SLOT} ${INSTALL_DIR}/etc
+
+	# fix paths per bug# 163483
+	if [[ -e "${D}"/${INSTALL_DIR}/bin/netbeans ]]; then
+		sed -i -e "s:\"\$progdir\"/../etc/:/etc/netbeans-${SLOT}/:" "${D}"/${INSTALL_DIR}/bin/netbeans
+		sed -i -e "s:\"\${userdir}\"/etc/:/etc/netbeans-${SLOT}/:" "${D}"/${INSTALL_DIR}/bin/netbeans
+	fi
+
+	dodir /usr/share/icons/hicolor/32x32/apps
+	dosym ${INSTALL_DIR}/nb/netbeans.png /usr/share/icons/hicolor/32x32/apps/netbeans-${SLOT}.png
+	dodir /usr/share/icons/hicolor/128x128/apps
+	cp "${DISTDIR}"/netbeans-7.0.png "${D}"/usr/share/icons/hicolor/128x128/apps/netbeans-${SLOT}.png || die
+	dosym /usr/share/icons/hicolor/128x128/apps/netbeans-${SLOT}.png /usr/share/pixmaps/netbeans-${SLOT}.png
+
+	popd >/dev/null || die
+
+	make_desktop_entry netbeans-${SLOT} "Netbeans ${PV}" netbeans-${SLOT} Development
+
+	mkdir -p  "${D}"/${INSTALL_DIR}/nb/config || die
+	echo "NBGNT" > "${D}"/${INSTALL_DIR}/nb/config/productid || die
+}
+
+pkg_postinst() {
+	if use keychain ; then
+		einfo "You enabled keychain support, that means NetBeans will use keychain for managing"
+		einfo "your keys while connecting to ssh protected repositories. If you want to load some"
+		einfo "keys on NetBeans startup, create file keychain-keys.txt in your userdir"
+		einfo "(~/.netbeans/${SLOT}/keychain-keys.txt) and put names of your keys in the file,"
+		einfo "each key on single line, for example:"
+		einfo "id_dsa"
+		einfo "id_dsa_gentoo"
+		einfo "If on NetBeans startup key will not be handled by keychain yet, you will be asked"
+		einfo "for key password (only this time and never again). You can find more information"
+		einfo "about keychain at http://www.gentoo.org/doc/en/keychain-guide.xml"
+	fi
+}

diff --git a/dev-java/netbeans-php/ChangeLog b/dev-java/netbeans-php/ChangeLog
index 7846a03..3c4facf 100644
--- a/dev-java/netbeans-php/ChangeLog
+++ b/dev-java/netbeans-php/ChangeLog
@@ -2,6 +2,12 @@
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+*netbeans-php-9999_p20141208 (08 Dec 2014)
+
+  08 Dec 2014; Miroslav Šulc <fordfrog@gentoo.org>
+  +netbeans-php-9999_p20141208.ebuild:
+  bumped to the latest sources
+
 *netbeans-php-8.0.2 (07 Dec 2014)
 
   07 Dec 2014; Miroslav Šulc <fordfrog@gentoo.org> +netbeans-php-8.0.2.ebuild:

diff --git a/dev-java/netbeans-php/Manifest b/dev-java/netbeans-php/Manifest
index 035a72d..077aa02 100644
--- a/dev-java/netbeans-php/Manifest
+++ b/dev-java/netbeans-php/Manifest
@@ -21,7 +21,7 @@ DIST netbeans-7.4-build.xml.patch.bz2 2685 SHA256 3ffbe61e33ab28f39acbe28209469c
 DIST netbeans-8.0-201403101706-src.zip 194215149 SHA256 737a6fe9313e720590933773672c1f241820b795ce384a605743f3eeba0a9396 SHA512 dbc4ea3852ac0a698729a7698f2dccff427680bf01234c8a463268540e886f57b39697ec124fc0701cd52b558987961fc82e6f27bc9f0fc115159d250fddd676 WHIRLPOOL 47d914d023212076c463a99eda49b202aa6c05a2ffd5c32b61f97a4cd76930c94e18059292a8520359f38736e838a7c2d053ecf584493dbb3a9d8f5133ed6b36
 DIST netbeans-8.0-build.xml.patch.bz2 2685 SHA256 3ffbe61e33ab28f39acbe28209469c673ac97ba4620e9ab7391537b9d242da6a SHA512 247c67cf53ee40e94768d547218664cbf82c487f16982a43daed054a17327f168f35319ed4fa2def995adf3f0a6d25f85a3bb23ff4a84aa4e4f751257f255545 WHIRLPOOL bceeaebe6a7079910cfabcbf48738694b8b86a5ab7147002182eba3c305a310febe5861abdc3e63df904b45fcf3a5ecb3007c15611b59b4ce53406e578d13c47
 DIST netbeans-8.0.2-201411181905-src.zip 196585461 SHA256 581f80d3c2e8d87a0f007dd3f358ce0534a0bb2e4b3312cd6c8c7263713bc530 SHA512 9533de5b3c45e4a5b025213dd5602344e16d024e0cdb013f207ac3c7a9d8e63da19279f97910ad136777d75780c620224953f2974070d5c9833d1d6ef3fd427c WHIRLPOOL 2e45e83309743df167ddd1d58068848166d01ef6d9eec99ddf72b9ba7664cb182a04d6420ab03a9270842b3cd9a16a161c1eebb66953ef09158d8d521fb96516
-DIST netbeans-8.0.2-build.xml.patch.bz2 2671 SHA256 b5384db6533d41c7d3fdaffd3cd296d156ac99f0a026e3d74c4ac5b5d388a70f SHA512 1dd5dcf02fd81691b0f9c531470379138484dcbc271f65ba53a3844a1e697719e47cb98c90f92f92c5980a577d27370efc800297525f62da7211393ea0a18915 WHIRLPOOL c77621b5f4eea9e688d9714be9268d05f7c1e792d9d46d3a082418d8c1cb52c35f76d59f0befddc73f30a0e0e12c0af25b4b31c1cb69b68dd90e48638d7da509
+DIST netbeans-8.0.2-build.xml.patch.bz2 2678 SHA256 cf120f7fd8b4ad40e9abdcb09e7763fd93b4acef04ff0365e18f178706ea83bb SHA512 b61adf29bcb139207241c68513724f352420078583ca5e6d7856a4dd335ad36b7d05311eb6e14ff1c568aaf090de4ca083c32f6db1dec0b6f50d66a388bbedf7 WHIRLPOOL fb4d63329aa450a1b387fa45b59fa3c18d1a1ca8ecf9443111a3056d409a6d928d15dae275e9c564558f4b2abd54cc0f8db2df653ac432d9f58f8ef4dd747dff
 DIST netbeans-9999-r1-build.xml.patch.bz2 2379 SHA256 09cfedef0fd9d713ddc71a54848d7551ce750c15e3df00af7feef37d25260a7e SHA512 7f28a0b2536ea84ebaba26df072411f62db01873e7803f2e28400b55bd61f0857b5508668bd03894364333edf6b8cf9901b823980a8f51f8d6a711bd3a47cb59 WHIRLPOOL 74dcc47859101722f9879bf0cf2dadd210555560b2fcd036e43ac099c71fe0c712b360aadad8e88092a324c93ff42fc2e467e89e3227f23a24d55b9c9e2c27b6
 DIST netbeans-9999-r14-build.xml.patch.bz2 2671 SHA256 b5384db6533d41c7d3fdaffd3cd296d156ac99f0a026e3d74c4ac5b5d388a70f SHA512 1dd5dcf02fd81691b0f9c531470379138484dcbc271f65ba53a3844a1e697719e47cb98c90f92f92c5980a577d27370efc800297525f62da7211393ea0a18915 WHIRLPOOL c77621b5f4eea9e688d9714be9268d05f7c1e792d9d46d3a082418d8c1cb52c35f76d59f0befddc73f30a0e0e12c0af25b4b31c1cb69b68dd90e48638d7da509
 DIST netbeans-trunk-nightly-201410010001-src.zip 197355068 SHA256 0d284d68152ca0da1c8dfb7149e5b2638133fe3be6790f312c9959e59528144b SHA512 33ce5f22e9d3ac55d4f7b4b353956a39e030dee6380c5f379fba810f3ec86f8b36e88b773dbbf8bc3c430fc58caba9097764b7eac2d44ce2a25129f8f20fa4f2 WHIRLPOOL b4228286acec04cb321ca8aba60af42a7a1e2c20de1f657773166021a36e284b5ac4f49e9dbf8a51d81577b0d49d387707de3fcc0a622fd13b57c7d704b3da00
@@ -67,6 +67,7 @@ DIST netbeans-trunk-nightly-201412020001-src.zip 199498951 SHA256 c454e3862954d2
 DIST netbeans-trunk-nightly-201412030001-src.zip 199499099 SHA256 adae819d7f94b21e1b65d00dd39082305e79c34801397f474c2ed4e87745c19a SHA512 5eec00d8e086024101cd916bf01603ab2a4ff5b2acd4f03bed258e02b84ce678fe99f85f22824685ae5bc560f67093a4072d741c80a0e772b210569bfb8c75e3 WHIRLPOOL b08f24fb2df1ecb13833490696e331893a7001e668ea387e8c6a5b791b43631b7259db29c1ba76a5629bc001fe293ea1aa0108d213492600cfe057cfe6f6672b
 DIST netbeans-trunk-nightly-201412040001-src.zip 199544440 SHA256 1f721475c4cada742f1128627eba186360874a9a9d95f9634bd1ac8c2cd680d5 SHA512 26921a476d3b94fd7f636569306a2a072f10c6276acdb2b37c830eed3fdb983641ee44d675386fb04f2be760c9f1fe7f180fc43771329c602a05128a2ad2495a WHIRLPOOL 776a1e308af0da58535a9cd33a4b2901b3aeddb8fc61fed440f5c6bf0f86a746490f4e8dc3f7f787586763fc210a2f70771b9c42813703ee97206145cb6e4002
 DIST netbeans-trunk-nightly-201412070001-src.zip 199641850 SHA256 87bb9a998b5814f7d372433ab97ee3827f331a7f1ff92d9c7ba93a64f95d80ec SHA512 5e8ebd97085e603e09e5ea61fedbf12d069ad25edd0a4285dda6cb249ac5b9b75d01b615a0751e25058263041996b0b19adf819f102093ecaeef3364838e54bc WHIRLPOOL d376184e8f06a0b5c4cae82eea627b8dfc30874ff613251171e0e9d753bd7255db8417a79188ad96f52daf43fddc9ca094541090d4432f756ec5d7de679c7488
+DIST netbeans-trunk-nightly-201412080001-src.zip 199642324 SHA256 b13a7830fb7c88b2e188b3f5d4cf554597c9bf09990bff738f94c3d7a8eb9627 SHA512 079b33ccaf071b3db2bab3e92c189dbfe94c75640250080d1b710ae52e846a85a44569c3b5dc2e1ced6611df62ee6573e0957885498002b028e4d86344d171e9 WHIRLPOOL 9cf70238be22ffe165447cf7c75ce4fed9c0a43de377a9b4c99a6052d5fdd5aa525294b51c1e70b19b705d80d36da754f382026263a55008c67d05b53c82b812
 EBUILD netbeans-php-7.0.1.ebuild 4151 SHA256 3aee393fe89aa4788ccd17af46f1df43a5681c28af6d580724d8db0f5e804ff0 SHA512 60106805595338b83e17d906c199c54dc4cc5d979f964a41f9938a508e8514670f4e5538eeecd91f8cd06dd2b4376119674f9a7a9f2fac6c1255e14929f2bc19 WHIRLPOOL 1a09962a5bd67a4fd4eed48af3f185146d2de6f506952f626756aabf6a157678fe71e0752ed5988ff414803b83150d9b8b4de956895667e331659bb59f94e09c
 EBUILD netbeans-php-7.1.2.ebuild 3940 SHA256 779f3bceb2b5a49e923fff28c36c653e31e2d11e186fabab1e656c3314b48d28 SHA512 1296c8ccbec945e66588c2a1a490d3ea93a28672e77751e16c3dff1f1aa6e3a00b454345f0b888c684a0d31fe05aad4f44310998eb72bf1febba85da1bcdd08b WHIRLPOOL b0238f8c5aa4a8c0a5cff82b0daa29860fe39712e96110916cd8a26938ca07b8e05c308e1387c84e7d693026590846392227e95668d150bbc7f1cbc660676eec
 EBUILD netbeans-php-7.2.ebuild 4159 SHA256 bb5c66ed19c9341332e1e42efb29a4ab5d19a22c995bae93efc952ec105ad493 SHA512 c919b120bdc51b56f58b390e9a017f9e059c6b5709220e80138caf7ca3e58d432f53c9ed28f899dc9537851a4cb8cafa9e7067eaefc5d5798b05fb0be9d5bd5f WHIRLPOOL 9857d2e6ac50c4daf5c8afc0a5b65b068b6010ecf2ef04f063bc184810c18b50feda683d2d80c84c0e621909bb05b19731135f2a69f1e56db927c42e8057a658
@@ -117,5 +118,6 @@ EBUILD netbeans-php-9999_p20141202.ebuild 4423 SHA256 e2df2833232c5acdf4516073f8
 EBUILD netbeans-php-9999_p20141203.ebuild 4423 SHA256 03f198778a4f6cbac185c681d91bca15b29cc9e923dbe318e4148caa6dc3f0e3 SHA512 5de4b76434929393666f6471aba5351955c5c97d8a3ce92f865bfa5e61792e3fe13cf9d4ca3fe6f3c8a6a1e009256be4dd018119219266b5f34d04f67a4c1b05 WHIRLPOOL b568f330defa36153c6a678596d31988c5d1eb5ca6b34419edff3496bd486db68184e079f786479289db9256059c5adde073e11b5e130e1ffc8c978e2795002d
 EBUILD netbeans-php-9999_p20141204.ebuild 4423 SHA256 0e4879caf15e4bc015f369e6e614e91ac8dc0440971eda00f45118afcc319531 SHA512 e6d5e5a1059a186d351739a825d5cb4a6d25273075f640c6430963f91fe9847af637ecbb52cebdb85773d8d3c22b1b203bf58f4414e77958e599c8ff832e0155 WHIRLPOOL 42d23fdf0118e42c1f4cdd4143b4723a6f5feff0fa71203e1e4eb9f2436f7078908ef6c9d6f469f641aad61daefa5781d22b0e1830d3479d1599523357303d68
 EBUILD netbeans-php-9999_p20141207.ebuild 4423 SHA256 653ea0a777da0ea1f3f6e61b44082ec0cb6ff4eae6a8b16901315921e1413fab SHA512 beb8e9f0962099b1ff8aca756c420ae6671a2496fabe16cb8866e03bd0f2634ebdd06bb25cbefb060dd357ed92d2619563eac1a8f59d94a6ab868eae0f3574ab WHIRLPOOL a3b0edbf0e601e49e0e9fb66c9573b484f5604ae0541c88938f29da491a5ff653977a319ab7c784a45a17150625bb25f03071cd99eebc70455736aed09e58e9e
-MISC ChangeLog 132543 SHA256 abbbf34d93e7098c90b49d39c3988697371b0295e293cba65709d25aa301026b SHA512 c966ec3fc1d5f652780228791e2936ed97c5ce499d8af9e1214de2fea12dbf98d7056df9cab582288d35520e71d84f6fad9008fb0fea8f3c4313c45b25473401 WHIRLPOOL 6f3d38878acd0c6b451452b08e0f33d97a1dcceec65b1315d43d64c34c67f4e0bc26c59e5d639993e6d99e88e2bf0c462cbc8a3b9829d151a718d0630ed3e55f
+EBUILD netbeans-php-9999_p20141208.ebuild 4423 SHA256 ac202e65b288dd978ddeee210804dcf5cf2f2a16362823aca4ec04858000e5f2 SHA512 7e7396e65383501bf337d370c72e243f7d7c56965e384bd5f3bf9bbeec9746f6849b15267ac5b3fe605c5b7d6cbb931b6190d4ee2993f8c258f6a25dd7096007 WHIRLPOOL cf8a2d142883c97e947afbd281a8aed99e1442f6e5f199a7b40c4e0551c5ffc1fcb23dd2af5b7cd599284200b67874d51e86f579b557f8ded00d0ce54a36889f
+MISC ChangeLog 132710 SHA256 e7a35becc89d9d60e5e6b3468c2a08d4bb8af94d454e77bb997653d5726ddae9 SHA512 813dc7c80e40d275ea63a03d4e20ae4e18a2098a360b12bb52a1cbfde4bb70eee6e7a9594325aefc6f57cf872ebf3ae37a5c1d5f8b97c0fff774e2d6ec89b2d6 WHIRLPOOL e3bd80cb947da7b85299bfcaeddf681288ca0ec7860987d407d284a889c4e2230307a6b194a2972d09331e3cfe929f18d3e0e42e227af633f4a5ced941e7c1f7
 MISC metadata.xml 251 SHA256 5a4ff53a9862390a48d45c79be24086646e7a6ff0c5bdf0fcb799d0871299003 SHA512 04153cbd9776ad56a94d6a47d043df15d082d8888df8658f18d0d4b659c6c0526ab3a9b22ccbe2471091bf2d8165f224854bc99c51f3664aaf350ccb93532a7c WHIRLPOOL 2ee8a646c6e23bc46c72cac0ecb5cfe43720ec42404ddaeed8ab1b59d139b3d5c1a94764de847f979da978c001c9f02f709d663a68eeea64d19e88f1fefbca43

diff --git a/dev-java/netbeans-php/netbeans-php-9999_p20141208.ebuild b/dev-java/netbeans-php/netbeans-php-9999_p20141208.ebuild
new file mode 100644
index 0000000..549ed95
--- /dev/null
+++ b/dev-java/netbeans-php/netbeans-php-9999_p20141208.ebuild
@@ -0,0 +1,127 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+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/2014-12-08_00-01-49/zip/netbeans-trunk-nightly-201412080001-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/BFB982F9B33E2F1A1766C212C8208793F9B7E77C-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}"/BFB982F9B33E2F1A1766C212C8208793F9B7E77C-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/ChangeLog b/dev-java/netbeans-platform/ChangeLog
index 16b4a5a..3bac8c0 100644
--- a/dev-java/netbeans-platform/ChangeLog
+++ b/dev-java/netbeans-platform/ChangeLog
@@ -2,6 +2,12 @@
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+*netbeans-platform-9999_p20141208 (08 Dec 2014)
+
+  08 Dec 2014; Miroslav Šulc <fordfrog@gentoo.org>
+  +netbeans-platform-9999_p20141208.ebuild:
+  bumped to the latest sources
+
 *netbeans-platform-8.0.2 (07 Dec 2014)
 
   07 Dec 2014; Miroslav Šulc <fordfrog@gentoo.org>

diff --git a/dev-java/netbeans-platform/Manifest b/dev-java/netbeans-platform/Manifest
index 2aec55b..007b1b0 100644
--- a/dev-java/netbeans-platform/Manifest
+++ b/dev-java/netbeans-platform/Manifest
@@ -36,7 +36,7 @@ DIST netbeans-7.4-build.xml.patch.bz2 2685 SHA256 3ffbe61e33ab28f39acbe28209469c
 DIST netbeans-8.0-201403101706-src.zip 194215149 SHA256 737a6fe9313e720590933773672c1f241820b795ce384a605743f3eeba0a9396 SHA512 dbc4ea3852ac0a698729a7698f2dccff427680bf01234c8a463268540e886f57b39697ec124fc0701cd52b558987961fc82e6f27bc9f0fc115159d250fddd676 WHIRLPOOL 47d914d023212076c463a99eda49b202aa6c05a2ffd5c32b61f97a4cd76930c94e18059292a8520359f38736e838a7c2d053ecf584493dbb3a9d8f5133ed6b36
 DIST netbeans-8.0-build.xml.patch.bz2 2685 SHA256 3ffbe61e33ab28f39acbe28209469c673ac97ba4620e9ab7391537b9d242da6a SHA512 247c67cf53ee40e94768d547218664cbf82c487f16982a43daed054a17327f168f35319ed4fa2def995adf3f0a6d25f85a3bb23ff4a84aa4e4f751257f255545 WHIRLPOOL bceeaebe6a7079910cfabcbf48738694b8b86a5ab7147002182eba3c305a310febe5861abdc3e63df904b45fcf3a5ecb3007c15611b59b4ce53406e578d13c47
 DIST netbeans-8.0.2-201411181905-src.zip 196585461 SHA256 581f80d3c2e8d87a0f007dd3f358ce0534a0bb2e4b3312cd6c8c7263713bc530 SHA512 9533de5b3c45e4a5b025213dd5602344e16d024e0cdb013f207ac3c7a9d8e63da19279f97910ad136777d75780c620224953f2974070d5c9833d1d6ef3fd427c WHIRLPOOL 2e45e83309743df167ddd1d58068848166d01ef6d9eec99ddf72b9ba7664cb182a04d6420ab03a9270842b3cd9a16a161c1eebb66953ef09158d8d521fb96516
-DIST netbeans-8.0.2-build.xml.patch.bz2 2671 SHA256 b5384db6533d41c7d3fdaffd3cd296d156ac99f0a026e3d74c4ac5b5d388a70f SHA512 1dd5dcf02fd81691b0f9c531470379138484dcbc271f65ba53a3844a1e697719e47cb98c90f92f92c5980a577d27370efc800297525f62da7211393ea0a18915 WHIRLPOOL c77621b5f4eea9e688d9714be9268d05f7c1e792d9d46d3a082418d8c1cb52c35f76d59f0befddc73f30a0e0e12c0af25b4b31c1cb69b68dd90e48638d7da509
+DIST netbeans-8.0.2-build.xml.patch.bz2 2678 SHA256 cf120f7fd8b4ad40e9abdcb09e7763fd93b4acef04ff0365e18f178706ea83bb SHA512 b61adf29bcb139207241c68513724f352420078583ca5e6d7856a4dd335ad36b7d05311eb6e14ff1c568aaf090de4ca083c32f6db1dec0b6f50d66a388bbedf7 WHIRLPOOL fb4d63329aa450a1b387fa45b59fa3c18d1a1ca8ecf9443111a3056d409a6d928d15dae275e9c564558f4b2abd54cc0f8db2df653ac432d9f58f8ef4dd747dff
 DIST netbeans-9999-r1-build.xml.patch.bz2 2379 SHA256 09cfedef0fd9d713ddc71a54848d7551ce750c15e3df00af7feef37d25260a7e SHA512 7f28a0b2536ea84ebaba26df072411f62db01873e7803f2e28400b55bd61f0857b5508668bd03894364333edf6b8cf9901b823980a8f51f8d6a711bd3a47cb59 WHIRLPOOL 74dcc47859101722f9879bf0cf2dadd210555560b2fcd036e43ac099c71fe0c712b360aadad8e88092a324c93ff42fc2e467e89e3227f23a24d55b9c9e2c27b6
 DIST netbeans-9999-r14-build.xml.patch.bz2 2671 SHA256 b5384db6533d41c7d3fdaffd3cd296d156ac99f0a026e3d74c4ac5b5d388a70f SHA512 1dd5dcf02fd81691b0f9c531470379138484dcbc271f65ba53a3844a1e697719e47cb98c90f92f92c5980a577d27370efc800297525f62da7211393ea0a18915 WHIRLPOOL c77621b5f4eea9e688d9714be9268d05f7c1e792d9d46d3a082418d8c1cb52c35f76d59f0befddc73f30a0e0e12c0af25b4b31c1cb69b68dd90e48638d7da509
 DIST netbeans-trunk-nightly-201410010001-src.zip 197355068 SHA256 0d284d68152ca0da1c8dfb7149e5b2638133fe3be6790f312c9959e59528144b SHA512 33ce5f22e9d3ac55d4f7b4b353956a39e030dee6380c5f379fba810f3ec86f8b36e88b773dbbf8bc3c430fc58caba9097764b7eac2d44ce2a25129f8f20fa4f2 WHIRLPOOL b4228286acec04cb321ca8aba60af42a7a1e2c20de1f657773166021a36e284b5ac4f49e9dbf8a51d81577b0d49d387707de3fcc0a622fd13b57c7d704b3da00
@@ -82,6 +82,7 @@ DIST netbeans-trunk-nightly-201412020001-src.zip 199498951 SHA256 c454e3862954d2
 DIST netbeans-trunk-nightly-201412030001-src.zip 199499099 SHA256 adae819d7f94b21e1b65d00dd39082305e79c34801397f474c2ed4e87745c19a SHA512 5eec00d8e086024101cd916bf01603ab2a4ff5b2acd4f03bed258e02b84ce678fe99f85f22824685ae5bc560f67093a4072d741c80a0e772b210569bfb8c75e3 WHIRLPOOL b08f24fb2df1ecb13833490696e331893a7001e668ea387e8c6a5b791b43631b7259db29c1ba76a5629bc001fe293ea1aa0108d213492600cfe057cfe6f6672b
 DIST netbeans-trunk-nightly-201412040001-src.zip 199544440 SHA256 1f721475c4cada742f1128627eba186360874a9a9d95f9634bd1ac8c2cd680d5 SHA512 26921a476d3b94fd7f636569306a2a072f10c6276acdb2b37c830eed3fdb983641ee44d675386fb04f2be760c9f1fe7f180fc43771329c602a05128a2ad2495a WHIRLPOOL 776a1e308af0da58535a9cd33a4b2901b3aeddb8fc61fed440f5c6bf0f86a746490f4e8dc3f7f787586763fc210a2f70771b9c42813703ee97206145cb6e4002
 DIST netbeans-trunk-nightly-201412070001-src.zip 199641850 SHA256 87bb9a998b5814f7d372433ab97ee3827f331a7f1ff92d9c7ba93a64f95d80ec SHA512 5e8ebd97085e603e09e5ea61fedbf12d069ad25edd0a4285dda6cb249ac5b9b75d01b615a0751e25058263041996b0b19adf819f102093ecaeef3364838e54bc WHIRLPOOL d376184e8f06a0b5c4cae82eea627b8dfc30874ff613251171e0e9d753bd7255db8417a79188ad96f52daf43fddc9ca094541090d4432f756ec5d7de679c7488
+DIST netbeans-trunk-nightly-201412080001-src.zip 199642324 SHA256 b13a7830fb7c88b2e188b3f5d4cf554597c9bf09990bff738f94c3d7a8eb9627 SHA512 079b33ccaf071b3db2bab3e92c189dbfe94c75640250080d1b710ae52e846a85a44569c3b5dc2e1ced6611df62ee6573e0957885498002b028e4d86344d171e9 WHIRLPOOL 9cf70238be22ffe165447cf7c75ce4fed9c0a43de377a9b4c99a6052d5fdd5aa525294b51c1e70b19b705d80d36da754f382026263a55008c67d05b53c82b812
 EBUILD netbeans-platform-7.0.1.ebuild 5049 SHA256 b67cf0867358fea808614c02b8b6ea2ab88223f8642175ac3f91dc8c610aca4e SHA512 611b8e831a95d1b4e1c3a1f5e4904c84f9606298a94eb0900ac06cc88670849d218a3a03cce07b2463e206da01ce2931cdb6677948d20d8326908a36851589e6 WHIRLPOOL 01769eca4eb20c2702a432a6180eed16a9a50687016e307e585ab5de5cab8b3b664e456d489ff15d9f5af349f791b161eecb9fef7bfaba09a70e1eaab5d545a0
 EBUILD netbeans-platform-7.1.2.ebuild 5034 SHA256 a069e7e45f768e590e5b30fdda26185d8fde492355e4c530ce44169def991cc6 SHA512 31cfb0d9f13eacfcafd49be995bc456d17a689776e032f68ed4585e068a49f6e992c37c57f23c5e27176fb060996bcfc86b0446ae26efbc488909102fc10c979 WHIRLPOOL 1bd35ac39366fd13192e4a6a177280727bceb2f5f12ff684a288725954a29a240f2d264c3ef2ca38fa3e133063cdd943cce1d0f493f0f8ea9a621833c8f0031b
 EBUILD netbeans-platform-7.2.ebuild 5432 SHA256 227add7f41117667d8487f2bf8eb846c21529e7b2c49dac46e4b3b33062f69b0 SHA512 e49958f21358fe9689336d5cd5edbe435d0a2fd12c315174dcb408bf6ed4e6515d39d458554fb576c342a43f0af50c327bada8fa0b2eb485e14c01ddcdb6248d WHIRLPOOL 4f9101a2d5495fb6002b7791822f85091309c04d6c475060c116725f8da32f9ed270f0c27a9f6a2bd2aa0bd7417b18e9165d1feff7e98f6205bdafff3223e5a3
@@ -132,5 +133,6 @@ EBUILD netbeans-platform-9999_p20141202.ebuild 8508 SHA256 51f27a6e775fdd60c6279
 EBUILD netbeans-platform-9999_p20141203.ebuild 8508 SHA256 a4b6af08ebe43a3e6d3f90ecdfad931c9359289db2b13b87a87f5125685fce64 SHA512 d276e23cb6ed704fc075644fbbb1f4afc2aeff53599f0550eadb8314b6c91c5cc1b9cc7e58ea7721a16bac160cee39d5c44b066df69a5275d582d690dee1670e WHIRLPOOL ed3a44a53ed75b60b1b1d735ecb8d7c262203fd2754b915f8f5f5486799796443cf773bf21bee6240954f64d98ed2af60aa299fd1dc4a6df43413e42a3841918
 EBUILD netbeans-platform-9999_p20141204.ebuild 8508 SHA256 d03c96d4b47181de5ee18b63e80ce6705d4e540f13bbed9ace069c84ba239289 SHA512 67060802fa2e7734de75010f2a441fd1c3f62034944376a7a6e16cfcec7311a2f5d11824d6754e6db5337a04d4894f5d3f55b6c37989569de792f25f15e766f5 WHIRLPOOL bd1ae5152c4b79cca5f471c7ebdd67b4d000c7be991620cab7b86755d358780d2fd717204b5157ab1496ec9d5adac1e0c29c669119e57e18a4a1a3dbe88e131b
 EBUILD netbeans-platform-9999_p20141207.ebuild 8508 SHA256 8a75f9c071c9f3fd982dd364ea6bad7fbf4c3761e2c4077687d4a57070e21e5d SHA512 6b0290e954fb836e7b99f03e356f3af6e73989c92d516bb3e1cf16bb99c6065085fe894188ee78debc602f9dd9b98f9a3bb576089ea1a91f945e3bef70437c9e WHIRLPOOL de7832734000ee9a8fdf7b7879cd45baa481c11808563a23328f9b43de1cf9ca770d9ca369892d9f44f39f4c08f5e6a86abacf736ace828017bc8cb6b24dd18f
-MISC ChangeLog 142594 SHA256 f6d46b7e5eef4c10e9b625bbdd546b43875ad16d43df8053afc6e49ee0a0cf6c SHA512 eea522084a8149a191193d9e2e17bdddde538c1bd96f07aea76647dd9f48a4616a46936e82fabbba081325c2b4b1427726ad84d51a5ed27bb2e53b6335ebcd2b WHIRLPOOL 400f418c4f6bcdd856042c984114e271c35814a15bbcf5a1dd17ec5d2884146d31f352bfb9fee4502002e799919858ca7ad3cb6ff810943bc334c404dc1e9131
+EBUILD netbeans-platform-9999_p20141208.ebuild 8508 SHA256 c0aea971cb6e54013b99c16cfa2dabec32f6a0630c028430b4433df82047db4a SHA512 b6e0b2d5550456ea067981b37587da458411ec6db343fa75a78ddf48a24921fb467c4b786f8d06bcf092f52e798af7575a82e9f720144915281f1cf9b8631730 WHIRLPOOL fbaf61735336d123f63e41d1a4b0c109c5afca6e3261f360412c903c9eff47cbe7ffd829ba3ab9e8d7917e6f11fb8e1c11ebf35e7a0ab0543892c8612b02a925
+MISC ChangeLog 142771 SHA256 6f0fb81a680568173729352351d0eb80e677bc02018f2bf448ab1294e878c9ce SHA512 e5f33e14faa9eaccad13a829960bd9ad2c5ba3c7f82694af74d8c2e09c050768caffef5d89061085bc9081f93ca367e15640c641f9494b85646663a1298b5aba WHIRLPOOL a6e88706d27fa3d6a265f619e5a2bea25bb25dbb19ac25e4917f783db42b5929533e18a00c2af8701a04a17a7227bd3379a43df4f21ccb71ede0c2a579ab0412
 MISC metadata.xml 251 SHA256 5a4ff53a9862390a48d45c79be24086646e7a6ff0c5bdf0fcb799d0871299003 SHA512 04153cbd9776ad56a94d6a47d043df15d082d8888df8658f18d0d4b659c6c0526ab3a9b22ccbe2471091bf2d8165f224854bc99c51f3664aaf350ccb93532a7c WHIRLPOOL 2ee8a646c6e23bc46c72cac0ecb5cfe43720ec42404ddaeed8ab1b59d139b3d5c1a94764de847f979da978c001c9f02f709d663a68eeea64d19e88f1fefbca43

diff --git a/dev-java/netbeans-platform/netbeans-platform-9999_p20141208.ebuild b/dev-java/netbeans-platform/netbeans-platform-9999_p20141208.ebuild
new file mode 100644
index 0000000..bf0d6f8
--- /dev/null
+++ b/dev-java/netbeans-platform/netbeans-platform-9999_p20141208.ebuild
@@ -0,0 +1,155 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+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/2014-12-08_00-01-49/zip/netbeans-trunk-nightly-201412080001-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/8B5627E4907808B25628C64F2876B2E64ECDF750-ko4j.jar
+	http://hg.netbeans.org/binaries/4C8F273EB7D02845F42CFBE3DE4EB2BA22AF6357-net-java-html.jar
+	http://hg.netbeans.org/binaries/72B71E13ADC08732D8274083908D47ED9CC37B55-net-java-html-boot.jar
+	http://hg.netbeans.org/binaries/29388BB216B2463DB0B7AD403392C0F7EA7A4260-net-java-html-boot-fx.jar
+	http://hg.netbeans.org/binaries/37B1B513D8E7A2689A92188DABE950E0D63176D3-net-java-html-boot-script.jar
+	http://hg.netbeans.org/binaries/51ADBD6B0FE548E15BD10AFC345CAD48589E960E-net-java-html-geo.jar
+	http://hg.netbeans.org/binaries/D9E741F404CE0751B97A343A665666A441008E4F-net-java-html-json.jar
+	http://hg.netbeans.org/binaries/A89F8D030A3BFCA10880C3274E86D683FCB92062-net-java-html-sound.jar
+	http://hg.netbeans.org/binaries/B27F1304F18FEDE876F940AEFA6C9EB5632619D7-org.eclipse.osgi_3.9.1.v20140110-1610.jar
+	http://hg.netbeans.org/binaries/AD568238EE36A820BD6C6806807E8A14EA34684D-org-ow2-asm.jar
+	http://hg.netbeans.org/binaries/972E6455724DC6ADB1C1912F53B5E3D7DF20C5FD-osgi.cmpn-4.2.jar
+	http://hg.netbeans.org/binaries/1C7FE319052EF49126CF07D0DB6953CB7007229E-swing-layout-1.0.4-doc.zip
+	http://hg.netbeans.org/binaries/AC97B566699146713B3CF0ABC226B5C08EF7CF33-testng-6.8.1-dist.jar
+	http://hg.netbeans.org/binaries/AF022CBCACD8CBFCF946816441D1E7568D817745-testng-6.8.1-javadoc.zip"
+LICENSE="|| ( CDDL GPL-2-with-linking-exception )"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+S="${WORKDIR}"
+
+CDEPEND="dev-java/javahelp:0
+	>=dev-java/jna-3.4:0
+	>=dev-java/osgi-core-api-5:0
+	dev-java/swing-layout:1[source]"
+# oracle-jdk-bin is needed because other jdks do not contain file jre/lib/ext/jfxrt.jar
+# the error:
+#  [parseprojectxml] Distilling /var/tmp/portage/dev-java/netbeans-platform-9999_p20140922/work/nbbuild/build/public-package-jars/org-netbeans-libs-javafx.jar from [/var/tmp/portage/dev-java/netbeans-platform-9999_p20140922/work/nbbuild/netbeans/platform/modules/org-netbeans-libs-javafx.jar, /opt/icedtea-bin-7.2.4.7/jre/lib/ext/jfxrt.jar]
+#  [parseprojectxml] Classpath entry /opt/icedtea-bin-7.2.4.7/jre/lib/ext/jfxrt.jar does not exist; skipping
+#  [nbmerge] Failed to build target: all-api.html4j
+
+DEPEND="dev-java/oracle-jdk-bin:1.7
+	app-arch/unzip
+	${CDEPEND}"
+RDEPEND=">=virtual/jdk-1.7
+	${CDEPEND}"
+
+INSTALL_DIR="/usr/share/${PN}-${SLOT}"
+
+EANT_BUILD_XML="nbbuild/build.xml"
+EANT_BUILD_TARGET="rebuild-cluster"
+EANT_EXTRA_ARGS="-Drebuild.cluster.name=nb.cluster.platform -Dext.binaries.downloaded=true -Djava.awt.headless=true -Dpermit.jdk8.builds=true"
+EANT_FILTER_COMPILER="ecj-3.3 ecj-3.4 ecj-3.5 ecj-3.6 ecj-3.7"
+JAVA_PKG_BSFIX="off"
+JAVA_PKG_WANT_BUILD_VM="oracle-jdk-bin-1.7"
+JAVA_PKG_WANT_SOURCE="1.7"
+JAVA_PKG_WANT_TARGET="1.7"
+
+src_unpack() {
+	unpack $(basename ${SOURCE_URL})
+
+	einfo "Deleting bundled jars..."
+	find -name "*.jar" -type f -delete
+
+	unpack netbeans-9999-r14-build.xml.patch.bz2
+
+	pushd "${S}" >/dev/null || die
+	ln -s "${DISTDIR}"/2F7553F50B0D14ED811B849C282DA8C1FFC32AAE-asm-all-5.0.1.jar libs.asm/external/asm-all-5.0.1.jar || die
+	ln -s "${DISTDIR}"/1BA97A9FFD4A1DFF3E75B76CD3AE3D0EFF8493B7-felix-4.2.1.jar libs.felix/external/felix-4.2.1.jar || die
+	ln -s "${DISTDIR}"/8B5627E4907808B25628C64F2876B2E64ECDF750-ko4j.jar o.n.html.ko4j/external/ko4j.jar || die
+	ln -s "${DISTDIR}"/4C8F273EB7D02845F42CFBE3DE4EB2BA22AF6357-net-java-html.jar net.java.html/external/net-java-html.jar || die
+	ln -s "${DISTDIR}"/72B71E13ADC08732D8274083908D47ED9CC37B55-net-java-html-boot.jar net.java.html.boot/external/net-java-html-boot.jar || die
+	ln -s "${DISTDIR}"/29388BB216B2463DB0B7AD403392C0F7EA7A4260-net-java-html-boot-fx.jar net.java.html.boot.fx/external/net-java-html-boot-fx.jar || die
+	ln -s "${DISTDIR}"/37B1B513D8E7A2689A92188DABE950E0D63176D3-net-java-html-boot-script.jar net.java.html.boot.script/external/net-java-html-boot-script.jar || die
+	ln -s "${DISTDIR}"/51ADBD6B0FE548E15BD10AFC345CAD48589E960E-net-java-html-geo.jar net.java.html.geo/external/net-java-html-geo.jar || die
+	ln -s "${DISTDIR}"/D9E741F404CE0751B97A343A665666A441008E4F-net-java-html-json.jar net.java.html.json/external/net-java-html-json.jar || die
+	ln -s "${DISTDIR}"/A89F8D030A3BFCA10880C3274E86D683FCB92062-net-java-html-sound.jar net.java.html.sound/external/net-java-html-sound.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}"/AD568238EE36A820BD6C6806807E8A14EA34684D-org-ow2-asm.jar o.objectweb.asm/external/org-ow2-asm.jar || die
+	ln -s "${DISTDIR}"/972E6455724DC6ADB1C1912F53B5E3D7DF20C5FD-osgi.cmpn-4.2.jar libs.osgi/external/osgi.cmpn-4.2.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}"/AC97B566699146713B3CF0ABC226B5C08EF7CF33-testng-6.8.1-dist.jar libs.testng/external/testng-6.8.1-dist.jar || 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.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.osgi/external osgi-core-api osgi-core-api.jar osgi.core-5.0.0.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-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/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 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 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
+	popd >/dev/null || die
+
+	dosym ${INSTALL_DIR} /usr/share/netbeans-nb-${SLOT}/platform
+}

diff --git a/dev-java/netbeans-profiler/ChangeLog b/dev-java/netbeans-profiler/ChangeLog
index 9be0e93..2c01a4e 100644
--- a/dev-java/netbeans-profiler/ChangeLog
+++ b/dev-java/netbeans-profiler/ChangeLog
@@ -2,6 +2,12 @@
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+*netbeans-profiler-9999_p20141208 (08 Dec 2014)
+
+  08 Dec 2014; Miroslav Šulc <fordfrog@gentoo.org>
+  +netbeans-profiler-9999_p20141208.ebuild:
+  bumped to the latest sources
+
 *netbeans-profiler-8.0.2 (07 Dec 2014)
 
   07 Dec 2014; Miroslav Šulc <fordfrog@gentoo.org>

diff --git a/dev-java/netbeans-profiler/Manifest b/dev-java/netbeans-profiler/Manifest
index a8d0956..cf4c36a 100644
--- a/dev-java/netbeans-profiler/Manifest
+++ b/dev-java/netbeans-profiler/Manifest
@@ -10,7 +10,7 @@ DIST netbeans-7.4-build.xml.patch.bz2 2685 SHA256 3ffbe61e33ab28f39acbe28209469c
 DIST netbeans-8.0-201403101706-src.zip 194215149 SHA256 737a6fe9313e720590933773672c1f241820b795ce384a605743f3eeba0a9396 SHA512 dbc4ea3852ac0a698729a7698f2dccff427680bf01234c8a463268540e886f57b39697ec124fc0701cd52b558987961fc82e6f27bc9f0fc115159d250fddd676 WHIRLPOOL 47d914d023212076c463a99eda49b202aa6c05a2ffd5c32b61f97a4cd76930c94e18059292a8520359f38736e838a7c2d053ecf584493dbb3a9d8f5133ed6b36
 DIST netbeans-8.0-build.xml.patch.bz2 2685 SHA256 3ffbe61e33ab28f39acbe28209469c673ac97ba4620e9ab7391537b9d242da6a SHA512 247c67cf53ee40e94768d547218664cbf82c487f16982a43daed054a17327f168f35319ed4fa2def995adf3f0a6d25f85a3bb23ff4a84aa4e4f751257f255545 WHIRLPOOL bceeaebe6a7079910cfabcbf48738694b8b86a5ab7147002182eba3c305a310febe5861abdc3e63df904b45fcf3a5ecb3007c15611b59b4ce53406e578d13c47
 DIST netbeans-8.0.2-201411181905-src.zip 196585461 SHA256 581f80d3c2e8d87a0f007dd3f358ce0534a0bb2e4b3312cd6c8c7263713bc530 SHA512 9533de5b3c45e4a5b025213dd5602344e16d024e0cdb013f207ac3c7a9d8e63da19279f97910ad136777d75780c620224953f2974070d5c9833d1d6ef3fd427c WHIRLPOOL 2e45e83309743df167ddd1d58068848166d01ef6d9eec99ddf72b9ba7664cb182a04d6420ab03a9270842b3cd9a16a161c1eebb66953ef09158d8d521fb96516
-DIST netbeans-8.0.2-build.xml.patch.bz2 2671 SHA256 b5384db6533d41c7d3fdaffd3cd296d156ac99f0a026e3d74c4ac5b5d388a70f SHA512 1dd5dcf02fd81691b0f9c531470379138484dcbc271f65ba53a3844a1e697719e47cb98c90f92f92c5980a577d27370efc800297525f62da7211393ea0a18915 WHIRLPOOL c77621b5f4eea9e688d9714be9268d05f7c1e792d9d46d3a082418d8c1cb52c35f76d59f0befddc73f30a0e0e12c0af25b4b31c1cb69b68dd90e48638d7da509
+DIST netbeans-8.0.2-build.xml.patch.bz2 2678 SHA256 cf120f7fd8b4ad40e9abdcb09e7763fd93b4acef04ff0365e18f178706ea83bb SHA512 b61adf29bcb139207241c68513724f352420078583ca5e6d7856a4dd335ad36b7d05311eb6e14ff1c568aaf090de4ca083c32f6db1dec0b6f50d66a388bbedf7 WHIRLPOOL fb4d63329aa450a1b387fa45b59fa3c18d1a1ca8ecf9443111a3056d409a6d928d15dae275e9c564558f4b2abd54cc0f8db2df653ac432d9f58f8ef4dd747dff
 DIST netbeans-9999-r1-build.xml.patch.bz2 2379 SHA256 09cfedef0fd9d713ddc71a54848d7551ce750c15e3df00af7feef37d25260a7e SHA512 7f28a0b2536ea84ebaba26df072411f62db01873e7803f2e28400b55bd61f0857b5508668bd03894364333edf6b8cf9901b823980a8f51f8d6a711bd3a47cb59 WHIRLPOOL 74dcc47859101722f9879bf0cf2dadd210555560b2fcd036e43ac099c71fe0c712b360aadad8e88092a324c93ff42fc2e467e89e3227f23a24d55b9c9e2c27b6
 DIST netbeans-9999-r14-build.xml.patch.bz2 2671 SHA256 b5384db6533d41c7d3fdaffd3cd296d156ac99f0a026e3d74c4ac5b5d388a70f SHA512 1dd5dcf02fd81691b0f9c531470379138484dcbc271f65ba53a3844a1e697719e47cb98c90f92f92c5980a577d27370efc800297525f62da7211393ea0a18915 WHIRLPOOL c77621b5f4eea9e688d9714be9268d05f7c1e792d9d46d3a082418d8c1cb52c35f76d59f0befddc73f30a0e0e12c0af25b4b31c1cb69b68dd90e48638d7da509
 DIST netbeans-trunk-nightly-201410010001-src.zip 197355068 SHA256 0d284d68152ca0da1c8dfb7149e5b2638133fe3be6790f312c9959e59528144b SHA512 33ce5f22e9d3ac55d4f7b4b353956a39e030dee6380c5f379fba810f3ec86f8b36e88b773dbbf8bc3c430fc58caba9097764b7eac2d44ce2a25129f8f20fa4f2 WHIRLPOOL b4228286acec04cb321ca8aba60af42a7a1e2c20de1f657773166021a36e284b5ac4f49e9dbf8a51d81577b0d49d387707de3fcc0a622fd13b57c7d704b3da00
@@ -56,6 +56,7 @@ DIST netbeans-trunk-nightly-201412020001-src.zip 199498951 SHA256 c454e3862954d2
 DIST netbeans-trunk-nightly-201412030001-src.zip 199499099 SHA256 adae819d7f94b21e1b65d00dd39082305e79c34801397f474c2ed4e87745c19a SHA512 5eec00d8e086024101cd916bf01603ab2a4ff5b2acd4f03bed258e02b84ce678fe99f85f22824685ae5bc560f67093a4072d741c80a0e772b210569bfb8c75e3 WHIRLPOOL b08f24fb2df1ecb13833490696e331893a7001e668ea387e8c6a5b791b43631b7259db29c1ba76a5629bc001fe293ea1aa0108d213492600cfe057cfe6f6672b
 DIST netbeans-trunk-nightly-201412040001-src.zip 199544440 SHA256 1f721475c4cada742f1128627eba186360874a9a9d95f9634bd1ac8c2cd680d5 SHA512 26921a476d3b94fd7f636569306a2a072f10c6276acdb2b37c830eed3fdb983641ee44d675386fb04f2be760c9f1fe7f180fc43771329c602a05128a2ad2495a WHIRLPOOL 776a1e308af0da58535a9cd33a4b2901b3aeddb8fc61fed440f5c6bf0f86a746490f4e8dc3f7f787586763fc210a2f70771b9c42813703ee97206145cb6e4002
 DIST netbeans-trunk-nightly-201412070001-src.zip 199641850 SHA256 87bb9a998b5814f7d372433ab97ee3827f331a7f1ff92d9c7ba93a64f95d80ec SHA512 5e8ebd97085e603e09e5ea61fedbf12d069ad25edd0a4285dda6cb249ac5b9b75d01b615a0751e25058263041996b0b19adf819f102093ecaeef3364838e54bc WHIRLPOOL d376184e8f06a0b5c4cae82eea627b8dfc30874ff613251171e0e9d753bd7255db8417a79188ad96f52daf43fddc9ca094541090d4432f756ec5d7de679c7488
+DIST netbeans-trunk-nightly-201412080001-src.zip 199642324 SHA256 b13a7830fb7c88b2e188b3f5d4cf554597c9bf09990bff738f94c3d7a8eb9627 SHA512 079b33ccaf071b3db2bab3e92c189dbfe94c75640250080d1b710ae52e846a85a44569c3b5dc2e1ced6611df62ee6573e0957885498002b028e4d86344d171e9 WHIRLPOOL 9cf70238be22ffe165447cf7c75ce4fed9c0a43de377a9b4c99a6052d5fdd5aa525294b51c1e70b19b705d80d36da754f382026263a55008c67d05b53c82b812
 EBUILD netbeans-profiler-7.0.1.ebuild 3222 SHA256 b1bab800a27c30aaea26b8ff5ab21abdd1bec16b9890133429eca9ea77c018fe SHA512 d6198f44a06561b7e2598fdd6a37f8a3dc13c38f63dfbf6a86a083adbf71e9c62af87cb4e1b5b8dd2dc99feeeb99a7afcbb8f7747c378ad92c71263cc91a6c54 WHIRLPOOL c62613f511636b1f0393ac32c6b50641cdf7df9f9fdc95fd5acbe1a602ffe42fdabb556f989552b05b0607a5ad9d324a2019440c3ae66c50995ef3fc8775f385
 EBUILD netbeans-profiler-7.1.2.ebuild 3231 SHA256 94d87bf6f86add3bdc27f9f20084f35fe584fc2bd697acafa8c23cce16a0d1ee SHA512 dcc8da918a6b6e07ccae513fb4296d16891e205b49098fb8269d16beb9b1367b1920797cc78053b83f4321c1b69faa393365265c72213bb2abfb9d3f84f66319 WHIRLPOOL 18325a1df836e7242838920483c41d43f37b9dae8322d36a2a562b414baa0dc76971f581204ce76a6d64196dd60643089e8704da69617590cda61ce54ce82e8d
 EBUILD netbeans-profiler-7.2.ebuild 3214 SHA256 ddcba9ba672ad566ef256538fc8631ae691aa7c6574269199f26df5382c37f4b SHA512 1bb7eb95381861b8265ab366fe3c7a9b99971d1c4600eb6c7bffb521f4cebb32bcf3d662f82c811d47fe95e77cd39e48f3665f0fcabf9145eb171c2746d89684 WHIRLPOOL 7f74c2be9ec4e7ff419086f1da3b1a12b1c187102def004316ef89ed28f30da62542ed3409a51473a8d9d68d18a30de36b1d0307cd8eeb7e580668fe896c5aa5
@@ -106,5 +107,6 @@ EBUILD netbeans-profiler-9999_p20141202.ebuild 3478 SHA256 1d351d728ffbe2699a25e
 EBUILD netbeans-profiler-9999_p20141203.ebuild 3478 SHA256 c3cd90c6249f6768ab3bbabeb16f94450d9c2788c43872a8c8c8fcd3e428fcc1 SHA512 ffb1bb9791b6dabd3c39496851a343622ab228a5d93506a0bd0643991ed33b96ebd2d0df98d8a29318b61c73df689b727fc1a83021db67d378c6f7510f03bac9 WHIRLPOOL d68eac59739f2c6230a800015b7ee0c4c54e3ecee11025de765dcda3c92af61953ae39361374146289081cdca413fdf40bb922fb0dbe50e0cd38bc4751351e16
 EBUILD netbeans-profiler-9999_p20141204.ebuild 3478 SHA256 b1da41b5c946fffbe961dda003fe6e3183755ab9ce924a825e217801c0001d41 SHA512 cff244fdec138914cfeb0952b09b7468d618940bb3ce09c537cb36d7ce7687d30101ba5b55f9dc055399728830824df5f57d350a3e31ca70ac233950278eda88 WHIRLPOOL a0c6f58a2a5971c67426720df8a07a4873fd5a434afbddbf357c404076a835a3bc491397f859481ebc205b04892ae626582a58bdbe80b4d0f987b6c62c6dfd49
 EBUILD netbeans-profiler-9999_p20141207.ebuild 3478 SHA256 648f2cf782bf08f7e8fdde94d29ee567ba09a55cd52d5e7ec4832581e8ae1918 SHA512 02de29fa73f2850afd430041c478db3a25db6d4688069c5e9daa766963a21fe34bb3d15acd558cba0074d66c8ff49abc8a3989238b98f1ec67ef753b54bbabd0 WHIRLPOOL 33fe1929d2b43098bab149a64bb4f564a6e4972c911d99f976b8d14cfc09fdb40c9acf73e9517aca7419a72d6fccae0d200bcc83d619da2ad43ea049d2100346
-MISC ChangeLog 142055 SHA256 49d1a0d5a251d6bfb691b34844cc2baa73b074b31b3caf333878bf24d85ad8ea SHA512 7c5240f6109ba633065c6b03035c201a63bce849ecbd605df4e8b30b8c23e4c5026e523e1b2b5542b2167debde535f144da57e0f839f6325edb8845fbf21990a WHIRLPOOL 74d8b4779028564d76c36697c9b915f2797c6c5c59d70ea38964b3365b78e9c0170484f07062f770d402bb6416a4a295b90bbc714c9b779ef22d1d9268e97be8
+EBUILD netbeans-profiler-9999_p20141208.ebuild 3478 SHA256 ee6b3018710fd4d32a528d8472d367f6b35af111dcafe3d1ad4628394bc1aadb SHA512 5c1786509e95f316c6d25be96d340e36ae49b9b467417f3898516f9faa99d4ed2c727ee4a1fea66c438562b30ec034662db2c942c535b9fe751827361ad6cc92 WHIRLPOOL a24e48fd322f6bbfc422abb5a6257ba5bd9f30ce78e52c1da5da64179676199b1cde4829cb3bc2d476bdfc47d94c3dcb75ddfd510506546b7a0c6c3939d9e4c6
+MISC ChangeLog 142232 SHA256 83a23f6057bd3bce6d8a579a3f5d495e2cf90a9e146e39639440f65894854b1d SHA512 e9e339e07e8f27ba66c70eb7d25a05c90fcf0c1de37f798b3b7f13731601b143a10572603ad50214c1bd7224d8d2a7c438239982a93803683f3d4f35583dca91 WHIRLPOOL 28fb8e5c7a644d416fc5c03e5e69f7c2c51b63707824066f2f449f3272242f74f6612d84f387c79e71baf7efbe59db7df59960467530ce2bdef8c6a2338a0b1a
 MISC metadata.xml 251 SHA256 5a4ff53a9862390a48d45c79be24086646e7a6ff0c5bdf0fcb799d0871299003 SHA512 04153cbd9776ad56a94d6a47d043df15d082d8888df8658f18d0d4b659c6c0526ab3a9b22ccbe2471091bf2d8165f224854bc99c51f3664aaf350ccb93532a7c WHIRLPOOL 2ee8a646c6e23bc46c72cac0ecb5cfe43720ec42404ddaeed8ab1b59d139b3d5c1a94764de847f979da978c001c9f02f709d663a68eeea64d19e88f1fefbca43

diff --git a/dev-java/netbeans-profiler/netbeans-profiler-9999_p20141208.ebuild b/dev-java/netbeans-profiler/netbeans-profiler-9999_p20141208.ebuild
new file mode 100644
index 0000000..82c64fe
--- /dev/null
+++ b/dev-java/netbeans-profiler/netbeans-profiler-9999_p20141208.ebuild
@@ -0,0 +1,121 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+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/2014-12-08_00-01-49/zip/netbeans-trunk-nightly-201412080001-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/ChangeLog b/dev-java/netbeans-webcommon/ChangeLog
index 55e734e..39eaa2d 100644
--- a/dev-java/netbeans-webcommon/ChangeLog
+++ b/dev-java/netbeans-webcommon/ChangeLog
@@ -2,6 +2,12 @@
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+*netbeans-webcommon-9999_p20141208 (08 Dec 2014)
+
+  08 Dec 2014; Miroslav Šulc <fordfrog@gentoo.org>
+  +netbeans-webcommon-9999_p20141208.ebuild:
+  bumped to the latest sources
+
 *netbeans-webcommon-8.0.2 (07 Dec 2014)
 
   07 Dec 2014; Miroslav Šulc <fordfrog@gentoo.org>

diff --git a/dev-java/netbeans-webcommon/Manifest b/dev-java/netbeans-webcommon/Manifest
index 949424c..98dd285 100644
--- a/dev-java/netbeans-webcommon/Manifest
+++ b/dev-java/netbeans-webcommon/Manifest
@@ -17,7 +17,7 @@ DIST netbeans-7.4-build.xml.patch.bz2 2685 SHA256 3ffbe61e33ab28f39acbe28209469c
 DIST netbeans-8.0-201403101706-src.zip 194215149 SHA256 737a6fe9313e720590933773672c1f241820b795ce384a605743f3eeba0a9396 SHA512 dbc4ea3852ac0a698729a7698f2dccff427680bf01234c8a463268540e886f57b39697ec124fc0701cd52b558987961fc82e6f27bc9f0fc115159d250fddd676 WHIRLPOOL 47d914d023212076c463a99eda49b202aa6c05a2ffd5c32b61f97a4cd76930c94e18059292a8520359f38736e838a7c2d053ecf584493dbb3a9d8f5133ed6b36
 DIST netbeans-8.0-build.xml.patch.bz2 2685 SHA256 3ffbe61e33ab28f39acbe28209469c673ac97ba4620e9ab7391537b9d242da6a SHA512 247c67cf53ee40e94768d547218664cbf82c487f16982a43daed054a17327f168f35319ed4fa2def995adf3f0a6d25f85a3bb23ff4a84aa4e4f751257f255545 WHIRLPOOL bceeaebe6a7079910cfabcbf48738694b8b86a5ab7147002182eba3c305a310febe5861abdc3e63df904b45fcf3a5ecb3007c15611b59b4ce53406e578d13c47
 DIST netbeans-8.0.2-201411181905-src.zip 196585461 SHA256 581f80d3c2e8d87a0f007dd3f358ce0534a0bb2e4b3312cd6c8c7263713bc530 SHA512 9533de5b3c45e4a5b025213dd5602344e16d024e0cdb013f207ac3c7a9d8e63da19279f97910ad136777d75780c620224953f2974070d5c9833d1d6ef3fd427c WHIRLPOOL 2e45e83309743df167ddd1d58068848166d01ef6d9eec99ddf72b9ba7664cb182a04d6420ab03a9270842b3cd9a16a161c1eebb66953ef09158d8d521fb96516
-DIST netbeans-8.0.2-build.xml.patch.bz2 2671 SHA256 b5384db6533d41c7d3fdaffd3cd296d156ac99f0a026e3d74c4ac5b5d388a70f SHA512 1dd5dcf02fd81691b0f9c531470379138484dcbc271f65ba53a3844a1e697719e47cb98c90f92f92c5980a577d27370efc800297525f62da7211393ea0a18915 WHIRLPOOL c77621b5f4eea9e688d9714be9268d05f7c1e792d9d46d3a082418d8c1cb52c35f76d59f0befddc73f30a0e0e12c0af25b4b31c1cb69b68dd90e48638d7da509
+DIST netbeans-8.0.2-build.xml.patch.bz2 2678 SHA256 cf120f7fd8b4ad40e9abdcb09e7763fd93b4acef04ff0365e18f178706ea83bb SHA512 b61adf29bcb139207241c68513724f352420078583ca5e6d7856a4dd335ad36b7d05311eb6e14ff1c568aaf090de4ca083c32f6db1dec0b6f50d66a388bbedf7 WHIRLPOOL fb4d63329aa450a1b387fa45b59fa3c18d1a1ca8ecf9443111a3056d409a6d928d15dae275e9c564558f4b2abd54cc0f8db2df653ac432d9f58f8ef4dd747dff
 DIST netbeans-9999-r14-build.xml.patch.bz2 2671 SHA256 b5384db6533d41c7d3fdaffd3cd296d156ac99f0a026e3d74c4ac5b5d388a70f SHA512 1dd5dcf02fd81691b0f9c531470379138484dcbc271f65ba53a3844a1e697719e47cb98c90f92f92c5980a577d27370efc800297525f62da7211393ea0a18915 WHIRLPOOL c77621b5f4eea9e688d9714be9268d05f7c1e792d9d46d3a082418d8c1cb52c35f76d59f0befddc73f30a0e0e12c0af25b4b31c1cb69b68dd90e48638d7da509
 DIST netbeans-trunk-nightly-201410010001-src.zip 197355068 SHA256 0d284d68152ca0da1c8dfb7149e5b2638133fe3be6790f312c9959e59528144b SHA512 33ce5f22e9d3ac55d4f7b4b353956a39e030dee6380c5f379fba810f3ec86f8b36e88b773dbbf8bc3c430fc58caba9097764b7eac2d44ce2a25129f8f20fa4f2 WHIRLPOOL b4228286acec04cb321ca8aba60af42a7a1e2c20de1f657773166021a36e284b5ac4f49e9dbf8a51d81577b0d49d387707de3fcc0a622fd13b57c7d704b3da00
 DIST netbeans-trunk-nightly-201410030001-src.zip 197355085 SHA256 f915305ddfd881aaf161ca366c2af9eb29e954c971e73580aaab68cc0836f53e SHA512 d681dd706f0ca188fd5c8d055c88396e33a4e5b3f956017273e0834c755cb6905427c7a9f1dc12c05668580b2ce09caef1b5ea18e2f15384e06900f6cc197df5 WHIRLPOOL a93aa92eabd9120ec1923d6f7af586bead3915691a795d45e2929623b34c52d267091203c7b6d4e2bf0b1629624e6a49ad2d28bddce35ab9508bdc099aa511ed
@@ -62,6 +62,7 @@ DIST netbeans-trunk-nightly-201412020001-src.zip 199498951 SHA256 c454e3862954d2
 DIST netbeans-trunk-nightly-201412030001-src.zip 199499099 SHA256 adae819d7f94b21e1b65d00dd39082305e79c34801397f474c2ed4e87745c19a SHA512 5eec00d8e086024101cd916bf01603ab2a4ff5b2acd4f03bed258e02b84ce678fe99f85f22824685ae5bc560f67093a4072d741c80a0e772b210569bfb8c75e3 WHIRLPOOL b08f24fb2df1ecb13833490696e331893a7001e668ea387e8c6a5b791b43631b7259db29c1ba76a5629bc001fe293ea1aa0108d213492600cfe057cfe6f6672b
 DIST netbeans-trunk-nightly-201412040001-src.zip 199544440 SHA256 1f721475c4cada742f1128627eba186360874a9a9d95f9634bd1ac8c2cd680d5 SHA512 26921a476d3b94fd7f636569306a2a072f10c6276acdb2b37c830eed3fdb983641ee44d675386fb04f2be760c9f1fe7f180fc43771329c602a05128a2ad2495a WHIRLPOOL 776a1e308af0da58535a9cd33a4b2901b3aeddb8fc61fed440f5c6bf0f86a746490f4e8dc3f7f787586763fc210a2f70771b9c42813703ee97206145cb6e4002
 DIST netbeans-trunk-nightly-201412070001-src.zip 199641850 SHA256 87bb9a998b5814f7d372433ab97ee3827f331a7f1ff92d9c7ba93a64f95d80ec SHA512 5e8ebd97085e603e09e5ea61fedbf12d069ad25edd0a4285dda6cb249ac5b9b75d01b615a0751e25058263041996b0b19adf819f102093ecaeef3364838e54bc WHIRLPOOL d376184e8f06a0b5c4cae82eea627b8dfc30874ff613251171e0e9d753bd7255db8417a79188ad96f52daf43fddc9ca094541090d4432f756ec5d7de679c7488
+DIST netbeans-trunk-nightly-201412080001-src.zip 199642324 SHA256 b13a7830fb7c88b2e188b3f5d4cf554597c9bf09990bff738f94c3d7a8eb9627 SHA512 079b33ccaf071b3db2bab3e92c189dbfe94c75640250080d1b710ae52e846a85a44569c3b5dc2e1ced6611df62ee6573e0957885498002b028e4d86344d171e9 WHIRLPOOL 9cf70238be22ffe165447cf7c75ce4fed9c0a43de377a9b4c99a6052d5fdd5aa525294b51c1e70b19b705d80d36da754f382026263a55008c67d05b53c82b812
 EBUILD netbeans-webcommon-7.2.ebuild 2665 SHA256 9328ea550dfeca5be5c2b03aa5f512d451f1673e49a40994155fca0b2fb2f79d SHA512 d8b80b79e78769a70d01605a79a8a91f7e839d4138b4cbf28cafca6f56ae3d7003c2f5f40aff77bbe3f2882f43a7d7dca3f0428f0f2723a42ae5b49e4c71ffff WHIRLPOOL 31254cbd2fc6cfb2d1bed4d22958595dbbf73032439f19e684463efbe466ee80c144f77ab00ced7a07815b1cdc1d45a87ceda83e7a2fd20ac2ce65e45d30a093
 EBUILD netbeans-webcommon-7.3.ebuild 2986 SHA256 327c0a73fb20778d9fbe4a12024fa065e4102a7aff3fcbda7448874656a46420 SHA512 3d270e940424b3bcdc8c7f8ff2016d33eb55420ac4037f4e406b688c2acea1b07a04625772265ac293d80c0d1afe3bbe6f865051ed9234b700619bd0781d8b39 WHIRLPOOL 5bc288949ed3aa9c3c4cd4cd33b817fe317754229ad30e80da8cfea817bfb77e988a1d6d3280aaef90619968e0309fad212deff0f7970f04438494a893a30a5b
 EBUILD netbeans-webcommon-7.4.ebuild 4727 SHA256 54a0b63527001da34a21ae3ed69c2cfbf9a446ee69bda4bb6ac5ebb939ebb68d SHA512 96895c972cf7092426ec8bc06dccc6ab4f33334da4e67fd4da01e586801110bda8d955f2f29ecd93b8bb58ae64c4af4139e9954a784c10dec925e2beaeab2394 WHIRLPOOL aa7b3b59d315bd37553052470b1f56f435979569e5ef033493cf6f93c29827f2ecd30f6b874f07a0cd8824469c6546982ac3ed360bf3b6cbf211d95943a3398a
@@ -110,5 +111,6 @@ EBUILD netbeans-webcommon-9999_p20141202.ebuild 4997 SHA256 41dd797dfe9819672f87
 EBUILD netbeans-webcommon-9999_p20141203.ebuild 4997 SHA256 88173ad42674815197d14b0a075eedff7cb3366bd9ed1c16a88972121a6cc6f0 SHA512 e6530d49de1b13984f9b616c10a4d5ccef85d789db1f2aee28cfaebffb989e654712f00cf2b11f926a8044d16d73816ae364eafd69f9d9a90d5b392d43830a13 WHIRLPOOL 9377b3a1348258df1d8a05a45df3210eec3e498f757677fbb277ef3aaaad1b7c05e8a246b341b19c2565a170c64a0c9c66730360a8da1fc45991fb2bfc626c63
 EBUILD netbeans-webcommon-9999_p20141204.ebuild 4997 SHA256 1fc16bef7c1f46225d44a211f97e99b51d1070aa0a3237a0205961f73a5384cd SHA512 bff24206e74f99aece54d482a619db5db440931aa8eca1d18e06ebcf37e505d73f9d92eaa3d15886997c7bf7afb49840d6bea400b54774fa5dcfdab7d18811eb WHIRLPOOL a83a8265a9fb31d9923eade19d7cf3a80be3b960cfab3e662e1f00248d19a66381794023c4ccd5dd0abfbba77cb99d4c22b7539ebafe994221f9cc8cf2da6546
 EBUILD netbeans-webcommon-9999_p20141207.ebuild 4997 SHA256 70cff0d7418373db01c9e4028f4f943c3e5b6624a17b5262740a6119bb313e69 SHA512 89e3acca59bb9227898f0dec1740fedc2da715fd206b56c2a9383fc5ff788a7975b7453017ff64de288ad6a270ef83ac58823799f1d26acd55906f1d245dc229 WHIRLPOOL 10a10289010ca79c92dcc0bd60556065e20a4c4724f239b31c8df591a052d51b56cc406139c1892a02b8e22886f600ac1aff327f6a721256b8a6ef0c95698f59
-MISC ChangeLog 114785 SHA256 ded26dd0dc42c0e4bbac82520b22d2bbabab293da88546020552592fd46cab71 SHA512 372c034c9cc57cdb9402c8bd942aabdb9cd372419afabb20b11a0b7b22a0662a2c270ad273f745d4e02c62b3f59fd9915ac14640992a4516a9bd89ff816e572f WHIRLPOOL ec64caa4dd28e668c65c0d2b2654c5553ff20da0a48733087b14699412bdd0787f0ad1a52b4027019fca901963652730689f6d0777f0fae0723a91a9c241c5f9
+EBUILD netbeans-webcommon-9999_p20141208.ebuild 4997 SHA256 762c9f83bf169060aa3a722589372e6e908695e1455bf32188c3afb258234233 SHA512 f71299dd88fc3b89b7f174e18c50f02358996e2cc3ba25d3f07a98cdbbe29a2df9777f74c3dc4f15600c131fdd18cbf8691ccf78767543c1f3dd4c132c370561 WHIRLPOOL e72ce193b9b1d876a05147675e27e257751a82764e812cd6ee862a9337600f4d94fdc7689f7dcd2b6400739eaf971bf3332e9af727f7d490f40d1aa360de06b4
+MISC ChangeLog 114964 SHA256 23fd205345dea9a0c0cdbc12fbf5609ea1ab6b1debb4a24aaba7c724514343ae SHA512 cb065127923adefb1a8a97742017f4af60c0f4d32247f673ebd3c8c36c7ad94e1a2cbdeca77b1dc3eaf58294ad93cc88e64cbf8f82412a75567aa64aca31310c WHIRLPOOL ee822aa1d685419ebb03cc17ef9522236fad092939bbfe3d068b4b8afbdf5b4aebfc8e7d3e5bea31d7a43d43b3412924b3f693b212d159f1e735b937fb5d15a7
 MISC metadata.xml 251 SHA256 5a4ff53a9862390a48d45c79be24086646e7a6ff0c5bdf0fcb799d0871299003 SHA512 04153cbd9776ad56a94d6a47d043df15d082d8888df8658f18d0d4b659c6c0526ab3a9b22ccbe2471091bf2d8165f224854bc99c51f3664aaf350ccb93532a7c WHIRLPOOL 2ee8a646c6e23bc46c72cac0ecb5cfe43720ec42404ddaeed8ab1b59d139b3d5c1a94764de847f979da978c001c9f02f709d663a68eeea64d19e88f1fefbca43

diff --git a/dev-java/netbeans-webcommon/netbeans-webcommon-9999_p20141208.ebuild b/dev-java/netbeans-webcommon/netbeans-webcommon-9999_p20141208.ebuild
new file mode 100644
index 0000000..221fa8f
--- /dev/null
+++ b/dev-java/netbeans-webcommon/netbeans-webcommon-9999_p20141208.ebuild
@@ -0,0 +1,123 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+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/2014-12-08_00-01-49/zip/netbeans-trunk-nightly-201412080001-src.zip"
+SRC_URI="${SOURCE_URL}
+	http://dev.gentoo.org/~fordfrog/distfiles/netbeans-9999-r14-build.xml.patch.bz2
+	http://hg.netbeans.org/binaries/59631804B5A7FF3CEAA3F0E113584AF7E1BB6E9B-dd-plist.jar
+	http://hg.netbeans.org/binaries/7C4A82593A85524A3541E55A4A9C906B773ABAD6-ios-sim
+	http://hg.netbeans.org/binaries/9D29F2A9722C91A403F32971E97DD0E49E97B02E-libiDeviceNativeBinding.dylib
+	http://hg.netbeans.org/binaries/9F0D0D95F57E73C0110FA023813A4F9756D543B1-libimobiledevice.4.dylib
+	http://hg.netbeans.org/binaries/480C9E376169E21EA3BDA5D5841425BD7CC054D7-libplist.1.dylib
+	http://hg.netbeans.org/binaries/08FE518AB60FFA2E5440B75B4D9F8502E0791B3C-libs.jstestdriver-ext.jar
+	http://hg.netbeans.org/binaries/D05B7274396C8EED185207399B6D0400DE347DB7-libusbmuxd.2.dylib"
+LICENSE="|| ( CDDL GPL-2-with-linking-exception )"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+S="${WORKDIR}"
+
+CDEPEND="~dev-java/netbeans-platform-${PV}
+	~dev-java/netbeans-extide-${PV}
+	~dev-java/netbeans-ide-${PV}
+	dev-java/commons-compress:0"
+DEPEND=">=virtual/jdk-1.7
+	app-arch/unzip
+	${CDEPEND}
+	dev-java/javahelp:0"
+RDEPEND=">=virtual/jdk-1.7
+	${CDEPEND}"
+
+INSTALL_DIR="/usr/share/${PN}-${SLOT}"
+
+EANT_BUILD_XML="nbbuild/build.xml"
+EANT_BUILD_TARGET="rebuild-cluster"
+EANT_EXTRA_ARGS="-Drebuild.cluster.name=nb.cluster.webcommon -Dext.binaries.downloaded=true -Dpermit.jdk8.builds=true"
+EANT_FILTER_COMPILER="ecj-3.3 ecj-3.4 ecj-3.5 ecj-3.6 ecj-3.7"
+JAVA_PKG_BSFIX="off"
+
+src_unpack() {
+	unpack $(basename ${SOURCE_URL})
+
+	einfo "Deleting bundled jars..."
+	find -name "*.jar" -type f -delete
+
+	unpack netbeans-9999-r14-build.xml.patch.bz2
+
+	pushd "${S}" >/dev/null || die
+	ln -s "${DISTDIR}"/59631804B5A7FF3CEAA3F0E113584AF7E1BB6E9B-dd-plist.jar libs.plist/external/dd-plist.jar || die
+	ln -s "${DISTDIR}"/7C4A82593A85524A3541E55A4A9C906B773ABAD6-ios-sim cordova.platforms.ios/external/ios-sim || die
+	ln -s "${DISTDIR}"/9D29F2A9722C91A403F32971E97DD0E49E97B02E-libiDeviceNativeBinding.dylib cordova.platforms.ios/external/libiDeviceNativeBinding.dylib || die
+	ln -s "${DISTDIR}"/9F0D0D95F57E73C0110FA023813A4F9756D543B1-libimobiledevice.4.dylib cordova.platforms.ios/external/libimobiledevice.4.dylib || die
+	ln -s "${DISTDIR}"/480C9E376169E21EA3BDA5D5841425BD7CC054D7-libplist.1.dylib cordova.platforms.ios/external/libplist.1.dylib || die
+	ln -s "${DISTDIR}"/08FE518AB60FFA2E5440B75B4D9F8502E0791B3C-libs.jstestdriver-ext.jar libs.jstestdriver/external/libs.jstestdriver-ext.jar || die
+	ln -s "${DISTDIR}"/D05B7274396C8EED185207399B6D0400DE347DB7-libusbmuxd.2.dylib cordova.platforms.ios/external/libusbmuxd.2.dylib || die
+	popd >/dev/null || die
+}
+
+src_prepare() {
+	einfo "Deleting bundled class files..."
+	find -name "*.class" -type f | xargs rm -vf
+
+	epatch netbeans-9999-r14-build.xml.patch
+
+	# Support for custom patches
+	if [ -n "${NETBEANS9999_PATCHES_DIR}" -a -d "${NETBEANS9999_PATCHES_DIR}" ] ; then
+		local files=`find "${NETBEANS9999_PATCHES_DIR}" -type f`
+
+		if [ -n "${files}" ] ; then
+			einfo "Applying custom patches:"
+
+			for file in ${files} ; do
+				epatch "${file}"
+			done
+		fi
+	fi
+
+	einfo "Symlinking external libraries..."
+	java-pkg_jar-from --into libs.commons_compress/external commons-compress commons-compress.jar commons-compress-1.8.1.jar
+	java-pkg_jar-from --build-only --into javahelp/external javahelp jhall.jar jhall-2.0_05.jar
+
+	einfo "Linking in other clusters..."
+	mkdir "${S}"/nbbuild/netbeans || die
+	pushd "${S}"/nbbuild/netbeans >/dev/null || die
+
+	ln -s /usr/share/netbeans-platform-${SLOT} platform || die
+	cat /usr/share/netbeans-platform-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+	touch nb.cluster.platform.built
+
+	ln -s /usr/share/netbeans-extide-${SLOT} extide || die
+	cat /usr/share/netbeans-extide-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+	touch nb.cluster.extide.built
+
+	ln -s /usr/share/netbeans-ide-${SLOT} ide || die
+	cat /usr/share/netbeans-ide-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+	touch nb.cluster.ide.built
+
+	popd >/dev/null || die
+
+	java-pkg-2_src_prepare
+}
+
+src_install() {
+	pushd nbbuild/netbeans/webcommon >/dev/null || die
+
+	insinto ${INSTALL_DIR}
+	grep -E "/webcommon$" ../moduleCluster.properties > "${D}"/${INSTALL_DIR}/moduleCluster.properties || die
+	doins -r *
+
+	popd >/dev/null || die
+
+	local instdir=/${INSTALL_DIR}/modules/ext
+	pushd "${D}"/${instdir} >/dev/null || die
+	rm commons-compress-1.8.1.jar  && dosym /usr/share/commons-compress/lib/commons-compress.jar ${instdir}/commons-compress-1.8.1.jar || die
+	popd >/dev/null || die
+
+	dosym ${INSTALL_DIR} /usr/share/netbeans-nb-${SLOT}/webcommon
+}

diff --git a/dev-java/netbeans-websvccommon/ChangeLog b/dev-java/netbeans-websvccommon/ChangeLog
index 6ad965f..d621713 100644
--- a/dev-java/netbeans-websvccommon/ChangeLog
+++ b/dev-java/netbeans-websvccommon/ChangeLog
@@ -2,6 +2,12 @@
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+*netbeans-websvccommon-9999_p20141208 (08 Dec 2014)
+
+  08 Dec 2014; Miroslav Šulc <fordfrog@gentoo.org>
+  +netbeans-websvccommon-9999_p20141208.ebuild:
+  bumped to the latest sources
+
 *netbeans-websvccommon-8.0.2 (07 Dec 2014)
 
   07 Dec 2014; Miroslav Šulc <fordfrog@gentoo.org>

diff --git a/dev-java/netbeans-websvccommon/Manifest b/dev-java/netbeans-websvccommon/Manifest
index bc0123c..e665ca0 100644
--- a/dev-java/netbeans-websvccommon/Manifest
+++ b/dev-java/netbeans-websvccommon/Manifest
@@ -10,7 +10,7 @@ DIST netbeans-7.4-build.xml.patch.bz2 2685 SHA256 3ffbe61e33ab28f39acbe28209469c
 DIST netbeans-8.0-201403101706-src.zip 194215149 SHA256 737a6fe9313e720590933773672c1f241820b795ce384a605743f3eeba0a9396 SHA512 dbc4ea3852ac0a698729a7698f2dccff427680bf01234c8a463268540e886f57b39697ec124fc0701cd52b558987961fc82e6f27bc9f0fc115159d250fddd676 WHIRLPOOL 47d914d023212076c463a99eda49b202aa6c05a2ffd5c32b61f97a4cd76930c94e18059292a8520359f38736e838a7c2d053ecf584493dbb3a9d8f5133ed6b36
 DIST netbeans-8.0-build.xml.patch.bz2 2685 SHA256 3ffbe61e33ab28f39acbe28209469c673ac97ba4620e9ab7391537b9d242da6a SHA512 247c67cf53ee40e94768d547218664cbf82c487f16982a43daed054a17327f168f35319ed4fa2def995adf3f0a6d25f85a3bb23ff4a84aa4e4f751257f255545 WHIRLPOOL bceeaebe6a7079910cfabcbf48738694b8b86a5ab7147002182eba3c305a310febe5861abdc3e63df904b45fcf3a5ecb3007c15611b59b4ce53406e578d13c47
 DIST netbeans-8.0.2-201411181905-src.zip 196585461 SHA256 581f80d3c2e8d87a0f007dd3f358ce0534a0bb2e4b3312cd6c8c7263713bc530 SHA512 9533de5b3c45e4a5b025213dd5602344e16d024e0cdb013f207ac3c7a9d8e63da19279f97910ad136777d75780c620224953f2974070d5c9833d1d6ef3fd427c WHIRLPOOL 2e45e83309743df167ddd1d58068848166d01ef6d9eec99ddf72b9ba7664cb182a04d6420ab03a9270842b3cd9a16a161c1eebb66953ef09158d8d521fb96516
-DIST netbeans-8.0.2-build.xml.patch.bz2 2671 SHA256 b5384db6533d41c7d3fdaffd3cd296d156ac99f0a026e3d74c4ac5b5d388a70f SHA512 1dd5dcf02fd81691b0f9c531470379138484dcbc271f65ba53a3844a1e697719e47cb98c90f92f92c5980a577d27370efc800297525f62da7211393ea0a18915 WHIRLPOOL c77621b5f4eea9e688d9714be9268d05f7c1e792d9d46d3a082418d8c1cb52c35f76d59f0befddc73f30a0e0e12c0af25b4b31c1cb69b68dd90e48638d7da509
+DIST netbeans-8.0.2-build.xml.patch.bz2 2678 SHA256 cf120f7fd8b4ad40e9abdcb09e7763fd93b4acef04ff0365e18f178706ea83bb SHA512 b61adf29bcb139207241c68513724f352420078583ca5e6d7856a4dd335ad36b7d05311eb6e14ff1c568aaf090de4ca083c32f6db1dec0b6f50d66a388bbedf7 WHIRLPOOL fb4d63329aa450a1b387fa45b59fa3c18d1a1ca8ecf9443111a3056d409a6d928d15dae275e9c564558f4b2abd54cc0f8db2df653ac432d9f58f8ef4dd747dff
 DIST netbeans-9999-r1-build.xml.patch.bz2 2379 SHA256 09cfedef0fd9d713ddc71a54848d7551ce750c15e3df00af7feef37d25260a7e SHA512 7f28a0b2536ea84ebaba26df072411f62db01873e7803f2e28400b55bd61f0857b5508668bd03894364333edf6b8cf9901b823980a8f51f8d6a711bd3a47cb59 WHIRLPOOL 74dcc47859101722f9879bf0cf2dadd210555560b2fcd036e43ac099c71fe0c712b360aadad8e88092a324c93ff42fc2e467e89e3227f23a24d55b9c9e2c27b6
 DIST netbeans-9999-r14-build.xml.patch.bz2 2671 SHA256 b5384db6533d41c7d3fdaffd3cd296d156ac99f0a026e3d74c4ac5b5d388a70f SHA512 1dd5dcf02fd81691b0f9c531470379138484dcbc271f65ba53a3844a1e697719e47cb98c90f92f92c5980a577d27370efc800297525f62da7211393ea0a18915 WHIRLPOOL c77621b5f4eea9e688d9714be9268d05f7c1e792d9d46d3a082418d8c1cb52c35f76d59f0befddc73f30a0e0e12c0af25b4b31c1cb69b68dd90e48638d7da509
 DIST netbeans-trunk-nightly-201410010001-src.zip 197355068 SHA256 0d284d68152ca0da1c8dfb7149e5b2638133fe3be6790f312c9959e59528144b SHA512 33ce5f22e9d3ac55d4f7b4b353956a39e030dee6380c5f379fba810f3ec86f8b36e88b773dbbf8bc3c430fc58caba9097764b7eac2d44ce2a25129f8f20fa4f2 WHIRLPOOL b4228286acec04cb321ca8aba60af42a7a1e2c20de1f657773166021a36e284b5ac4f49e9dbf8a51d81577b0d49d387707de3fcc0a622fd13b57c7d704b3da00
@@ -56,6 +56,7 @@ DIST netbeans-trunk-nightly-201412020001-src.zip 199498951 SHA256 c454e3862954d2
 DIST netbeans-trunk-nightly-201412030001-src.zip 199499099 SHA256 adae819d7f94b21e1b65d00dd39082305e79c34801397f474c2ed4e87745c19a SHA512 5eec00d8e086024101cd916bf01603ab2a4ff5b2acd4f03bed258e02b84ce678fe99f85f22824685ae5bc560f67093a4072d741c80a0e772b210569bfb8c75e3 WHIRLPOOL b08f24fb2df1ecb13833490696e331893a7001e668ea387e8c6a5b791b43631b7259db29c1ba76a5629bc001fe293ea1aa0108d213492600cfe057cfe6f6672b
 DIST netbeans-trunk-nightly-201412040001-src.zip 199544440 SHA256 1f721475c4cada742f1128627eba186360874a9a9d95f9634bd1ac8c2cd680d5 SHA512 26921a476d3b94fd7f636569306a2a072f10c6276acdb2b37c830eed3fdb983641ee44d675386fb04f2be760c9f1fe7f180fc43771329c602a05128a2ad2495a WHIRLPOOL 776a1e308af0da58535a9cd33a4b2901b3aeddb8fc61fed440f5c6bf0f86a746490f4e8dc3f7f787586763fc210a2f70771b9c42813703ee97206145cb6e4002
 DIST netbeans-trunk-nightly-201412070001-src.zip 199641850 SHA256 87bb9a998b5814f7d372433ab97ee3827f331a7f1ff92d9c7ba93a64f95d80ec SHA512 5e8ebd97085e603e09e5ea61fedbf12d069ad25edd0a4285dda6cb249ac5b9b75d01b615a0751e25058263041996b0b19adf819f102093ecaeef3364838e54bc WHIRLPOOL d376184e8f06a0b5c4cae82eea627b8dfc30874ff613251171e0e9d753bd7255db8417a79188ad96f52daf43fddc9ca094541090d4432f756ec5d7de679c7488
+DIST netbeans-trunk-nightly-201412080001-src.zip 199642324 SHA256 b13a7830fb7c88b2e188b3f5d4cf554597c9bf09990bff738f94c3d7a8eb9627 SHA512 079b33ccaf071b3db2bab3e92c189dbfe94c75640250080d1b710ae52e846a85a44569c3b5dc2e1ced6611df62ee6573e0957885498002b028e4d86344d171e9 WHIRLPOOL 9cf70238be22ffe165447cf7c75ce4fed9c0a43de377a9b4c99a6052d5fdd5aa525294b51c1e70b19b705d80d36da754f382026263a55008c67d05b53c82b812
 EBUILD netbeans-websvccommon-7.0.1.ebuild 2692 SHA256 a18cf7fe0a1e38749826cb12651be06c210b038be50117647496ee6cbd184cda SHA512 32b32894713d7235ebd03446c5c411d22eb8701b96e3d3ac54eca78b2abc833babf279085cea3b74bb7bddc6d89a283a21c58a0b0462042ddd10e22dfcadeb84 WHIRLPOOL 59c18168245767acd1f8e53046f8942698237aa6fd903a669c626b7f17cf3d39247b7ae57f2984562230267885a4b6a62be43dc8a330f1dfeb2cc7acbbd7d3c6
 EBUILD netbeans-websvccommon-7.1.2.ebuild 2701 SHA256 3b2a1cf0d32db3c55b66d1c6b8c4ae2ad5487d3fdb27752468ce5c860f9b9515 SHA512 b9be64755f00157c2d6984887b8c0fdc1e34470f21df1fd72b3e399d3ec894af01c9b79fd604778213ac2086a6c96bf66366e8c2c8bf97f7fee23d16ceb36974 WHIRLPOOL 91559de8c8f6391c3c69888854778a91a1a7e0052ae69eb9762bcbd64d8bc5587fb84ebb55d7d0375da5a7855aa8672abfd035b6a38b3eeb5c23a4cd59b3cdce
 EBUILD netbeans-websvccommon-7.2.ebuild 2684 SHA256 8bf8cad1e0469713c63280620fed089600191230f501a78b834b010f8fa9b3e9 SHA512 fe885f92a7c6cfac532c8e40e4df6283253c43294e9d82ee4d0d070425496eee3792479c268b46bf1fd484f753ca1f21e7ca38a5d71816b6d4fd219082e8e276 WHIRLPOOL 9d2d622d4a800470c874d8751e9c2055e0a4ef72ad01a01aefda4e95a7f295d55fc95fdb55fdd1f631212e1f610bdc7a6b4ee631b92492bb85f73b0d9fb4ba26
@@ -106,5 +107,6 @@ EBUILD netbeans-websvccommon-9999_p20141202.ebuild 2727 SHA256 92098a360a2f34f2b
 EBUILD netbeans-websvccommon-9999_p20141203.ebuild 2727 SHA256 ef43d26eb721f02a8c7cc7cf396785461ee0f9ac0be65a2b7f3a12c94d55ba17 SHA512 083bbc20bde430b343e961531afcad279659d0775657c90cb3f5a05d90b3a085ffe2fd582355eb9419d6585d8f275e5e45288cb3f023cbe1df5b9eb0ce847770 WHIRLPOOL 373087e160ffe32b3e1b83c2dc27cdfb359ac12e2de74f9163b5542db7d99af58d35ea04c93e49d7b5e5fe78206696d38c29bf1737d39a169d753376d6aeb111
 EBUILD netbeans-websvccommon-9999_p20141204.ebuild 2727 SHA256 e9a37593aaf7e7512bd7ef47ff3b7b2cbb2214f1b82d988c0843b2c242142e36 SHA512 7bb56bf8d4829689b597ec4acdb18e60a6684b7254e790539db333cbcac1a8be89a598e093efd6405ca3bc974f10db4cbd0ed976b6ce964cf062a35101324228 WHIRLPOOL 64a5c8714b1d2ca96b161124c220a367a4f4329ca556704a2fc7eb0bb849fd53c8a2a721f627d28c12d06b825156d4a91bdcd83a567fa2baea9ffcfd0edc9abd
 EBUILD netbeans-websvccommon-9999_p20141207.ebuild 2727 SHA256 29f032db254461e826e81150e34fa8a0386e24ac02f1235ae537cac6b6508ed4 SHA512 ae5ca515c419cc2ee6f5dd930ef13d694f2530a8559321a9b366c2eb7d88fc0f901c2a4c54fe39a74bdfc0fcef53b4eaf1a509815b773ae6dae7508523f357bd WHIRLPOOL 37de03a03e7fb00b4ce09cf1833fb85710ba37e30b98a6a00581152ea557fcb67f0aa5519bebf5848b8fc79728da29c1fbbb3cbd77b4906144ec9a69b119c8b3
-MISC ChangeLog 148716 SHA256 5f094fcaf4a0318382d1f8248a8f28c086b901118909a8983e40b70e57dd6b4d SHA512 cce255a0438f364584550d642d9482ff0d1c651f064de011afe559705a209d6212495829ff63214fe26a61bc5fd46444bed8eef405d156c8a8ff44e6e0c75836 WHIRLPOOL bf691ad3181ede46365172289fb4b1c4fb554a3c9caa42b62e4a74824da566527e106c48d1783ad7aedce4b34947c7480cc0a18cb0ff68803124f74d5f36f5bc
+EBUILD netbeans-websvccommon-9999_p20141208.ebuild 2727 SHA256 774582b36f6da18bc9c484fdf311218fed23078ad921526c5e0c872aa1de0fb0 SHA512 2c07adb28c6889ae441bb3f91d319a9052b65acdf3a93f577bb5dcd55df052e522009efe30ba2e7b78f4456c113e50cebeded0a08c3b847e5858052c83a6c557 WHIRLPOOL 898d70d51877a8fbd10ce8bdcba74d2d91b6b60c67be0c3aba426a2025d3756e96c3bb7a6ce7084ca75a2835b90475c6e7f56769850a509f6946c2b72d505180
+MISC ChangeLog 148901 SHA256 b7a74636daa7c234f8b55b5c9f0defa5bfb9e247b956d4c93a99e749d00cb6b7 SHA512 80e0f98b39c0c96c70f8f4c95d8d4a82bb6edd710f7aefab33bcb1f8c3bdb308aebce17d24084f8e308348457c71f23de48118f2e92945298f93a6f55b82f466 WHIRLPOOL 25423bb2a3c7206296ad756fe2d4dac6e3c37a70d2c89f756d97640e02a0ca9706887ceea1caf0effbb801e0591754761179a0cc8426b7513b354652ab057fe2
 MISC metadata.xml 251 SHA256 5a4ff53a9862390a48d45c79be24086646e7a6ff0c5bdf0fcb799d0871299003 SHA512 04153cbd9776ad56a94d6a47d043df15d082d8888df8658f18d0d4b659c6c0526ab3a9b22ccbe2471091bf2d8165f224854bc99c51f3664aaf350ccb93532a7c WHIRLPOOL 2ee8a646c6e23bc46c72cac0ecb5cfe43720ec42404ddaeed8ab1b59d139b3d5c1a94764de847f979da978c001c9f02f709d663a68eeea64d19e88f1fefbca43

diff --git a/dev-java/netbeans-websvccommon/netbeans-websvccommon-9999_p20141208.ebuild b/dev-java/netbeans-websvccommon/netbeans-websvccommon-9999_p20141208.ebuild
new file mode 100644
index 0000000..2d2ca1d
--- /dev/null
+++ b/dev-java/netbeans-websvccommon/netbeans-websvccommon-9999_p20141208.ebuild
@@ -0,0 +1,94 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+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/2014-12-08_00-01-49/zip/netbeans-trunk-nightly-201412080001-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/ChangeLog b/dev-util/netbeans/ChangeLog
index 16132a6..66644ae 100644
--- a/dev-util/netbeans/ChangeLog
+++ b/dev-util/netbeans/ChangeLog
@@ -2,6 +2,12 @@
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+*netbeans-9999_p20141208 (08 Dec 2014)
+
+  08 Dec 2014; Miroslav Šulc <fordfrog@gentoo.org>
+  +netbeans-9999_p20141208.ebuild:
+  bumped to the latest sources
+
 *netbeans-8.0.2 (07 Dec 2014)
 
   07 Dec 2014; Miroslav Šulc <fordfrog@gentoo.org> +netbeans-8.0.2.ebuild:

diff --git a/dev-util/netbeans/Manifest b/dev-util/netbeans/Manifest
index c8e8382..dd1ccde 100644
--- a/dev-util/netbeans/Manifest
+++ b/dev-util/netbeans/Manifest
@@ -10,7 +10,7 @@ DIST netbeans-7.4-build.xml.patch.bz2 2685 SHA256 3ffbe61e33ab28f39acbe28209469c
 DIST netbeans-8.0-201403101706-src.zip 194215149 SHA256 737a6fe9313e720590933773672c1f241820b795ce384a605743f3eeba0a9396 SHA512 dbc4ea3852ac0a698729a7698f2dccff427680bf01234c8a463268540e886f57b39697ec124fc0701cd52b558987961fc82e6f27bc9f0fc115159d250fddd676 WHIRLPOOL 47d914d023212076c463a99eda49b202aa6c05a2ffd5c32b61f97a4cd76930c94e18059292a8520359f38736e838a7c2d053ecf584493dbb3a9d8f5133ed6b36
 DIST netbeans-8.0-build.xml.patch.bz2 2685 SHA256 3ffbe61e33ab28f39acbe28209469c673ac97ba4620e9ab7391537b9d242da6a SHA512 247c67cf53ee40e94768d547218664cbf82c487f16982a43daed054a17327f168f35319ed4fa2def995adf3f0a6d25f85a3bb23ff4a84aa4e4f751257f255545 WHIRLPOOL bceeaebe6a7079910cfabcbf48738694b8b86a5ab7147002182eba3c305a310febe5861abdc3e63df904b45fcf3a5ecb3007c15611b59b4ce53406e578d13c47
 DIST netbeans-8.0.2-201411181905-src.zip 196585461 SHA256 581f80d3c2e8d87a0f007dd3f358ce0534a0bb2e4b3312cd6c8c7263713bc530 SHA512 9533de5b3c45e4a5b025213dd5602344e16d024e0cdb013f207ac3c7a9d8e63da19279f97910ad136777d75780c620224953f2974070d5c9833d1d6ef3fd427c WHIRLPOOL 2e45e83309743df167ddd1d58068848166d01ef6d9eec99ddf72b9ba7664cb182a04d6420ab03a9270842b3cd9a16a161c1eebb66953ef09158d8d521fb96516
-DIST netbeans-8.0.2-build.xml.patch.bz2 2671 SHA256 b5384db6533d41c7d3fdaffd3cd296d156ac99f0a026e3d74c4ac5b5d388a70f SHA512 1dd5dcf02fd81691b0f9c531470379138484dcbc271f65ba53a3844a1e697719e47cb98c90f92f92c5980a577d27370efc800297525f62da7211393ea0a18915 WHIRLPOOL c77621b5f4eea9e688d9714be9268d05f7c1e792d9d46d3a082418d8c1cb52c35f76d59f0befddc73f30a0e0e12c0af25b4b31c1cb69b68dd90e48638d7da509
+DIST netbeans-8.0.2-build.xml.patch.bz2 2678 SHA256 cf120f7fd8b4ad40e9abdcb09e7763fd93b4acef04ff0365e18f178706ea83bb SHA512 b61adf29bcb139207241c68513724f352420078583ca5e6d7856a4dd335ad36b7d05311eb6e14ff1c568aaf090de4ca083c32f6db1dec0b6f50d66a388bbedf7 WHIRLPOOL fb4d63329aa450a1b387fa45b59fa3c18d1a1ca8ecf9443111a3056d409a6d928d15dae275e9c564558f4b2abd54cc0f8db2df653ac432d9f58f8ef4dd747dff
 DIST netbeans-9999-r1-build.xml.patch.bz2 2379 SHA256 09cfedef0fd9d713ddc71a54848d7551ce750c15e3df00af7feef37d25260a7e SHA512 7f28a0b2536ea84ebaba26df072411f62db01873e7803f2e28400b55bd61f0857b5508668bd03894364333edf6b8cf9901b823980a8f51f8d6a711bd3a47cb59 WHIRLPOOL 74dcc47859101722f9879bf0cf2dadd210555560b2fcd036e43ac099c71fe0c712b360aadad8e88092a324c93ff42fc2e467e89e3227f23a24d55b9c9e2c27b6
 DIST netbeans-9999-r14-build.xml.patch.bz2 2671 SHA256 b5384db6533d41c7d3fdaffd3cd296d156ac99f0a026e3d74c4ac5b5d388a70f SHA512 1dd5dcf02fd81691b0f9c531470379138484dcbc271f65ba53a3844a1e697719e47cb98c90f92f92c5980a577d27370efc800297525f62da7211393ea0a18915 WHIRLPOOL c77621b5f4eea9e688d9714be9268d05f7c1e792d9d46d3a082418d8c1cb52c35f76d59f0befddc73f30a0e0e12c0af25b4b31c1cb69b68dd90e48638d7da509
 DIST netbeans-l10n-7.0.1-20110930.tar.bz2 13491185 SHA256 ba1b83dd4a543918b7147304d8bba6e35d39fe4e567432766e4749b100c9b2a3 SHA512 368ebd35339e4903a470d4e2694a1758b8020d3a35f0c6595fb9a15ce31c3240f65c80a82f4de8d2409dd2e9af48e0eed6c6929aa88fcd9d96bb44f47994cae6 WHIRLPOOL 31ebbcb85efa91dd1ea86479289f046704af8cb159ac7c87936d458c8049dbc9f61842eadc24ed446e853f424547d94adc05d94fa650c346475e2b285bafe2d3
@@ -64,6 +64,7 @@ DIST netbeans-trunk-nightly-201412020001-src.zip 199498951 SHA256 c454e3862954d2
 DIST netbeans-trunk-nightly-201412030001-src.zip 199499099 SHA256 adae819d7f94b21e1b65d00dd39082305e79c34801397f474c2ed4e87745c19a SHA512 5eec00d8e086024101cd916bf01603ab2a4ff5b2acd4f03bed258e02b84ce678fe99f85f22824685ae5bc560f67093a4072d741c80a0e772b210569bfb8c75e3 WHIRLPOOL b08f24fb2df1ecb13833490696e331893a7001e668ea387e8c6a5b791b43631b7259db29c1ba76a5629bc001fe293ea1aa0108d213492600cfe057cfe6f6672b
 DIST netbeans-trunk-nightly-201412040001-src.zip 199544440 SHA256 1f721475c4cada742f1128627eba186360874a9a9d95f9634bd1ac8c2cd680d5 SHA512 26921a476d3b94fd7f636569306a2a072f10c6276acdb2b37c830eed3fdb983641ee44d675386fb04f2be760c9f1fe7f180fc43771329c602a05128a2ad2495a WHIRLPOOL 776a1e308af0da58535a9cd33a4b2901b3aeddb8fc61fed440f5c6bf0f86a746490f4e8dc3f7f787586763fc210a2f70771b9c42813703ee97206145cb6e4002
 DIST netbeans-trunk-nightly-201412070001-src.zip 199641850 SHA256 87bb9a998b5814f7d372433ab97ee3827f331a7f1ff92d9c7ba93a64f95d80ec SHA512 5e8ebd97085e603e09e5ea61fedbf12d069ad25edd0a4285dda6cb249ac5b9b75d01b615a0751e25058263041996b0b19adf819f102093ecaeef3364838e54bc WHIRLPOOL d376184e8f06a0b5c4cae82eea627b8dfc30874ff613251171e0e9d753bd7255db8417a79188ad96f52daf43fddc9ca094541090d4432f756ec5d7de679c7488
+DIST netbeans-trunk-nightly-201412080001-src.zip 199642324 SHA256 b13a7830fb7c88b2e188b3f5d4cf554597c9bf09990bff738f94c3d7a8eb9627 SHA512 079b33ccaf071b3db2bab3e92c189dbfe94c75640250080d1b710ae52e846a85a44569c3b5dc2e1ced6611df62ee6573e0957885498002b028e4d86344d171e9 WHIRLPOOL 9cf70238be22ffe165447cf7c75ce4fed9c0a43de377a9b4c99a6052d5fdd5aa525294b51c1e70b19b705d80d36da754f382026263a55008c67d05b53c82b812
 EBUILD netbeans-7.0.1-r2.ebuild 6736 SHA256 e808fba2ddb516270d93b5cf67cff60d98b37ca58a158878f2e3b3ad696cfc82 SHA512 653fb585d9eaa20fcf88d778a7f34d63c9f29f2af2153a432fcab6d977ef9619c699b19587a48b148ccf717f4b31a43859b81cff80d5d84ad273c5fa16e8f565 WHIRLPOOL 257f2466c3ad198a05db9d5e377cad2707f8a4daf1f421e516d7435670a85fd4bb5f6b3ab657ebda8cc23937e1b4e1f4acce8cccd85bccddc5a7b1f9abbde0ce
 EBUILD netbeans-7.1.2.ebuild 6976 SHA256 4222e248dfb664ccfea85d4938ad691d3685f32d8e9b33289d1dda088057261b SHA512 cc0a20bd542b61621fe08d5413611f7bcbbebf0c37d5f67c590c31324e74eb5594e72efacc86d843ff3abffc98c4859c2733c63ce6f993baf51e24d69197b64d WHIRLPOOL 30fb7b0cbf22fc39a8dabefd27a0073ce73e62ef082d55839fb7f815bb73bc5c3c24c3418ce175f355d7c64138ef7e9616da41c68b3b57a70353d16c6113daf7
 EBUILD netbeans-7.2.ebuild 7057 SHA256 29140b2779f1a24722499605101c286d05415b4f97d2363afedef711cc586067 SHA512 0776f530f9530c533b13019f7b34fc664990a16926bcff768d0a9f3b9035de82dcd2ed66425ad8da27c65aa69fe3e6be966e0a1ee1bc222949e5d42e14f7f7f1 WHIRLPOOL 9fcb95348171fb0bd8d794b80b51b2e3ce36fd84ccc81653bdd0172cbfa99791e527b33c895ebf7b4d81c228f17d4afab367eb55ceffe28df835b2d09dc8f778
@@ -114,5 +115,6 @@ EBUILD netbeans-9999_p20141202.ebuild 7216 SHA256 c540a5f62449ac4451774d5d1529df
 EBUILD netbeans-9999_p20141203.ebuild 7216 SHA256 cf05c12439a106ec309b9e004bb1c5ab371ca350152168f115a0a76e93bfed3f SHA512 c672b0135075777c969d664fb2bb064816599698a6d6d8998a6c94b7519ef63312942db6295209c74510a3a7a4f2ff9ac6e57e3eaffff6eecbd9c0a6c6142e1e WHIRLPOOL 99e2a2c530d95d57cbbd9b11229ac48193ca71a62c49b2a44c9708795c09a2457169c171a134a92f81c7422cd81e71e02f1b62257aeb5a3c7170001baff00937
 EBUILD netbeans-9999_p20141204.ebuild 7216 SHA256 ec48c532c0890f5f936ce05db2fca879261387f52232dbc333aaefa769df9edd SHA512 8d2620d65e091b8e250fc72f1aaa7a66caa075b9dd9b56bf8383ce34d49abac9f4d952c91f98a18e0813d615b8725e2713816fbd3c31ecb0024bba4a7e61aadd WHIRLPOOL 9526ca4b11ff0d71f9369fe59f3fd72a618131b91951de11d0c4dfeeedb3785c5637cd3d2cabd8b6dc6a1740767bdcb88bf133c70ab18486b292bc0ffa08428c
 EBUILD netbeans-9999_p20141207.ebuild 7216 SHA256 58a55a8d6792b5cef80de608242c2ebd6e8458ff9af2d7436ec66fbe93bd35ab SHA512 ed2095236204a90e8b3d79df856418d8951a3926b9146a7f2a39f40b741eab99335f2ee45bc27417b1b762e23ed13205dbf12ac623f7a11d9e4072c96d992d63 WHIRLPOOL 829bfed2634fa30b5dde75c6e49699893381433b106dac374179be69a47aee96eddbf9950bd3e2323341c6d172bba1f04011169bf80ddbcd0c2881ef16244190
-MISC ChangeLog 126956 SHA256 ee0aa03479dbe2ef0490939b19df702cd24e565beccdae433d07106a9f593de2 SHA512 d98e47fcbfe335e303512628cdf326e81c23cbf6e8efc85d67660f69afed60740dc065f6ae69162115af5b2d0e8352fa7732afd4fa49beae9455fea83215902a WHIRLPOOL 6848b8d81916a4342707bf5a8b1cd7b5cab1bead9c6009ec1c0220dbd3a260b9c66e16372bd980252d6e0e26d890493968f0e51fd81fb522d70b33c0cb9bb5c6
+EBUILD netbeans-9999_p20141208.ebuild 7216 SHA256 9c5d9088351f018fc785632cbc0e529913e9ab57ecda91304a368ed185df285a SHA512 71e95e77f5f77a8aba33c3784d2f206c463642e849ab3cdc3bef0011ff13df1675502fc6b82edd98dbc25d14ea97b43c1d38de88138455877d5ba55abf6f8172 WHIRLPOOL d49bcda3e9458aa3f968613295f3cb5613d8d7da1121a8f6613ab0f8cab549e017f7316780831bc52be5713dc161fa68585292d5a178f01d0b3d0098ced37c7b
+MISC ChangeLog 127115 SHA256 3c0082b4d640c1a9af2afe2c3cd9c4fa42ce41c1281c43da08bd1326ec60bcce SHA512 b973c372fbb8d4c26470176565950aefd30dd96f3c920993a3497e02be097f5d458ba845807a88cc03a4459a0ec5f10e68685416630435d618d132e2adeda6ce WHIRLPOOL fdfc0c2142260184dcd4a7db626bf1e3a2be717fbb9291bd734c8a6519f35fdd15d3df321f521ccb14387411e76949584d300c31a8b2318b3488520a75a0d4d5
 MISC metadata.xml 333 SHA256 a7c289d7be537b4c51bd8100bca0d8a40ceb5fb011942bbd1b286841cf3c1d0a SHA512 3f730fc27f893489524053e81a465519037a68e297f02a5d6400f85f8bfd8a20006e5515a135b8a5779ebf5951a661d99aaa8bf3b9b96141f863e134dba2265e WHIRLPOOL d37106234351185946f6dc870e9b77babd38bed88673771949d26d176d8dad4071be5f2c59bf72b139a6a35c899c2c7ac9ffde1c7b4885135d52c821780cf3d2

diff --git a/dev-util/netbeans/netbeans-9999_p20141208.ebuild b/dev-util/netbeans/netbeans-9999_p20141208.ebuild
new file mode 100644
index 0000000..442acab
--- /dev/null
+++ b/dev-util/netbeans/netbeans-9999_p20141208.ebuild
@@ -0,0 +1,264 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+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/2014-12-08_00-01-49/zip/netbeans-trunk-nightly-201412080001-src.zip"
+PATCHES_URL="http://dev.gentoo.org/~fordfrog/distfiles/netbeans-9999-r14-build.xml.patch.bz2"
+L10N_URL="http://dev.gentoo.org/~fordfrog/distfiles/netbeans-l10n-9999-20131010.tar.bz2"
+ALL_URLS="${SOURCE_URL} ${PATCHES_URL} ${L10N_URL}"
+SRC_URI="linguas_af? ( ${ALL_URLS} )
+	linguas_ar? ( ${ALL_URLS} )
+	linguas_bg? ( ${ALL_URLS} )
+	linguas_ca? ( ${ALL_URLS} )
+	linguas_cs? ( ${ALL_URLS} )
+	linguas_de? ( ${ALL_URLS} )
+	linguas_el? ( ${ALL_URLS} )
+	linguas_es? ( ${ALL_URLS} )
+	linguas_fr? ( ${ALL_URLS} )
+	linguas_gl? ( ${ALL_URLS} )
+	linguas_hi_IN? ( ${ALL_URLS} )
+	linguas_id? ( ${ALL_URLS} )
+	linguas_it? ( ${ALL_URLS} )
+	linguas_ja? ( ${ALL_URLS} )
+	linguas_ko? ( ${ALL_URLS} )
+	linguas_lt? ( ${ALL_URLS} )
+	linguas_nl? ( ${ALL_URLS} )
+	linguas_pl? ( ${ALL_URLS} )
+	linguas_pt_BR? ( ${ALL_URLS} )
+	linguas_pt_PT? ( ${ALL_URLS} )
+	linguas_ro? ( ${ALL_URLS} )
+	linguas_ru? ( ${ALL_URLS} )
+	linguas_si? ( ${ALL_URLS} )
+	linguas_sq? ( ${ALL_URLS} )
+	linguas_sr? ( ${ALL_URLS} )
+	linguas_sv? ( ${ALL_URLS} )
+	linguas_ta_IN? ( ${ALL_URLS} )
+	linguas_tl? ( ${ALL_URLS} )
+	linguas_tr? ( ${ALL_URLS} )
+	linguas_vi? ( ${ALL_URLS} )
+	linguas_zh_CN? ( ${ALL_URLS} )
+	linguas_zh_TW? ( ${ALL_URLS} )
+"
+LICENSE="|| ( CDDL GPL-2-with-linking-exception )"
+KEYWORDS="~amd64 ~x86"
+IUSE_NETBEANS_MODULES="
+	+netbeans_modules_apisupport
+	netbeans_modules_cnd
+	netbeans_modules_dlight
+	netbeans_modules_enterprise
+	netbeans_modules_ergonomics
+	netbeans_modules_extide
+	netbeans_modules_groovy
+	+netbeans_modules_java
+	netbeans_modules_javacard
+	+netbeans_modules_javafx
+	netbeans_modules_mobility
+	netbeans_modules_php
+	+netbeans_modules_profiler
+	netbeans_modules_webcommon
+	+netbeans_modules_websvccommon"
+IUSE_LINGUAS="
+	linguas_af
+	linguas_ar
+	linguas_bg
+	linguas_ca
+	linguas_cs
+	linguas_de
+	linguas_el
+	linguas_es
+	linguas_fr
+	linguas_gl
+	linguas_hi_IN
+	linguas_id
+	linguas_it
+	linguas_ja
+	linguas_ko
+	linguas_lt
+	linguas_nl
+	linguas_pl
+	linguas_pt_BR
+	linguas_pt_PT
+	linguas_ro
+	linguas_ru
+	linguas_si
+	linguas_sq
+	linguas_sr
+	linguas_sv
+	linguas_ta_IN
+	linguas_tl
+	linguas_tr
+	linguas_vi
+	linguas_zh_CN
+	linguas_zh_TW"
+IUSE="doc ${IUSE_NETBEANS_MODULES} ${IUSE_LINGUAS}"
+S="${WORKDIR}"
+
+DEPEND=">=virtual/jdk-1.7
+	dev-java/javahelp:0"
+RDEPEND=">=virtual/jdk-1.7
+	~dev-java/netbeans-harness-${PV}
+	~dev-java/netbeans-ide-${PV}
+	~dev-java/netbeans-nb-${PV}
+	~dev-java/netbeans-platform-${PV}
+	netbeans_modules_apisupport? ( ~dev-java/netbeans-apisupport-${PV} )
+	netbeans_modules_cnd? ( ~dev-java/netbeans-cnd-${PV} )
+	netbeans_modules_dlight? ( ~dev-java/netbeans-dlight-${PV} )
+	netbeans_modules_enterprise? ( ~dev-java/netbeans-enterprise-${PV} )
+	netbeans_modules_ergonomics? ( ~dev-java/netbeans-ergonomics-${PV} )
+	netbeans_modules_extide? ( ~dev-java/netbeans-extide-${PV} )
+	netbeans_modules_groovy? ( ~dev-java/netbeans-groovy-${PV} )
+	netbeans_modules_java? ( ~dev-java/netbeans-java-${PV} )
+	netbeans_modules_javacard? ( ~dev-java/netbeans-javacard-${PV} )
+	netbeans_modules_javafx? ( ~dev-java/netbeans-javafx-${PV} )
+	netbeans_modules_mobility? ( ~dev-java/netbeans-mobility-${PV} )
+	netbeans_modules_php? ( ~dev-java/netbeans-php-${PV} )
+	netbeans_modules_profiler? ( ~dev-java/netbeans-profiler-${PV} )
+	netbeans_modules_webcommon? ( ~dev-java/netbeans-webcommon-${PV} )
+	netbeans_modules_websvccommon? ( ~dev-java/netbeans-websvccommon-${PV} )
+	doc? ( ~dev-java/netbeans-javadoc-${PV} )"
+JAVA_PKG_BSFIX="off"
+NBLOCALES=""
+
+pkg_setup() {
+	for lingua in ${IUSE_LINGUAS} ; do
+		local lang=${lingua/linguas_/}
+
+		if [[ "${lang}" = "ar" ]] ; then
+			lang="ar_EG,ar_SA"
+		elif [[ "${lang}" = "es" ]] ; then
+			lang="es,es_CO"
+		elif [[ "${lang}" = "gl" ]] ; then
+			lang="gl_ES"
+		elif [[ "${lang}" = "id" ]] ; then
+			lang="in_ID"
+		elif [[ "${lang}" = "nl" ]] ; then
+			lang="nl_BE,nl_NL"
+		elif [[ "${lang}" = "tl" ]] ; then
+			lang="fil_PH"
+		fi
+
+		if use ${lingua} ; then
+			if [ -z "${NBLOCALES}" ] ; then
+				NBLOCALES="${lang}"
+			else
+				NBLOCALES="${NBLOCALES},${lang}"
+			fi
+		fi
+	done
+
+	java-pkg-2_pkg_setup
+}
+
+src_unpack() {
+	if [ -n "${NBLOCALES}" ] ; then
+		unpack $(basename ${SOURCE_URL})
+		unpack $(basename ${L10N_URL})
+
+		einfo "Deleting bundled jars..."
+		find -name "*.jar" -type f -delete
+
+		unpack netbeans-9999-r14-build.xml.patch.bz2
+	fi
+}
+
+src_prepare() {
+	if [ -n "${NBLOCALES}" ] ; then
+		einfo "Deleting bundled class files..."
+		find -name "*.class" -type f | xargs rm -vf
+
+		epatch netbeans-9999-r14-build.xml.patch
+
+		# Support for custom patches
+		if [ -n "${NETBEANS9999_PATCHES_DIR}" -a -d "${NETBEANS9999_PATCHES_DIR}" ] ; then
+			local files=`find "${NETBEANS9999_PATCHES_DIR}" -type f`
+
+			if [ -n "${files}" ] ; then
+				einfo "Applying custom patches:"
+
+				for file in ${files} ; do
+					epatch "${file}"
+				done
+			fi
+		fi
+
+		einfo "Symlinking external libraries..."
+		java-pkg_jar-from --build-only --into javahelp/external javahelp jhall.jar jhall-2.0_05.jar
+	fi
+
+	java-pkg-2_src_prepare
+}
+
+src_compile() {
+	if [ -n "${NBLOCALES}" ] ; then
+		einfo "Compiling support for locales: ${NBLOCALES}"
+		eant -f nbbuild/build.xml bootstrap || die
+		eant -Dlocales=${NBLOCALES} -Ddist.dir=../nbbuild/netbeans -Dnbms.dir="" -Dnbms.dist.dir="" \
+			-Dpermit.jdk7.builds=true -f l10n/build.xml build || die
+	fi
+}
+
+src_install() {
+	if [ -n "${NBLOCALES}" ] ; then
+		pushd "${S}"/nbbuild/netbeans >/dev/null || die
+
+		for cluster in apisupport cnd dlight enterprise ergonomics groovy harness ide java javacard javafx mobility php platform profiler webcommon websvccommon ; do
+			if [ -d "${cluster}" ] ; then
+				insinto /usr/share/netbeans-${cluster}-${SLOT}
+				doins -r ${cluster}/*
+			fi
+		done
+
+		if [ -d nb ] ; then
+			insinto /usr/share/netbeans-nb-${SLOT}/nb
+			doins -r nb/*
+		fi
+
+		popd >/dev/null || die
+	fi
+}
+
+pkg_postinst() {
+	if [ -n "${NBLOCALES}" ] ; then
+		einfo "Netbeans automatically starts with the locale you have set in your user profile, if"
+		einfo "the locale is built for Netbeans."
+		einfo "If you want to force specific locale, use --locale argument, for example:"
+		einfo "${PN}-${SLOT} --locale de"
+		einfo "${PN}-${SLOT} --locale pt:BR"
+	fi
+
+	if use linguas_ar ; then
+		einfo
+		einfo "You selected Arabic locale so you can choose either ar:EG or ar:SA variant."
+	fi
+
+	if use linguas_es ; then
+		einfo
+		einfo "You selected Spanish locale so you can choose either es or es:CO variant."
+	fi
+
+	if use linguas_gl ; then
+		einfo
+		einfo "You selected Galician locale which has locale code gl:ES in Netbeans."
+	fi
+
+	if use linguas_id ; then
+		einfo
+		einfo "You selected Indonesian locale which has locale code in:ID in Netbeans."
+	fi
+
+	if use linguas_nl ; then
+		einfo
+		einfo "You selected Dutch locale so you can choose either nl:BE or nl:NL variant."
+	fi
+
+	if use linguas_tl ; then
+		einfo
+		einfo "You selected Tagalog locale which has for Filipino locale code fil:PH in Netbeans."
+	fi
+}


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

only message in thread, other threads:[~2014-12-08  9:24 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-12-08  9:24 [gentoo-commits] dev/fordfrog:master commit in: dev-java/netbeans-apisupport/, dev-java/netbeans-nb/, Miroslav Šulc

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