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

commit:     d4b03f6a1d01932f50fe08bd71bba207c2aafa91
Author:     Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
AuthorDate: Thu Jul  9 11:28:45 2015 +0000
Commit:     Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
CommitDate: Thu Jul  9 11:28:45 2015 +0000
URL:        https://gitweb.gentoo.org/dev/fordfrog.git/commit/?id=d4b03f6a

netbeans: bumped to the latest sources

 dev-java/netbeans-apisupport/ChangeLog             |   6 +
 dev-java/netbeans-apisupport/Manifest              |   4 +-
 .../netbeans-apisupport-9999_p20150709.ebuild      | 111 ++++++
 dev-java/netbeans-cnd/ChangeLog                    |   6 +
 dev-java/netbeans-cnd/Manifest                     |   5 +-
 .../netbeans-cnd-9999_p20150709.ebuild             | 127 +++++++
 dev-java/netbeans-dlight/ChangeLog                 |   6 +
 dev-java/netbeans-dlight/Manifest                  |   4 +-
 .../netbeans-dlight-9999_p20150709.ebuild          | 101 ++++++
 dev-java/netbeans-enterprise/ChangeLog             |   6 +
 dev-java/netbeans-enterprise/Manifest              |   4 +-
 .../netbeans-enterprise-9999_p20150709.ebuild      | 266 +++++++++++++++
 dev-java/netbeans-ergonomics/ChangeLog             |   6 +
 dev-java/netbeans-ergonomics/Manifest              |   4 +-
 .../netbeans-ergonomics-9999_p20150709.ebuild      | 101 ++++++
 dev-java/netbeans-extide/ChangeLog                 |   6 +
 dev-java/netbeans-extide/Manifest                  |   4 +-
 .../netbeans-extide-9999_p20150709.ebuild          | 108 ++++++
 dev-java/netbeans-groovy/ChangeLog                 |   6 +
 dev-java/netbeans-groovy/Manifest                  |   4 +-
 .../netbeans-groovy-9999_p20150709.ebuild          | 111 ++++++
 dev-java/netbeans-harness/ChangeLog                |   6 +
 dev-java/netbeans-harness/Manifest                 |   4 +-
 .../netbeans-harness-9999_p20150709.ebuild         | 114 +++++++
 dev-java/netbeans-ide/ChangeLog                    |   6 +
 dev-java/netbeans-ide/Manifest                     |   4 +-
 .../netbeans-ide-9999_p20150709.ebuild             | 377 +++++++++++++++++++++
 dev-java/netbeans-java/ChangeLog                   |   6 +
 dev-java/netbeans-java/Manifest                    |   4 +-
 .../netbeans-java-9999_p20150709.ebuild            | 271 +++++++++++++++
 dev-java/netbeans-javacard/ChangeLog               |   6 +
 dev-java/netbeans-javacard/Manifest                |   4 +-
 .../netbeans-javacard-9999_p20150709.ebuild        | 134 ++++++++
 dev-java/netbeans-javadoc/ChangeLog                |   6 +
 dev-java/netbeans-javadoc/Manifest                 |   4 +-
 .../netbeans-javadoc-9999_p20150709.ebuild         | 168 +++++++++
 dev-java/netbeans-javafx/ChangeLog                 |   6 +
 dev-java/netbeans-javafx/Manifest                  |   4 +-
 .../netbeans-javafx-9999_p20150709.ebuild          | 124 +++++++
 dev-java/netbeans-mobility/ChangeLog               |   6 +
 dev-java/netbeans-mobility/Manifest                |   4 +-
 .../netbeans-mobility-9999_p20150709.ebuild        | 126 +++++++
 dev-java/netbeans-nb/ChangeLog                     |   6 +
 dev-java/netbeans-nb/Manifest                      |   4 +-
 .../netbeans-nb/netbeans-nb-9999_p20150709.ebuild  | 148 ++++++++
 dev-java/netbeans-php/ChangeLog                    |   6 +
 dev-java/netbeans-php/Manifest                     |   4 +-
 .../netbeans-php-9999_p20150709.ebuild             | 127 +++++++
 dev-java/netbeans-platform/ChangeLog               |   6 +
 dev-java/netbeans-platform/Manifest                |   4 +-
 .../netbeans-platform-9999_p20150709.ebuild        | 166 +++++++++
 dev-java/netbeans-profiler/ChangeLog               |   6 +
 dev-java/netbeans-profiler/Manifest                |   4 +-
 .../netbeans-profiler-9999_p20150709.ebuild        | 121 +++++++
 dev-java/netbeans-webcommon/ChangeLog              |   6 +
 dev-java/netbeans-webcommon/Manifest               |   4 +-
 .../netbeans-webcommon-9999_p20150709.ebuild       | 123 +++++++
 dev-java/netbeans-websvccommon/ChangeLog           |   6 +
 dev-java/netbeans-websvccommon/Manifest            |   4 +-
 .../netbeans-websvccommon-9999_p20150709.ebuild    |  94 +++++
 dev-util/netbeans/ChangeLog                        |   6 +
 dev-util/netbeans/Manifest                         |   4 +-
 dev-util/netbeans/netbeans-9999_p20150709.ebuild   | 264 +++++++++++++++
 63 files changed, 3472 insertions(+), 21 deletions(-)

diff --git a/dev-java/netbeans-apisupport/ChangeLog b/dev-java/netbeans-apisupport/ChangeLog
index ac0053b..d2eca04 100644
--- a/dev-java/netbeans-apisupport/ChangeLog
+++ b/dev-java/netbeans-apisupport/ChangeLog
@@ -2,6 +2,12 @@
 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+*netbeans-apisupport-9999_p20150709 (09 Jul 2015)
+
+  09 Jul 2015; Miroslav Šulc <fordfrog@gentoo.org>
+  +netbeans-apisupport-9999_p20150709.ebuild:
+  updated to the latest sources
+
 *netbeans-apisupport-9999_p20150702 (02 Jul 2015)
 
   02 Jul 2015; Miroslav Šulc <fordfrog@gentoo.org>

diff --git a/dev-java/netbeans-apisupport/Manifest b/dev-java/netbeans-apisupport/Manifest
index 37dff4b..4b5a8c5 100644
--- a/dev-java/netbeans-apisupport/Manifest
+++ b/dev-java/netbeans-apisupport/Manifest
@@ -45,6 +45,7 @@ DIST netbeans-trunk-nightly-201506290001-src.zip 208007970 SHA256 c946f79e8d9834
 DIST netbeans-trunk-nightly-201506300001-src.zip 208032815 SHA256 ce244f0502b501486aba525f65b315bd424268cf5e73bf1c8ec8d7671afcc4b5 SHA512 d0d079b531c0d74a4ddc01f3afaa5448d1a9a6506ed3ae11ccf803d2bbab2601e6158dfab88be9408014daceed62a5ecba54f3d4372e535fb02147a167d825cc WHIRLPOOL a69f202dfb2106898986a5eca7ead2156669879ca97d4a41d475eabf7cea0be2859ff8bffeb1dad81a75cea80058cb2f52803c3d3679a5c0a46e2cc115ed6028
 DIST netbeans-trunk-nightly-201507010001-src.zip 208078805 SHA256 981fd8029e8ed54eeb163701a3f75b8f501ef478159c94fc22b1b2157e1b1a82 SHA512 80e41ea6451a356ee2a760cffd8e8424730bbc26ef7338da251bf1427bb540517153f0f5a6402d0e53ce5dda34b4c0bdf14ca4499b9ed0ae9e220c4debd193a5 WHIRLPOOL 3c324d6dea7f457075ce2b4fe6b5dab77b7059798ebec9d7975d3818844d00c24a683fa7e29c24837d6a2e2694764dddec8d562eabc8f43c94caf93061079a8f
 DIST netbeans-trunk-nightly-201507020001-src.zip 208088424 SHA256 1dde0fd1452c74c8e5e214c47c89a1d4672d54af0318421b736877dac6e5f357 SHA512 cd3a8fdaec765d79ce33c7c758ef27bdf32890caff2432e10290ef7edee28a34b7582bed49e79d0e71916ae1f192ed930000e2e27349fac75bb0239797a2f56b WHIRLPOOL 76bbf940d6e99ec97303fc104aca17e182476973d3e7511f256179b288d2f4db9944dc511b65886441051472b4b24c5ac590c84b294539d4b254d2b96effc139
+DIST netbeans-trunk-nightly-201507090001-src.zip 208130931 SHA256 5d73ccaddac610b27ab8aecaa95f5ef920a833291d2573daeb29f1f79eef1864 SHA512 6405717c46d506dbaa744fd33ba88daf3037e9d388482d808a6eeab292a42d99e76eea4494639725568239dc939444b0357a3f55b364a57256e93f5252efb7d5 WHIRLPOOL 9bddee309d416454d25c497074ad9e2ff23b1e52de90975bbea12412524fcf44e384eed0b14ee7f0f1ae1988523a74281bef1de58c14321aaefa4f9ef1bd9ba5
 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
@@ -84,5 +85,6 @@ EBUILD netbeans-apisupport-9999_p20150629.ebuild 3390 SHA256 8f72cd2bf652e71f5ec
 EBUILD netbeans-apisupport-9999_p20150630.ebuild 3390 SHA256 cc9dbf33f9984e0b1eab3e2e3991fecdbbe5a13a4f0d1fc8268d0b5f965ea22f SHA512 ef97d5577aebe3ab85c0cef85370437984633ba4527ec0b5b34ca5c616995f4571c9be1687e7c4415663e8a57008d13fea262626837270c39548d82fd077d311 WHIRLPOOL eb592c462c9f1cc0737efdf1292b24c336985ad5409a21ad2a85520026748726beac9b9d92677128d7969878d65603eb7c37c404a8ecf1f0ed863dc172ab3b84
 EBUILD netbeans-apisupport-9999_p20150701.ebuild 3390 SHA256 c03864c8cc7bc963f0fc05402d901dbdc15c12a21072173127867f43b7ad35de SHA512 6961ac3060120aa2490a60e492ebfc8e7e822e72a3679c1fb91c416af08558635aaf72ffb5ae4805231c8636b5902052d55cefd1f2ee53eb1183c1b8dcadeb19 WHIRLPOOL 736c0b994556e928be11d824557161717a5a5125bb524c598adb813b12b49e4342c49eaedafef37811d065b69ebc674a5fb5c86a1d7e83921e1a66975163260e
 EBUILD netbeans-apisupport-9999_p20150702.ebuild 3390 SHA256 81c039173f24cc764442f5c5bbe7cce9b841d08796f13942673ef5577a4ad7de SHA512 ace32c5fb50efe63d329bcda6f1179b55af9f51e51e7f874b9351cc19c7690e44a28e4ba1d268ccbd367cadfe4cacfc2ae3525822241f7e9e83adbd456165bdf WHIRLPOOL 6d8ecb4fec8cb8e19e842b015e81726a1fb6822152a417a68e6b02d862125d79e8485e64815a42be0564514731945b817909434a9865324a703f4b2243ecd669
-MISC ChangeLog 177843 SHA256 e5a2694e858324d19b28d10d4ec9d6f9564aaf14e418994df30197c6305ae6af SHA512 bc27c1f07612a501a7acf5653e73529be582d95605ec360c9418ea914325471232819bf3376335c518a21da5a2ac5788b2f065cd28785926b627c23a8135bc96 WHIRLPOOL c7c0977bea8b021d10a4330b080750efdd8e48da3c779fb2f3fdd6b7f54b65781068a90b449300bc3c3ed4403cd71d333b8da90d55a6df91d6dd6fd760de3a7f
+EBUILD netbeans-apisupport-9999_p20150709.ebuild 3390 SHA256 e844ae5f57b4ee91aa7bba6821180e1b51f45d74dae52dac6f5a29a575001dd3 SHA512 8d3e19978f42d85ffcb11cbc30fc68d422d4460c8a46655b154ec82bd049be0020c843d9783c460435e4ea7d9ee67b6105760aae64aa67d25f231c0ba7269d7f WHIRLPOOL b587a4db104436b7d54a2fae2226dff13fb119f986f60acea450b2c8d0d3bc6a91887bc3dbaa7ff5201ece343530225d1cda5a40777032dabcb62266ce0e307a
+MISC ChangeLog 178025 SHA256 91d0bb5b4f82c64e0097fc9a5dd60bbf474eaadf68a30cd9492e67caf834644a SHA512 093ab8cf50f51767bb32002ebb1e656d84cbdb029574b9eae7eed185b5d01bdcc508a4ac751733ff8fafa2fe93dfcc0ace6023cf24b02807c75bc65f51f9f62b WHIRLPOOL eca657ca8b8f4a987e6ee6ef44a91b930120a8ee11a220056240ceff25c814339acbaa56981d29dff6c9307a32af3f172926111e5fbd791a00c855edb97f863b
 MISC metadata.xml 251 SHA256 5a4ff53a9862390a48d45c79be24086646e7a6ff0c5bdf0fcb799d0871299003 SHA512 04153cbd9776ad56a94d6a47d043df15d082d8888df8658f18d0d4b659c6c0526ab3a9b22ccbe2471091bf2d8165f224854bc99c51f3664aaf350ccb93532a7c WHIRLPOOL 2ee8a646c6e23bc46c72cac0ecb5cfe43720ec42404ddaeed8ab1b59d139b3d5c1a94764de847f979da978c001c9f02f709d663a68eeea64d19e88f1fefbca43

diff --git a/dev-java/netbeans-apisupport/netbeans-apisupport-9999_p20150709.ebuild b/dev-java/netbeans-apisupport/netbeans-apisupport-9999_p20150709.ebuild
new file mode 100644
index 0000000..d8fdbce
--- /dev/null
+++ b/dev-java/netbeans-apisupport/netbeans-apisupport-9999_p20150709.ebuild
@@ -0,0 +1,111 @@
+# Copyright 1999-2015 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/2015-07-09_00-01-56/zip/netbeans-trunk-nightly-201507090001-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 b54b8b0..a578aed 100644
--- a/dev-java/netbeans-cnd/ChangeLog
+++ b/dev-java/netbeans-cnd/ChangeLog
@@ -2,6 +2,12 @@
 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+*netbeans-cnd-9999_p20150709 (09 Jul 2015)
+
+  09 Jul 2015; Miroslav Šulc <fordfrog@gentoo.org>
+  +netbeans-cnd-9999_p20150709.ebuild:
+  updated to the latest sources
+
 *netbeans-cnd-9999_p20150702 (02 Jul 2015)
 
   02 Jul 2015; Miroslav Šulc <fordfrog@gentoo.org>

diff --git a/dev-java/netbeans-cnd/Manifest b/dev-java/netbeans-cnd/Manifest
index 8b354dc..3a9dbc4 100644
--- a/dev-java/netbeans-cnd/Manifest
+++ b/dev-java/netbeans-cnd/Manifest
@@ -13,6 +13,7 @@ DIST 6E8B38E9CD7AF2EF5750E31455C03D0956F4E520-clank_0.3.6.zip 6969106 SHA256 684
 DIST 84F10BEAA967E2896F0B43B0BBD08D834841F554-cnd-rfs-1.0.zip 146651 SHA256 4921fdeeb7dcf6b7c8677000a75e36894757cf78ba87cc744fb7239480d3ad17 SHA512 8400fce70d4083f83cf619378838d8880deca491cf4e79a26885df02fd0d80709b2acb7a6fafda3aa081a5a45a9ccfc00db6c26bcbb36c0d86be149dc0271372 WHIRLPOOL a2aae1eb36d6c70db6db8f670ea8183a99600a4fc5f9c93f846733978576c279035da455236dfb36c9d83b153beb4afbc18a5a1135d95d686cc7c6332d379f83
 DIST 9ECBC27AB8AB49F7EF0694F1F8C760733CD26A0D-clank_0.3.6.zip 7857222 SHA256 e8ad3a7b68c75eaf5c9a9d636a19031532ca7e9ff6a386ebe8f0b15114572f82 SHA512 c9717c1f9f5ab54a2b3ab08bd628741c4883035307e879ed4efce7d0da10414afc2e9576c61979d343a1e99934fc1200651887efd00c6e44ba0a33595b8c371a WHIRLPOOL 449af7c517d673ae75207641cac5a6522d1741c93424463409641432ef671ccad8a60053f85a671870bebc92440288becf03860d007488471e0424c327f83c73
 DIST A17998A985D048F3195B6ADE1A360440FCE30102-open-fortran-parser-0.7.1.2.zip 94549 SHA256 94927e1464ab91df0ef44646a88160dba6ed209a2e7b17f0fa6284ca296e5097 SHA512 016745718f8cf590eebd122d1af1c83e3ca6a17a23a47590255429942331f5a7fea4ede008fd698079783533ae648ca03ef20fb761ce098ec93be53a082dc07d WHIRLPOOL 042f826d6d47d7035e80365a14b7c49d807ea6ddaaefab319ffcd3dc8c2d6266f60636ae65a419b73c293d92e1bd04b198a5cc395f7b494984bf404ee0f80ac9
+DIST B1B162CEF5F7306229ED9FF850F56F04FCF92312-clank_0.3.6.zip 7446062 SHA256 eecdb28bf2568a98c2866a8ac96da63cc9f1a3696f67336ad4c0ebba4b6ba88a SHA512 fb5229c67e047feaa49f1d31760504a0912a61d58d873705669bbb91571310e111c07b86b347229ccb907f540a55ce081e9a724405500527132b9e9bebef8874 WHIRLPOOL 7561a6461fb8671e9eb39eb39ba2e3045fb28152f158293eaaa033bfac18c88113cc2bd8a5f7d892056a5af30e38b6c6fe40e250f7fc9122506f87c6ee33b146
 DIST BB83D4F8047D608858154CB041054F5CAE35B903-cnd-rfs-1.0.zip 177647 SHA256 c92c3d3311b8f75883f4f9280fe8d6932b154c67c9dd1bd65a49beb45e578cd1 SHA512 c42e4f0c1b7efb24a45dc375180bfc8b0e02e74e01233665d3e74bf83a182c2b0bbe8b572a8eeb993d77312f6d118777d0576adfca4ea8f4c2cfe08892155345 WHIRLPOOL 41b573c7ca4b926333f28a9329a2423955055ff716e7be03b7a6f4714e7261e57574b16a0e89b96ae744dc0a36f9a4a72f8d948b11a6b8052159d42cbd40876a
 DIST BF2C234985CF9BD6CDE18114406C67EC7C32B84A-cnd-build-trace-1.0.zip 31891 SHA256 dd9105ad309b56d22ef08573ec48a5f21baa2c50f8606df9c7b6245abd9dbe72 SHA512 288229a85536a45fbae6ba5a4dc085fa2053264259f14833cd435f64191a4b2f4b93c3e9981589087ec293afbb0fc76e97d2b5312a196e3b3fed11a605ab650a WHIRLPOOL 69379d331a68e1c4eb15aa8b1ff5256c9b98d9fad4688f2d306841973b151fd22ddbca25c5388af39b487b8810a2e521ffefbbb9775cf02271626179c3810c04
 DIST C4CF9314A530E51B891D46DB65806A5A0ED240AF-cnd-build-trace-1.0.zip 27300 SHA256 8bcfad100ee9664b7fb2b6b8f20b14b3790121b06487e790214c571c9ec1f21e SHA512 21e69d6881efaa27ae91eb88cd851bb1e67c755668b1f96bdbdf8f4af2b2aee093c37b5edbb85317c22143083ea1fd1ca7386cb9523c32f502d86d933e27b739 WHIRLPOOL e09be2e79f88d6dd9d2e3cc89710fdcc67d4f825d44916a70a5625ec8b2f12112c9d9c0c39cd2e579d3c7846e9bfbf5ab709197cc784f5742a2ab9b22ae89b07
@@ -69,6 +70,7 @@ DIST netbeans-trunk-nightly-201506290001-src.zip 208007970 SHA256 c946f79e8d9834
 DIST netbeans-trunk-nightly-201506300001-src.zip 208032815 SHA256 ce244f0502b501486aba525f65b315bd424268cf5e73bf1c8ec8d7671afcc4b5 SHA512 d0d079b531c0d74a4ddc01f3afaa5448d1a9a6506ed3ae11ccf803d2bbab2601e6158dfab88be9408014daceed62a5ecba54f3d4372e535fb02147a167d825cc WHIRLPOOL a69f202dfb2106898986a5eca7ead2156669879ca97d4a41d475eabf7cea0be2859ff8bffeb1dad81a75cea80058cb2f52803c3d3679a5c0a46e2cc115ed6028
 DIST netbeans-trunk-nightly-201507010001-src.zip 208078805 SHA256 981fd8029e8ed54eeb163701a3f75b8f501ef478159c94fc22b1b2157e1b1a82 SHA512 80e41ea6451a356ee2a760cffd8e8424730bbc26ef7338da251bf1427bb540517153f0f5a6402d0e53ce5dda34b4c0bdf14ca4499b9ed0ae9e220c4debd193a5 WHIRLPOOL 3c324d6dea7f457075ce2b4fe6b5dab77b7059798ebec9d7975d3818844d00c24a683fa7e29c24837d6a2e2694764dddec8d562eabc8f43c94caf93061079a8f
 DIST netbeans-trunk-nightly-201507020001-src.zip 208088424 SHA256 1dde0fd1452c74c8e5e214c47c89a1d4672d54af0318421b736877dac6e5f357 SHA512 cd3a8fdaec765d79ce33c7c758ef27bdf32890caff2432e10290ef7edee28a34b7582bed49e79d0e71916ae1f192ed930000e2e27349fac75bb0239797a2f56b WHIRLPOOL 76bbf940d6e99ec97303fc104aca17e182476973d3e7511f256179b288d2f4db9944dc511b65886441051472b4b24c5ac590c84b294539d4b254d2b96effc139
+DIST netbeans-trunk-nightly-201507090001-src.zip 208130931 SHA256 5d73ccaddac610b27ab8aecaa95f5ef920a833291d2573daeb29f1f79eef1864 SHA512 6405717c46d506dbaa744fd33ba88daf3037e9d388482d808a6eeab292a42d99e76eea4494639725568239dc939444b0357a3f55b364a57256e93f5252efb7d5 WHIRLPOOL 9bddee309d416454d25c497074ad9e2ff23b1e52de90975bbea12412524fcf44e384eed0b14ee7f0f1ae1988523a74281bef1de58c14321aaefa4f9ef1bd9ba5
 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
@@ -108,5 +110,6 @@ EBUILD netbeans-cnd-9999_p20150629.ebuild 4796 SHA256 36e8034c39fbdac777ed900a8c
 EBUILD netbeans-cnd-9999_p20150630.ebuild 4796 SHA256 cb5ec7cfba23035ad6414d86ac32544be7dc23f7177476f9721f6cb4f98329b2 SHA512 d71f51bf2ece88fe084e60dfbbd7a56417e918fd1d0879c92e68a3cdb5cc7437267e4d2864c387c41fc3c0b1fd4e232a69fb878bebd7138eafb3395b72779648 WHIRLPOOL 447419424345bbf680a2a0ed3b2ac83edb2387f4abc06ed71bf443a49d4eb8da988aa18317d1435c8d839387f035733bc71390ff9dedc71a297809a2b2954fd9
 EBUILD netbeans-cnd-9999_p20150701.ebuild 4796 SHA256 7f6c1b3d13abce85080ef54bc504f246a58356520be11c7a5a8996babba3d491 SHA512 bd1d5d97331b8acd32288836d4d2e5184ca254159c4f1f3e4b9d13831b67731cc20a8a79eef7be0abd848768a19d30e5b30dca7a469da901eec75eb1f0fb5dfd WHIRLPOOL 1319735f9bf688f013c13c00039b1a4090e26f5a67c3ff7eaf17f989adec8d025c8521fb524d48642a8492ccd9174312e9ffb5f5d26df8296e3e3c9eb9ab1b28
 EBUILD netbeans-cnd-9999_p20150702.ebuild 4796 SHA256 4afa87b8026cab529cf593cdde9972bb5ad4a95bd4034b31a552f3a5f0a08978 SHA512 ef2848cae356e68321781807d2526320084cd454f3f88c3e78b5e2c625eb4f8205ad504501920b4326026c87d568ac97a76cb3dc0985170d5877f3df81183528 WHIRLPOOL a66ad803cd7fbe2b31c70f84c04a961135423f4ad157d786c7b0c538f7548e2ec19e30f60638e07a6f94a81d74732a2b0002bb5c7a38fb912b4e217bf8cc353f
-MISC ChangeLog 162323 SHA256 941b1e23256bc2a8ae026146d0a80e625930c556c7f0335c6b20c7cf97150c91 SHA512 27a44436da85004f13419cdc3d8865460a8dd75e119414e53d0d5152ff42fbd8e21966b6672de90dc1c35d57dbfe4d43266962127a7d04570e52aaaad186006e WHIRLPOOL 74ce9085058f2e4c27598d283424f2fe0aea79f1cd0210be0582176fa27b50bcbb7b794327199f467d1295f6ae6133783e4d90235463a1a0244e37a2a3e49d4f
+EBUILD netbeans-cnd-9999_p20150709.ebuild 4796 SHA256 77eb8517b79df3e097d120121e45426a13cb89af25cae3c9aedc8167f013a495 SHA512 5444db95eead8a764113a4ecf895dafc0d2b5e6d7780725b0e6bde08737b679f747f5c8cedf9cea88cf712b83c618c8accaeed707825611175a8465202a1a287 WHIRLPOOL a2ff3b9504128566eee1a18ed0fe9abe6cdea873badc0869a415fb1a6899a0d81fa54961ab7fb10b14237e621b625e4fd6c8c28ae11d1a8d9d0ef33bb621c212
+MISC ChangeLog 162491 SHA256 129898ed0102817efa4725655734ba68208167ceb1e50acfa301abd956e95799 SHA512 50965e2984f2767e0a805719c17480c6609f273f1e28d5c0b111602c226f0d941583526a305a2830227aa6f5aa0bebca09568f3ba889d3dea8b0896bd2a1191d WHIRLPOOL ee862c2511c5db07e38d25fa777623656e5e13c3171e072c298cdb5263203b7c43cc39e7c1ec188cc736356fde0c9a0ac150b57815686dfc2632419317e2daca
 MISC metadata.xml 251 SHA256 5a4ff53a9862390a48d45c79be24086646e7a6ff0c5bdf0fcb799d0871299003 SHA512 04153cbd9776ad56a94d6a47d043df15d082d8888df8658f18d0d4b659c6c0526ab3a9b22ccbe2471091bf2d8165f224854bc99c51f3664aaf350ccb93532a7c WHIRLPOOL 2ee8a646c6e23bc46c72cac0ecb5cfe43720ec42404ddaeed8ab1b59d139b3d5c1a94764de847f979da978c001c9f02f709d663a68eeea64d19e88f1fefbca43

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

diff --git a/dev-java/netbeans-dlight/ChangeLog b/dev-java/netbeans-dlight/ChangeLog
index 2f65703..5c48f7b 100644
--- a/dev-java/netbeans-dlight/ChangeLog
+++ b/dev-java/netbeans-dlight/ChangeLog
@@ -2,6 +2,12 @@
 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+*netbeans-dlight-9999_p20150709 (09 Jul 2015)
+
+  09 Jul 2015; Miroslav Šulc <fordfrog@gentoo.org>
+  +netbeans-dlight-9999_p20150709.ebuild:
+  updated to the latest sources
+
 *netbeans-dlight-9999_p20150702 (02 Jul 2015)
 
   02 Jul 2015; Miroslav Šulc <fordfrog@gentoo.org>

diff --git a/dev-java/netbeans-dlight/Manifest b/dev-java/netbeans-dlight/Manifest
index e8aff57..ea865c4 100644
--- a/dev-java/netbeans-dlight/Manifest
+++ b/dev-java/netbeans-dlight/Manifest
@@ -51,6 +51,7 @@ DIST netbeans-trunk-nightly-201506290001-src.zip 208007970 SHA256 c946f79e8d9834
 DIST netbeans-trunk-nightly-201506300001-src.zip 208032815 SHA256 ce244f0502b501486aba525f65b315bd424268cf5e73bf1c8ec8d7671afcc4b5 SHA512 d0d079b531c0d74a4ddc01f3afaa5448d1a9a6506ed3ae11ccf803d2bbab2601e6158dfab88be9408014daceed62a5ecba54f3d4372e535fb02147a167d825cc WHIRLPOOL a69f202dfb2106898986a5eca7ead2156669879ca97d4a41d475eabf7cea0be2859ff8bffeb1dad81a75cea80058cb2f52803c3d3679a5c0a46e2cc115ed6028
 DIST netbeans-trunk-nightly-201507010001-src.zip 208078805 SHA256 981fd8029e8ed54eeb163701a3f75b8f501ef478159c94fc22b1b2157e1b1a82 SHA512 80e41ea6451a356ee2a760cffd8e8424730bbc26ef7338da251bf1427bb540517153f0f5a6402d0e53ce5dda34b4c0bdf14ca4499b9ed0ae9e220c4debd193a5 WHIRLPOOL 3c324d6dea7f457075ce2b4fe6b5dab77b7059798ebec9d7975d3818844d00c24a683fa7e29c24837d6a2e2694764dddec8d562eabc8f43c94caf93061079a8f
 DIST netbeans-trunk-nightly-201507020001-src.zip 208088424 SHA256 1dde0fd1452c74c8e5e214c47c89a1d4672d54af0318421b736877dac6e5f357 SHA512 cd3a8fdaec765d79ce33c7c758ef27bdf32890caff2432e10290ef7edee28a34b7582bed49e79d0e71916ae1f192ed930000e2e27349fac75bb0239797a2f56b WHIRLPOOL 76bbf940d6e99ec97303fc104aca17e182476973d3e7511f256179b288d2f4db9944dc511b65886441051472b4b24c5ac590c84b294539d4b254d2b96effc139
+DIST netbeans-trunk-nightly-201507090001-src.zip 208130931 SHA256 5d73ccaddac610b27ab8aecaa95f5ef920a833291d2573daeb29f1f79eef1864 SHA512 6405717c46d506dbaa744fd33ba88daf3037e9d388482d808a6eeab292a42d99e76eea4494639725568239dc939444b0357a3f55b364a57256e93f5252efb7d5 WHIRLPOOL 9bddee309d416454d25c497074ad9e2ff23b1e52de90975bbea12412524fcf44e384eed0b14ee7f0f1ae1988523a74281bef1de58c14321aaefa4f9ef1bd9ba5
 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
@@ -90,5 +91,6 @@ EBUILD netbeans-dlight-9999_p20150629.ebuild 2995 SHA256 d35124c13ad8530685a5613
 EBUILD netbeans-dlight-9999_p20150630.ebuild 2995 SHA256 19346e17e35db14cda5e36775caf336bd00d4382f7aed0925d1c894d6dc9f340 SHA512 ae4af303cacfabb54d46224202ce99bc8a34655161fddb058cfab6b3c38494f641dbdb0cbf0ff6a263385dc73360ab49f68f610b3080ff2dd33508638e5c64de WHIRLPOOL 905cbf71c7df30918aa5d4e7702f9736cef1ccffe272cbf8ba592b02547b6ec78bc6560a2ac4e59be77f09be8165e6bd68bf5bde8de62e9b761c7f056d0dcbd4
 EBUILD netbeans-dlight-9999_p20150701.ebuild 2995 SHA256 be558d6ac6ad27d6b59c347d444e7dbfab9bb899f90b4f8ebc24a3ed5a7a3da3 SHA512 29dd5428a3ed7d0693ab499911717ffa45903748ccfcc4ff061a847110be9db6a2dc5324af1300351c93248b8eaa7ef651efa68f253538d286448ca94e201fee WHIRLPOOL 2e4e499f892f2cb23fa299503734e437d69db87c85780a7852500cf59953d0d60c8ffa8a9d55a3dd9659a96e176fbe34b54b304451822a7068dab3a6cb7c837a
 EBUILD netbeans-dlight-9999_p20150702.ebuild 2995 SHA256 1c034e629e00f8dfe3b319231d635a75be6b40041b460afc4d4ca5c88c907b30 SHA512 45c349bcd24c1197e14f6a925d5e4998cfc6a01ed59e9ce703b87f50869e693db52f555b2a7c89285ae25813da439dc564f019e76aa9f7fd6b4f2857cc4a95e1 WHIRLPOOL fa2158aadeb4b0815d7e0c931ec82b1d8c4aa66b0b39f34d1a723ec6fe758404c56a69c672fd976d8d5f832806175e84bfaec761a655948df2106078b4522aaa
-MISC ChangeLog 169416 SHA256 4124ebcc7a3aaf64f29289c0808077fd6fc897efbf9c0187d42220510028b13a SHA512 56340aa6f6e48bfeba378a7226a2da57c094686b58c4ac916aad63bafc0bbf61225ed74c93c261178c310c75612aa6a18db9c432166ab5ddd907d91f6d61c6ee WHIRLPOOL 4b14eccbfa4b1185729048962cc17f647bfa1cd1271abe17e7906085aef81dd2dad387678dc6167047fcb4ba27e01ccdebd2f83646b75995ee887f879672edd3
+EBUILD netbeans-dlight-9999_p20150709.ebuild 2995 SHA256 d586ac52ad2470df138084b7550f6046f8c7c13184a374b2c739275174e60a91 SHA512 2c86c416093bc318c88047357682e1da0603c8b0779bbd521b40ebf68961ee9fa9fa2d48e25a9dcf5296fb21fb6c90a36ca8134925f391716d159ac6d4bdb52f WHIRLPOOL daebb33a1867583f75af3bc71307a5a65c2603d609b4be4e4f6db8a0cfe10a461cc7abb16bc5b42b7066c3e5bbaa8d30f69a2534734e432a58db614742259c47
+MISC ChangeLog 169590 SHA256 3645617aeafbd0c7105425f73bebed95a942d2fa790f2eb1bc5fcbc13c1102a5 SHA512 c3e48c7c65aa4219fab6e62bd94cf693c75dc0a142882978f1971c22b73ecb6604205b94f89fc692c09b5bc05eb12cb3acad80c290c37136a1e3c812f925e399 WHIRLPOOL a74ed2745a38077d32fc524f966875d1d011ba3e4d488d04dfbe3787c50e3a37398275c878de2951a690772257d8ddd52d88de56ac85b2ca3d53480de72bbacf
 MISC metadata.xml 251 SHA256 5a4ff53a9862390a48d45c79be24086646e7a6ff0c5bdf0fcb799d0871299003 SHA512 04153cbd9776ad56a94d6a47d043df15d082d8888df8658f18d0d4b659c6c0526ab3a9b22ccbe2471091bf2d8165f224854bc99c51f3664aaf350ccb93532a7c WHIRLPOOL 2ee8a646c6e23bc46c72cac0ecb5cfe43720ec42404ddaeed8ab1b59d139b3d5c1a94764de847f979da978c001c9f02f709d663a68eeea64d19e88f1fefbca43

diff --git a/dev-java/netbeans-dlight/netbeans-dlight-9999_p20150709.ebuild b/dev-java/netbeans-dlight/netbeans-dlight-9999_p20150709.ebuild
new file mode 100644
index 0000000..934c1d0
--- /dev/null
+++ b/dev-java/netbeans-dlight/netbeans-dlight-9999_p20150709.ebuild
@@ -0,0 +1,101 @@
+# Copyright 1999-2015 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/2015-07-09_00-01-56/zip/netbeans-trunk-nightly-201507090001-src.zip"
+SRC_URI="${SOURCE_URL}
+	http://dev.gentoo.org/~fordfrog/distfiles/netbeans-9999-r14-build.xml.patch.bz2
+	http://hg.netbeans.org/binaries/DF1C6C0A0B03BC0147D215D01DA34F2E5DC13245-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}"/DF1C6C0A0B03BC0147D215D01DA34F2E5DC13245-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 9695eee..3f5081d 100644
--- a/dev-java/netbeans-enterprise/ChangeLog
+++ b/dev-java/netbeans-enterprise/ChangeLog
@@ -2,6 +2,12 @@
 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+*netbeans-enterprise-9999_p20150709 (09 Jul 2015)
+
+  09 Jul 2015; Miroslav Šulc <fordfrog@gentoo.org>
+  +netbeans-enterprise-9999_p20150709.ebuild:
+  updated to the latest sources
+
 *netbeans-enterprise-9999_p20150702 (02 Jul 2015)
 
   02 Jul 2015; Miroslav Šulc <fordfrog@gentoo.org>

diff --git a/dev-java/netbeans-enterprise/Manifest b/dev-java/netbeans-enterprise/Manifest
index 6171331..44d3b6b 100644
--- a/dev-java/netbeans-enterprise/Manifest
+++ b/dev-java/netbeans-enterprise/Manifest
@@ -134,6 +134,7 @@ DIST netbeans-trunk-nightly-201506290001-src.zip 208007970 SHA256 c946f79e8d9834
 DIST netbeans-trunk-nightly-201506300001-src.zip 208032815 SHA256 ce244f0502b501486aba525f65b315bd424268cf5e73bf1c8ec8d7671afcc4b5 SHA512 d0d079b531c0d74a4ddc01f3afaa5448d1a9a6506ed3ae11ccf803d2bbab2601e6158dfab88be9408014daceed62a5ecba54f3d4372e535fb02147a167d825cc WHIRLPOOL a69f202dfb2106898986a5eca7ead2156669879ca97d4a41d475eabf7cea0be2859ff8bffeb1dad81a75cea80058cb2f52803c3d3679a5c0a46e2cc115ed6028
 DIST netbeans-trunk-nightly-201507010001-src.zip 208078805 SHA256 981fd8029e8ed54eeb163701a3f75b8f501ef478159c94fc22b1b2157e1b1a82 SHA512 80e41ea6451a356ee2a760cffd8e8424730bbc26ef7338da251bf1427bb540517153f0f5a6402d0e53ce5dda34b4c0bdf14ca4499b9ed0ae9e220c4debd193a5 WHIRLPOOL 3c324d6dea7f457075ce2b4fe6b5dab77b7059798ebec9d7975d3818844d00c24a683fa7e29c24837d6a2e2694764dddec8d562eabc8f43c94caf93061079a8f
 DIST netbeans-trunk-nightly-201507020001-src.zip 208088424 SHA256 1dde0fd1452c74c8e5e214c47c89a1d4672d54af0318421b736877dac6e5f357 SHA512 cd3a8fdaec765d79ce33c7c758ef27bdf32890caff2432e10290ef7edee28a34b7582bed49e79d0e71916ae1f192ed930000e2e27349fac75bb0239797a2f56b WHIRLPOOL 76bbf940d6e99ec97303fc104aca17e182476973d3e7511f256179b288d2f4db9944dc511b65886441051472b4b24c5ac590c84b294539d4b254d2b96effc139
+DIST netbeans-trunk-nightly-201507090001-src.zip 208130931 SHA256 5d73ccaddac610b27ab8aecaa95f5ef920a833291d2573daeb29f1f79eef1864 SHA512 6405717c46d506dbaa744fd33ba88daf3037e9d388482d808a6eeab292a42d99e76eea4494639725568239dc939444b0357a3f55b364a57256e93f5252efb7d5 WHIRLPOOL 9bddee309d416454d25c497074ad9e2ff23b1e52de90975bbea12412524fcf44e384eed0b14ee7f0f1ae1988523a74281bef1de58c14321aaefa4f9ef1bd9ba5
 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
@@ -173,5 +174,6 @@ EBUILD netbeans-enterprise-9999_p20150629.ebuild 15937 SHA256 95cad02ca99df9f85d
 EBUILD netbeans-enterprise-9999_p20150630.ebuild 15937 SHA256 db9eb9092364b83833df636aba914272268b8f838922c6171c0f542190132814 SHA512 71ba55f9588a8a64741494b5db1e7b89a9b23b511cca9aaf3ea2978227ca9118c92669b8d1d3b0f9e120e0c52ee5aacde426a1a9b2907caf89d87f15a1bbef5f WHIRLPOOL 4f4a14688568eee71e80631c39d0bcdb650d7ccd8956861ce4fdfb978e776fd61a62f75b19129980ea6dec1392ed881b46fa1278be31d325fb99a4aa7f8eb072
 EBUILD netbeans-enterprise-9999_p20150701.ebuild 15937 SHA256 371749f623e5bc06dd01f82d991726b4d0d845fbaebb57c3628021c1f6a4edd9 SHA512 e3d0162f8fa03c9884f3cf2cbd7780e461bf5b4d2998612be8c5b4c0c6e5afdd53bfc2535bac2e2b9a276a478c9cb242b2777566b44ca1d8cc73bda6e9fcb2d1 WHIRLPOOL 3e728404450e05891e6e45f97fa0e08878164277b407386a00fd2734fc6e5f6d1cbc7be6f35017d47906994c68d5518d5ab1ecdf56ec243f3b3818e297c76464
 EBUILD netbeans-enterprise-9999_p20150702.ebuild 15937 SHA256 8fc6c97ea596f42c52bac2e228f3e3bbfbffc9f85e5201106384d35fa418f60d SHA512 c6f63ace523c361846a81195d09b7448ea6007879d3731a19490ca5631e833972b014937250048da1224c899214a9d1695b909cffb07439c27f148a46087deba WHIRLPOOL 2267b14a1ecc583855badc5bc99fb92cc6d86648c904993b3e8b931b2cef6a2a1739c037113053bf719ba1c599eae4b8dd5b0e60076e8ba5edade506524f12aa
-MISC ChangeLog 178368 SHA256 5a86f35e3a59f68b44ebf5f8e4aa85ff91699f198f9930088443708fec6193fe SHA512 f0c95e533daf704506625a1103d9bb5399e27d2d1407dfc1f9d48bd407e6d549abc390616f58d886047bfae926c92fb1589a9422b45983e13445ce9ab300563b WHIRLPOOL 529cc7092113506fd8db53d1913fd73bcd5a5bde19391c9f05e3fac49a6752d6d0f92467c77db1813a42a9657b924d7197e6a5ac46b5fa090ac8f4e0977003d3
+EBUILD netbeans-enterprise-9999_p20150709.ebuild 15937 SHA256 87eaff639766d1ec927aca3b4758989c738f8b5c529f2236b16c36a0427798fa SHA512 943beddac0e8980f0746ea806e7483416619560e9af749c284fd4c9c450f240c84cdc6e3c7d5e00353ef6dd75bfdb7cec52bb7bcebcfe04b932f4a1245c70b41 WHIRLPOOL 9b6660891729b22094b1fa6349c7325853e8aa050930e0105f867c972cb404976d0cd8d351aa144e96c06e3f458ae0678aa60a6b758017de4e9e9daf02d7317c
+MISC ChangeLog 178550 SHA256 a7e46d05021d4fab259a88bfb0cce7ac86d7eb71758d408162169f0be0e57ef2 SHA512 f3081db58009c8d2d208d5b49d5c9f231e890bcc1d169321f17f1e1254ee30a527753197a66cc6b050e3619c77a62b5aa19aa37e51e263d09fc15393ed8d34bf WHIRLPOOL 1dd868cc8d457938441d5554f5aca4340751f43016a044b7664ffe2d0e4d47cbd4bcaa432ad1d9c717ddc92429f68755d901cd8f656c1b28dedfbdd3d2a576ef
 MISC metadata.xml 251 SHA256 5a4ff53a9862390a48d45c79be24086646e7a6ff0c5bdf0fcb799d0871299003 SHA512 04153cbd9776ad56a94d6a47d043df15d082d8888df8658f18d0d4b659c6c0526ab3a9b22ccbe2471091bf2d8165f224854bc99c51f3664aaf350ccb93532a7c WHIRLPOOL 2ee8a646c6e23bc46c72cac0ecb5cfe43720ec42404ddaeed8ab1b59d139b3d5c1a94764de847f979da978c001c9f02f709d663a68eeea64d19e88f1fefbca43

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

diff --git a/dev-java/netbeans-ergonomics/ChangeLog b/dev-java/netbeans-ergonomics/ChangeLog
index cf78edb..281bde0 100644
--- a/dev-java/netbeans-ergonomics/ChangeLog
+++ b/dev-java/netbeans-ergonomics/ChangeLog
@@ -2,6 +2,12 @@
 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+*netbeans-ergonomics-9999_p20150709 (09 Jul 2015)
+
+  09 Jul 2015; Miroslav Šulc <fordfrog@gentoo.org>
+  +netbeans-ergonomics-9999_p20150709.ebuild:
+  updated to the latest sources
+
 *netbeans-ergonomics-9999_p20150702 (02 Jul 2015)
 
   02 Jul 2015; Miroslav Šulc <fordfrog@gentoo.org>

diff --git a/dev-java/netbeans-ergonomics/Manifest b/dev-java/netbeans-ergonomics/Manifest
index 2de4137..c28914b 100644
--- a/dev-java/netbeans-ergonomics/Manifest
+++ b/dev-java/netbeans-ergonomics/Manifest
@@ -45,6 +45,7 @@ DIST netbeans-trunk-nightly-201506290001-src.zip 208007970 SHA256 c946f79e8d9834
 DIST netbeans-trunk-nightly-201506300001-src.zip 208032815 SHA256 ce244f0502b501486aba525f65b315bd424268cf5e73bf1c8ec8d7671afcc4b5 SHA512 d0d079b531c0d74a4ddc01f3afaa5448d1a9a6506ed3ae11ccf803d2bbab2601e6158dfab88be9408014daceed62a5ecba54f3d4372e535fb02147a167d825cc WHIRLPOOL a69f202dfb2106898986a5eca7ead2156669879ca97d4a41d475eabf7cea0be2859ff8bffeb1dad81a75cea80058cb2f52803c3d3679a5c0a46e2cc115ed6028
 DIST netbeans-trunk-nightly-201507010001-src.zip 208078805 SHA256 981fd8029e8ed54eeb163701a3f75b8f501ef478159c94fc22b1b2157e1b1a82 SHA512 80e41ea6451a356ee2a760cffd8e8424730bbc26ef7338da251bf1427bb540517153f0f5a6402d0e53ce5dda34b4c0bdf14ca4499b9ed0ae9e220c4debd193a5 WHIRLPOOL 3c324d6dea7f457075ce2b4fe6b5dab77b7059798ebec9d7975d3818844d00c24a683fa7e29c24837d6a2e2694764dddec8d562eabc8f43c94caf93061079a8f
 DIST netbeans-trunk-nightly-201507020001-src.zip 208088424 SHA256 1dde0fd1452c74c8e5e214c47c89a1d4672d54af0318421b736877dac6e5f357 SHA512 cd3a8fdaec765d79ce33c7c758ef27bdf32890caff2432e10290ef7edee28a34b7582bed49e79d0e71916ae1f192ed930000e2e27349fac75bb0239797a2f56b WHIRLPOOL 76bbf940d6e99ec97303fc104aca17e182476973d3e7511f256179b288d2f4db9944dc511b65886441051472b4b24c5ac590c84b294539d4b254d2b96effc139
+DIST netbeans-trunk-nightly-201507090001-src.zip 208130931 SHA256 5d73ccaddac610b27ab8aecaa95f5ef920a833291d2573daeb29f1f79eef1864 SHA512 6405717c46d506dbaa744fd33ba88daf3037e9d388482d808a6eeab292a42d99e76eea4494639725568239dc939444b0357a3f55b364a57256e93f5252efb7d5 WHIRLPOOL 9bddee309d416454d25c497074ad9e2ff23b1e52de90975bbea12412524fcf44e384eed0b14ee7f0f1ae1988523a74281bef1de58c14321aaefa4f9ef1bd9ba5
 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
@@ -84,5 +85,6 @@ EBUILD netbeans-ergonomics-9999_p20150629.ebuild 2919 SHA256 6c9fd05ccd74ecb7783
 EBUILD netbeans-ergonomics-9999_p20150630.ebuild 2919 SHA256 d96a6abd98f00f4b298b87e2111c43fd7835b4b5d295d56621481fc001ea7a1e SHA512 11a3e6ad745782b1f7c1a156a4a7903bb2816e7462206080e4058fb8bcbcfe71cf35ffd067ab8f8b81c7f275fb7f5537261d93546ae0df9b86191679c7c714ef WHIRLPOOL c90121edb0e1494d5a6a362e13004dfe7e4fa95340f257a6ae6deb3c02972807b34e6995c5241caf1e2fc87e8aea3d156c57e425e581dc46da8b27baa91957fe
 EBUILD netbeans-ergonomics-9999_p20150701.ebuild 2919 SHA256 52cfc8b1ae6bceb12cc2e3b10cf6d6f9b62bbf3439578e156ca69177e2ef62fc SHA512 33d05ea95eba83aae049f03b48974530fdaa9ad6e80b58297521851ecccd6e401df2fc0cc6bbccf9d1136b7c4cdc5d88c182fffa298420144a9a38669c04ecfa WHIRLPOOL f162647782da46e4396744253364ed424bb4f9a24cfeb8c3e336fe8e3eb275f30c24dcb6404a971a0e2c9fd91f7d841071f510729c920abd17d4c205f26bbec9
 EBUILD netbeans-ergonomics-9999_p20150702.ebuild 2919 SHA256 eeeac4f5bab4f2917e246bb83c106ffcb915adc71fd1e35c46ca64a374f7007f SHA512 b5a2d859d3abe7530ddf4321c0c87999bd85d5af41b93d168cbe9dd2b92f99bd60cedce94fe41cd1ae97a3a31fccc3f89f1797de98f600daa0e83439001cdf7f WHIRLPOOL fe781059a2fdc1d3ecf091185e321033cc928ee55592690385f380b1bebcf44fa73e7b02deae3f345ae3ed8c203c3a9d4fc4da99cb86e5be9a1ada38a38e8bb7
-MISC ChangeLog 177843 SHA256 effc7fcaf115bb537692de44306b8e61df5e6fff32088ccd6284bc3d23671af4 SHA512 f5927fe8c79edcfc7b05fa6f845b1c3633e6e303b1f6d4f9779177513124e796adb2d8f78ef6bff13df973e8e9e6e65d8977681b58e95df1456b3a931baf3b7f WHIRLPOOL fe2ec06980c3a2162340f7364ecc1538b359e43cabcb17eead90473fdbaee71593c77682fd1131a786b0a03d952f354ea129ddd30388082e60c614d3c0ed14c5
+EBUILD netbeans-ergonomics-9999_p20150709.ebuild 2919 SHA256 be57696d7eeb2cd77d0f4750831f0edc0ec9b69beb8bd87ce817e7d1169e093b SHA512 8e7556bc408d60c877cc4f69c7bba76e2c90adb21c0959c6aa67a7c2b2125e5ede2d3f4603b81e8cc25e92b14cbaf2c6e5822ef4d44e33a3e2f81bd40a5251bd WHIRLPOOL 1a3ace9d5820ee62d9616f2a13e874a69e6f61fb81954d5ef5c74d7e740f32487df9bd300ee8a0acf6f041d7175e5b36f9f734962222635a2bc10c0cd66280e3
+MISC ChangeLog 178025 SHA256 844a22b27efffe25d69e28778436d8e0956047d44fe4922e7183cd5249d0d57d SHA512 e25ba25953fc5342919d06851701a1efdfcdf123010f2322a8005b59ff2823f4f87c74845cbc5aa7f65ef00038f1b70f6b59ad060573eeb814c6f99f8eaf0acc WHIRLPOOL a43f2576ce1e957a488531d6e306c4c250e673205a5ae2a9e788b5a5973c320a287f943f281ef09bb1f16a812eb99033ee6ef4124cc44226a74b460d8b9d3d00
 MISC metadata.xml 251 SHA256 5a4ff53a9862390a48d45c79be24086646e7a6ff0c5bdf0fcb799d0871299003 SHA512 04153cbd9776ad56a94d6a47d043df15d082d8888df8658f18d0d4b659c6c0526ab3a9b22ccbe2471091bf2d8165f224854bc99c51f3664aaf350ccb93532a7c WHIRLPOOL 2ee8a646c6e23bc46c72cac0ecb5cfe43720ec42404ddaeed8ab1b59d139b3d5c1a94764de847f979da978c001c9f02f709d663a68eeea64d19e88f1fefbca43

diff --git a/dev-java/netbeans-ergonomics/netbeans-ergonomics-9999_p20150709.ebuild b/dev-java/netbeans-ergonomics/netbeans-ergonomics-9999_p20150709.ebuild
new file mode 100644
index 0000000..2ec1d92
--- /dev/null
+++ b/dev-java/netbeans-ergonomics/netbeans-ergonomics-9999_p20150709.ebuild
@@ -0,0 +1,101 @@
+# Copyright 1999-2015 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/2015-07-09_00-01-56/zip/netbeans-trunk-nightly-201507090001-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 47d24c3..32ba401 100644
--- a/dev-java/netbeans-extide/ChangeLog
+++ b/dev-java/netbeans-extide/ChangeLog
@@ -2,6 +2,12 @@
 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+*netbeans-extide-9999_p20150709 (09 Jul 2015)
+
+  09 Jul 2015; Miroslav Šulc <fordfrog@gentoo.org>
+  +netbeans-extide-9999_p20150709.ebuild:
+  updated to the latest sources
+
 *netbeans-extide-9999_p20150702 (02 Jul 2015)
 
   02 Jul 2015; Miroslav Šulc <fordfrog@gentoo.org>

diff --git a/dev-java/netbeans-extide/Manifest b/dev-java/netbeans-extide/Manifest
index a0bbbcf..677d46a 100644
--- a/dev-java/netbeans-extide/Manifest
+++ b/dev-java/netbeans-extide/Manifest
@@ -43,6 +43,7 @@ DIST netbeans-trunk-nightly-201506290001-src.zip 208007970 SHA256 c946f79e8d9834
 DIST netbeans-trunk-nightly-201506300001-src.zip 208032815 SHA256 ce244f0502b501486aba525f65b315bd424268cf5e73bf1c8ec8d7671afcc4b5 SHA512 d0d079b531c0d74a4ddc01f3afaa5448d1a9a6506ed3ae11ccf803d2bbab2601e6158dfab88be9408014daceed62a5ecba54f3d4372e535fb02147a167d825cc WHIRLPOOL a69f202dfb2106898986a5eca7ead2156669879ca97d4a41d475eabf7cea0be2859ff8bffeb1dad81a75cea80058cb2f52803c3d3679a5c0a46e2cc115ed6028
 DIST netbeans-trunk-nightly-201507010001-src.zip 208078805 SHA256 981fd8029e8ed54eeb163701a3f75b8f501ef478159c94fc22b1b2157e1b1a82 SHA512 80e41ea6451a356ee2a760cffd8e8424730bbc26ef7338da251bf1427bb540517153f0f5a6402d0e53ce5dda34b4c0bdf14ca4499b9ed0ae9e220c4debd193a5 WHIRLPOOL 3c324d6dea7f457075ce2b4fe6b5dab77b7059798ebec9d7975d3818844d00c24a683fa7e29c24837d6a2e2694764dddec8d562eabc8f43c94caf93061079a8f
 DIST netbeans-trunk-nightly-201507020001-src.zip 208088424 SHA256 1dde0fd1452c74c8e5e214c47c89a1d4672d54af0318421b736877dac6e5f357 SHA512 cd3a8fdaec765d79ce33c7c758ef27bdf32890caff2432e10290ef7edee28a34b7582bed49e79d0e71916ae1f192ed930000e2e27349fac75bb0239797a2f56b WHIRLPOOL 76bbf940d6e99ec97303fc104aca17e182476973d3e7511f256179b288d2f4db9944dc511b65886441051472b4b24c5ac590c84b294539d4b254d2b96effc139
+DIST netbeans-trunk-nightly-201507090001-src.zip 208130931 SHA256 5d73ccaddac610b27ab8aecaa95f5ef920a833291d2573daeb29f1f79eef1864 SHA512 6405717c46d506dbaa744fd33ba88daf3037e9d388482d808a6eeab292a42d99e76eea4494639725568239dc939444b0357a3f55b364a57256e93f5252efb7d5 WHIRLPOOL 9bddee309d416454d25c497074ad9e2ff23b1e52de90975bbea12412524fcf44e384eed0b14ee7f0f1ae1988523a74281bef1de58c14321aaefa4f9ef1bd9ba5
 EBUILD netbeans-extide-7.4.ebuild 3311 SHA256 8585e0b9eac3b9bb35d5b5e0152936f84708a824d76831930a3dfd3d196556b0 SHA512 19eceec7a634923b4712eb277a1ff9900a2eb4d9ac0a2c699175333c263f0c02baaf24eb30bd7919444f5c9df751186689b2d4359ca1c88dca02884d7c18c3cd WHIRLPOOL e64509f198c4d09851f98d5bd2ddd5b469b0a7c0f3122f391c17833e5d6d77b7a6c2fd9e942e34f2df42047504ad40593f97af9b2898450e769c7b012355c316
 EBUILD netbeans-extide-8.0.2.ebuild 3313 SHA256 d147df43b8e55de81e0429604a2497a82861864ae50fbb85368a3070e1c266c9 SHA512 8f2722ce12c1582ca6e9ed348fcb37b9969585037b5432e592e5dd6ef4b3e49c58783da5fe20f088bee07514e3b42de7aa36607900b285c32c4b91fa218df90c WHIRLPOOL 0fb074484787a5e0e688dc734efe027ff6dfd082dd63bc9bccc612f915fbbe33a4f93db6c43d345abc9c191e22ec196aada1e889d1240968916d54c69497a2d6
 EBUILD netbeans-extide-8.0.ebuild 3305 SHA256 b2d57e2e2d92760ead3d383fe4dd5b4fb9fc2807a9b58c6f40b44fc24072b8bb SHA512 6e7f12758188a564ef6b5cf8b0ffdf79e30d1021172d10f215d04e727bc4001e4385fd0961a26a6bb42638089e0919b1d4628a13ba11a3deac94d4693c7210d5 WHIRLPOOL adac8461de43669b7bb98ea8920c0a2944837211a37503b957221149d4b91c4bd92b6db160191990b838c474495c65f62c8a4bb9fdbcaa371b4648a335b1afa9
@@ -78,5 +79,6 @@ EBUILD netbeans-extide-9999_p20150629.ebuild 3383 SHA256 100f1d590e1f71dccd7e5a6
 EBUILD netbeans-extide-9999_p20150630.ebuild 3383 SHA256 502ac7449f577299eaad9826baf0dd2d953f9bdcfa6fc8704768da4781cc68a7 SHA512 f55a8440315cd8bad1d95d0808e92a92da79b2f55d85b0f857a5580c606c286d2b8d8e978b688850f885b846e3118c4bff5af222144eb4de75e075590821766f WHIRLPOOL 32f86a4a124cc43bb4f2fbbb96a345669922727c62d04c33ed23c497ff7dde576abff0cbc6cb62c4bc9dd1ae46d25c10050b3b44712c4e81ab0c3405c5e81185
 EBUILD netbeans-extide-9999_p20150701.ebuild 3383 SHA256 de347eb4410206f42e6e01f9745d22fccf42379c02ea9e4e9843604f2a4d1e6c SHA512 0070c14032ec266d188d07212d0775b8e4723834f92265139666b710227c7da41ee2ceb223889ee116ff58bbfead2d30acc36ae24330c1692075e83d6480772b WHIRLPOOL 4403dfdd69297fe790613c15c47ad35504aec4bbab368a884c9bbad2e8646ab7911dbe7c993afc651343f3e5ef5878b71a33ee58e39c31ebd581a828b2f82485
 EBUILD netbeans-extide-9999_p20150702.ebuild 3383 SHA256 483d88479bf812b2f619fbfa3928db2e0c5fe13a19e5a89acff27c156d69e2d9 SHA512 38ad2c3bbc193882d7401245c01fdcd0920cf76f9fa19fa5d312925cae6ede4144ec4d7be409890d9d29ca813d995cac24229f9dc93a7ca2b0be54f751383956 WHIRLPOOL 8cbed4dc02524e43d6e8bee6ffdccbfff151aba19640bb0c411e2837baa1a625e74d9e868065da51490c476459285e32dca3def24d0651f873ebebe4f82daa32
-MISC ChangeLog 101326 SHA256 53ee203f21164e2bcb8cd251615cc20709677d04490a43c2c6f0dd4adf65c2c6 SHA512 2b47a5f9fa8aeed2f17b6cfd364da87d7259c88f350736e0a5316977ab4282ea9eae215b15832282fd91457516abab0f20ca5655c0ee7bb42ead3c66b9d12181 WHIRLPOOL 262842d90a3226c9b6dcab164ab5c95c7a45a20be95630b1bdaf77de81eeb0f3a401e9a0a93fd0fe6cbadc86b9d19e9245adc3ee2ffb87971c63383d1f53425e
+EBUILD netbeans-extide-9999_p20150709.ebuild 3383 SHA256 4e46ebdbf5d44146a8d2a0697c6b7b70e124d4047cd1d9309461c9792dc3cffd SHA512 21fc9880cda402061c98284fdacca0345ef373f61cb6ebfc92dfbd6cc700749f17e614725b312cbcd0dec2073749bf1a087ac017a7f9cac8dea026d48a500d13 WHIRLPOOL 8aa10cc790d9288b21303fc8dc446e18d97bc701143fd5bb8d04baf1b903e793984fa7bf7c81fe5beed131eb713cbfa8794b2d22ff1ae0b1771fe9df5cf3576c
+MISC ChangeLog 101500 SHA256 ea118ddfb5c45a347422ef5e6083ea62ee998b8901d494c4c13ef86ab924e408 SHA512 62c9c9aae3cceb4e5eae145a932d9578800f44e16dc57e95d5f752357edeef44c26ecf64797db74866171984527bfe0af48a00381c92043f811b3d85c0c25e2d WHIRLPOOL a7b9c7c19363f3fa375e662dd9b449692772d1a778b72e5a1420164ad1bd9b381ebfd0c9e55a6977b87e1e988cfec355e485387f7fbec74bfbd2d08c3131c908
 MISC metadata.xml 251 SHA256 5a4ff53a9862390a48d45c79be24086646e7a6ff0c5bdf0fcb799d0871299003 SHA512 04153cbd9776ad56a94d6a47d043df15d082d8888df8658f18d0d4b659c6c0526ab3a9b22ccbe2471091bf2d8165f224854bc99c51f3664aaf350ccb93532a7c WHIRLPOOL 2ee8a646c6e23bc46c72cac0ecb5cfe43720ec42404ddaeed8ab1b59d139b3d5c1a94764de847f979da978c001c9f02f709d663a68eeea64d19e88f1fefbca43

diff --git a/dev-java/netbeans-extide/netbeans-extide-9999_p20150709.ebuild b/dev-java/netbeans-extide/netbeans-extide-9999_p20150709.ebuild
new file mode 100644
index 0000000..d20f32b
--- /dev/null
+++ b/dev-java/netbeans-extide/netbeans-extide-9999_p20150709.ebuild
@@ -0,0 +1,108 @@
+# Copyright 1999-2015 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/2015-07-09_00-01-56/zip/netbeans-trunk-nightly-201507090001-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 9efa7e1..179e898 100644
--- a/dev-java/netbeans-groovy/ChangeLog
+++ b/dev-java/netbeans-groovy/ChangeLog
@@ -2,6 +2,12 @@
 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+*netbeans-groovy-9999_p20150709 (09 Jul 2015)
+
+  09 Jul 2015; Miroslav Šulc <fordfrog@gentoo.org>
+  +netbeans-groovy-9999_p20150709.ebuild:
+  updated to the latest sources
+
 *netbeans-groovy-9999_p20150702 (02 Jul 2015)
 
   02 Jul 2015; Miroslav Šulc <fordfrog@gentoo.org>

diff --git a/dev-java/netbeans-groovy/Manifest b/dev-java/netbeans-groovy/Manifest
index 07cec73..1716ed4 100644
--- a/dev-java/netbeans-groovy/Manifest
+++ b/dev-java/netbeans-groovy/Manifest
@@ -49,6 +49,7 @@ DIST netbeans-trunk-nightly-201506290001-src.zip 208007970 SHA256 c946f79e8d9834
 DIST netbeans-trunk-nightly-201506300001-src.zip 208032815 SHA256 ce244f0502b501486aba525f65b315bd424268cf5e73bf1c8ec8d7671afcc4b5 SHA512 d0d079b531c0d74a4ddc01f3afaa5448d1a9a6506ed3ae11ccf803d2bbab2601e6158dfab88be9408014daceed62a5ecba54f3d4372e535fb02147a167d825cc WHIRLPOOL a69f202dfb2106898986a5eca7ead2156669879ca97d4a41d475eabf7cea0be2859ff8bffeb1dad81a75cea80058cb2f52803c3d3679a5c0a46e2cc115ed6028
 DIST netbeans-trunk-nightly-201507010001-src.zip 208078805 SHA256 981fd8029e8ed54eeb163701a3f75b8f501ef478159c94fc22b1b2157e1b1a82 SHA512 80e41ea6451a356ee2a760cffd8e8424730bbc26ef7338da251bf1427bb540517153f0f5a6402d0e53ce5dda34b4c0bdf14ca4499b9ed0ae9e220c4debd193a5 WHIRLPOOL 3c324d6dea7f457075ce2b4fe6b5dab77b7059798ebec9d7975d3818844d00c24a683fa7e29c24837d6a2e2694764dddec8d562eabc8f43c94caf93061079a8f
 DIST netbeans-trunk-nightly-201507020001-src.zip 208088424 SHA256 1dde0fd1452c74c8e5e214c47c89a1d4672d54af0318421b736877dac6e5f357 SHA512 cd3a8fdaec765d79ce33c7c758ef27bdf32890caff2432e10290ef7edee28a34b7582bed49e79d0e71916ae1f192ed930000e2e27349fac75bb0239797a2f56b WHIRLPOOL 76bbf940d6e99ec97303fc104aca17e182476973d3e7511f256179b288d2f4db9944dc511b65886441051472b4b24c5ac590c84b294539d4b254d2b96effc139
+DIST netbeans-trunk-nightly-201507090001-src.zip 208130931 SHA256 5d73ccaddac610b27ab8aecaa95f5ef920a833291d2573daeb29f1f79eef1864 SHA512 6405717c46d506dbaa744fd33ba88daf3037e9d388482d808a6eeab292a42d99e76eea4494639725568239dc939444b0357a3f55b364a57256e93f5252efb7d5 WHIRLPOOL 9bddee309d416454d25c497074ad9e2ff23b1e52de90975bbea12412524fcf44e384eed0b14ee7f0f1ae1988523a74281bef1de58c14321aaefa4f9ef1bd9ba5
 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
@@ -88,5 +89,6 @@ EBUILD netbeans-groovy-9999_p20150629.ebuild 3422 SHA256 2a4787d7a3384e86d94f1f7
 EBUILD netbeans-groovy-9999_p20150630.ebuild 3422 SHA256 be82b439af8b200c7003a1dc2c4849c6a2f51d7b412b3e172231f91ba4380835 SHA512 be7e6b20371d08df2c0e4a97e5bb366884edbcf1a77c6672f1c87fa381e7157b09a63f17cc874361a6b7ca12806b383d27cbad9f6a012ae0c1d738f44a6ddee7 WHIRLPOOL 712a4d4ae9b3798b35277655cc49ed201c31008a7e4320e758bcbe219709260d70844a86f1fb437b5fd589688207041d5496c10211ba42173a1168c13a1d99e9
 EBUILD netbeans-groovy-9999_p20150701.ebuild 3422 SHA256 8348cc4eca25aa3c842f428b5cbf11a9a74d10cd36ae89d7bf225a0c7737068e SHA512 30ab5c7d045140333e823f9f75b446aecb7d885433ad27c530e7e2fa1448eced60b9c619f553a53637a2e86d29958a562563c5e47ab933afb07311ad2f89ef0c WHIRLPOOL 13fd939e320a7eebd743c7325aab41e21ffbe640fa4f6061508c7dea49a227303e77b32699a3c724830ddd2e1b205fc7fed0ec9289b5cca2cab93c1cbad44601
 EBUILD netbeans-groovy-9999_p20150702.ebuild 3422 SHA256 a9f09dcabe21702577cde7f35e51cd96f23425b3b7f1e597e45eb0d7bf65b3e0 SHA512 3dbccaf118816dba20ec55da65ed65b015222aa495f1efce1e8677b2e8d08b4d566e313b2885c7249545b2e3adb2308e4f3afb4bbabe9b19cccfb700177ee422 WHIRLPOOL ecd3b65d320d65aa2e2c4069f242b22a5fa90fc4ef404e9f01d700b6843fc3f838766239ce4d0302c136d5f268a32ba967e720f0ecb2d9ecea81ebea3d6dc4de
-MISC ChangeLog 169306 SHA256 d4774bef1e58b85647b972469f81639bb2cbc6fd4bfc3b1b8640474c19c7f51b SHA512 9140b02b9411d705083a6342648b82ff3f696e0a9123f62fad9bae7472a96609721f82841af2415ad1b2408d33470debc64c8883e5d43fc1d4a905f860ee4747 WHIRLPOOL 1f1a8abdd6d9feca75303a9bc10beda939d9f3cfe5b6f91816386c02f0a453286b626db1f7da64a241890729c74570b613b41eab7ecfa45da557b3d6394ef7cf
+EBUILD netbeans-groovy-9999_p20150709.ebuild 3422 SHA256 9eb2fceafbbb1552a8157ec06946b133a281b90a2f6727d2659fbc3152bd39b1 SHA512 8bf867e11181ca38b4bb244f83357b6bf0d629a2a91da5ab4c4066502568d3ee888903562742e5cd1acc893f550f6e6f834329de2535905b80c61e6001d1d9c9 WHIRLPOOL a7bd3bb8fd838ac044d06bc9e5f9a512338f8744e60f23cb80237266efb00c7e432d159536ffd7d33ce4405096207c265ef8540f5f16c5b1d140687e1975c042
+MISC ChangeLog 169480 SHA256 5b824f2051e3a9f2dcd008942de8e2e20139105cead4d8c4069642a288463078 SHA512 8402fcc69f8e898270299de3ef69915517a7b606a6942e23aa7954d62e22f1546325fe429362ad981d6ea8909328799a8fcf68adce82ec0528596f681f30b135 WHIRLPOOL 11b2e3a2c1dbcb7102ca7e690a4643a14d23068544ab031e7b03a9d972cdf9d313d364146eade5a4d682289243b054792a93e52483d0e1ad17e1ceb6c219c3d6
 MISC metadata.xml 251 SHA256 5a4ff53a9862390a48d45c79be24086646e7a6ff0c5bdf0fcb799d0871299003 SHA512 04153cbd9776ad56a94d6a47d043df15d082d8888df8658f18d0d4b659c6c0526ab3a9b22ccbe2471091bf2d8165f224854bc99c51f3664aaf350ccb93532a7c WHIRLPOOL 2ee8a646c6e23bc46c72cac0ecb5cfe43720ec42404ddaeed8ab1b59d139b3d5c1a94764de847f979da978c001c9f02f709d663a68eeea64d19e88f1fefbca43

diff --git a/dev-java/netbeans-groovy/netbeans-groovy-9999_p20150709.ebuild b/dev-java/netbeans-groovy/netbeans-groovy-9999_p20150709.ebuild
new file mode 100644
index 0000000..66bf281
--- /dev/null
+++ b/dev-java/netbeans-groovy/netbeans-groovy-9999_p20150709.ebuild
@@ -0,0 +1,111 @@
+# Copyright 1999-2015 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/2015-07-09_00-01-56/zip/netbeans-trunk-nightly-201507090001-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 385204f..de69f2a 100644
--- a/dev-java/netbeans-harness/ChangeLog
+++ b/dev-java/netbeans-harness/ChangeLog
@@ -2,6 +2,12 @@
 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+*netbeans-harness-9999_p20150709 (09 Jul 2015)
+
+  09 Jul 2015; Miroslav Šulc <fordfrog@gentoo.org>
+  +netbeans-harness-9999_p20150709.ebuild:
+  updated to the latest sources
+
 *netbeans-harness-9999_p20150702 (02 Jul 2015)
 
   02 Jul 2015; Miroslav Šulc <fordfrog@gentoo.org>

diff --git a/dev-java/netbeans-harness/Manifest b/dev-java/netbeans-harness/Manifest
index 816d14b..94913a3 100644
--- a/dev-java/netbeans-harness/Manifest
+++ b/dev-java/netbeans-harness/Manifest
@@ -51,6 +51,7 @@ DIST netbeans-trunk-nightly-201506290001-src.zip 208007970 SHA256 c946f79e8d9834
 DIST netbeans-trunk-nightly-201506300001-src.zip 208032815 SHA256 ce244f0502b501486aba525f65b315bd424268cf5e73bf1c8ec8d7671afcc4b5 SHA512 d0d079b531c0d74a4ddc01f3afaa5448d1a9a6506ed3ae11ccf803d2bbab2601e6158dfab88be9408014daceed62a5ecba54f3d4372e535fb02147a167d825cc WHIRLPOOL a69f202dfb2106898986a5eca7ead2156669879ca97d4a41d475eabf7cea0be2859ff8bffeb1dad81a75cea80058cb2f52803c3d3679a5c0a46e2cc115ed6028
 DIST netbeans-trunk-nightly-201507010001-src.zip 208078805 SHA256 981fd8029e8ed54eeb163701a3f75b8f501ef478159c94fc22b1b2157e1b1a82 SHA512 80e41ea6451a356ee2a760cffd8e8424730bbc26ef7338da251bf1427bb540517153f0f5a6402d0e53ce5dda34b4c0bdf14ca4499b9ed0ae9e220c4debd193a5 WHIRLPOOL 3c324d6dea7f457075ce2b4fe6b5dab77b7059798ebec9d7975d3818844d00c24a683fa7e29c24837d6a2e2694764dddec8d562eabc8f43c94caf93061079a8f
 DIST netbeans-trunk-nightly-201507020001-src.zip 208088424 SHA256 1dde0fd1452c74c8e5e214c47c89a1d4672d54af0318421b736877dac6e5f357 SHA512 cd3a8fdaec765d79ce33c7c758ef27bdf32890caff2432e10290ef7edee28a34b7582bed49e79d0e71916ae1f192ed930000e2e27349fac75bb0239797a2f56b WHIRLPOOL 76bbf940d6e99ec97303fc104aca17e182476973d3e7511f256179b288d2f4db9944dc511b65886441051472b4b24c5ac590c84b294539d4b254d2b96effc139
+DIST netbeans-trunk-nightly-201507090001-src.zip 208130931 SHA256 5d73ccaddac610b27ab8aecaa95f5ef920a833291d2573daeb29f1f79eef1864 SHA512 6405717c46d506dbaa744fd33ba88daf3037e9d388482d808a6eeab292a42d99e76eea4494639725568239dc939444b0357a3f55b364a57256e93f5252efb7d5 WHIRLPOOL 9bddee309d416454d25c497074ad9e2ff23b1e52de90975bbea12412524fcf44e384eed0b14ee7f0f1ae1988523a74281bef1de58c14321aaefa4f9ef1bd9ba5
 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
@@ -90,5 +91,6 @@ EBUILD netbeans-harness-9999_p20150629.ebuild 4131 SHA256 fb2a6c81c90f04079419b3
 EBUILD netbeans-harness-9999_p20150630.ebuild 4131 SHA256 0432f6a198c6e53d599910502460c3cb522671bbbb7f4fe249f7e5164b5a27dc SHA512 32e5172d41868707a0d99607bb915e3a350e5dcfb9341346bbc08b2d15076892eae59e488870d868d7cb2ba1b286aa37cd5462e9c44566b5c636338629b0d486 WHIRLPOOL 6eac63890f0d6fe7c0be84a00cf083ec0babde648640fb5d565728506adcf99fe0c4f3555b3a886c5e59869aaffd6e887f8248e010384c3ebc10eee0bf26712e
 EBUILD netbeans-harness-9999_p20150701.ebuild 4131 SHA256 ef07b147f63a30e07c21e618efda0e4dd070a05b3ada019b4fd3a978984da9c8 SHA512 991e82496fe893e9342734cdf2d87e5f4245290d092df12f315f7ce92c18be49e3d128ea50e23c76ce7808f76d38feed3531324c041595ee8a1162a47fd7b687 WHIRLPOOL 7b5be8dadc22db5bc3c5a909c6e9c86b94784e27fdc0e8a91edad749319172ebe6aa85bca8978edf6435c4a3675dcef0ce356360d895b633edfd31cda0d4f629
 EBUILD netbeans-harness-9999_p20150702.ebuild 4131 SHA256 1b70e300dea64efb955d8c7a3b7f4cabc76fbdfb0b92765d13535ce41ef1b88c SHA512 c3acd07ea09c532a6443f909ec712af1d658bcbae1a83c0837ae357e7f71cd037cf38e1a0ce4cf7379b5398b9779ecd4cee38aa472234b06eef0b12f0143dc6f WHIRLPOOL 69924c1ff865f6ea8bf87eafd97541064f3bfbb60c428fa0c042ab62c57432a28cbf487b63ec557dc640f7b31bf743ad49ab5f0b3fae333de45f7322743670cd
-MISC ChangeLog 171469 SHA256 dff140271aa6ff086c4233485a1afc296511c13da3edd39c2a07637e469d4457 SHA512 24dcb13dcf3e8a93c78174d4c2816cb648d8a0589d135a1c75ce3f5044ec5a172d873ac88b8afd658a50cdfa08b6c350fc17c24be86adde44bdbbec8a0ad32c4 WHIRLPOOL cfd3dc90bcf0249d9c7a59caefbf27460fe98f7595fbe39c129ef1709668b02c1d2534a6811cc44e8f5381c572fcd5a86c6a697ef1bef0171e1d984b7a12f501
+EBUILD netbeans-harness-9999_p20150709.ebuild 4131 SHA256 af48ec9e2e964ed81b3862511d41a2c14f5ce69e60151f1dd65111f71e422912 SHA512 b33ea7862f3a30f4fd57a669aafbdf78075c0eb8e614991fe9da35c0428889fee4744df399bd8023feb603dc8d07705e2742be624b1348d9aa351eea7ceef25f WHIRLPOOL 5fdb86550e260dd3cf587b163796a5184b1188c9896d4380668ccb6e211096fa4edfe92d408f6c7b74c455e7e8a2f5cb6aa5a12cdf9e7d4decd3b35467448824
+MISC ChangeLog 171645 SHA256 a8112adfb76f1e4b92a6bfbe4096fcf5400f5181c7f44f286232724932efe275 SHA512 572690a885d0b55b1148ea2e3efffb3081dde0aebf061a7c62c0743e5072954a86411f2abbc53ddc6fadd7d1da0028e4207ebff59ba8d101e4c091df7d18f765 WHIRLPOOL 918da5481fd60db79be5ffe2e8fbc9989e5d3206318d1e64c0946a69d7cf0df6f988c5c542fec07596dc7363d87c3dbda3597d6576d83ffa9f39585c26dbfa82
 MISC metadata.xml 251 SHA256 5a4ff53a9862390a48d45c79be24086646e7a6ff0c5bdf0fcb799d0871299003 SHA512 04153cbd9776ad56a94d6a47d043df15d082d8888df8658f18d0d4b659c6c0526ab3a9b22ccbe2471091bf2d8165f224854bc99c51f3664aaf350ccb93532a7c WHIRLPOOL 2ee8a646c6e23bc46c72cac0ecb5cfe43720ec42404ddaeed8ab1b59d139b3d5c1a94764de847f979da978c001c9f02f709d663a68eeea64d19e88f1fefbca43

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

diff --git a/dev-java/netbeans-ide/ChangeLog b/dev-java/netbeans-ide/ChangeLog
index a6e00bd..b1c9a98 100644
--- a/dev-java/netbeans-ide/ChangeLog
+++ b/dev-java/netbeans-ide/ChangeLog
@@ -2,6 +2,12 @@
 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+*netbeans-ide-9999_p20150709 (09 Jul 2015)
+
+  09 Jul 2015; Miroslav Šulc <fordfrog@gentoo.org>
+  +netbeans-ide-9999_p20150709.ebuild:
+  updated to the latest sources
+
 *netbeans-ide-9999_p20150702 (02 Jul 2015)
 
   02 Jul 2015; Miroslav Šulc <fordfrog@gentoo.org>

diff --git a/dev-java/netbeans-ide/Manifest b/dev-java/netbeans-ide/Manifest
index 4e76fcb..0795e17 100644
--- a/dev-java/netbeans-ide/Manifest
+++ b/dev-java/netbeans-ide/Manifest
@@ -255,6 +255,7 @@ DIST netbeans-trunk-nightly-201506290001-src.zip 208007970 SHA256 c946f79e8d9834
 DIST netbeans-trunk-nightly-201506300001-src.zip 208032815 SHA256 ce244f0502b501486aba525f65b315bd424268cf5e73bf1c8ec8d7671afcc4b5 SHA512 d0d079b531c0d74a4ddc01f3afaa5448d1a9a6506ed3ae11ccf803d2bbab2601e6158dfab88be9408014daceed62a5ecba54f3d4372e535fb02147a167d825cc WHIRLPOOL a69f202dfb2106898986a5eca7ead2156669879ca97d4a41d475eabf7cea0be2859ff8bffeb1dad81a75cea80058cb2f52803c3d3679a5c0a46e2cc115ed6028
 DIST netbeans-trunk-nightly-201507010001-src.zip 208078805 SHA256 981fd8029e8ed54eeb163701a3f75b8f501ef478159c94fc22b1b2157e1b1a82 SHA512 80e41ea6451a356ee2a760cffd8e8424730bbc26ef7338da251bf1427bb540517153f0f5a6402d0e53ce5dda34b4c0bdf14ca4499b9ed0ae9e220c4debd193a5 WHIRLPOOL 3c324d6dea7f457075ce2b4fe6b5dab77b7059798ebec9d7975d3818844d00c24a683fa7e29c24837d6a2e2694764dddec8d562eabc8f43c94caf93061079a8f
 DIST netbeans-trunk-nightly-201507020001-src.zip 208088424 SHA256 1dde0fd1452c74c8e5e214c47c89a1d4672d54af0318421b736877dac6e5f357 SHA512 cd3a8fdaec765d79ce33c7c758ef27bdf32890caff2432e10290ef7edee28a34b7582bed49e79d0e71916ae1f192ed930000e2e27349fac75bb0239797a2f56b WHIRLPOOL 76bbf940d6e99ec97303fc104aca17e182476973d3e7511f256179b288d2f4db9944dc511b65886441051472b4b24c5ac590c84b294539d4b254d2b96effc139
+DIST netbeans-trunk-nightly-201507090001-src.zip 208130931 SHA256 5d73ccaddac610b27ab8aecaa95f5ef920a833291d2573daeb29f1f79eef1864 SHA512 6405717c46d506dbaa744fd33ba88daf3037e9d388482d808a6eeab292a42d99e76eea4494639725568239dc939444b0357a3f55b364a57256e93f5252efb7d5 WHIRLPOOL 9bddee309d416454d25c497074ad9e2ff23b1e52de90975bbea12412524fcf44e384eed0b14ee7f0f1ae1988523a74281bef1de58c14321aaefa4f9ef1bd9ba5
 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
@@ -296,5 +297,6 @@ EBUILD netbeans-ide-9999_p20150629.ebuild 30352 SHA256 152b7021d2935285ee35c4b4f
 EBUILD netbeans-ide-9999_p20150630.ebuild 30352 SHA256 47f84017cfb7dd65491c2949846f7af868204360a5500995c60328d373235357 SHA512 f4e69a14355694113ef912094fb0cda474197fa758f7ca4ecca4baafaaab8b4ed570e48654a868e58e52deeb546e7b6d3e5326d5e462fcbe2cf4fb0e104ae653 WHIRLPOOL 31e18ce09d4d97a1fea5c0b07c5f94e2062b163ed69f94e0d229ce0063a0d13767ffd8a8123a5078771e1e48b0cc49dfa7c3f0af411ac508130961a193bfa030
 EBUILD netbeans-ide-9999_p20150701.ebuild 30352 SHA256 acc2e9fa3a009f1a11125e0a6821dfaa89c018a95fb3ddeb121df1e3285aa82d SHA512 a9ec81ced6ce9570abe716e74d0b8fee7c150f180314545585fbc7237ef209972de8d2781bb94a912b512c3ce351cb558ad2dc80cb8102c63f08e56c43894248 WHIRLPOOL 579e19b539c1452456c9d97b095167e233c84603e2c56c9340d001ab604ef058e74ed939badb8b62307c895f6f2e27e2673d560a1c9573e40c1bf9de16dd4e4a
 EBUILD netbeans-ide-9999_p20150702.ebuild 30352 SHA256 f377b8cc68dc734e7438747880c64b1dea6ccf06fbc81e4dc00e3dd08424c22c SHA512 2b66d943440d8b131219ab25dcf648c6f09d278f93c7b749aa67e139091a57c1161bc00b44275787db4bd4978f9b641f9b2f4c62c6009857edc28812370a8331 WHIRLPOOL dc41176a250919f8385c9afd5bc95c8c0cb79c8a786ab59be873b0f54e4f2765b49f90f0dc05a0d01b667047045e4278c052c95443d33c7a64df4713aec7d6c9
-MISC ChangeLog 163245 SHA256 56c8da01b9e6c7a40f24de85d2e465b18b55487d49251c4b2c90298b2d52aadc SHA512 2906a17f0f9287782fa27c342c20ce5b26bf43fb7afbe9a9a2b5d97bfe3c484ec3bcc2016734fa25535d9f58eed25c89bda13b6299702c9be49fec12471634a7 WHIRLPOOL 659605fe636804449c58493fd5171dad754d154d2d252cfecd8e31c33fcaf0608be2a7583aa96fd72f7ac4dc1b7782fcc738a01b646d8c1cdc87f86135e61124
+EBUILD netbeans-ide-9999_p20150709.ebuild 30352 SHA256 b2effb44600cc7c959692d3b06cad4e8f9122c915732c73aa1537f934be1e175 SHA512 862dab56df0d502391b8e6f5687ec7a13980c338a19a67f252deff806b559ab0254a19962ecfbeed39d3623f674eba0a21fc9b0f0d77968eb1082cb697af9b9a WHIRLPOOL 62e457f6328cb47890bff2972e8b5322cc38c9f772eeceb36fbcf9264795e05733c40f54ceedf226126c3748503a5c4503c1bca9f3bcfc41c061d6c75b8824aa
+MISC ChangeLog 163413 SHA256 f5cfbb55146d94b22d6ebfbf686f033f4364f2b102205a870009238778313512 SHA512 3357f3e7031ea4a8425644471a52d5ef151fa5059d6305afc382cea9c9178e079f614c39597bc65428012bac426d450333593c8ed4ea7b7e4b5d009561a4d842 WHIRLPOOL 6c64bba1e9fa9a4473463a3f95d80fc9684cf12cc86df03d883453ed5db0def91c9041d294c181b6ac52a6bb0152544814892b31dc142a708798eb8e83444659
 MISC metadata.xml 251 SHA256 5a4ff53a9862390a48d45c79be24086646e7a6ff0c5bdf0fcb799d0871299003 SHA512 04153cbd9776ad56a94d6a47d043df15d082d8888df8658f18d0d4b659c6c0526ab3a9b22ccbe2471091bf2d8165f224854bc99c51f3664aaf350ccb93532a7c WHIRLPOOL 2ee8a646c6e23bc46c72cac0ecb5cfe43720ec42404ddaeed8ab1b59d139b3d5c1a94764de847f979da978c001c9f02f709d663a68eeea64d19e88f1fefbca43

diff --git a/dev-java/netbeans-ide/netbeans-ide-9999_p20150709.ebuild b/dev-java/netbeans-ide/netbeans-ide-9999_p20150709.ebuild
new file mode 100644
index 0000000..dfbcb7b
--- /dev/null
+++ b/dev-java/netbeans-ide/netbeans-ide-9999_p20150709.ebuild
@@ -0,0 +1,377 @@
+# Copyright 1999-2015 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/2015-07-09_00-01-56/zip/netbeans-trunk-nightly-201507090001-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/83E794DFF9A39401AC65252C8E10157761584224-css3-spec.zip
+	http://hg.netbeans.org/binaries/C9A6304FAA121C97CB2458B93D30B1FD6F0F7691-derbysampledb.zip
+	http://hg.netbeans.org/binaries/3502EB7D4A72C2C684D23AFC241CCF50797079D1-exechlp-1.0.zip
+	http://hg.netbeans.org/binaries/5EEAAC41164FEBCB79C73BEBD678A7B6C10C3E80-freemarker-2.3.19.jar
+	http://hg.netbeans.org/binaries/23123BB29025254556B6E573023FCDF0F6715A66-html-4.01.zip
+	http://hg.netbeans.org/binaries/F4A1696661E6233F8C27EE323CAEF9CB052666F1-html5-datatypes.jar
+	http://hg.netbeans.org/binaries/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/3699DFFE17089F9B9C73857EDA9B8669AAD657D3-js-corestubs.zip
+	http://hg.netbeans.org/binaries/2AA13ACCC4059C930C4AD3B6ABD8E1C0FC06235C-js-domstubs.zip
+	http://hg.netbeans.org/binaries/7C0C3CFD989EE775198337C11715C1ACD6C84F41-js-reststubs.zip
+	http://hg.netbeans.org/binaries/036FA0032B44AD06A1F13504D97B3685B1C88961-jsch.agentproxy.core-0.0.7.jar
+	http://hg.netbeans.org/binaries/9F31964104D71855DF6B73F0C761CDEB3FA3C49C-jsch.agentproxy.sshagent-0.0.7.jar
+	http://hg.netbeans.org/binaries/3FA59A536F3DC2197826DC7F224C0823C1534203-jsch.agentproxy.pageant-0.0.7.jar
+	http://hg.netbeans.org/binaries/F759114E5A9F9AE907EADB59DBF65189AA399B45-jsch.agentproxy.usocket-jna-0.0.7.jar
+	http://hg.netbeans.org/binaries/2E07375E5CA3A452472F0E87FB33F243F7A5C08C-libpam4j-1.1.jar
+	http://hg.netbeans.org/binaries/76E901A1F432323E7E90FC86FDB2534A28952293-nashorn-02f810c26ff9-patched.jar
+	http://hg.netbeans.org/binaries/010FC8BD229B7F68C8C4D5BDE399475373096601-non-schema.jar
+	http://hg.netbeans.org/binaries/F27BF427BE72709F3094BF76ECA8C5A2B9AC6DA9-org.eclipse.core.contenttype_3.4.100.v20110423-0524_nosignature.jar
+	http://hg.netbeans.org/binaries/9BC512C5BB9A9F5276B9E8672F6B30AD0BD97D88-org.eclipse.core.jobs-3.5.101_nosignature.jar
+	http://hg.netbeans.org/binaries/105DC9A1A93E6EA9A6CD368AD12897B1F247D6AE-org.eclipse.core.net_1.2.100.I20110511-0800_nosignature.jar
+	http://hg.netbeans.org/binaries/E99C3C29A90F8AB29078A38CF8EBC3860249640C-org.eclipse.core.runtime-3.7.0_nosignature.jar
+	http://hg.netbeans.org/binaries/84FC6D443CD0816FA87093B6B7AD6876ADFC4207-org.eclipse.core.runtime.compatibility.auth_3.2.200.v20110110_nosignature.jar
+	http://hg.netbeans.org/binaries/74069BFD03B2C66A9EBB4370C0B8064E3F5B6594-org.eclipse.equinox.app-1.3.100_nosignature.jar
+	http://hg.netbeans.org/binaries/A7953EEE9D4D7CD896C7D0AD6D21902E6259979B-org.eclipse.equinox.common_3.6.0.v20110523_nosignature.jar
+	http://hg.netbeans.org/binaries/3FB169C95F095B70F05B96BE9496DA63FAE7F707-org.eclipse.equinox.preferences-3.4.2_nosignature.jar
+	http://hg.netbeans.org/binaries/CD5919A707EB6B5C1FC29964C8EF5E2CF3F5A3D4-org.eclipse.equinox.registry_3.5.200.v20120522-1841_nosignature.jar
+	http://hg.netbeans.org/binaries/A4634373DC60650C49CC98AEA2090889F7ADC68F-org.eclipse.equinox.security-1.1.1_nosignature.jar
+	http://hg.netbeans.org/binaries/278049664FFA5447191BD5FE96B0B62B0CFD15D1-org.eclipse.jgit-3.6.2.201501210735-r_nosignature.jar
+	http://hg.netbeans.org/binaries/9039A0C1FA0E56CB56A1A192908814478FA747C5-org.eclipse.jgit.java7-3.6.2.201501210735-r_nosignature.jar
+	http://hg.netbeans.org/binaries/DAA45A7EE529A7532F5DC08625A5A3E81DB2D4CB-org.eclipse.mylyn.bugzilla.core_3.14.2.v20150217-2341.jar
+	http://hg.netbeans.org/binaries/F5AC8FBA216A8C52F319EC2CB455B44FFD734B38-org.eclipse.mylyn.commons.core_3.10.0.20130926-1710_nosignature.jar
+	http://hg.netbeans.org/binaries/B43E7CE55F0DECA3BE1A6E695A3E3ABC6D62567F-org.eclipse.mylyn.commons.net_3.10.0.20131018-1210_nosignature.jar
+	http://hg.netbeans.org/binaries/1B9CBEC0FCB47C279519E52D360199C24EC99B01-org.eclipse.mylyn.commons.repositories.core_1.2.0.20130704-2116_nosignature.jar
+	http://hg.netbeans.org/binaries/6B0A6E9F9179E314944E4ADB831A9D6FCADED3DC-org.eclipse.mylyn.commons.xmlrpc_3.10.0.20130704-2116_nosignature.jar
+	http://hg.netbeans.org/binaries/B28B8EE777232102471EA5334FD70E20851845DD-org.eclipse.mylyn.tasks.core_3.10.0.20131010-2023_nosignature.jar
+	http://hg.netbeans.org/binaries/24A15BD37950663933CC4975EE6E518BEB2C28A3-org.eclipse.mylyn.wikitext.confluence.core_1.9.0.20131007-2055_nosignature.jar
+	http://hg.netbeans.org/binaries/01CD242F06F6F7E4E61C9E05ABBE07318E501D51-org.eclipse.mylyn.wikitext.core_1.9.0.20131007-2055_nosignature.jar
+	http://hg.netbeans.org/binaries/75928E4368CA748131A6767BA1A97D9DA643C306-org.eclipse.mylyn.wikitext.textile.core_1.9.0.20131007-2055_nosignature.jar
+	http://hg.netbeans.org/binaries/934DCAB9534B8FE12FD9C90759B26B6B0D442837-org.tmatesoft.svnkit_1.8.7.r10376_v20141223_2131.jar
+	http://hg.netbeans.org/binaries/E90EF50215FFD23928B3308DC76A17B7DADE5F33-processtreekiller-1.0.5.jar
+	http://hg.netbeans.org/binaries/B0D0FCBAC68826D2AFA3C7C89FC4D57B95A000C3-resolver-1.2.jar
+	http://hg.netbeans.org/binaries/D08E473A4D0510FB329D64E4CC4F2963D000699C-svnClientAdapter-javahl-1.10.3.jar
+	http://hg.netbeans.org/binaries/2CD487DCDE4C4FC38D1C9EBCD45418A1B5EF188D-svnClientAdapter-main-1.10.3.jar
+	http://hg.netbeans.org/binaries/5D37A7FE167A1D44731192748C79B2D7905D474F-svnClientAdapter-svnkit-1.10.3.jar
+	http://hg.netbeans.org/binaries/24CEAE4A9A2AAAA0BD78FF001914BA06B59CEDF2-svnjavahl-1.8.4.jar
+	http://hg.netbeans.org/binaries/4F94E5B4F14B4571A1D8E37885A3037C91F7C02C-svnkit_1.7.8.r9538_v20130107_2001.jar
+	http://hg.netbeans.org/binaries/C0D8A3265D194CC886BAFD585117B6465FD97DCE-swingx-all-1.6.4.jar
+	http://hg.netbeans.org/binaries/EDE7FBABD4C96D34E48FDA0E8FECED24C98CEDCA-sqljet-1.1.10.jar
+	http://hg.netbeans.org/binaries/CD5B5996B46CB8D96C8F0F89A7A734B3C01F3DF7-tomcat-webserver-3.2.jar
+	http://hg.netbeans.org/binaries/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/jsch-0.1.46:0
+	>=dev-java/json-simple-1.1:0
+	dev-java/jsr173:0
+	dev-java/jzlib:0
+	dev-java/jvyamlb:0
+	dev-java/log4j:0
+	dev-java/lucene:3.5
+	dev-java/rhino:1.6
+	dev-java/saxon:9
+	dev-java/smack:2.2
+	dev-java/sun-jaf:0
+	dev-java/tomcat-servlet-api:2.2
+	dev-java/ws-commons-util:0
+	dev-java/xerces:2"
+#	dev-vcs/subversion>=1.8.4:0[java] missing from the tree
+#	app-text/jing:0 our version is probably too old
+#	dev-java/commons-io:1 fails with "Missing manifest tag OpenIDE-Module"
+#	dev-java/freemarker:2.3
+#	dev-java/ini4j:0 our version is too old
+#	dev-java/jaxb:2 upstream version contains more stuff so websvccommon does not compile with ours
+#	dev-java/trilead-ssh2:0 in overlay
+DEPEND=">=virtual/jdk-1.7
+	app-arch/unzip
+	dev-java/commons-codec:0
+	${CDEPEND}
+	dev-java/javacc:0
+	dev-java/javahelp:0"
+RDEPEND=">=virtual/jdk-1.7
+	${CDEPEND}"
+
+INSTALL_DIR="/usr/share/${PN}-${SLOT}"
+
+EANT_BUILD_XML="nbbuild/build.xml"
+EANT_BUILD_TARGET="rebuild-cluster"
+EANT_EXTRA_ARGS="-Drebuild.cluster.name=nb.cluster.ide -Dext.binaries.downloaded=true -Djava.awt.headless=true -Dpermit.jdk8.builds=true"
+EANT_FILTER_COMPILER="ecj-3.3 ecj-3.4 ecj-3.5 ecj-3.6 ecj-3.7"
+JAVA_PKG_BSFIX="off"
+
+JAVA_PKG_WANT_SOURCE="1.7"
+JAVA_PKG_WANT_TARGET="1.7"
+
+src_unpack() {
+	unpack $(basename ${SOURCE_URL})
+
+	einfo "Deleting bundled jars..."
+	find -name "*.jar" -type f -delete
+
+	unpack netbeans-9999-r14-build.xml.patch.bz2
+
+	pushd "${S}" >/dev/null || die
+	ln -s "${DISTDIR}"/4E74C6BE42FE89871A878C7C4D6158F21A6D8010-antlr-runtime-3.4.jar libs.antlr3.runtime/external/antlr-runtime-3.4.jar || die
+	ln -s "${DISTDIR}"/98308890597ACB64047F7E896638E0D98753AE82-asm-all-4.0.jar libs.nashorn/external/asm-all-4.0.jar || die
+	ln -s "${DISTDIR}"/886FAF4B85054DD6E50D9B3438542F432B5F9251-bytelist-0.1.jar libs.bytelist/external/bytelist-0.1.jar || die
+	ln -s "${DISTDIR}"/A8762D07E76CFDE2395257A5DA47BA7C1DBD3DCE-commons-io-1.4.jar o.apache.commons.io/external/commons-io-1.4.jar || die
+	ln -s "${DISTDIR}"/CD0D5510908225F76C5FE5A3F1DF4FA44866F81E-commons-net-3.3.jar libs.commons_net/external/commons-net-3.3.jar || die
+	ln -s "${DISTDIR}"/901D8F815922C435D985DA3814D20E34CC7622CB-css21-spec.zip css.editor/external/css21-spec.zip || die
+	ln -s "${DISTDIR}"/83E794DFF9A39401AC65252C8E10157761584224-css3-spec.zip css.editor/external/css3-spec.zip || die
+	ln -s "${DISTDIR}"/C9A6304FAA121C97CB2458B93D30B1FD6F0F7691-derbysampledb.zip derby/external/derbysampledb.zip || die
+	ln -s "${DISTDIR}"/3502EB7D4A72C2C684D23AFC241CCF50797079D1-exechlp-1.0.zip dlight.nativeexecution/external/exechlp-1.0.zip || die
+	ln -s "${DISTDIR}"/5EEAAC41164FEBCB79C73BEBD678A7B6C10C3E80-freemarker-2.3.19.jar libs.freemarker/external/freemarker-2.3.19.jar || die
+	ln -s "${DISTDIR}"/23123BB29025254556B6E573023FCDF0F6715A66-html-4.01.zip html.editor/external/html-4.01.zip || die
+	ln -s "${DISTDIR}"/F4A1696661E6233F8C27EE323CAEF9CB052666F1-html5-datatypes.jar html.validation/external/html5-datatypes.jar || die
+	ln -s "${DISTDIR}"/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}"/3699DFFE17089F9B9C73857EDA9B8669AAD657D3-js-corestubs.zip javascript2.editor/external/js-corestubs.zip || die
+	ln -s "${DISTDIR}"/2AA13ACCC4059C930C4AD3B6ABD8E1C0FC06235C-js-domstubs.zip javascript2.editor/external/js-domstubs.zip || die
+	ln -s "${DISTDIR}"/7C0C3CFD989EE775198337C11715C1ACD6C84F41-js-reststubs.zip javascript2.editor/external/js-reststubs.zip || die
+	ln -s "${DISTDIR}"/036FA0032B44AD06A1F13504D97B3685B1C88961-jsch.agentproxy.core-0.0.7.jar libs.jsch.agentproxy/external/jsch.agentproxy.core-0.0.7.jar || die
+	ln -s "${DISTDIR}"/9F31964104D71855DF6B73F0C761CDEB3FA3C49C-jsch.agentproxy.sshagent-0.0.7.jar libs.jsch.agentproxy/external/jsch.agentproxy.sshagent-0.0.7.jar || die
+	ln -s "${DISTDIR}"/3FA59A536F3DC2197826DC7F224C0823C1534203-jsch.agentproxy.pageant-0.0.7.jar libs.jsch.agentproxy/external/jsch.agentproxy.pageant-0.0.7.jar || die
+	ln -s "${DISTDIR}"/F759114E5A9F9AE907EADB59DBF65189AA399B45-jsch.agentproxy.usocket-jna-0.0.7.jar libs.jsch.agentproxy/external/jsch.agentproxy.usocket-jna-0.0.7.jar || die
+	ln -s "${DISTDIR}"/2E07375E5CA3A452472F0E87FB33F243F7A5C08C-libpam4j-1.1.jar extexecution.process/external/libpam4j-1.1.jar || die
+	ln -s "${DISTDIR}"/76E901A1F432323E7E90FC86FDB2534A28952293-nashorn-02f810c26ff9-patched.jar libs.nashorn/external/nashorn-02f810c26ff9-patched.jar || die
+	ln -s "${DISTDIR}"/010FC8BD229B7F68C8C4D5BDE399475373096601-non-schema.jar html.validation/external/non-schema.jar || die
+	ln -s "${DISTDIR}"/F27BF427BE72709F3094BF76ECA8C5A2B9AC6DA9-org.eclipse.core.contenttype_3.4.100.v20110423-0524_nosignature.jar o.eclipse.core.contenttype/external/org.eclipse.core.contenttype_3.4.100.v20110423-0524_nosignature.jar || die
+	ln -s "${DISTDIR}"/9BC512C5BB9A9F5276B9E8672F6B30AD0BD97D88-org.eclipse.core.jobs-3.5.101_nosignature.jar o.eclipse.core.jobs/external/org.eclipse.core.jobs-3.5.101_nosignature.jar || die
+	ln -s "${DISTDIR}"/105DC9A1A93E6EA9A6CD368AD12897B1F247D6AE-org.eclipse.core.net_1.2.100.I20110511-0800_nosignature.jar o.eclipse.core.net/external/org.eclipse.core.net_1.2.100.I20110511-0800_nosignature.jar || die
+	ln -s "${DISTDIR}"/E99C3C29A90F8AB29078A38CF8EBC3860249640C-org.eclipse.core.runtime-3.7.0_nosignature.jar o.eclipse.core.runtime/external/org.eclipse.core.runtime-3.7.0_nosignature.jar || die
+	ln -s "${DISTDIR}"/84FC6D443CD0816FA87093B6B7AD6876ADFC4207-org.eclipse.core.runtime.compatibility.auth_3.2.200.v20110110_nosignature.jar o.eclipse.core.runtime.compatibility.auth/external/org.eclipse.core.runtime.compatibility.auth_3.2.200.v20110110_nosignature.jar || die
+	ln -s "${DISTDIR}"/74069BFD03B2C66A9EBB4370C0B8064E3F5B6594-org.eclipse.equinox.app-1.3.100_nosignature.jar o.eclipse.equinox.app/external/org.eclipse.equinox.app-1.3.100_nosignature.jar || die
+	ln -s "${DISTDIR}"/A7953EEE9D4D7CD896C7D0AD6D21902E6259979B-org.eclipse.equinox.common_3.6.0.v20110523_nosignature.jar o.eclipse.equinox.common/external/org.eclipse.equinox.common_3.6.0.v20110523_nosignature.jar || die
+	ln -s "${DISTDIR}"/3FB169C95F095B70F05B96BE9496DA63FAE7F707-org.eclipse.equinox.preferences-3.4.2_nosignature.jar o.eclipse.equinox.preferences/external/org.eclipse.equinox.preferences-3.4.2_nosignature.jar || die
+	ln -s "${DISTDIR}"/CD5919A707EB6B5C1FC29964C8EF5E2CF3F5A3D4-org.eclipse.equinox.registry_3.5.200.v20120522-1841_nosignature.jar o.eclipse.equinox.registry/external/org.eclipse.equinox.registry_3.5.200.v20120522-1841_nosignature.jar || die
+	ln -s "${DISTDIR}"/A4634373DC60650C49CC98AEA2090889F7ADC68F-org.eclipse.equinox.security-1.1.1_nosignature.jar o.eclipse.equinox.security/external/org.eclipse.equinox.security-1.1.1_nosignature.jar || die
+	ln -s "${DISTDIR}"/278049664FFA5447191BD5FE96B0B62B0CFD15D1-org.eclipse.jgit-3.6.2.201501210735-r_nosignature.jar o.eclipse.jgit/external/org.eclipse.jgit-3.6.2.201501210735-r_nosignature.jar || die
+	ln -s "${DISTDIR}"/9039A0C1FA0E56CB56A1A192908814478FA747C5-org.eclipse.jgit.java7-3.6.2.201501210735-r_nosignature.jar o.eclipse.jgit.java7/external/org.eclipse.jgit.java7-3.6.2.201501210735-r_nosignature.jar || die
+	ln -s "${DISTDIR}"/DAA45A7EE529A7532F5DC08625A5A3E81DB2D4CB-org.eclipse.mylyn.bugzilla.core_3.14.2.v20150217-2341.jar o.eclipse.mylyn.bugzilla.core/external/org.eclipse.mylyn.bugzilla.core_3.14.2.v20150217-2341.jar || die
+	ln -s "${DISTDIR}"/F5AC8FBA216A8C52F319EC2CB455B44FFD734B38-org.eclipse.mylyn.commons.core_3.10.0.20130926-1710_nosignature.jar o.eclipse.mylyn.commons.core/external/org.eclipse.mylyn.commons.core_3.10.0.20130926-1710_nosignature.jar || die
+	ln -s "${DISTDIR}"/B43E7CE55F0DECA3BE1A6E695A3E3ABC6D62567F-org.eclipse.mylyn.commons.net_3.10.0.20131018-1210_nosignature.jar o.eclipse.mylyn.commons.net/external/org.eclipse.mylyn.commons.net_3.10.0.20131018-1210_nosignature.jar || die
+	ln -s "${DISTDIR}"/1B9CBEC0FCB47C279519E52D360199C24EC99B01-org.eclipse.mylyn.commons.repositories.core_1.2.0.20130704-2116_nosignature.jar o.eclipse.mylyn.commons.repositories.core/external/org.eclipse.mylyn.commons.repositories.core_1.2.0.20130704-2116_nosignature.jar || die
+	ln -s "${DISTDIR}"/6B0A6E9F9179E314944E4ADB831A9D6FCADED3DC-org.eclipse.mylyn.commons.xmlrpc_3.10.0.20130704-2116_nosignature.jar o.eclipse.mylyn.commons.xmlrpc/external/org.eclipse.mylyn.commons.xmlrpc_3.10.0.20130704-2116_nosignature.jar || die
+	ln -s "${DISTDIR}"/B28B8EE777232102471EA5334FD70E20851845DD-org.eclipse.mylyn.tasks.core_3.10.0.20131010-2023_nosignature.jar o.eclipse.mylyn.tasks.core/external/org.eclipse.mylyn.tasks.core_3.10.0.20131010-2023_nosignature.jar || die
+	ln -s "${DISTDIR}"/24A15BD37950663933CC4975EE6E518BEB2C28A3-org.eclipse.mylyn.wikitext.confluence.core_1.9.0.20131007-2055_nosignature.jar o.eclipse.mylyn.wikitext.confluence.core/external/org.eclipse.mylyn.wikitext.confluence.core_1.9.0.20131007-2055_nosignature.jar || die
+	ln -s "${DISTDIR}"/01CD242F06F6F7E4E61C9E05ABBE07318E501D51-org.eclipse.mylyn.wikitext.core_1.9.0.20131007-2055_nosignature.jar o.eclipse.mylyn.wikitext.core/external/org.eclipse.mylyn.wikitext.core_1.9.0.20131007-2055_nosignature.jar || die
+	ln -s "${DISTDIR}"/75928E4368CA748131A6767BA1A97D9DA643C306-org.eclipse.mylyn.wikitext.textile.core_1.9.0.20131007-2055_nosignature.jar o.eclipse.mylyn.wikitext.textile.core/external/org.eclipse.mylyn.wikitext.textile.core_1.9.0.20131007-2055_nosignature.jar  || die
+	ln -s "${DISTDIR}"/934DCAB9534B8FE12FD9C90759B26B6B0D442837-org.tmatesoft.svnkit_1.8.7.r10376_v20141223_2131.jar libs.svnClientAdapter.svnkit/external/org.tmatesoft.svnkit_1.8.7.r10376_v20141223_2131.jar || die
+	ln -s "${DISTDIR}"/E90EF50215FFD23928B3308DC76A17B7DADE5F33-processtreekiller-1.0.5.jar extexecution.process/external/processtreekiller-1.0.5.jar || die
+	ln -s "${DISTDIR}"/4F94E5B4F14B4571A1D8E37885A3037C91F7C02C-svnkit_1.7.8.r9538_v20130107_2001.jar libs.svnClientAdapter.svnkit/external/svnkit_1.7.8.r9538_v20130107_2001.jar || die
+	ln -s "${DISTDIR}"/B0D0FCBAC68826D2AFA3C7C89FC4D57B95A000C3-resolver-1.2.jar o.apache.xml.resolver/external/resolver-1.2.jar || die
+	ln -s "${DISTDIR}"/EDE7FBABD4C96D34E48FDA0E8FECED24C98CEDCA-sqljet-1.1.10.jar libs.svnClientAdapter.svnkit/external/sqljet-1.1.10.jar || die
+	ln -s "${DISTDIR}"/D08E473A4D0510FB329D64E4CC4F2963D000699C-svnClientAdapter-javahl-1.10.3.jar libs.svnClientAdapter.javahl/external/svnClientAdapter-javahl-1.10.3.jar || die
+	ln -s "${DISTDIR}"/2CD487DCDE4C4FC38D1C9EBCD45418A1B5EF188D-svnClientAdapter-main-1.10.3.jar libs.svnClientAdapter/external/svnClientAdapter-main-1.10.3.jar || die
+	ln -s "${DISTDIR}"/5D37A7FE167A1D44731192748C79B2D7905D474F-svnClientAdapter-svnkit-1.10.3.jar libs.svnClientAdapter.svnkit/external/svnClientAdapter-svnkit-1.10.3.jar || die
+	ln -s "${DISTDIR}"/24CEAE4A9A2AAAA0BD78FF001914BA06B59CEDF2-svnjavahl-1.8.4.jar libs.svnClientAdapter.javahl/external/svnjavahl-1.8.4.jar || die
+	ln -s "${DISTDIR}"/3B91269E9055504778F57744D24F505856698602-svnkit-1.7.0-beta4-20120316.233307-1.jar libs.svnClientAdapter.svnkit/external/svnkit-1.7.0-beta4-20120316.233307-1.jar || die
+	ln -s "${DISTDIR}"/015525209A02BD74254930FF844C7C13498B7FB9-svnkit-javahl16-1.7.0-beta4-20120316.233536-1.jar libs.svnClientAdapter.svnkit/external/svnkit-javahl16-1.7.0-beta4-20120316.233536-1.jar || die
+	ln -s "${DISTDIR}"/C0D8A3265D194CC886BAFD585117B6465FD97DCE-swingx-all-1.6.4.jar libs.swingx/external/swingx-all-1.6.4.jar || die
+	ln -s "${DISTDIR}"/CD5B5996B46CB8D96C8F0F89A7A734B3C01F3DF7-tomcat-webserver-3.2.jar httpserver/external/tomcat-webserver-3.2.jar || die
+	ln -s "${DISTDIR}"/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 --into c.jcraft.jsch/external jsch jsch.jar jsch-0.1.51.jar
+	java-pkg_jar-from --into c.jcraft.jzlib/external jzlib jzlib.jar jzlib-1.0.7.jar
+	java-pkg_jar-from --into db.drivers/external jdbc-mysql jdbc-mysql.jar mysql-connector-java-5.1.23-bin.jar
+	java-pkg_jar-from --into db.drivers/external jdbc-postgresql jdbc-postgresql.jar postgresql-9.2-1002.jdbc4.jar
+	java-pkg_jar-from --build-only --into db.sql.visualeditor/external javacc javacc.jar javacc-3.2.jar
+	java-pkg_jar-from --into html.parser/external icu4j-4.4 icu4j.jar icu4j-4_4_2.jar
+	java-pkg_jar-from --into html.validation/external iso-relax isorelax.jar isorelax.jar
+	java-pkg_jar-from --into html.validation/external log4j log4j.jar log4j-1.2.15.jar
+	java-pkg_jar-from --into html.validation/external saxon-9 saxon.jar saxon9B.jar
+	# java-pkg_jar-from --into libs.freemarker/external freemarker-2.3 freemarker.jar freemarker-2.3.19.jar
+	java-pkg_jar-from --into libs.jvyamlb/external jvyamlb jvyamlb.jar jvyamlb-0.2.7.jar
+	java-pkg_jar-from --into libs.lucene/external lucene-3.5 lucene-core.jar lucene-core-3.5.0.jar
+	java-pkg_jar-from --into libs.smack/external smack-2.2 smack.jar smack.jar
+	java-pkg_jar-from --into libs.smack/external smack-2.2 smackx.jar smackx.jar
+	# java-pkg_jar-from --into libs.svnClientAdapter.javahl/external subversion svn-javahl.jar svnjavahl-1.8.4.jar
+	java-pkg_jar-from --into libs.xerces/external xerces-2 xercesImpl.jar xerces-2.8.0.jar
+	java-pkg_jar-from --build-only --into o.apache.commons.codec/external commons-codec commons-codec.jar apache-commons-codec-1.3.jar
+	java-pkg_jar-from --into o.apache.commons.httpclient/external commons-httpclient-3 commons-httpclient.jar commons-httpclient-3.1.jar
+	java-pkg_jar-from --into o.apache.commons.lang/external commons-lang-2.1 commons-lang.jar commons-lang-2.4.jar
+	java-pkg_jar-from --into o.apache.commons.logging/external commons-logging commons-logging.jar commons-logging-1.1.1.jar
+	java-pkg_jar-from --into o.apache.ws.commons.util/external ws-commons-util ws-commons-util.jar ws-commons-util-1.0.1.jar
+	java-pkg_jar-from --into servletapi/external tomcat-servlet-api-2.2 servlet.jar servlet-2.2.jar
+	java-pkg_jar-from --into xml.jaxb.api/external sun-jaf activation.jar activation.jar
+	java-pkg_jar-from --into xml.jaxb.api/external jsr173 jsr173.jar jsr173_1.0_api.jar
+
+	java-pkg-2_src_prepare
+}
+
+src_compile() {
+	unset DISPLAY
+	eant -f ${EANT_BUILD_XML} ${EANT_EXTRA_ARGS} ${EANT_BUILD_TARGET} || die "Compilation failed"
+}
+
+src_install() {
+	pushd nbbuild/netbeans/ide >/dev/null || die
+
+	insinto ${INSTALL_DIR}
+
+	grep -E "/ide$" ../moduleCluster.properties > "${D}"/${INSTALL_DIR}/moduleCluster.properties || die
+
+	doins -r *
+	rm -fr "${D}"/${INSTALL_DIR}/bin/nativeexecution || die
+	rm -fr "${D}"/${INSTALL_DIR}/modules/lib || die
+
+	insinto ${INSTALL_DIR}/bin/nativeexecution
+	doins bin/nativeexecution/*
+
+	pushd "${D}"/${INSTALL_DIR}/bin/nativeexecution >/dev/null || die
+	for file in *.sh ; do
+		fperms 755 ${file}
+	done
+	popd >/dev/null || die
+
+	if use x86 ; then
+		doins -r bin/nativeexecution/Linux-x86
+		pushd "${D}"/${INSTALL_DIR}/bin/nativeexecution/Linux-x86 >/dev/null || die
+		for file in * ; do
+			fperms 755 ${file}
+		done
+		popd >/dev/null || die
+	elif use amd64 ; then
+		doins -r bin/nativeexecution/Linux-x86_64
+		pushd "${D}"/${INSTALL_DIR}/bin/nativeexecution/Linux-x86_64 >/dev/null || die
+		for file in * ; do
+			fperms 755 ${file}
+		done
+		popd >/dev/null || die
+	fi
+
+	popd >/dev/null || die
+
+	local instdir=${INSTALL_DIR}/modules
+	pushd "${D}"/${instdir} >/dev/null || die
+	rm com-jcraft-jsch.jar && dosym /usr/share/jsch/lib/jsch.jar ${instdir}/com-jcraft-jsch.jar || die
+	rm com-jcraft-jzlib.jar && dosym /usr/share/jzlib/lib/jzlib.jar ${instdir}/com-jcraft-jzlib.jar || die
+	popd >/dev/null || die
+
+	local instdir=${INSTALL_DIR}/modules/ext
+	pushd "${D}"/${instdir} >/dev/null || die
+	# rm freemarker-2.3.19.jar && dosym /usr/share/freemarker-2.3/lib/freemarker.jar ${instdir}/freemarker-2.3.19.jar || die
+	rm icu4j-4_4_2.jar && dosym /usr/share/icu4j-4.4/lib/icu4j.jar ${instdir}/icu4j-4_4_2.jar || die
+	rm isorelax.jar && dosym /usr/share/iso-relax/lib/isorelax.jar ${instdir}/isorelax.jar || die
+	rm json-simple-1.1.1.jar && dosym /usr/share/json-simple/lib/json-simple.jar ${instdir}/json-simple-1.1.1.jar || die
+	rm jvyamlb-0.2.7.jar && dosym /usr/share/jvyamlb/lib/jvyamlb.jar ${instdir}/jvyamlb-0.2.7.jar || die
+	rm log4j-1.2.15.jar && dosym /usr/share/log4j/lib/log4j.jar ${instdir}/log4j-1.2.15.jar || die
+	rm lucene-core-3.5.0.jar && dosym /usr/share/lucene-3.5/lib/lucene-core.jar ${instdir}/lucene-core-3.5.0.jar || die
+	rm mysql-connector-java-5.1.23-bin.jar && dosym /usr/share/jdbc-mysql/lib/jdbc-mysql.jar ${instdir}/mysql-connector-java-5.1.23-bin.jar || die
+	rm postgresql-9.2-1002.jdbc4.jar && dosym /usr/share/jdbc-postgresql/lib/jdbc-postgresql.jar ${instdir}/postgresql-9.2-1002.jdbc4.jar || die
+	rm saxon9B.jar && dosym /usr/share/saxon-9/lib/saxon.jar ${instdir}/saxon9B.jar || die
+	rm servlet-2.2.jar && dosym /usr/share/tomcat-servlet-api-2.2/lib/servlet.jar ${instdir}/servlet-2.2.jar || die
+	rm smack.jar && dosym /usr/share/smack-2.2/lib/smack.jar ${instdir}/smack.jar || die
+	rm smackx.jar && dosym /usr/share/smack-2.2/lib/smackx.jar ${instdir}/smackx.jar || die
+	# rm svnjavahl.jar && dosym /usr/share/subversion/lib/svn-javahl.jar ${instdir}/svnjavahl.jar || die
+	rm xerces-2.8.0.jar && dosym /usr/share/xerces-2/lib/xercesImpl.jar ${instdir}/xerces-2.8.0.jar || die
+	popd >/dev/null || die
+
+	local instdir=${INSTALL_DIR}/modules/ext/jaxb
+	pushd "${D}"/${instdir} >/dev/null || die
+	rm activation.jar && dosym /usr/share/sun-jaf/lib/activation.jar ${instdir}/activation.jar || die
+	popd >/dev/null || die
+
+	local instdir=${INSTALL_DIR}/modules/ext/jaxb/api
+	pushd "${D}"/${instdir} >/dev/null || die
+	rm jsr173_1.0_api.jar && dosym /usr/share/jsr173/lib/jsr173.jar ${instdir}/jsr173_1.0_api.jar || die
+	popd >/dev/null || die
+
+	dosym ${INSTALL_DIR} /usr/share/netbeans-nb-${SLOT}/ide
+}

diff --git a/dev-java/netbeans-java/ChangeLog b/dev-java/netbeans-java/ChangeLog
index 781d938..9b326e4 100644
--- a/dev-java/netbeans-java/ChangeLog
+++ b/dev-java/netbeans-java/ChangeLog
@@ -2,6 +2,12 @@
 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+*netbeans-java-9999_p20150709 (09 Jul 2015)
+
+  09 Jul 2015; Miroslav Šulc <fordfrog@gentoo.org>
+  +netbeans-java-9999_p20150709.ebuild:
+  updated to the latest sources
+
 *netbeans-java-9999_p20150702 (02 Jul 2015)
 
   02 Jul 2015; Miroslav Šulc <fordfrog@gentoo.org>

diff --git a/dev-java/netbeans-java/Manifest b/dev-java/netbeans-java/Manifest
index 212a3d3..34740dc 100644
--- a/dev-java/netbeans-java/Manifest
+++ b/dev-java/netbeans-java/Manifest
@@ -126,6 +126,7 @@ DIST netbeans-trunk-nightly-201506290001-src.zip 208007970 SHA256 c946f79e8d9834
 DIST netbeans-trunk-nightly-201506300001-src.zip 208032815 SHA256 ce244f0502b501486aba525f65b315bd424268cf5e73bf1c8ec8d7671afcc4b5 SHA512 d0d079b531c0d74a4ddc01f3afaa5448d1a9a6506ed3ae11ccf803d2bbab2601e6158dfab88be9408014daceed62a5ecba54f3d4372e535fb02147a167d825cc WHIRLPOOL a69f202dfb2106898986a5eca7ead2156669879ca97d4a41d475eabf7cea0be2859ff8bffeb1dad81a75cea80058cb2f52803c3d3679a5c0a46e2cc115ed6028
 DIST netbeans-trunk-nightly-201507010001-src.zip 208078805 SHA256 981fd8029e8ed54eeb163701a3f75b8f501ef478159c94fc22b1b2157e1b1a82 SHA512 80e41ea6451a356ee2a760cffd8e8424730bbc26ef7338da251bf1427bb540517153f0f5a6402d0e53ce5dda34b4c0bdf14ca4499b9ed0ae9e220c4debd193a5 WHIRLPOOL 3c324d6dea7f457075ce2b4fe6b5dab77b7059798ebec9d7975d3818844d00c24a683fa7e29c24837d6a2e2694764dddec8d562eabc8f43c94caf93061079a8f
 DIST netbeans-trunk-nightly-201507020001-src.zip 208088424 SHA256 1dde0fd1452c74c8e5e214c47c89a1d4672d54af0318421b736877dac6e5f357 SHA512 cd3a8fdaec765d79ce33c7c758ef27bdf32890caff2432e10290ef7edee28a34b7582bed49e79d0e71916ae1f192ed930000e2e27349fac75bb0239797a2f56b WHIRLPOOL 76bbf940d6e99ec97303fc104aca17e182476973d3e7511f256179b288d2f4db9944dc511b65886441051472b4b24c5ac590c84b294539d4b254d2b96effc139
+DIST netbeans-trunk-nightly-201507090001-src.zip 208130931 SHA256 5d73ccaddac610b27ab8aecaa95f5ef920a833291d2573daeb29f1f79eef1864 SHA512 6405717c46d506dbaa744fd33ba88daf3037e9d388482d808a6eeab292a42d99e76eea4494639725568239dc939444b0357a3f55b364a57256e93f5252efb7d5 WHIRLPOOL 9bddee309d416454d25c497074ad9e2ff23b1e52de90975bbea12412524fcf44e384eed0b14ee7f0f1ae1988523a74281bef1de58c14321aaefa4f9ef1bd9ba5
 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
@@ -168,5 +169,6 @@ EBUILD netbeans-java-9999_p20150629.ebuild 14580 SHA256 967eee34be4e20d9c15a488a
 EBUILD netbeans-java-9999_p20150630.ebuild 14580 SHA256 1caa01d603785d5859095cef522bd2c1715157abfcc3500c60d8ed583f2e1198 SHA512 decca251b90c3fb8f1edfaca47a851f1c8aa3bfeb54c13eee99263fcf399eeeaad9c874068ed0980cfd072eef3637e44c1c3486bed638fd0dc487e153977f0f9 WHIRLPOOL a6720aa800fd9f6f3068e655995cf165863263297bf7285ee523a4e628404a58bb274f222e744452a51cf931ac4ec5c06a658888aca352e88bc3e9dc0de62563
 EBUILD netbeans-java-9999_p20150701.ebuild 14580 SHA256 150aea09e074b53e76d822ae293ef0275c20cd818cfca1e55f658bfa7e9ce239 SHA512 97d2f010c78d8f060209efacfb201b7fca2f79bc993decb947a6ef202a4d2df6c0d1d3985c81103f4ca0271ec017208a31911aea9b7e2695056a8bea254f82ec WHIRLPOOL e13c00f695d03ceac6cc2ac0e215ecb2f76842aae769d081635a65367f7d5ebbe9a771758fc0223d5ee10cfaa36686b9ad3d8feca3508fe4f2f1a3af16896eea
 EBUILD netbeans-java-9999_p20150702.ebuild 14580 SHA256 963e065d302ec0a2424c8dfed221ed60b4db4c527077d3898f2d644df93981ee SHA512 3e504f01bbba3b29361d53eba77281270aa412691bfdbfff737d96c6c48de917d7522f3eecd2a2464600de82fbf9b7280ac3d7f51eb8e1ea6b847786e551f5fc WHIRLPOOL e25c4d74e4c097ad31b1bfd96f818c23f03e0a62068963fb805dd0f8d51bd110ab69df5b9091a932d282d5acfba80f4ffc70c775534dd1564d91fc54582597c5
-MISC ChangeLog 166673 SHA256 f7b0064ac5f1d366e2439baa3b0cd5358471d1992ce3419bc4586a8b9493921a SHA512 98370ba53ec616f64565fbc250bf10570f96880f8ee43eb92db15c34c09dc908a7cca557a4cdf4650e7eaf60a7ab70eb5a49a31a990666d37a8826e628214792 WHIRLPOOL 14b8cf3bb7f70d738062619ef3f2b298cddf4f698a78f74e4bb91f32f8ab5b798aa07a6846066fc658380b773f2d06e3cb97d0a0cb0e3bc4031fa2b102de4626
+EBUILD netbeans-java-9999_p20150709.ebuild 14580 SHA256 1aa26a48cb7c86aeb5114308aaa52118e88107dceaddf0860f3a99272e5ad709 SHA512 8809784ed2515db2a4caf9ad5b84cdbe93c34cb66f0714eef73a05f8d7181c1d244ab8c120ea40d999bf786f171d42cf52305d641a5732697a37dfae0609692b WHIRLPOOL 7c196aadfb1bfacc592983fe9f954445109440437456e53d3d420e623591e63662f8e785e3b1a9494017ff5fd2ca6c8ccd69963bf2b809ac3545ac21301fea0c
+MISC ChangeLog 166843 SHA256 abf0450e67f6143d76560eb1b8f0c07e8960ca899dcc0ae2b01beaf1c0814eda SHA512 ec0851208f656b10f87758e67ca1771ba7a15157f459f10e1bd10c7654f546a2d338151a8574a74a48b422859bb9d5b8e5bc002a6e7f17a402c672a02087cb7b WHIRLPOOL d64cfa5a193b91ee87e8f39c54ad62b0bd56578723f3c49cd720e80d06417b2e865f67a4f4df1ea67cb6a7f7f83dff290d333dd0fead7906e83a4f3354f96cdf
 MISC metadata.xml 251 SHA256 5a4ff53a9862390a48d45c79be24086646e7a6ff0c5bdf0fcb799d0871299003 SHA512 04153cbd9776ad56a94d6a47d043df15d082d8888df8658f18d0d4b659c6c0526ab3a9b22ccbe2471091bf2d8165f224854bc99c51f3664aaf350ccb93532a7c WHIRLPOOL 2ee8a646c6e23bc46c72cac0ecb5cfe43720ec42404ddaeed8ab1b59d139b3d5c1a94764de847f979da978c001c9f02f709d663a68eeea64d19e88f1fefbca43

diff --git a/dev-java/netbeans-java/netbeans-java-9999_p20150709.ebuild b/dev-java/netbeans-java/netbeans-java-9999_p20150709.ebuild
new file mode 100644
index 0000000..2f4d3a8
--- /dev/null
+++ b/dev-java/netbeans-java/netbeans-java-9999_p20150709.ebuild
@@ -0,0 +1,271 @@
+# Copyright 1999-2015 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/2015-07-09_00-01-56/zip/netbeans-trunk-nightly-201507090001-src.zip"
+# jarjar-1.4 contains also asm libraries
+SRC_URI="${SOURCE_URL}
+	http://dev.gentoo.org/~fordfrog/distfiles/netbeans-9999-r14-build.xml.patch.bz2
+	http://hg.netbeans.org/binaries/694F57282D92C434800F79218E64704E5947008A-apache-maven-3.0.5-bin.zip
+	http://hg.netbeans.org/binaries/F7BD95641780C2AAE8CB9BED1686441A1CE5E749-beansbinding-1.2.1-doc.zip
+	http://hg.netbeans.org/binaries/CD2211635F3011E300CA8FEDC1CE0E1CF61C175B-eclipselink.jar
+	http://hg.netbeans.org/binaries/A9A0648BD7D9FD2CDFBD22C25366E71DA72438DA-hibernate-release-4.3.1-lib.zip
+	http://hg.netbeans.org/binaries/562F0CFA47F0636EBB5A544968EE7A692FC5D26D-indexer-artifact-5.1.1.jar
+	http://hg.netbeans.org/binaries/E775F5BEB07F8303A9AD3DDC12E3128DD48AB03A-indexer-core-5.1.1-patched.jar
+	http://hg.netbeans.org/binaries/D87F53C99E4CD88F5416EDD5ABB77F2A1CCFB050-jarjar-1.4.jar
+	http://hg.netbeans.org/binaries/5BAB675816DBE0F64BB86004B108BF2A00292358-javax.persistence_2.1.0.v201304241213.jar
+	http://hg.netbeans.org/binaries/84E2020E5499015E9F40D1212C86918264B89EB1-jaxws-2.2.6.zip
+	http://hg.netbeans.org/binaries/D64C40E770C95C2A6994081C00CCD489C0AA20C9-jaxws-2.2.6-api.zip
+	http://hg.netbeans.org/binaries/8ECD169E9E308C258287E4F28B03B6D6F1E55F47-jaxws-api-doc.zip
+	http://hg.netbeans.org/binaries/A8BD39C5B88571B4D4697E78DD1A56566E44B1DD-JPAjavadocs04032013.zip
+	http://hg.netbeans.org/binaries/9EC77E2507F9CC01756964C71D91EFD8154A8C47-lucene-core-3.6.2.jar
+	http://hg.netbeans.org/binaries/A90682C6BC0B9E105BD260C9A041FEFEA9579E46-lucene-highlighter-3.6.2.jar
+	http://hg.netbeans.org/binaries/BF206C4AA93C74A739FBAF1F1C78E3AD5F167245-maven-dependency-tree-2.0.jar
+	http://hg.netbeans.org/binaries/B2EB2006BCDB022420BDB4C2D596564539C65699-nb-javac-api.jar
+	http://hg.netbeans.org/binaries/0FA9517D00E0783DBFD1C9633CF9EF159FFCEAA9-nb-javac-impl.jar
+	http://hg.netbeans.org/binaries/CA4F4DB7B6C140E36B0001873BEEA7C26489D2A1-netbeans-cos.jar
+	http://hg.netbeans.org/binaries/29AF1D338CBB76290D1A96F5A6610F1E8C319AE5-org.eclipse.persistence.jpa.jpql_2.5.2.v20140319-9ad6abd.jar
+	http://hg.netbeans.org/binaries/3CE04BDB48FE315736B1DCE407362C57DFAE286D-org.eclipse.persistence.jpa.modelgen_2.5.2.v20140319-9ad6abd.jar
+	http://hg.netbeans.org/binaries/7666B94C1004AFFFE88E5328BD70EBA6F60125F4-spring-framework-3.2.7.RELEASE.zip
+	http://hg.netbeans.org/binaries/91B55CDAC59BC4DDDF0AF9A54EAAE4304EDEF266-spring-framework-4.0.1.RELEASE.zip"
+LICENSE="|| ( CDDL GPL-2-with-linking-exception )"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+S="${WORKDIR}"
+
+CDEPEND="~dev-java/netbeans-platform-${PV}
+	~dev-java/netbeans-extide-${PV}
+	~dev-java/netbeans-harness-${PV}
+	~dev-java/netbeans-ide-${PV}
+	~dev-java/netbeans-websvccommon-${PV}
+	dev-java/beansbinding:0
+	dev-java/cglib:3
+	dev-java/jdom:0"
+DEPEND=">=virtual/jdk-1.7
+	app-arch/unzip
+	${CDEPEND}
+	dev-java/javahelp:0
+	dev-java/json-simple:0
+	dev-java/junit:4"
+RDEPEND=">=virtual/jdk-1.7
+	${CDEPEND}
+	dev-java/absolutelayout:0
+	dev-java/antlr:0[java]
+	dev-java/c3p0:0
+	dev-java/commons-cli:1
+	dev-java/commons-collections:0
+	dev-java/dom4j:1
+	dev-java/fastinfoset:0
+	dev-java/glassfish-transaction-api:0
+	dev-java/javassist:3
+	dev-java/jboss-logging:0
+	dev-java/jsr67:0
+	dev-java/jsr181:0
+	dev-java/jtidy:0
+	dev-java/log4j:0
+	dev-java/mimepull:0
+	dev-java/oracle-javamail:0
+	dev-java/saaj:0
+	dev-java/slf4j-api:0
+	dev-java/slf4j-log4j12:0
+	dev-java/slf4j-simple:0
+	dev-java/stax-ex:0
+	dev-java/stax2-api:0
+	dev-java/xmlstreambuffer:0"
+
+INSTALL_DIR="/usr/share/${PN}-${SLOT}"
+
+EANT_BUILD_XML="nbbuild/build.xml"
+EANT_BUILD_TARGET="rebuild-cluster"
+EANT_EXTRA_ARGS="-Drebuild.cluster.name=nb.cluster.java -Dext.binaries.downloaded=true -Dpermit.jdk8.builds=true"
+EANT_FILTER_COMPILER="ecj-3.3 ecj-3.4 ecj-3.5 ecj-3.6 ecj-3.7"
+JAVA_PKG_BSFIX="off"
+
+pkg_pretend() {
+	local die_now=""
+
+	if [ -d /usr/share/netbeans-java-${SLOT}/ant ]; then
+		if [ -n "$(find /usr/share/netbeans-java-${SLOT}/ant -type l)" ]; then
+			eerror "Please remove following symlinks and run emerge again:"
+			find /usr/share/netbeans-java-${SLOT}/ant -type l
+			die_now="1"
+		fi
+	fi
+
+	if [ -L /usr/share/netbeans-java-${SLOT}/maven ]; then
+		if [ -z "${die_now}" ]; then
+			eerror "Please remove following symlinks and run emerge again:"
+		fi
+
+		echo "/usr/share/netbeans-java-${SLOT}/maven"
+		die_now="1"
+	fi
+
+	if [ -n "${die_now}" ]; then
+		die "Symlinks exist"
+	fi
+}
+
+src_unpack() {
+	unpack $(basename ${SOURCE_URL})
+
+	einfo "Deleting bundled jars..."
+	find -name "*.jar" -type f -delete
+
+	unpack netbeans-9999-r14-build.xml.patch.bz2
+
+	pushd "${S}" >/dev/null || die
+	ln -s "${DISTDIR}"/694F57282D92C434800F79218E64704E5947008A-apache-maven-3.0.5-bin.zip maven.embedder/external/apache-maven-3.0.5-bin.zip || die
+	ln -s "${DISTDIR}"/F7BD95641780C2AAE8CB9BED1686441A1CE5E749-beansbinding-1.2.1-doc.zip o.jdesktop.beansbinding/external/beansbinding-1.2.1-doc.zip || die
+	ln -s "${DISTDIR}"/CD2211635F3011E300CA8FEDC1CE0E1CF61C175B-eclipselink.jar j2ee.eclipselink/external/eclipselink.jar || die
+	ln -s "${DISTDIR}"/A9A0648BD7D9FD2CDFBD22C25366E71DA72438DA-hibernate-release-4.3.1-lib.zip hibernate4lib/external/hibernate-release-4.3.1-lib.zip || die
+	ln -s "${DISTDIR}"/562F0CFA47F0636EBB5A544968EE7A692FC5D26D-indexer-artifact-5.1.1.jar maven.indexer/external/indexer-artifact-5.1.1.jar || die
+	ln -s "${DISTDIR}"/E775F5BEB07F8303A9AD3DDC12E3128DD48AB03A-indexer-core-5.1.1-patched.jar maven.indexer/external/indexer-core-5.1.1-patched.jar || die
+	ln -s "${DISTDIR}"/D87F53C99E4CD88F5416EDD5ABB77F2A1CCFB050-jarjar-1.4.jar maven/external/jarjar-1.4.jar || die
+	ln -s "${DISTDIR}"/5BAB675816DBE0F64BB86004B108BF2A00292358-javax.persistence_2.1.0.v201304241213.jar j2ee.eclipselink/external/javax.persistence_2.1.0.v201304241213.jar || die
+	ln -s "${DISTDIR}"/84E2020E5499015E9F40D1212C86918264B89EB1-jaxws-2.2.6.zip websvc.jaxws21/external/jaxws-2.2.6.zip || die
+	ln -s "${DISTDIR}"/D64C40E770C95C2A6994081C00CCD489C0AA20C9-jaxws-2.2.6-api.zip websvc.jaxws21api/external/jaxws-2.2.6-api.zip || die
+	ln -s "${DISTDIR}"/8ECD169E9E308C258287E4F28B03B6D6F1E55F47-jaxws-api-doc.zip websvc.jaxws21/external/jaxws-api-doc.zip || die
+	ln -s "${DISTDIR}"/A8BD39C5B88571B4D4697E78DD1A56566E44B1DD-JPAjavadocs04032013.zip j2ee.eclipselink/external/JPAjavadocs04032013.zip || die
+	ln -s "${DISTDIR}"/9EC77E2507F9CC01756964C71D91EFD8154A8C47-lucene-core-3.6.2.jar maven.indexer/external/lucene-core-3.6.2.jar || die
+	ln -s "${DISTDIR}"/A90682C6BC0B9E105BD260C9A041FEFEA9579E46-lucene-highlighter-3.6.2.jar maven.indexer/external/lucene-highlighter-3.6.2.jar || die
+	ln -s "${DISTDIR}"/BF206C4AA93C74A739FBAF1F1C78E3AD5F167245-maven-dependency-tree-2.0.jar maven.embedder/external/maven-dependency-tree-2.0.jar || die
+	ln -s "${DISTDIR}"/B2EB2006BCDB022420BDB4C2D596564539C65699-nb-javac-api.jar libs.javacapi/external/nb-javac-api.jar || die
+	ln -s "${DISTDIR}"/0FA9517D00E0783DBFD1C9633CF9EF159FFCEAA9-nb-javac-impl.jar libs.javacimpl/external/nb-javac-impl.jar || die
+	ln -s "${DISTDIR}"/CA4F4DB7B6C140E36B0001873BEEA7C26489D2A1-netbeans-cos.jar maven/external/netbeans-cos.jar || die
+	ln -s "${DISTDIR}"/29AF1D338CBB76290D1A96F5A6610F1E8C319AE5-org.eclipse.persistence.jpa.jpql_2.5.2.v20140319-9ad6abd.jar j2ee.eclipselink/external/org.eclipse.persistence.jpa.jpql_2.5.2.v20140319-9ad6abd.jar || die
+	ln -s "${DISTDIR}"/3CE04BDB48FE315736B1DCE407362C57DFAE286D-org.eclipse.persistence.jpa.modelgen_2.5.2.v20140319-9ad6abd.jar j2ee.eclipselinkmodelgen/external/org.eclipse.persistence.jpa.modelgen_2.5.2.v20140319-9ad6abd.jar || die
+	ln -s "${DISTDIR}"/7666B94C1004AFFFE88E5328BD70EBA6F60125F4-spring-framework-3.2.7.RELEASE.zip libs.springframework/external/spring-framework-3.2.7.RELEASE.zip || die
+	ln -s "${DISTDIR}"/91B55CDAC59BC4DDDF0AF9A54EAAE4304EDEF266-spring-framework-4.0.1.RELEASE.zip libs.springframework/external/spring-framework-4.0.1.RELEASE.zip || die
+	popd >/dev/null || die
+}
+
+src_prepare() {
+	einfo "Deleting bundled class files..."
+	find -name "*.class" -type f | xargs rm -vf
+
+	epatch netbeans-9999-r14-build.xml.patch
+
+	# Support for custom patches
+	if [ -n "${NETBEANS9999_PATCHES_DIR}" -a -d "${NETBEANS9999_PATCHES_DIR}" ] ; then
+		local files=`find "${NETBEANS9999_PATCHES_DIR}" -type f`
+
+		if [ -n "${files}" ] ; then
+			einfo "Applying custom patches:"
+
+			for file in ${files} ; do
+				epatch "${file}"
+			done
+		fi
+	fi
+
+	einfo "Symlinking external libraries..."
+	java-pkg_jar-from --build-only --into javahelp/external javahelp jhall.jar jhall-2.0_05.jar
+	java-pkg_jar-from --into libs.cglib/external cglib-3 cglib.jar cglib-2.2.jar
+	java-pkg_jar-from --build-only --into libs.json_simple/external json-simple json-simple.jar json-simple-1.1.1.jar
+	java-pkg_jar-from --build-only --into libs.junit4/external junit-4 junit.jar junit-4.12.jar
+	java-pkg_jar-from --into maven.embedder/external jdom jdom.jar jdom-1.0.jar
+	java-pkg_jar-from --into o.jdesktop.beansbinding/external beansbinding beansbinding.jar beansbinding-1.2.1.jar
+
+	einfo "Linking in other clusters..."
+	mkdir "${S}"/nbbuild/netbeans || die
+	pushd "${S}"/nbbuild/netbeans >/dev/null || die
+
+	ln -s /usr/share/netbeans-platform-${SLOT} platform || die
+	cat /usr/share/netbeans-platform-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+	touch nb.cluster.platform.built
+
+	ln -s /usr/share/netbeans-extide-${SLOT} extide || die
+	cat /usr/share/netbeans-extide-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+	touch nb.cluster.extide.built
+
+	ln -s /usr/share/netbeans-harness-${SLOT} harness || die
+	cat /usr/share/netbeans-harness-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+	touch nb.cluster.harness.built
+
+	ln -s /usr/share/netbeans-ide-${SLOT} ide || die
+	cat /usr/share/netbeans-ide-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+	touch nb.cluster.ide.built
+
+	ln -s /usr/share/netbeans-websvccommon-${SLOT} websvccommon || die
+	cat /usr/share/netbeans-websvccommon-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+	touch nb.cluster.websvccommon.built
+
+	popd >/dev/null || die
+
+	java-pkg-2_src_prepare
+}
+
+src_install() {
+	pushd nbbuild/netbeans/java >/dev/null || die
+
+	insinto ${INSTALL_DIR}
+	grep -E "/java$" ../moduleCluster.properties > "${D}"/${INSTALL_DIR}/moduleCluster.properties || die
+
+	doins -r *
+	chmod 755 "${D}"/${INSTALL_DIR}/maven/bin/mvn* || die
+	rm -fr "${D}"/${INSTALL_DIR}/maven/bin/*.bat || die
+
+	popd >/dev/null || die
+
+	local instdir=/${INSTALL_DIR}/maven/lib
+	pushd "${D}"/${instdir} >/dev/null || die
+	rm commons-cli-1.2.jar && dosym /usr/share/commons-cli-1/lib/commons-cli.jar ${instdir}/commons-cli-1.2.jar || die
+	popd >/dev/null || die
+
+	local instdir=/${INSTALL_DIR}/modules/ext
+	pushd "${D}"/${instdir} >/dev/null || die
+	rm AbsoluteLayout.jar  && dosym /usr/share/absolutelayout/lib/absolutelayout.jar ${instdir}/AbsoluteLayout.jar || die
+	rm beansbinding-1.2.1.jar && dosym /usr/share/beansbinding/lib/beansbinding.jar ${instdir}/beansbinding-1.2.1.jar || die
+	rm cglib-2.2.jar && dosym /usr/share/cglib-3/lib/cglib.jar ${instdir}/cglib-2.2.jar || die
+	popd >/dev/null || die
+
+	local instdir=${INSTALL_DIR}/modules/ext/hibernate4
+	pushd "${D}"/${instdir} >/dev/null || die
+	rm antlr-2.7.7.jar && dosym /usr/share/antlr/lib/antlr.jar ${instdir}/antlr-2.7.7.jar || die
+	rm c3p0-0.9.2.1.jar && dosym /usr/share/c3p0/lib/c3p0.jar ${instdir}/c3p0-0.9.2.1.jar || die
+	rm cglib-2.2.jar && dosym /usr/share/cglib-3/lib/cglib.jar ${instdir}/cglib-2.2.jar || die
+	rm commons-collections-3.2.1.jar && dosym /usr/share/commons-collections/lib/commons-collections.jar ${instdir}/commons-collections-3.2.1.jar || die
+	rm dom4j-1.6.1.jar && dosym /usr/share/dom4j-1/lib/dom4j.jar ${instdir}/dom4j-1.6.1.jar || die
+	rm javassist-3.18.1-GA.jar && dosym /usr/share/javassist-3/lib/javassist.jar ${instdir}/javassist-3.18.1-GA.jar || die
+	rm jboss-logging-3.1.3.GA.jar && dosym /usr/share/jboss-logging/lib/jboss-logging.jar ${instdir}/jboss-logging-3.1.3.GA.jar || die
+	rm jboss-transaction-api_1.2_spec-1.0.0.Final.jar && dosym /usr/share/glassfish-transaction-api/lib/jta.jar ${instdir}/jboss-transaction-api_1.2_spec-1.0.0.Final.jar || die
+	rm jtidy-r8-20060801.jar && dosym /usr/share/jtidy/lib/Tidy.jar ${instdir}/jtidy-r8-20060801.jar || die
+	rm log4j-1.2.12.jar && dosym /usr/share/log4j/lib/log4j.jar ${instdir}/log4j-1.2.12.jar || die
+	rm slf4j-api-1.6.1.jar && dosym /usr/share/slf4j-api/lib/slf4j-api.jar ${instdir}/slf4j-api-1.6.1.jar || die
+	rm slf4j-log4j12-1.6.1.jar && dosym /usr/share/slf4j-log4j12/lib/slf4j-log4j12.jar ${instdir}/slf4j-log4j12-1.6.1.jar || die
+	rm slf4j-simple-1.6.1.jar && dosym /usr/share/slf4j-simple/lib/slf4j-simple.jar ${instdir}/slf4j-simple-1.6.1.jar || die
+	popd >/dev/null || die
+
+	local instdir=/${INSTALL_DIR}/modules/ext/jaxws22
+	pushd "${D}"/${instdir} >/dev/null || die
+	rm FastInfoset.jar && dosym /usr/share/fastinfoset/lib/fastinfoset.jar ${instdir}/FastInfoset.jar || die
+	rm javax.mail_1.4.jar && dosym /usr/share/oracle-javamail/lib/mail.jar ${instdir}/javax.mail_1.4.jar || die
+	rm mimepull.jar && dosym /usr/share/mimepull/lib/mimepull.jar ${instdir}/mimepull.jar || die
+	rm saaj-impl.jar && dosym /usr/share/saaj/lib/saaj.jar ${instdir}/saaj-impl.jar || die
+	rm stax-ex.jar && dosym /usr/share/stax-ex/lib/stax-ex.jar ${instdir}/stax-ex.jar || die
+	rm stax2-api.jar && dosym /usr/share/stax2-api/lib/stax2-api.jar ${instdir}/stax2-api.jar || die
+	rm streambuffer.jar && dosym /usr/share/xmlstreambuffer/lib/xmlstreambuffer.jar ${instdir}/streambuffer.jar || die
+	popd >/dev/null || die
+
+	local instdir=${INSTALL_DIR}/modules/ext/jaxws22/api
+	pushd "${D}"/${instdir} >/dev/null || die
+	rm jsr181-api.jar && dosym /usr/share/jsr181/lib/jsr181.jar ${instdir}/jsr181-api.jar || die
+	rm saaj-api.jar && dosym /usr/share/jsr67/lib/jsr67.jar ${instdir}/saaj-api.jar || die
+	popd >/dev/null || die
+
+	local instdir=${INSTALL_DIR}/modules/ext/maven
+	pushd "${D}"/${instdir} >/dev/null || die
+	rm jdom-1.0.jar && dosym /usr/share/jdom/lib/jdom.jar ${instdir}/jdom-1.0.jar || die
+	popd >/dev/null || die
+
+	dosym ${INSTALL_DIR} /usr/share/netbeans-nb-${SLOT}/java
+}

diff --git a/dev-java/netbeans-javacard/ChangeLog b/dev-java/netbeans-javacard/ChangeLog
index 99a77b8..fe4a935 100644
--- a/dev-java/netbeans-javacard/ChangeLog
+++ b/dev-java/netbeans-javacard/ChangeLog
@@ -2,6 +2,12 @@
 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+*netbeans-javacard-9999_p20150709 (09 Jul 2015)
+
+  09 Jul 2015; Miroslav Šulc <fordfrog@gentoo.org>
+  +netbeans-javacard-9999_p20150709.ebuild:
+  updated to the latest sources
+
 *netbeans-javacard-9999_p20150702 (02 Jul 2015)
 
   02 Jul 2015; Miroslav Šulc <fordfrog@gentoo.org>

diff --git a/dev-java/netbeans-javacard/Manifest b/dev-java/netbeans-javacard/Manifest
index 946779d..37111b7 100644
--- a/dev-java/netbeans-javacard/Manifest
+++ b/dev-java/netbeans-javacard/Manifest
@@ -48,6 +48,7 @@ DIST netbeans-trunk-nightly-201506290001-src.zip 208007970 SHA256 c946f79e8d9834
 DIST netbeans-trunk-nightly-201506300001-src.zip 208032815 SHA256 ce244f0502b501486aba525f65b315bd424268cf5e73bf1c8ec8d7671afcc4b5 SHA512 d0d079b531c0d74a4ddc01f3afaa5448d1a9a6506ed3ae11ccf803d2bbab2601e6158dfab88be9408014daceed62a5ecba54f3d4372e535fb02147a167d825cc WHIRLPOOL a69f202dfb2106898986a5eca7ead2156669879ca97d4a41d475eabf7cea0be2859ff8bffeb1dad81a75cea80058cb2f52803c3d3679a5c0a46e2cc115ed6028
 DIST netbeans-trunk-nightly-201507010001-src.zip 208078805 SHA256 981fd8029e8ed54eeb163701a3f75b8f501ef478159c94fc22b1b2157e1b1a82 SHA512 80e41ea6451a356ee2a760cffd8e8424730bbc26ef7338da251bf1427bb540517153f0f5a6402d0e53ce5dda34b4c0bdf14ca4499b9ed0ae9e220c4debd193a5 WHIRLPOOL 3c324d6dea7f457075ce2b4fe6b5dab77b7059798ebec9d7975d3818844d00c24a683fa7e29c24837d6a2e2694764dddec8d562eabc8f43c94caf93061079a8f
 DIST netbeans-trunk-nightly-201507020001-src.zip 208088424 SHA256 1dde0fd1452c74c8e5e214c47c89a1d4672d54af0318421b736877dac6e5f357 SHA512 cd3a8fdaec765d79ce33c7c758ef27bdf32890caff2432e10290ef7edee28a34b7582bed49e79d0e71916ae1f192ed930000e2e27349fac75bb0239797a2f56b WHIRLPOOL 76bbf940d6e99ec97303fc104aca17e182476973d3e7511f256179b288d2f4db9944dc511b65886441051472b4b24c5ac590c84b294539d4b254d2b96effc139
+DIST netbeans-trunk-nightly-201507090001-src.zip 208130931 SHA256 5d73ccaddac610b27ab8aecaa95f5ef920a833291d2573daeb29f1f79eef1864 SHA512 6405717c46d506dbaa744fd33ba88daf3037e9d388482d808a6eeab292a42d99e76eea4494639725568239dc939444b0357a3f55b364a57256e93f5252efb7d5 WHIRLPOOL 9bddee309d416454d25c497074ad9e2ff23b1e52de90975bbea12412524fcf44e384eed0b14ee7f0f1ae1988523a74281bef1de58c14321aaefa4f9ef1bd9ba5
 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
@@ -87,5 +88,6 @@ EBUILD netbeans-javacard-9999_p20150629.ebuild 4982 SHA256 6dae88eab2f30c3e3d201
 EBUILD netbeans-javacard-9999_p20150630.ebuild 4982 SHA256 45f3c57fc04e6ddf0daedff8863f9a6d01f43fcba66cfa57702492389a3bd801 SHA512 ce78ed411bfe16c2583258be1a709b2bcdd446ccdd566996ed5fc17e022534383fcd4ff0c3c4f0458572d0a4e10f4a8ecf99b8f4a08db93fc712e70133e02389 WHIRLPOOL 4579d0b96964573e4aac34b443677c553e66a254642a88ca674e18ad07744f9b2cf3288c09770ca955d5095feb612f2ef72bf6ffcac63070a9eeaeaef1066cc8
 EBUILD netbeans-javacard-9999_p20150701.ebuild 4982 SHA256 48a73173c322cffeb28be1981aec548798872f3383a2ad671ce092c3e4cc1e52 SHA512 cbf4ea11854649a017f25010f930ad26710505b8fa4ae28b47167a7753688ffcd9688dcded2cb385ff4c0b9f9b2c60bcb5dd05546a20e97c870289a7f5eeb66f WHIRLPOOL 2999fddf52cde76d2ccfd981557262ad28f2a753174996d758ab4b75f7e55b19f79fa163241246eb2538f8ca2e7aeaeca12be2153c423ca1b48e89b3ad56d939
 EBUILD netbeans-javacard-9999_p20150702.ebuild 4982 SHA256 0cfb451c1fb18b4c8813430079b3a98509f0aa669fade86c477380a3c7b615b7 SHA512 d1e5bd9003046fcd644df85b37861d577884ae09204cdd8e2b6d20c28cd5f2a55bab6494c382fbe313b470f0d044704026b4fc3b621c7f89d26239c2a9b9ba12 WHIRLPOOL 67d3f685ea2e68ffcc38e565b191cd6dfd15b072c348a3f9c5d5215b151f95de900350e295609d4f635e552bae94ef2b6fcff44d9754f07308a8de696f2a1b77
-MISC ChangeLog 173632 SHA256 8e439636f8d7373ab4ae285a0058a447fadd451504153280982a8c4cfaa989b4 SHA512 3c392f5d24c5ecfe149a85d6da1785d0692874acd0f00de23e66d9fb995cb6609c4a7749f2a5fc520f47cdccf299c18276a334ce406c229e6dc779f2161e02d0 WHIRLPOOL 1fa16e8cc3988db8875d62bcefff6d9b240af0f72333453d92df65199afde417fbe8ace232b0e01515baf7c75480548a0a63bab6817a30be028db270080b317b
+EBUILD netbeans-javacard-9999_p20150709.ebuild 4982 SHA256 96aaf28d604086d1f77bd6c4eeb58f0eca2ac385104c8162ff119f87ad79f2c2 SHA512 058a9df0e75e40647ec2bc15f793330625935eddca739c4dd32597835c67449f42d0db2890875a3b7bf2445c9d485078f2ff415719a04b56260221a2fd90934d WHIRLPOOL 8116a423abeaa9991c63c17868acdb0a18d04e54c8a1df376cb452d7086f28de4b0a85d8013573c26d23a5fd2a7e97f955129ebc727ad7ee93e701fd717257b0
+MISC ChangeLog 173810 SHA256 a447ba21f62427daf6c8125f488f85df0fa87296079db2264d2fc62493168e13 SHA512 5a04a719ef7fa9ae96648cce27e1b5b7a164dfbdc928bf8e0c1992403ece9fc88bd79790c0991d9015cf984463b5cceb5206e573a4b668f23792aada1e1f2098 WHIRLPOOL aa51141924e2f287d770420575875fd248fe7a840a90fb927befa6b97756ea69460ff3aa1745a9caaffac0ab96afe61768b90ded739343b8f6148161a2ca70e9
 MISC metadata.xml 251 SHA256 5a4ff53a9862390a48d45c79be24086646e7a6ff0c5bdf0fcb799d0871299003 SHA512 04153cbd9776ad56a94d6a47d043df15d082d8888df8658f18d0d4b659c6c0526ab3a9b22ccbe2471091bf2d8165f224854bc99c51f3664aaf350ccb93532a7c WHIRLPOOL 2ee8a646c6e23bc46c72cac0ecb5cfe43720ec42404ddaeed8ab1b59d139b3d5c1a94764de847f979da978c001c9f02f709d663a68eeea64d19e88f1fefbca43

diff --git a/dev-java/netbeans-javacard/netbeans-javacard-9999_p20150709.ebuild b/dev-java/netbeans-javacard/netbeans-javacard-9999_p20150709.ebuild
new file mode 100644
index 0000000..c3bcfcd
--- /dev/null
+++ b/dev-java/netbeans-javacard/netbeans-javacard-9999_p20150709.ebuild
@@ -0,0 +1,134 @@
+# Copyright 1999-2015 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/2015-07-09_00-01-56/zip/netbeans-trunk-nightly-201507090001-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 e369441..fc4a1f7 100644
--- a/dev-java/netbeans-javadoc/ChangeLog
+++ b/dev-java/netbeans-javadoc/ChangeLog
@@ -2,6 +2,12 @@
 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+*netbeans-javadoc-9999_p20150709 (09 Jul 2015)
+
+  09 Jul 2015; Miroslav Šulc <fordfrog@gentoo.org>
+  +netbeans-javadoc-9999_p20150709.ebuild:
+  updated to the latest sources
+
 *netbeans-javadoc-9999_p20150702 (02 Jul 2015)
 
   02 Jul 2015; Miroslav Šulc <fordfrog@gentoo.org>

diff --git a/dev-java/netbeans-javadoc/Manifest b/dev-java/netbeans-javadoc/Manifest
index 616286b..81627e8 100644
--- a/dev-java/netbeans-javadoc/Manifest
+++ b/dev-java/netbeans-javadoc/Manifest
@@ -51,6 +51,7 @@ DIST netbeans-trunk-nightly-201506290001-src.zip 208007970 SHA256 c946f79e8d9834
 DIST netbeans-trunk-nightly-201506300001-src.zip 208032815 SHA256 ce244f0502b501486aba525f65b315bd424268cf5e73bf1c8ec8d7671afcc4b5 SHA512 d0d079b531c0d74a4ddc01f3afaa5448d1a9a6506ed3ae11ccf803d2bbab2601e6158dfab88be9408014daceed62a5ecba54f3d4372e535fb02147a167d825cc WHIRLPOOL a69f202dfb2106898986a5eca7ead2156669879ca97d4a41d475eabf7cea0be2859ff8bffeb1dad81a75cea80058cb2f52803c3d3679a5c0a46e2cc115ed6028
 DIST netbeans-trunk-nightly-201507010001-src.zip 208078805 SHA256 981fd8029e8ed54eeb163701a3f75b8f501ef478159c94fc22b1b2157e1b1a82 SHA512 80e41ea6451a356ee2a760cffd8e8424730bbc26ef7338da251bf1427bb540517153f0f5a6402d0e53ce5dda34b4c0bdf14ca4499b9ed0ae9e220c4debd193a5 WHIRLPOOL 3c324d6dea7f457075ce2b4fe6b5dab77b7059798ebec9d7975d3818844d00c24a683fa7e29c24837d6a2e2694764dddec8d562eabc8f43c94caf93061079a8f
 DIST netbeans-trunk-nightly-201507020001-src.zip 208088424 SHA256 1dde0fd1452c74c8e5e214c47c89a1d4672d54af0318421b736877dac6e5f357 SHA512 cd3a8fdaec765d79ce33c7c758ef27bdf32890caff2432e10290ef7edee28a34b7582bed49e79d0e71916ae1f192ed930000e2e27349fac75bb0239797a2f56b WHIRLPOOL 76bbf940d6e99ec97303fc104aca17e182476973d3e7511f256179b288d2f4db9944dc511b65886441051472b4b24c5ac590c84b294539d4b254d2b96effc139
+DIST netbeans-trunk-nightly-201507090001-src.zip 208130931 SHA256 5d73ccaddac610b27ab8aecaa95f5ef920a833291d2573daeb29f1f79eef1864 SHA512 6405717c46d506dbaa744fd33ba88daf3037e9d388482d808a6eeab292a42d99e76eea4494639725568239dc939444b0357a3f55b364a57256e93f5252efb7d5 WHIRLPOOL 9bddee309d416454d25c497074ad9e2ff23b1e52de90975bbea12412524fcf44e384eed0b14ee7f0f1ae1988523a74281bef1de58c14321aaefa4f9ef1bd9ba5
 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
@@ -90,5 +91,6 @@ EBUILD netbeans-javadoc-9999_p20150629.ebuild 6234 SHA256 b98c73ca177de23330ae9f
 EBUILD netbeans-javadoc-9999_p20150630.ebuild 6234 SHA256 bffd06a426ea4517df3ec56255b789baf1c63a0668a4111b355afbbd616c1c81 SHA512 c822df80ecb66a133e48ab9325b4f42e2e3f6076397cdc486272de0bfa5acb4f3c2a80a98041128484c1473a4e2bd73987fdec64335b2c61e9a374ae76a9e10d WHIRLPOOL bd72da819c1eb1d88dddb79f0abf2a8804d25c4a9049926b5ec20bd75827a9416742be2bcab0c4bb8e825d37baf667f4c319c0d1a6bd31f9c5d085706298cabb
 EBUILD netbeans-javadoc-9999_p20150701.ebuild 6234 SHA256 b72e6ccb401ff5783e8aba915cdd349d6dc52360b01ccf0b9f36682d2408781d SHA512 25841f62817f89a444209e996a7cc64da8f93e6dc2b4afc2b97bda7a0b898b605ceeb8dd686d257d1c75cc7cbd7980a389c3beb7b45185c77db88bcf01103ff0 WHIRLPOOL 32d50fd90fc34f4a75caab2a2d311f635d2358ca7e90e0b4623cc93a1df3fe995cf533bd1b3e259566907759f297063cef6467cf5cae28eb6a8b2a624cf63ce1
 EBUILD netbeans-javadoc-9999_p20150702.ebuild 6234 SHA256 165661aeb36c4b2178c14f1fd7bca581e2f34311b53c467409238fead16f3882 SHA512 6de936e4b0b062bf0995cade30a9e107207232bfa0787503e76380e55b4d3e8d840a99489b1a2b95d4febb26a5da878cfb4aa9a6ae7b6ce37aa456d98345817a WHIRLPOOL 4af523d502b44d2613c976da3f3ffb7bfc4ca27e9f1dff13b11bb61e5781f77d96f7f2c10b15d915be474ccda8ba23d3ccdd379c13fba45e9acdb41a9bd1d976
-MISC ChangeLog 171295 SHA256 a533bea3034fc0d2a6bc97ecaf4fdad72f0baca1e5167f8ad832b57fafbb3d87 SHA512 38a77d384ca205430b6a379b68e982aa10641041db3b67933980093055e263e1e1e5bf8676a79984b7cf2db3a5c9e9b6b52dbf62dbf56e3f3c037f71cec8e7c1 WHIRLPOOL 3181766b5a52742047785844a2b692f81bd790f37f48a99c573a9b4a9ea6fa07e108606b6743b65ffd9f72ff9b297660f5baf5fc5ba473f7c35b1131be439e60
+EBUILD netbeans-javadoc-9999_p20150709.ebuild 6234 SHA256 c0134551280a238215bf57112cc6b7b9a57f61b3feff5e48b02bb70efd0d5559 SHA512 dc785596591c8d929c9be9bafa75efb58a708cc773ad8259120d816d9b7ece6c59edf93d3835b601d36393c3e958b5b7911ba80cfa4c3061a7fbeaa01348f0c1 WHIRLPOOL 7c87b4947a7c6f03734d4abaf13dc3099584f3f6de5c0c8be774994d77f8a5324bb5bcdb7ae5bd1c05953e9694d1b21b6ff6f06cc72a23c53b443fcd5c87cc72
+MISC ChangeLog 171471 SHA256 30bfa36ef3c7e05aa64adadceb8a7295a7dcc156ef7a79b0b5b146a87a645b38 SHA512 7b6b4b43415723a81b5ec10843977e8e35a3829a3af5eb60ea678e398eab7663d441daf315c3e493e2c2bc6469e6129644d81dd64f0ad9cccdb17d5c359ad55f WHIRLPOOL 5894cd7851dbc11478c9f75d05631a5be201654746150a65d7fb6fd058dc8e647c6fcaf140e05c2e08c984ec66568580108ee730f7aad2bbb9804508505716e4
 MISC metadata.xml 251 SHA256 5a4ff53a9862390a48d45c79be24086646e7a6ff0c5bdf0fcb799d0871299003 SHA512 04153cbd9776ad56a94d6a47d043df15d082d8888df8658f18d0d4b659c6c0526ab3a9b22ccbe2471091bf2d8165f224854bc99c51f3664aaf350ccb93532a7c WHIRLPOOL 2ee8a646c6e23bc46c72cac0ecb5cfe43720ec42404ddaeed8ab1b59d139b3d5c1a94764de847f979da978c001c9f02f709d663a68eeea64d19e88f1fefbca43

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

diff --git a/dev-java/netbeans-javafx/ChangeLog b/dev-java/netbeans-javafx/ChangeLog
index 1dff3c7..3ff0408 100644
--- a/dev-java/netbeans-javafx/ChangeLog
+++ b/dev-java/netbeans-javafx/ChangeLog
@@ -2,6 +2,12 @@
 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+*netbeans-javafx-9999_p20150709 (09 Jul 2015)
+
+  09 Jul 2015; Miroslav Šulc <fordfrog@gentoo.org>
+  +netbeans-javafx-9999_p20150709.ebuild:
+  updated to the latest sources
+
 *netbeans-javafx-9999_p20150702 (02 Jul 2015)
 
   02 Jul 2015; Miroslav Šulc <fordfrog@gentoo.org>

diff --git a/dev-java/netbeans-javafx/Manifest b/dev-java/netbeans-javafx/Manifest
index 6115b39..bc4c300 100644
--- a/dev-java/netbeans-javafx/Manifest
+++ b/dev-java/netbeans-javafx/Manifest
@@ -51,6 +51,7 @@ DIST netbeans-trunk-nightly-201506290001-src.zip 208007970 SHA256 c946f79e8d9834
 DIST netbeans-trunk-nightly-201506300001-src.zip 208032815 SHA256 ce244f0502b501486aba525f65b315bd424268cf5e73bf1c8ec8d7671afcc4b5 SHA512 d0d079b531c0d74a4ddc01f3afaa5448d1a9a6506ed3ae11ccf803d2bbab2601e6158dfab88be9408014daceed62a5ecba54f3d4372e535fb02147a167d825cc WHIRLPOOL a69f202dfb2106898986a5eca7ead2156669879ca97d4a41d475eabf7cea0be2859ff8bffeb1dad81a75cea80058cb2f52803c3d3679a5c0a46e2cc115ed6028
 DIST netbeans-trunk-nightly-201507010001-src.zip 208078805 SHA256 981fd8029e8ed54eeb163701a3f75b8f501ef478159c94fc22b1b2157e1b1a82 SHA512 80e41ea6451a356ee2a760cffd8e8424730bbc26ef7338da251bf1427bb540517153f0f5a6402d0e53ce5dda34b4c0bdf14ca4499b9ed0ae9e220c4debd193a5 WHIRLPOOL 3c324d6dea7f457075ce2b4fe6b5dab77b7059798ebec9d7975d3818844d00c24a683fa7e29c24837d6a2e2694764dddec8d562eabc8f43c94caf93061079a8f
 DIST netbeans-trunk-nightly-201507020001-src.zip 208088424 SHA256 1dde0fd1452c74c8e5e214c47c89a1d4672d54af0318421b736877dac6e5f357 SHA512 cd3a8fdaec765d79ce33c7c758ef27bdf32890caff2432e10290ef7edee28a34b7582bed49e79d0e71916ae1f192ed930000e2e27349fac75bb0239797a2f56b WHIRLPOOL 76bbf940d6e99ec97303fc104aca17e182476973d3e7511f256179b288d2f4db9944dc511b65886441051472b4b24c5ac590c84b294539d4b254d2b96effc139
+DIST netbeans-trunk-nightly-201507090001-src.zip 208130931 SHA256 5d73ccaddac610b27ab8aecaa95f5ef920a833291d2573daeb29f1f79eef1864 SHA512 6405717c46d506dbaa744fd33ba88daf3037e9d388482d808a6eeab292a42d99e76eea4494639725568239dc939444b0357a3f55b364a57256e93f5252efb7d5 WHIRLPOOL 9bddee309d416454d25c497074ad9e2ff23b1e52de90975bbea12412524fcf44e384eed0b14ee7f0f1ae1988523a74281bef1de58c14321aaefa4f9ef1bd9ba5
 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
@@ -89,5 +90,6 @@ EBUILD netbeans-javafx-9999_p20150629.ebuild 4723 SHA256 3e62208a0b1e465d33eaa4a
 EBUILD netbeans-javafx-9999_p20150630.ebuild 4723 SHA256 c7112252f3861b7758733b4bf7ea1da421876f4d5c53849f1642655d2cea64a5 SHA512 6c5aa7ae79124e605c9390d03be91835f352b9cf9a5e33d521768f354d41d6a449719a17d2a47a44e6ae3d37a009514256cd8fc38c45125883af190c715d7c01 WHIRLPOOL 56dd83eef4adf3b8f10e11f1127979ef1c4544a4b9b68c25244b5786cee8a0e33f499d178c6ca06ace83e25624c9f6472a7f50f6b2c86cf55e8df48899c82f2b
 EBUILD netbeans-javafx-9999_p20150701.ebuild 4723 SHA256 b6e72cb4bdd3e391a49c74f9198f01c8f6ee97a28f832d432e8f50069be8a539 SHA512 52f4a0b8d592e93083ddff6cf24a8cbd1ef5f9a38bc6f384544ff7c864552181dff4fa6085b58a96b2a8e53ae44f5dfd748f4a543ea22b04dbd1a106bdab0e1f WHIRLPOOL c2c7f7d48d7fff2738435aa6f8843aacc5f2feea4f2b1fa88150d05fc7f25d0cce355b0da75ea6ddd3cd203272a904c88fc2489a9438233838bfc805d413964f
 EBUILD netbeans-javafx-9999_p20150702.ebuild 4723 SHA256 9c38bed451f98d3c3c952df5bde455893d376beda699dd4123f2addcf2a1b3d1 SHA512 8e9498309a6e033d19e48af4c78f28ff04a6b49933098070735af5788bb41683816c9796ccece486da98fd817adbeeef6bc55906f143e1723aa1d88b8935788a WHIRLPOOL 544366559a753de3d65f013823e978da404f1cb578a7b4fa6ff9d4ae18052918032b7635a522874f5e42fe3baea31b50d75ca0427eea063e1663bbbaad3f6389
-MISC ChangeLog 155825 SHA256 b5a298c6282677364392e42b87d9dc3a70597b7d4314f8ace009c6d5aea995f8 SHA512 8770232f261b042d56595f6936ef227a684d43672b0ae7f0e5a1f52b1971f6b200f020e340ce200b4feda51e7690e30faa7bdd85c36543d8cdb6ffba4647b5a9 WHIRLPOOL 37d80d5a688bc9fcf2770673b4ca9054b054ed868288e4c219a85b288260883260f88180c0e4967dbcff526b5d68bbc935980e2336e9a2e9800136137e227617
+EBUILD netbeans-javafx-9999_p20150709.ebuild 4723 SHA256 4e3a4c9bde5fa4b70c02516a9e05a048f7451ad70e72d460c5799a0c4fcd1b1a SHA512 a9aba9556990b758b604aef5f45214bbd2c75fee3f7eb20002cf86a30be3c07581f737723db12d0cc3357d8776d6de93a674aff6564b14fe7277b992417de583 WHIRLPOOL 6bd00d7f4ca89017d4231c46d965638cd9e4782a2397a331a36382805a7b4dd5fb65449e764f6c22088958cb2b99d70e45c80a399bde4ae3f5340d3cf3d91312
+MISC ChangeLog 155999 SHA256 72d114923c311e4b11b5f6eacb2f8acae3465db13ae5e4e53ae4f834f61cf741 SHA512 29f9bb8011b5fe1c07a5ebbb6d01e05558878b0f4751f2d56ff79f428da6d842c3871319cb1d1a161da5b94bd472299919692d2a6c8be21e7c07194608ab3169 WHIRLPOOL 4aa42883a5826c69c839ef1fd6b0d4866c1eb71d641e22f339354bfc467d6a16ebc5384c0843660227bbac5402ac2b1c7492d823c0a9827a69928942c62dc304
 MISC metadata.xml 251 SHA256 5a4ff53a9862390a48d45c79be24086646e7a6ff0c5bdf0fcb799d0871299003 SHA512 04153cbd9776ad56a94d6a47d043df15d082d8888df8658f18d0d4b659c6c0526ab3a9b22ccbe2471091bf2d8165f224854bc99c51f3664aaf350ccb93532a7c WHIRLPOOL 2ee8a646c6e23bc46c72cac0ecb5cfe43720ec42404ddaeed8ab1b59d139b3d5c1a94764de847f979da978c001c9f02f709d663a68eeea64d19e88f1fefbca43

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

diff --git a/dev-java/netbeans-mobility/ChangeLog b/dev-java/netbeans-mobility/ChangeLog
index db00645..9fe7896 100644
--- a/dev-java/netbeans-mobility/ChangeLog
+++ b/dev-java/netbeans-mobility/ChangeLog
@@ -2,6 +2,12 @@
 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+*netbeans-mobility-9999_p20150709 (09 Jul 2015)
+
+  09 Jul 2015; Miroslav Šulc <fordfrog@gentoo.org>
+  +netbeans-mobility-9999_p20150709.ebuild:
+  updated to the latest sources
+
 *netbeans-mobility-9999_p20150702 (02 Jul 2015)
 
   02 Jul 2015; Miroslav Šulc <fordfrog@gentoo.org>

diff --git a/dev-java/netbeans-mobility/Manifest b/dev-java/netbeans-mobility/Manifest
index 7149a4e..9533fe9 100644
--- a/dev-java/netbeans-mobility/Manifest
+++ b/dev-java/netbeans-mobility/Manifest
@@ -54,6 +54,7 @@ DIST netbeans-trunk-nightly-201506290001-src.zip 208007970 SHA256 c946f79e8d9834
 DIST netbeans-trunk-nightly-201506300001-src.zip 208032815 SHA256 ce244f0502b501486aba525f65b315bd424268cf5e73bf1c8ec8d7671afcc4b5 SHA512 d0d079b531c0d74a4ddc01f3afaa5448d1a9a6506ed3ae11ccf803d2bbab2601e6158dfab88be9408014daceed62a5ecba54f3d4372e535fb02147a167d825cc WHIRLPOOL a69f202dfb2106898986a5eca7ead2156669879ca97d4a41d475eabf7cea0be2859ff8bffeb1dad81a75cea80058cb2f52803c3d3679a5c0a46e2cc115ed6028
 DIST netbeans-trunk-nightly-201507010001-src.zip 208078805 SHA256 981fd8029e8ed54eeb163701a3f75b8f501ef478159c94fc22b1b2157e1b1a82 SHA512 80e41ea6451a356ee2a760cffd8e8424730bbc26ef7338da251bf1427bb540517153f0f5a6402d0e53ce5dda34b4c0bdf14ca4499b9ed0ae9e220c4debd193a5 WHIRLPOOL 3c324d6dea7f457075ce2b4fe6b5dab77b7059798ebec9d7975d3818844d00c24a683fa7e29c24837d6a2e2694764dddec8d562eabc8f43c94caf93061079a8f
 DIST netbeans-trunk-nightly-201507020001-src.zip 208088424 SHA256 1dde0fd1452c74c8e5e214c47c89a1d4672d54af0318421b736877dac6e5f357 SHA512 cd3a8fdaec765d79ce33c7c758ef27bdf32890caff2432e10290ef7edee28a34b7582bed49e79d0e71916ae1f192ed930000e2e27349fac75bb0239797a2f56b WHIRLPOOL 76bbf940d6e99ec97303fc104aca17e182476973d3e7511f256179b288d2f4db9944dc511b65886441051472b4b24c5ac590c84b294539d4b254d2b96effc139
+DIST netbeans-trunk-nightly-201507090001-src.zip 208130931 SHA256 5d73ccaddac610b27ab8aecaa95f5ef920a833291d2573daeb29f1f79eef1864 SHA512 6405717c46d506dbaa744fd33ba88daf3037e9d388482d808a6eeab292a42d99e76eea4494639725568239dc939444b0357a3f55b364a57256e93f5252efb7d5 WHIRLPOOL 9bddee309d416454d25c497074ad9e2ff23b1e52de90975bbea12412524fcf44e384eed0b14ee7f0f1ae1988523a74281bef1de58c14321aaefa4f9ef1bd9ba5
 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
@@ -93,5 +94,6 @@ EBUILD netbeans-mobility-9999_p20150629.ebuild 4418 SHA256 ffee3d00f99d1f298addb
 EBUILD netbeans-mobility-9999_p20150630.ebuild 4418 SHA256 b2cce124323d17c610e67cc05c6b5267a4ead0b8409290bd09efbd2ab5a736f5 SHA512 9e799a6222b6bcb800a59c89a4133994db6fcb05d344dc79bd2e6d2864d5dbf9bf689cad7fb4c55a125da2b1597b23923100698f2ed86254c517706ee5f67e87 WHIRLPOOL 94030322bd6f8d5af22c96eeab532c02942f70dc3c18a77b38f2f96c156fc535eccec3b6be2b44e22d42a7aeca395756dbdef5ddf5c7d436e4043022d030a726
 EBUILD netbeans-mobility-9999_p20150701.ebuild 4418 SHA256 31b3114d2de6a4a92eff8fdaaae3e27cce3101da204b780367340aaaf2c6e6e6 SHA512 b84786b5276d4372083a668582a7578cf6ff814cc78a317d267df5dbc889b1a10e7637fc3318ed80f3399e673ac1e784a9cb4284724fd610f03f603fccdbbfa9 WHIRLPOOL b00aa4d953184ba56624c85088f7b5f1a79358095d87e752ab14d9e05b5b8098ad022a42be76964deb0401093db17a719c409b051b7acc060e31430f42f03c03
 EBUILD netbeans-mobility-9999_p20150702.ebuild 4418 SHA256 daada9a6c890a99e9dc74bb5dcf1d39355c15a29040fbd594d599b20b1abb866 SHA512 bf14d71a5e4d4b0692b77eca70e7315e507ea8fbe8d2353c559cc9ca308eb30a18770ff792c274c70a41d173916c8e9edad6394cb00a4a0f54d2d4b36292aec7 WHIRLPOOL 2502ce14535eb9e4af709dc98e9759be3b7c6c9e9f5ce583ec5435543c903a6b94f1a2f8679abbcd4c3d912e5a3792f6bf643bf438d0a1d8644d5728980eaf6d
-MISC ChangeLog 173773 SHA256 3a07e7da7b3f47c592491f3f92d975b6f200c380385493243dcb3530297e38f3 SHA512 822c70f0226128de9e3ccfdece0554282f5c034acdc7b0bd55d77dcaed11b8cac03b4f32c5a0a627682f7e3f038ad205a22fd011dc9638bdc9fda45567100119 WHIRLPOOL 0f3a8d3669dc3f38d2847dcae73e800e985a1f362a7407f7d84d00cfa6691f0365e623a57f69c855972ec250cf14c60b5fa9ab101765074a799252c64f1edfa8
+EBUILD netbeans-mobility-9999_p20150709.ebuild 4418 SHA256 6d7c572355535683ebe1acb28c6bf63351faa8d1ef663cabd23690dfbfa8b7e5 SHA512 6e781fb7618562dde0b9174db4e09fb581d058d40b66a26552e4ca5aa516731dc33bf8c8c615cc6d44c933eb71d6fbc627bddb977f35f38f5504fdd39972c488 WHIRLPOOL 9e358eecb564c42b6b8863827bb621af455dd636a47d73db4f2eba2febd2c13323eca22d08a4b7e1b0aa0a3527a0d58d256fc3fb0c175c0bf104ccd530ca3139
+MISC ChangeLog 173951 SHA256 46dba7366a316e2a2d6445639f72d7f253097a664e7fab04f44e626d78208a36 SHA512 64fe08e6e666acf889290023d0927de9955561f8585ecb3510cc53afe8b2974315c347983be0c80f63ce98cc63a90e7c2e4ebeff1780409e53326200a1b211b3 WHIRLPOOL 02b03fd3c9accfac0fb3095362eb723abee5f9de3ca98626868dd91abd1b9a73d34442c1b49882ea3aff93430dbd5f1071ef1ca7437bac56ae63c09b9a52dfea
 MISC metadata.xml 251 SHA256 5a4ff53a9862390a48d45c79be24086646e7a6ff0c5bdf0fcb799d0871299003 SHA512 04153cbd9776ad56a94d6a47d043df15d082d8888df8658f18d0d4b659c6c0526ab3a9b22ccbe2471091bf2d8165f224854bc99c51f3664aaf350ccb93532a7c WHIRLPOOL 2ee8a646c6e23bc46c72cac0ecb5cfe43720ec42404ddaeed8ab1b59d139b3d5c1a94764de847f979da978c001c9f02f709d663a68eeea64d19e88f1fefbca43

diff --git a/dev-java/netbeans-mobility/netbeans-mobility-9999_p20150709.ebuild b/dev-java/netbeans-mobility/netbeans-mobility-9999_p20150709.ebuild
new file mode 100644
index 0000000..be2796b
--- /dev/null
+++ b/dev-java/netbeans-mobility/netbeans-mobility-9999_p20150709.ebuild
@@ -0,0 +1,126 @@
+# Copyright 1999-2015 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/2015-07-09_00-01-56/zip/netbeans-trunk-nightly-201507090001-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 f9c955d..d0afa44 100644
--- a/dev-java/netbeans-nb/ChangeLog
+++ b/dev-java/netbeans-nb/ChangeLog
@@ -2,6 +2,12 @@
 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+*netbeans-nb-9999_p20150709 (09 Jul 2015)
+
+  09 Jul 2015; Miroslav Šulc <fordfrog@gentoo.org>
+  +netbeans-nb-9999_p20150709.ebuild:
+  updated to the latest sources
+
 *netbeans-nb-9999_p20150702 (02 Jul 2015)
 
   02 Jul 2015; Miroslav Šulc <fordfrog@gentoo.org>

diff --git a/dev-java/netbeans-nb/Manifest b/dev-java/netbeans-nb/Manifest
index 3df5cbb..d7d0a7f 100644
--- a/dev-java/netbeans-nb/Manifest
+++ b/dev-java/netbeans-nb/Manifest
@@ -53,6 +53,7 @@ DIST netbeans-trunk-nightly-201506290001-src.zip 208007970 SHA256 c946f79e8d9834
 DIST netbeans-trunk-nightly-201506300001-src.zip 208032815 SHA256 ce244f0502b501486aba525f65b315bd424268cf5e73bf1c8ec8d7671afcc4b5 SHA512 d0d079b531c0d74a4ddc01f3afaa5448d1a9a6506ed3ae11ccf803d2bbab2601e6158dfab88be9408014daceed62a5ecba54f3d4372e535fb02147a167d825cc WHIRLPOOL a69f202dfb2106898986a5eca7ead2156669879ca97d4a41d475eabf7cea0be2859ff8bffeb1dad81a75cea80058cb2f52803c3d3679a5c0a46e2cc115ed6028
 DIST netbeans-trunk-nightly-201507010001-src.zip 208078805 SHA256 981fd8029e8ed54eeb163701a3f75b8f501ef478159c94fc22b1b2157e1b1a82 SHA512 80e41ea6451a356ee2a760cffd8e8424730bbc26ef7338da251bf1427bb540517153f0f5a6402d0e53ce5dda34b4c0bdf14ca4499b9ed0ae9e220c4debd193a5 WHIRLPOOL 3c324d6dea7f457075ce2b4fe6b5dab77b7059798ebec9d7975d3818844d00c24a683fa7e29c24837d6a2e2694764dddec8d562eabc8f43c94caf93061079a8f
 DIST netbeans-trunk-nightly-201507020001-src.zip 208088424 SHA256 1dde0fd1452c74c8e5e214c47c89a1d4672d54af0318421b736877dac6e5f357 SHA512 cd3a8fdaec765d79ce33c7c758ef27bdf32890caff2432e10290ef7edee28a34b7582bed49e79d0e71916ae1f192ed930000e2e27349fac75bb0239797a2f56b WHIRLPOOL 76bbf940d6e99ec97303fc104aca17e182476973d3e7511f256179b288d2f4db9944dc511b65886441051472b4b24c5ac590c84b294539d4b254d2b96effc139
+DIST netbeans-trunk-nightly-201507090001-src.zip 208130931 SHA256 5d73ccaddac610b27ab8aecaa95f5ef920a833291d2573daeb29f1f79eef1864 SHA512 6405717c46d506dbaa744fd33ba88daf3037e9d388482d808a6eeab292a42d99e76eea4494639725568239dc939444b0357a3f55b364a57256e93f5252efb7d5 WHIRLPOOL 9bddee309d416454d25c497074ad9e2ff23b1e52de90975bbea12412524fcf44e384eed0b14ee7f0f1ae1988523a74281bef1de58c14321aaefa4f9ef1bd9ba5
 EBUILD netbeans-nb-7.0.1.ebuild 5106 SHA256 3c68751bf5face5f80e2d7dcedb7466e69343f2d06c0a4dd30a722a987fbb207 SHA512 d79343e0ca8655b074a8f96b9898e4bc0123d60e346602ba8d7a239597993cadb33a036b43862ef1a39630e4f0ba7e79892d8b2eed8b30535f12a5d0b9f4b581 WHIRLPOOL 9f2cd645e34fbcfa8f0059fbda4f355f411aaff7966121360dfe5b3c769966c5a4586bbc04142b279e3a3fa323bc4b51a6349cf3eafe89063db44fcae58ef119
 EBUILD netbeans-nb-7.1.2.ebuild 4977 SHA256 265f9e4a9490937a65632ddaef48e3a731154b07b9ee5f9536a991181fc2fcbd SHA512 65d1065993dba3b1fece428beb1b75f17d89eddb08aacd2cbf5ecd3ee5ca844e75e9100c324ecdeeed5b138b1da4ab8cd5a4598e584a17545ffc2c52ea763779 WHIRLPOOL 9b63f2b5671bd38d24ff6b280de37fc19c74170bf80c22818da5e8af415a85211c6cfcf690e68d7697c41a1b749a3c7b48ec9b362782df140856f892d381e360
 EBUILD netbeans-nb-7.2.ebuild 4960 SHA256 bef2020a6e0d722ca77c0931b9a06014cedc822f14a21d8d916200e358dcdfb8 SHA512 988d902bbef52e123b5800e56049210d69c4dd6dbeca80396aeac58c70d90b76da65b338e664368ea3f9a3973b7b94ffd0a47a77b01be53452c2cc04c4067442 WHIRLPOOL a27fa8a1a066499a3fc2cb82e955b6b18b1725889b088ea1e94528cde3ec58f3b46c1e757fa597af6ad4ba96218dacfacff9561799f46add316e233d46127d28
@@ -92,5 +93,6 @@ EBUILD netbeans-nb-9999_p20150629.ebuild 5003 SHA256 a4b4ed7fb5a745b5d1cfbcc217a
 EBUILD netbeans-nb-9999_p20150630.ebuild 5003 SHA256 588b2e9b4ddacb464b3901b7a7991b777dc0d9365c02323e507aec80b138a6a4 SHA512 db3d051f538dcd05bb7310ebe5431b0fc9a23197e39c2bb6867e2936bda9b59a99156803f09d1b7806e2362d3396e326e387759a634816793857d55b606a074b WHIRLPOOL 5f8ed5524922cdd0da8692a904b721cf0d4f9f74e85fc6bcd805bede9b1a536039a3ab23e8b471badf5c2fbc02e8012339be1d62c4267210c07887a7917a9388
 EBUILD netbeans-nb-9999_p20150701.ebuild 5003 SHA256 064de241db10ac190ccfb71ca080c1f109bba6510a01751f941a0077ed6cefe3 SHA512 202be23dc30ec6ecf2a869d40944f3f3ebb02c84d4a5cb73d655ba4ea1ff4db0fdf758420e2a73d86cddb0b04744f82e84bb7e081de58befe9f4c6a2e5a468d7 WHIRLPOOL 86ee490e3436fbf9499a3fd8c9c641a25bd0170f387fca1478b4e189e749b5f1d4940642a7cc23da66f8876ae7daaf1696100256e511c48d297093768fe9aeb8
 EBUILD netbeans-nb-9999_p20150702.ebuild 5003 SHA256 a660946eb32c5efe5e09eb4bf71e5f602582026b24268d0a08e3c7c038fcba19 SHA512 c09cb4b50d03c5dec09d189e99487b968fa0c194b5c614b6f2f27037f46c55671633983ee698e470e4a25da1593c385b8629fdcdb1148c29b5c83965b0763dee WHIRLPOOL dcaa55f3babfbcdc74426760cbf6a487d378058e79d02eb17496a82bf273d5e2295343233ac2dea9ac560475c4e3ba5931cb0e2cb3aedc2a4885098b6accd720
-MISC ChangeLog 162279 SHA256 c0d5ab3875baabf5fd87773f7f3c54e68b5ba7f23128b594fed8ca0746259264 SHA512 38b25ffe4b487b2c93a1367297ce21abf0e3e45ea7fa54555e2e8aa69dec45b56af09cd81f11634d10bff7c937f6ffd230642495be2598d204930f6d673b6156 WHIRLPOOL 6791fb2a117588b098441d70151b076c332a96bf22ed0ceed95e00f67fd491821e6988b7ca4a15025b3409be467ea438a4adc43d45b57cd2e79c42c6ca074ca2
+EBUILD netbeans-nb-9999_p20150709.ebuild 5003 SHA256 f61c71b64613e64cfc044b558336faca697d18e74334c5dc7a0fd2db6532897e SHA512 1c17e96dd925159ba5fc7937e8485abd9b5c3d1df33451164dc5e429365869b8291bca56c9ffe619df8f9730e16fced36419bc805ab0abcf43f6a9831f6e1456 WHIRLPOOL 1f37aff488839e25af8cf7e166a4c450f9ec644917c97490d2dbdca821cd1c462a1a9163acf96badf4a7801554e49814feaf0109a5a34b04d864444f916bbbad
+MISC ChangeLog 162445 SHA256 f48c857cffbb7a3e35dfb26ef85ac2d0026923580bf802f648c4cc80280b8f96 SHA512 7166e9c0c031c7a5689ee8045ea4df2f0386fd84902e39c2b4232816479b9c7fb9d9e4ce68a8764cf03f69a8f44cb57ae642168e25c2f1392bad4f371cdde49e WHIRLPOOL 1f77b6b449177e704d273b9b4155e614f027cacf592dddd74cbf57b3763684a8c88a9444d3a67d3f88174f3f0ae3477e0f992627246d568a8ebb2e78379aaea0
 MISC metadata.xml 396 SHA256 5083064ed2246a84e2aedbc326d56cc8bf571fd8e7c24af0e4bc14c50f1ebb49 SHA512 a0b2171264f1ea6ba33b184ef802589d679eaba5c4a1753e149d7cd93c2c31aace934eddf5dffed6be341d9e4061c843c849e464afb7b4417c6c2dff3e9ff1c7 WHIRLPOOL 1be3a1a3c2b64d8818108de191db834395ee4ab3cf7994914c9331d6e42ca9015dd2493b9516db20990cb30b4dea385a3dde08b75df956ca39ad65e3fa721cb7

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

diff --git a/dev-java/netbeans-php/ChangeLog b/dev-java/netbeans-php/ChangeLog
index 9c703c2..1bd7d98 100644
--- a/dev-java/netbeans-php/ChangeLog
+++ b/dev-java/netbeans-php/ChangeLog
@@ -2,6 +2,12 @@
 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+*netbeans-php-9999_p20150709 (09 Jul 2015)
+
+  09 Jul 2015; Miroslav Šulc <fordfrog@gentoo.org>
+  +netbeans-php-9999_p20150709.ebuild:
+  updated to the latest sources
+
 *netbeans-php-9999_p20150702 (02 Jul 2015)
 
   02 Jul 2015; Miroslav Šulc <fordfrog@gentoo.org>

diff --git a/dev-java/netbeans-php/Manifest b/dev-java/netbeans-php/Manifest
index c38e3c5..1ccd0da 100644
--- a/dev-java/netbeans-php/Manifest
+++ b/dev-java/netbeans-php/Manifest
@@ -58,6 +58,7 @@ DIST netbeans-trunk-nightly-201506290001-src.zip 208007970 SHA256 c946f79e8d9834
 DIST netbeans-trunk-nightly-201506300001-src.zip 208032815 SHA256 ce244f0502b501486aba525f65b315bd424268cf5e73bf1c8ec8d7671afcc4b5 SHA512 d0d079b531c0d74a4ddc01f3afaa5448d1a9a6506ed3ae11ccf803d2bbab2601e6158dfab88be9408014daceed62a5ecba54f3d4372e535fb02147a167d825cc WHIRLPOOL a69f202dfb2106898986a5eca7ead2156669879ca97d4a41d475eabf7cea0be2859ff8bffeb1dad81a75cea80058cb2f52803c3d3679a5c0a46e2cc115ed6028
 DIST netbeans-trunk-nightly-201507010001-src.zip 208078805 SHA256 981fd8029e8ed54eeb163701a3f75b8f501ef478159c94fc22b1b2157e1b1a82 SHA512 80e41ea6451a356ee2a760cffd8e8424730bbc26ef7338da251bf1427bb540517153f0f5a6402d0e53ce5dda34b4c0bdf14ca4499b9ed0ae9e220c4debd193a5 WHIRLPOOL 3c324d6dea7f457075ce2b4fe6b5dab77b7059798ebec9d7975d3818844d00c24a683fa7e29c24837d6a2e2694764dddec8d562eabc8f43c94caf93061079a8f
 DIST netbeans-trunk-nightly-201507020001-src.zip 208088424 SHA256 1dde0fd1452c74c8e5e214c47c89a1d4672d54af0318421b736877dac6e5f357 SHA512 cd3a8fdaec765d79ce33c7c758ef27bdf32890caff2432e10290ef7edee28a34b7582bed49e79d0e71916ae1f192ed930000e2e27349fac75bb0239797a2f56b WHIRLPOOL 76bbf940d6e99ec97303fc104aca17e182476973d3e7511f256179b288d2f4db9944dc511b65886441051472b4b24c5ac590c84b294539d4b254d2b96effc139
+DIST netbeans-trunk-nightly-201507090001-src.zip 208130931 SHA256 5d73ccaddac610b27ab8aecaa95f5ef920a833291d2573daeb29f1f79eef1864 SHA512 6405717c46d506dbaa744fd33ba88daf3037e9d388482d808a6eeab292a42d99e76eea4494639725568239dc939444b0357a3f55b364a57256e93f5252efb7d5 WHIRLPOOL 9bddee309d416454d25c497074ad9e2ff23b1e52de90975bbea12412524fcf44e384eed0b14ee7f0f1ae1988523a74281bef1de58c14321aaefa4f9ef1bd9ba5
 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
@@ -97,5 +98,6 @@ EBUILD netbeans-php-9999_p20150629.ebuild 4423 SHA256 115a14365a669871165efb22b7
 EBUILD netbeans-php-9999_p20150630.ebuild 4423 SHA256 062a4dfa1644a1892ccea4d0608263fea18eaff56ed111464dc2cc6f5a2c058b SHA512 86b7763ec60fa916f6ec5d1a1553250d424a0bf07613b2efbba0951082b61efd5748ca840807adb1b2b372dfee85fcf76303cdd253941b2009a6142df0fb1a50 WHIRLPOOL 51d8fbad2336e382fb4835cf7445d2b440b64c81da9190226a63e640f4159f1e51bee07624de4abf62ef238870092c751101716c2e8b9a22788888a41275a9ce
 EBUILD netbeans-php-9999_p20150701.ebuild 4423 SHA256 2c7fa2d5dfbb653a6986bb7b2853deb846b4596e01b4d2ef25bfcc676e2cfe7e SHA512 18b41737b9c4290b691baa399392beedbdd16db008412d350a215bd637fe22af969b06a3da3f80e072b6654b70c92d06868048aac762dceecfcd67a825fc91ee WHIRLPOOL e622a630c2ea44ef69c501896a81329496d42f5fd12f99f13f05e7128793975067d8f3c6fb984b8db94aa52da901a6bbc3360798967f2458e57866c005cc1f41
 EBUILD netbeans-php-9999_p20150702.ebuild 4423 SHA256 9af0cafe1341fbbdf8b1c56c7536dc3b6cf2b3b8f04320ef501f998040ba0e02 SHA512 bbb15bf5ae7551461cba85644a2dd21845c7c86a1baa82e3953e6df17e0739c339e7591043b0bc5eb8f0375c261f56315f6ab91bba533f280fae13e7d4e23086 WHIRLPOOL 69ce2feb11c57a72dc8752cd87d7a9cddbfefb9b7caf0a4b9dc32809bf65c5bb9dcd4cee753f6b0cb56e029f09e35c80654056523f6b9ba5295d55f66b4f8b21
-MISC ChangeLog 162074 SHA256 835419a198dde84305b2d835a150b9356ebca13fe8541937ff53cd14f5c91541 SHA512 b1959f47253d5847deb51657a433a9e9ab4f92483e2bf77b6cc36e5da3354527b6df3d75aa63c1103f1a25a72cf162c7e2af1760896aed447a2e5edf51017140 WHIRLPOOL d2196f955ae46d8e0cc84e8e0ff920ad098a21674732d31937d3a93fc1071ec3ff52403cdd916f1e2871e4fbf6c2f19c2345b8003160d113b806798eb1e2e3fc
+EBUILD netbeans-php-9999_p20150709.ebuild 4423 SHA256 7b7b28eb39566140a3e2d2eb1e35a934a5b11756d83ab955b9347af50662f4c4 SHA512 ef3f24db46c38210b19f1dffa04e078f5af53c918efd0f8684ed5b5317058a6ace5b5fd580df8b2d46859f9a523d67d471de77083a1edb4b282da1b7ef534648 WHIRLPOOL 01baee4920b970b9c5b8f8ef285c8cb6afbb35b3401dd6f37c2555e5c88e57715a1910f479bb35149de895fb2b32b917f4bcd22a230378c27dde23e11809559e
+MISC ChangeLog 162242 SHA256 c8f1b16e090027b5542ae2148cf78ab6f3971a61c1ccad35d07cee95619c9371 SHA512 5e1322d63310e649473fa90e11b641f7f8b44819c4c184f3970b96c35f36be3e1be8feffa6dd982da7d0d2e19fe5dd71f3cad591ce69f44515ac98bf7883c66d WHIRLPOOL 660e58c1969fc8362e0fb42410587dd3576f7ce41a0df106d02a1868b60427e7783abd3f43f415f587c2add4b087b44044748f15f90d4b996d3517b51cf0f8f6
 MISC metadata.xml 251 SHA256 5a4ff53a9862390a48d45c79be24086646e7a6ff0c5bdf0fcb799d0871299003 SHA512 04153cbd9776ad56a94d6a47d043df15d082d8888df8658f18d0d4b659c6c0526ab3a9b22ccbe2471091bf2d8165f224854bc99c51f3664aaf350ccb93532a7c WHIRLPOOL 2ee8a646c6e23bc46c72cac0ecb5cfe43720ec42404ddaeed8ab1b59d139b3d5c1a94764de847f979da978c001c9f02f709d663a68eeea64d19e88f1fefbca43

diff --git a/dev-java/netbeans-php/netbeans-php-9999_p20150709.ebuild b/dev-java/netbeans-php/netbeans-php-9999_p20150709.ebuild
new file mode 100644
index 0000000..225cfd4
--- /dev/null
+++ b/dev-java/netbeans-php/netbeans-php-9999_p20150709.ebuild
@@ -0,0 +1,127 @@
+# Copyright 1999-2015 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/2015-07-09_00-01-56/zip/netbeans-trunk-nightly-201507090001-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/52AE855B57FF0326574A5B07D0BDDD9D8010D3C4-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}"/52AE855B57FF0326574A5B07D0BDDD9D8010D3C4-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 d15f0f9..b522c35 100644
--- a/dev-java/netbeans-platform/ChangeLog
+++ b/dev-java/netbeans-platform/ChangeLog
@@ -2,6 +2,12 @@
 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+*netbeans-platform-9999_p20150709 (09 Jul 2015)
+
+  09 Jul 2015; Miroslav Šulc <fordfrog@gentoo.org>
+  +netbeans-platform-9999_p20150709.ebuild:
+  updated to the latest sources
+
 *netbeans-platform-9999_p20150702 (02 Jul 2015)
 
   02 Jul 2015; Miroslav Šulc <fordfrog@gentoo.org>

diff --git a/dev-java/netbeans-platform/Manifest b/dev-java/netbeans-platform/Manifest
index 7d4dcf4..b35a284 100644
--- a/dev-java/netbeans-platform/Manifest
+++ b/dev-java/netbeans-platform/Manifest
@@ -72,6 +72,7 @@ DIST netbeans-trunk-nightly-201506290001-src.zip 208007970 SHA256 c946f79e8d9834
 DIST netbeans-trunk-nightly-201506300001-src.zip 208032815 SHA256 ce244f0502b501486aba525f65b315bd424268cf5e73bf1c8ec8d7671afcc4b5 SHA512 d0d079b531c0d74a4ddc01f3afaa5448d1a9a6506ed3ae11ccf803d2bbab2601e6158dfab88be9408014daceed62a5ecba54f3d4372e535fb02147a167d825cc WHIRLPOOL a69f202dfb2106898986a5eca7ead2156669879ca97d4a41d475eabf7cea0be2859ff8bffeb1dad81a75cea80058cb2f52803c3d3679a5c0a46e2cc115ed6028
 DIST netbeans-trunk-nightly-201507010001-src.zip 208078805 SHA256 981fd8029e8ed54eeb163701a3f75b8f501ef478159c94fc22b1b2157e1b1a82 SHA512 80e41ea6451a356ee2a760cffd8e8424730bbc26ef7338da251bf1427bb540517153f0f5a6402d0e53ce5dda34b4c0bdf14ca4499b9ed0ae9e220c4debd193a5 WHIRLPOOL 3c324d6dea7f457075ce2b4fe6b5dab77b7059798ebec9d7975d3818844d00c24a683fa7e29c24837d6a2e2694764dddec8d562eabc8f43c94caf93061079a8f
 DIST netbeans-trunk-nightly-201507020001-src.zip 208088424 SHA256 1dde0fd1452c74c8e5e214c47c89a1d4672d54af0318421b736877dac6e5f357 SHA512 cd3a8fdaec765d79ce33c7c758ef27bdf32890caff2432e10290ef7edee28a34b7582bed49e79d0e71916ae1f192ed930000e2e27349fac75bb0239797a2f56b WHIRLPOOL 76bbf940d6e99ec97303fc104aca17e182476973d3e7511f256179b288d2f4db9944dc511b65886441051472b4b24c5ac590c84b294539d4b254d2b96effc139
+DIST netbeans-trunk-nightly-201507090001-src.zip 208130931 SHA256 5d73ccaddac610b27ab8aecaa95f5ef920a833291d2573daeb29f1f79eef1864 SHA512 6405717c46d506dbaa744fd33ba88daf3037e9d388482d808a6eeab292a42d99e76eea4494639725568239dc939444b0357a3f55b364a57256e93f5252efb7d5 WHIRLPOOL 9bddee309d416454d25c497074ad9e2ff23b1e52de90975bbea12412524fcf44e384eed0b14ee7f0f1ae1988523a74281bef1de58c14321aaefa4f9ef1bd9ba5
 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
@@ -111,5 +112,6 @@ EBUILD netbeans-platform-9999_p20150629.ebuild 9244 SHA256 de830ff9f8ff835de9090
 EBUILD netbeans-platform-9999_p20150630.ebuild 9244 SHA256 8ab6afc982574fcb9c55770a660452d1e1ad4c31b3e37e2b43dee0d3e8e28aad SHA512 1f62bd8cb41ef3d6dd79a21f0a2885ad3ab18b24f1299f7849606668081977122b7f7bcbb6ab6653f49458838e9ae5835dc238225059866e1f28911a25e1b22f WHIRLPOOL 30c2fad60c77810977676da59e6c7657496ce80d5c517292b9b8f1016bbcb15989837f0dfebcc8bfde983cdc599bde180b33c75f8911c9839121e8e88486f4eb
 EBUILD netbeans-platform-9999_p20150701.ebuild 9244 SHA256 523403d7b130b9fd2106ced5464e372db26f77f8de0159e88e490dd82999c8c8 SHA512 07d72709c8acb18447a93775cff9a410cdc8763e8acaff25ab7b94e046cecd829a042bf38a1736b26e14f8771b220ea7918c4476e4cfc3bb2fceb21f59f7faec WHIRLPOOL f16e21c88b98ca1040d692a9b425746816d3095232e2145f3ad5156db6f5e13396ad5258bd43a487117303edcc0e787e12ee2916733859634488a6bbe97fba24
 EBUILD netbeans-platform-9999_p20150702.ebuild 9244 SHA256 db71d52a3cde54e51128927d7afd4232d3708b2fe71354fc421a927ee6e49459 SHA512 15edf2ce34230de38db326035002df734e2375a9c999527d6e0b67ae013aa2020285987616ff35945ebba7d787fe0a98e8209a4cb196fa1e644a32b08bb4fb09 WHIRLPOOL ae5bcfd9701bd74d404a1d5151e97c4f1b49fa3766336af5a98e32d4a135666cdf35ac8cad577d26947e7c1e8b554043a99176143faf7b573f921d3ecebcc156
-MISC ChangeLog 174369 SHA256 71142c5ecc7a2b248f8feca6b8499ec112fa301a204f94fd538933c5809bd1a0 SHA512 b3ded8b3cacaf967b0de92abe0c5d031b585dfc4180a1a24a4adcc3cc961cbeb89784856996b7142b9c5211ee873bd30f6ac8a4e0e7f4cf43e3c9eca9180c58c WHIRLPOOL 568452b4780a69a1fc46543196a8892a7caa042e129322b59d7501d6509eba21a7b87b8cc180623a4f4b334c17637cf2397b476a1fef856c02646de226e7334f
+EBUILD netbeans-platform-9999_p20150709.ebuild 9244 SHA256 f94aa0c55c865916abbe68b8cb8e2c68c31a90fdca8df836ad1cbb638846fcd1 SHA512 34ed91a69e0763ce61e16b6f320278a84cd5bf66bdccb665ab0d643ba975112b50a135ae3b13d05cc8bf18d2aba8c1fbfa580cfbfc7961dedcffc48dc56e062c WHIRLPOOL 5368d66c9f9ffab477250befcdb664b480fe71ed4939c74d22eadaa7e309370689eb97f7c83057d7e97e3470535da0f01262baae14260371f19785f3e42b92fa
+MISC ChangeLog 174547 SHA256 7f82e15f18b98744349860432ce28c204f0b44a1721b9294c10458f3c070876c SHA512 7e81eb9f330f61ba20708d244e55be3d18ad82a45f1e88a1122a952f0e34d517dfbcfb8703e26dbcf86963fafe01130c7ffaa92671e4c09e98635112efff9589 WHIRLPOOL 362b8f44806b0835c4362a1484aefd94c638d3bceecc35ec88de0d6393f36cebe03e7c3ef7c1e94a6c3bf628093c45da33bc261b79be50feec5e6a4d7e69941b
 MISC metadata.xml 251 SHA256 5a4ff53a9862390a48d45c79be24086646e7a6ff0c5bdf0fcb799d0871299003 SHA512 04153cbd9776ad56a94d6a47d043df15d082d8888df8658f18d0d4b659c6c0526ab3a9b22ccbe2471091bf2d8165f224854bc99c51f3664aaf350ccb93532a7c WHIRLPOOL 2ee8a646c6e23bc46c72cac0ecb5cfe43720ec42404ddaeed8ab1b59d139b3d5c1a94764de847f979da978c001c9f02f709d663a68eeea64d19e88f1fefbca43

diff --git a/dev-java/netbeans-platform/netbeans-platform-9999_p20150709.ebuild b/dev-java/netbeans-platform/netbeans-platform-9999_p20150709.ebuild
new file mode 100644
index 0000000..c5336e3
--- /dev/null
+++ b/dev-java/netbeans-platform/netbeans-platform-9999_p20150709.ebuild
@@ -0,0 +1,166 @@
+# Copyright 1999-2015 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/2015-07-09_00-01-56/zip/netbeans-trunk-nightly-201507090001-src.zip"
+SRC_URI="${SOURCE_URL}
+	http://dev.gentoo.org/~fordfrog/distfiles/netbeans-9999-r14-build.xml.patch.bz2
+	http://hg.netbeans.org/binaries/2F7553F50B0D14ED811B849C282DA8C1FFC32AAE-asm-all-5.0.1.jar
+	http://hg.netbeans.org/binaries/1BA97A9FFD4A1DFF3E75B76CD3AE3D0EFF8493B7-felix-4.2.1.jar
+	http://hg.netbeans.org/binaries/941A8BE4506C65F0A9001C08812FB7DA1E505E21-junit-4.12-javadoc.jar
+	http://hg.netbeans.org/binaries/B250509C67194E89C3A27F96933DB7EB0E027E56-ko4j.jar
+	http://hg.netbeans.org/binaries/E556F74DF0942B304F94D9F82CAA8102FED6356E-net-java-html.jar
+	http://hg.netbeans.org/binaries/C74AC1ED160379872826FDC4A3C0CA924A3A0A83-net-java-html-boot.jar
+	http://hg.netbeans.org/binaries/03FE10857B0689B1F98B8D96DE87E80DF5D87A69-net-java-html-boot-fx.jar
+	http://hg.netbeans.org/binaries/31C9329E78A222E38CB86716ACFCEF81EF0BA1FD-net-java-html-boot-script.jar
+	http://hg.netbeans.org/binaries/24ED356FF3C72665CB5FB972B428824FABBC1987-net-java-html-geo.jar
+	http://hg.netbeans.org/binaries/432EDFB05C0F44E6ADAC4B1F3E08C67D1F52FB4B-net-java-html-json.jar
+	http://hg.netbeans.org/binaries/A7B6C3470DB8821A3587CE04844FF504A7C62354-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/1C7FE319052EF49126CF07D0DB6953CB7007229E-swing-layout-1.0.4-doc.zip
+	http://hg.netbeans.org/binaries/AF022CBCACD8CBFCF946816441D1E7568D817745-testng-6.8.1-javadoc.zip"
+LICENSE="|| ( CDDL GPL-2-with-linking-exception )"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+S="${WORKDIR}"
+
+CDEPEND="dev-java/hamcrest-core:1.3
+	dev-java/javahelp:0
+	>=dev-java/jna-3.4:0
+	dev-java/junit:4[source]
+	>=dev-java/osgi-core-api-5:0
+	dev-java/osgi-compendium:0
+	dev-java/swing-layout:1[source]
+	dev-java/testng:0"
+# oracle-jdk-bin is needed because other jdks do not contain file jre/lib/ext/jfxrt.jar
+# the error:
+#  [parseprojectxml] Distilling /var/tmp/portage/dev-java/netbeans-platform-9999_p20140922/work/nbbuild/build/public-package-jars/org-netbeans-libs-javafx.jar from [/var/tmp/portage/dev-java/netbeans-platform-9999_p20140922/work/nbbuild/netbeans/platform/modules/org-netbeans-libs-javafx.jar, /opt/icedtea-bin-7.2.4.7/jre/lib/ext/jfxrt.jar]
+#  [parseprojectxml] Classpath entry /opt/icedtea-bin-7.2.4.7/jre/lib/ext/jfxrt.jar does not exist; skipping
+#  [nbmerge] Failed to build target: all-api.html4j
+
+DEPEND="dev-java/oracle-jdk-bin:1.7
+	app-arch/unzip
+	${CDEPEND}"
+RDEPEND=">=virtual/jdk-1.7
+	${CDEPEND}"
+
+INSTALL_DIR="/usr/share/${PN}-${SLOT}"
+
+EANT_BUILD_XML="nbbuild/build.xml"
+EANT_BUILD_TARGET="rebuild-cluster"
+EANT_EXTRA_ARGS="-Drebuild.cluster.name=nb.cluster.platform -Dext.binaries.downloaded=true -Djava.awt.headless=true -Dpermit.jdk8.builds=true"
+EANT_FILTER_COMPILER="ecj-3.3 ecj-3.4 ecj-3.5 ecj-3.6 ecj-3.7"
+JAVA_PKG_BSFIX="off"
+JAVA_PKG_WANT_BUILD_VM="oracle-jdk-bin-1.7"
+JAVA_PKG_WANT_SOURCE="1.7"
+JAVA_PKG_WANT_TARGET="1.7"
+
+src_unpack() {
+	unpack $(basename ${SOURCE_URL})
+
+	einfo "Deleting bundled jars..."
+	find -name "*.jar" -type f -delete
+
+	unpack netbeans-9999-r14-build.xml.patch.bz2
+
+	pushd "${S}" >/dev/null || die
+	ln -s "${DISTDIR}"/2F7553F50B0D14ED811B849C282DA8C1FFC32AAE-asm-all-5.0.1.jar libs.asm/external/asm-all-5.0.1.jar || die
+	ln -s "${DISTDIR}"/1BA97A9FFD4A1DFF3E75B76CD3AE3D0EFF8493B7-felix-4.2.1.jar libs.felix/external/felix-4.2.1.jar || die
+	ln -s "${DISTDIR}"/941A8BE4506C65F0A9001C08812FB7DA1E505E21-junit-4.12-javadoc.jar junitlib/external/junit-4.12-javadoc.jar || die
+	ln -s "${DISTDIR}"/B250509C67194E89C3A27F96933DB7EB0E027E56-ko4j.jar o.n.html.ko4j/external/ko4j.jar || die
+	ln -s "${DISTDIR}"/E556F74DF0942B304F94D9F82CAA8102FED6356E-net-java-html.jar net.java.html/external/net-java-html.jar || die
+	ln -s "${DISTDIR}"/C74AC1ED160379872826FDC4A3C0CA924A3A0A83-net-java-html-boot.jar net.java.html.boot/external/net-java-html-boot.jar || die
+	ln -s "${DISTDIR}"/03FE10857B0689B1F98B8D96DE87E80DF5D87A69-net-java-html-boot-fx.jar net.java.html.boot.fx/external/net-java-html-boot-fx.jar || die
+	ln -s "${DISTDIR}"/31C9329E78A222E38CB86716ACFCEF81EF0BA1FD-net-java-html-boot-script.jar net.java.html.boot.script/external/net-java-html-boot-script.jar || die
+	ln -s "${DISTDIR}"/24ED356FF3C72665CB5FB972B428824FABBC1987-net-java-html-geo.jar net.java.html.geo/external/net-java-html-geo.jar || die
+	ln -s "${DISTDIR}"/432EDFB05C0F44E6ADAC4B1F3E08C67D1F52FB4B-net-java-html-json.jar net.java.html.json/external/net-java-html-json.jar || die
+	ln -s "${DISTDIR}"/A7B6C3470DB8821A3587CE04844FF504A7C62354-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}"/1C7FE319052EF49126CF07D0DB6953CB7007229E-swing-layout-1.0.4-doc.zip o.jdesktop.layout/external/swing-layout-1.0.4-doc.zip || die
+	ln -s "${DISTDIR}"/AF022CBCACD8CBFCF946816441D1E7568D817745-testng-6.8.1-javadoc.zip libs.testng/external/testng-6.8.1-javadoc.zip || die
+	popd >/dev/null || die
+}
+
+src_prepare() {
+	einfo "Deleting bundled class files..."
+	find -name "*.class" -type f | xargs rm -vf
+
+	# upstream jna jar contains bundled binary libraries so we disable that feature
+	epatch netbeans-9999-r14-build.xml.patch
+
+	# Support for custom patches
+	if [ -n "${NETBEANS9999_PATCHES_DIR}" -a -d "${NETBEANS9999_PATCHES_DIR}" ] ; then
+		local files=`find "${NETBEANS9999_PATCHES_DIR}" -type f`
+
+		if [ -n "${files}" ] ; then
+			einfo "Applying custom patches:"
+
+			for file in ${files} ; do
+				epatch "${file}"
+			done
+		fi
+	fi
+
+	einfo "Symlinking external libraries..."
+	java-pkg_jar-from --into libs.junit4/external hamcrest-core-1.3 hamcrest-core.jar hamcrest-core-1.3.jar
+	java-pkg_jar-from --into libs.jna.platform/external jna platform.jar jna-platform-4.1.0.jar
+	java-pkg_jar-from --into javahelp/external javahelp jhall.jar jhall-2.0_05.jar
+	java-pkg_jar-from --into libs.jna/external jna jna.jar jna-4.1.0.jar
+	java-pkg_jar-from --into libs.junit4/external junit-4 junit.jar junit-4.12.jar
+	ln -s /usr/share/junit-4/sources/junit-src.zip junitlib/external/junit-4.12-sources.jar || die
+	java-pkg_jar-from --into libs.osgi/external osgi-core-api osgi-core-api.jar osgi.core-5.0.0.jar
+	java-pkg_jar-from --into libs.osgi/external osgi-compendium osgi-compendium.jar osgi.cmpn-4.2.jar
+	java-pkg_jar-from --into o.jdesktop.layout/external swing-layout-1 swing-layout.jar swing-layout-1.0.4.jar
+	ln -s /usr/share/swing-layout-1/sources/swing-layout-src.zip o.jdesktop.layout/external/swing-layout-1.0.4-src.zip || die
+	java-pkg_jar-from --into libs.testng/external testng testng.jar testng-6.8.1-dist.jar
+
+	java-pkg-2_src_prepare
+}
+
+src_compile() {
+	unset DISPLAY
+	eant -f ${EANT_BUILD_XML} ${EANT_EXTRA_ARGS} ${EANT_BUILD_TARGET} || die "Compilation failed"
+}
+
+src_install() {
+	pushd nbbuild/netbeans/platform >/dev/null || die
+
+	java-pkg_dojar lib/*.jar
+	grep -E "/platform$" ../moduleCluster.properties > "${D}"/${INSTALL_DIR}/moduleCluster.properties || die
+
+	insinto ${INSTALL_DIR}
+	doins -r *
+	rm "${D}"/${INSTALL_DIR}/docs/junit-4.12-sources.jar || die
+	dosym /usr/share/junit-4/sources/junit-src.zip ${INSTALL_DIR}/docs/junit-4.12-sources.jar
+	rm "${D}"/${INSTALL_DIR}/docs/swing-layout-1.0.4-src.zip || die
+	dosym /usr/share/swing-layout-1/sources/swing-layout-src.zip ${INSTALL_DIR}/docs/swing-layout-1.0.4-src.zip
+	find "${D}"/${INSTALL_DIR} -name "*.exe" -delete
+	find "${D}"/${INSTALL_DIR} -name "*.dll" -delete
+	rm -fr "${D}"/modules/lib || die
+
+	popd >/dev/null || die
+
+	fperms 775 ${INSTALL_DIR}/lib/nbexec
+	dosym ${INSTALL_DIR}/lib/nbexec /usr/bin/nbexec-${SLOT}
+
+	local instdir=${INSTALL_DIR}/modules/ext
+	pushd "${D}"/${instdir} >/dev/null || die
+	rm hamcrest-core-1.3.jar && dosym /usr/share/hamcrest-core-1.3/lib/hamcrest-core.jar ${instdir}/hamcrest-core-1.3.jar || die
+	rm jhall-2.0_05.jar && dosym /usr/share/javahelp/lib/jhall.jar ${instdir}/jhall-2.0_05.jar || die
+	rm jna-4.1.0.jar && dosym /usr/share/jna/lib/jna.jar ${instdir}/jna-4.1.0.jar || die
+	rm jna-platform-4.1.0.jar && dosym /usr/share/jna/lib/platform.jar ${instdir}/jna-platform-4.1.0.jar || die
+	rm junit-4.12.jar && dosym /usr/share/junit-4/lib/junit.jar ${instdir}/junit-4.12.jar || die
+	rm osgi.cmpn-4.2.jar && dosym /usr/share/osgi-compendium/lib/osgi-compendium.jar ${instdir}/osgi.cmpn-4.2.jar || die
+	rm osgi.core-5.0.0.jar && dosym /usr/share/osgi-core-api/lib/osgi-core-api.jar ${instdir}/osgi.core-5.0.0.jar || die
+	rm swing-layout-1.0.4.jar && dosym /usr/share/swing-layout-1/lib/swing-layout.jar ${instdir}/swing-layout-1.0.4.jar || die
+	rm testng-6.8.1-dist.jar && dosym /usr/share/testng/lib/testng.jar ${instdir}/testng-6.8.1-dist.jar || die
+	popd >/dev/null || die
+
+	dosym ${INSTALL_DIR} /usr/share/netbeans-nb-${SLOT}/platform
+}

diff --git a/dev-java/netbeans-profiler/ChangeLog b/dev-java/netbeans-profiler/ChangeLog
index 8977c97..958658b 100644
--- a/dev-java/netbeans-profiler/ChangeLog
+++ b/dev-java/netbeans-profiler/ChangeLog
@@ -2,6 +2,12 @@
 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+*netbeans-profiler-9999_p20150709 (09 Jul 2015)
+
+  09 Jul 2015; Miroslav Šulc <fordfrog@gentoo.org>
+  +netbeans-profiler-9999_p20150709.ebuild:
+  updated to the latest sources
+
 *netbeans-profiler-9999_p20150702 (02 Jul 2015)
 
   02 Jul 2015; Miroslav Šulc <fordfrog@gentoo.org>

diff --git a/dev-java/netbeans-profiler/Manifest b/dev-java/netbeans-profiler/Manifest
index cf99e63..7c291ee 100644
--- a/dev-java/netbeans-profiler/Manifest
+++ b/dev-java/netbeans-profiler/Manifest
@@ -45,6 +45,7 @@ DIST netbeans-trunk-nightly-201506290001-src.zip 208007970 SHA256 c946f79e8d9834
 DIST netbeans-trunk-nightly-201506300001-src.zip 208032815 SHA256 ce244f0502b501486aba525f65b315bd424268cf5e73bf1c8ec8d7671afcc4b5 SHA512 d0d079b531c0d74a4ddc01f3afaa5448d1a9a6506ed3ae11ccf803d2bbab2601e6158dfab88be9408014daceed62a5ecba54f3d4372e535fb02147a167d825cc WHIRLPOOL a69f202dfb2106898986a5eca7ead2156669879ca97d4a41d475eabf7cea0be2859ff8bffeb1dad81a75cea80058cb2f52803c3d3679a5c0a46e2cc115ed6028
 DIST netbeans-trunk-nightly-201507010001-src.zip 208078805 SHA256 981fd8029e8ed54eeb163701a3f75b8f501ef478159c94fc22b1b2157e1b1a82 SHA512 80e41ea6451a356ee2a760cffd8e8424730bbc26ef7338da251bf1427bb540517153f0f5a6402d0e53ce5dda34b4c0bdf14ca4499b9ed0ae9e220c4debd193a5 WHIRLPOOL 3c324d6dea7f457075ce2b4fe6b5dab77b7059798ebec9d7975d3818844d00c24a683fa7e29c24837d6a2e2694764dddec8d562eabc8f43c94caf93061079a8f
 DIST netbeans-trunk-nightly-201507020001-src.zip 208088424 SHA256 1dde0fd1452c74c8e5e214c47c89a1d4672d54af0318421b736877dac6e5f357 SHA512 cd3a8fdaec765d79ce33c7c758ef27bdf32890caff2432e10290ef7edee28a34b7582bed49e79d0e71916ae1f192ed930000e2e27349fac75bb0239797a2f56b WHIRLPOOL 76bbf940d6e99ec97303fc104aca17e182476973d3e7511f256179b288d2f4db9944dc511b65886441051472b4b24c5ac590c84b294539d4b254d2b96effc139
+DIST netbeans-trunk-nightly-201507090001-src.zip 208130931 SHA256 5d73ccaddac610b27ab8aecaa95f5ef920a833291d2573daeb29f1f79eef1864 SHA512 6405717c46d506dbaa744fd33ba88daf3037e9d388482d808a6eeab292a42d99e76eea4494639725568239dc939444b0357a3f55b364a57256e93f5252efb7d5 WHIRLPOOL 9bddee309d416454d25c497074ad9e2ff23b1e52de90975bbea12412524fcf44e384eed0b14ee7f0f1ae1988523a74281bef1de58c14321aaefa4f9ef1bd9ba5
 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
@@ -84,5 +85,6 @@ EBUILD netbeans-profiler-9999_p20150629.ebuild 3478 SHA256 00861c8d79f057e90f93c
 EBUILD netbeans-profiler-9999_p20150630.ebuild 3478 SHA256 d5ae3a75018fa58353b211dadc8d76b14a5410e3b096a9b845a03424cc71124f SHA512 6416e179e7be1f0eb9ea6d3deb684c0935cddc1f765223c8d9947d0de9c6731391acc835890dcdc517c16d07d4f9d87841293af18d14e3faa7306427b862bafc WHIRLPOOL 94876f70ac4ced876cc9c99bec5dcf37dad4d8ff70ea8d5d83569b66d3e4f47344944bfc9fe8ec5718b7c8332c063d9eeff7ff33770ba5334c163eacf8409e0a
 EBUILD netbeans-profiler-9999_p20150701.ebuild 3478 SHA256 16937e72c913f4d55fb2f2c17350451f23271ba48f0960649b17eeaa558b1c7f SHA512 ca381eb0bbe5cfd36e8acbd9269c3b097eca75cd6b05e79cedec1818c32ffc8b7bc0b51438a010764ffcc1ed230e30e1f32e7e5fcece5aeb848e08b09bcd03c1 WHIRLPOOL b16c18ce4f2b6f2c8a7baf24290edeac47079ab1b6bda73b0f99f04a4d61fa1e855f62348f2da406c55063f11205a18f472476082b9602d8c7fb7e1d440a74a3
 EBUILD netbeans-profiler-9999_p20150702.ebuild 3478 SHA256 dc9889a9e8ec967f23823c4a8c095e6c40709f01c16ee145b07861649472d712 SHA512 f5de4d08b55c453a9ffaf2d294376c49d0bb615b8c2083d21eedafa53fc7e504cf41c9d7e33e6be6dfc62be641c3c1d363b99e4ba85db12282e9a0afe9cf9172 WHIRLPOOL 5c061ac20f3f5d331add74cc318fc740879fb7536dacbbae5730c338ddf007431ef646126f350a2b595b43f0d1487984da0c388e4c978391a4d1ea69fc744241
-MISC ChangeLog 173830 SHA256 a9d422a331f19b6b49c020ae6f876db50c6555540075e540da9ced3dcdab4eb5 SHA512 d12e13bb0c2d6f42ab5236287622ad174ddb54584d6d800ac91e95b6a0e5554d8dce1f13a825f9892f8f4b08f96617f8c4ba533020e1e8294c4d5500f577d8c6 WHIRLPOOL efacd7a7556901d66d3d2145328803514447b738d1bbc5ef916e5ee12179708b774e17d3daa7d2eb1d136de6c0ba5f21e8b4378a6aa4152bef86768060c45247
+EBUILD netbeans-profiler-9999_p20150709.ebuild 3478 SHA256 ee0b7000e1730b10961fc50db6ac4463dcc475e0438ea17130a3392f19b36df2 SHA512 c8726e695e2143ec63bf7a43c6d8e85b67fa50b0b3a37564572deabf20cc96d6afb6bf120e9fc49582257550d06f62c119912a2410d891e0fda01144093c4010 WHIRLPOOL a08f709f66c683d02fe4943edbc59d438865c9843dcbb75ad3c4a357113395dbbd67ca1666272f14d7b583ab6d2d4bf1f42f1966981be6eae62329780eaa2000
+MISC ChangeLog 174008 SHA256 cebe4e46bd9fef0abe31f4a46d5819fb4ea029133613423bfee5fc572520d43a SHA512 3ad03e45c5003fd83ce73f95c13acf531b7b09aabc18994b2abac663d35932724a131eae1c8c314fe80337c0bae337144c87046922dafc73bb16a3bd4d920531 WHIRLPOOL 8f8e558fe3844cc1b996ef8361e0ddf40eb05db2e4c8cbaed9fea1849ba194eb730dc0c13e8ee347121061943d402e00cd216fc576658aa6963599ae28350f0f
 MISC metadata.xml 251 SHA256 5a4ff53a9862390a48d45c79be24086646e7a6ff0c5bdf0fcb799d0871299003 SHA512 04153cbd9776ad56a94d6a47d043df15d082d8888df8658f18d0d4b659c6c0526ab3a9b22ccbe2471091bf2d8165f224854bc99c51f3664aaf350ccb93532a7c WHIRLPOOL 2ee8a646c6e23bc46c72cac0ecb5cfe43720ec42404ddaeed8ab1b59d139b3d5c1a94764de847f979da978c001c9f02f709d663a68eeea64d19e88f1fefbca43

diff --git a/dev-java/netbeans-profiler/netbeans-profiler-9999_p20150709.ebuild b/dev-java/netbeans-profiler/netbeans-profiler-9999_p20150709.ebuild
new file mode 100644
index 0000000..1b455b4
--- /dev/null
+++ b/dev-java/netbeans-profiler/netbeans-profiler-9999_p20150709.ebuild
@@ -0,0 +1,121 @@
+# Copyright 1999-2015 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/2015-07-09_00-01-56/zip/netbeans-trunk-nightly-201507090001-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 ea1d9db..7e4ef57 100644
--- a/dev-java/netbeans-webcommon/ChangeLog
+++ b/dev-java/netbeans-webcommon/ChangeLog
@@ -2,6 +2,12 @@
 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+*netbeans-webcommon-9999_p20150709 (09 Jul 2015)
+
+  09 Jul 2015; Miroslav Šulc <fordfrog@gentoo.org>
+  +netbeans-webcommon-9999_p20150709.ebuild:
+  updated to the latest sources
+
 *netbeans-webcommon-9999_p20150702 (02 Jul 2015)
 
   02 Jul 2015; Miroslav Šulc <fordfrog@gentoo.org>

diff --git a/dev-java/netbeans-webcommon/Manifest b/dev-java/netbeans-webcommon/Manifest
index 0961747..dfeee5f 100644
--- a/dev-java/netbeans-webcommon/Manifest
+++ b/dev-java/netbeans-webcommon/Manifest
@@ -51,6 +51,7 @@ DIST netbeans-trunk-nightly-201506290001-src.zip 208007970 SHA256 c946f79e8d9834
 DIST netbeans-trunk-nightly-201506300001-src.zip 208032815 SHA256 ce244f0502b501486aba525f65b315bd424268cf5e73bf1c8ec8d7671afcc4b5 SHA512 d0d079b531c0d74a4ddc01f3afaa5448d1a9a6506ed3ae11ccf803d2bbab2601e6158dfab88be9408014daceed62a5ecba54f3d4372e535fb02147a167d825cc WHIRLPOOL a69f202dfb2106898986a5eca7ead2156669879ca97d4a41d475eabf7cea0be2859ff8bffeb1dad81a75cea80058cb2f52803c3d3679a5c0a46e2cc115ed6028
 DIST netbeans-trunk-nightly-201507010001-src.zip 208078805 SHA256 981fd8029e8ed54eeb163701a3f75b8f501ef478159c94fc22b1b2157e1b1a82 SHA512 80e41ea6451a356ee2a760cffd8e8424730bbc26ef7338da251bf1427bb540517153f0f5a6402d0e53ce5dda34b4c0bdf14ca4499b9ed0ae9e220c4debd193a5 WHIRLPOOL 3c324d6dea7f457075ce2b4fe6b5dab77b7059798ebec9d7975d3818844d00c24a683fa7e29c24837d6a2e2694764dddec8d562eabc8f43c94caf93061079a8f
 DIST netbeans-trunk-nightly-201507020001-src.zip 208088424 SHA256 1dde0fd1452c74c8e5e214c47c89a1d4672d54af0318421b736877dac6e5f357 SHA512 cd3a8fdaec765d79ce33c7c758ef27bdf32890caff2432e10290ef7edee28a34b7582bed49e79d0e71916ae1f192ed930000e2e27349fac75bb0239797a2f56b WHIRLPOOL 76bbf940d6e99ec97303fc104aca17e182476973d3e7511f256179b288d2f4db9944dc511b65886441051472b4b24c5ac590c84b294539d4b254d2b96effc139
+DIST netbeans-trunk-nightly-201507090001-src.zip 208130931 SHA256 5d73ccaddac610b27ab8aecaa95f5ef920a833291d2573daeb29f1f79eef1864 SHA512 6405717c46d506dbaa744fd33ba88daf3037e9d388482d808a6eeab292a42d99e76eea4494639725568239dc939444b0357a3f55b364a57256e93f5252efb7d5 WHIRLPOOL 9bddee309d416454d25c497074ad9e2ff23b1e52de90975bbea12412524fcf44e384eed0b14ee7f0f1ae1988523a74281bef1de58c14321aaefa4f9ef1bd9ba5
 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
@@ -88,5 +89,6 @@ EBUILD netbeans-webcommon-9999_p20150629.ebuild 4997 SHA256 f14b99c4915382eb2f12
 EBUILD netbeans-webcommon-9999_p20150630.ebuild 4997 SHA256 adf8a4a34a983a3917ebf6df10009f672e3a07bfe57497ab16d815caf0bdbbeb SHA512 f69b3434ff0819803d905331986bf4f6e6c8aa0c54b6140cbc3044fbcdf1ffd2af7d3624e6df1c00736109ea8ec6145395516dda9e2de1acc75785be6c346fca WHIRLPOOL 28c886bd3e3de161633ad460f32cf824b6d93ffa97d521b01ead73500f1235f4e9433ec4dfd959c52897b6d578515cf88bd7e4a24932e0ac3083350592b47021
 EBUILD netbeans-webcommon-9999_p20150701.ebuild 4997 SHA256 c8733642848560cda5479db1293f41c956602f1db0ef00cbbbad442d0a8d162c SHA512 4eb58479d9ff9b0356c61364e8ad1267a55c86a90f554b6ea6c39eb919795cf6eb4e33f220df1309ecd350056a75458da6add775a8582b18ab21342c12d17659 WHIRLPOOL a38b615d296e72b5e181fc347fecb70fc1b1e7fbc4f51724cc87c31c5dd8101565a9c1f09376a94ba5f97be40540807514416893a9d337e75315de587c815687
 EBUILD netbeans-webcommon-9999_p20150702.ebuild 4997 SHA256 e4808322c8bf5f22f4cd09798bce202f6d854988a6ccc6f7214b8bac2abb2c02 SHA512 b6c9890d23eb6e661cf10ba53944419cf312500a1ab464555659bd3b51fcc6b928242abd00cc0022f112a894d7579d683dd83cb39d7daa0fe2de933f3ba281d7 WHIRLPOOL 0767e54be177f5c52d51aea818c8a18d11585cc5555292e06329690652743644a29d6c2ee18c6f901b284910e5052ead227bc6f9a7f98b22f4316deab86f0fc0
-MISC ChangeLog 146980 SHA256 1972b273ae1cfe0da7a13453cba35e6937e5db6e29629fa36d0266128b3b48eb SHA512 e160f11ef1616217753eec393e2e2f8ab8c0cbbb2f0536ea9de130515542b8beec7983540c3759a9bd010caae6127296d4f1a6057b2fa91e13984e77373c2571 WHIRLPOOL 87ee00175864289edfa79b87269c68b446b57680388bd60c0489e80ff19ef8373954b910ba414cf338feb57c56609ef60b90b0e655362515d69de92979ed32f4
+EBUILD netbeans-webcommon-9999_p20150709.ebuild 4997 SHA256 6be8ae78858bb344611615fbb4a1255ae32d9d4017ada26de19cf71d4b66d755 SHA512 42421c943ace360c91b1dd4f19f1bbb7ba13cfb5db17c1590688641254f62d077e7df78773b7306b83fb2012d7d32fb6d52bf530ab8a0246db63979522faf8d1 WHIRLPOOL 1034f4bdff957059de2caf7e487ee9aaad353f074a8011d97c6304ac3cb5524706b6c622e37cc103bb531535c822761841655380b78910a415a4a67f61ba22c9
+MISC ChangeLog 147160 SHA256 f822324d084bc1d3ef2643782a3d96be9e22ce0821d447c7597f9373a7866da3 SHA512 de8245bd25c86e858a404140239b34ecb918091d01b1e9ce2c8a39a4a415dd5210ddf0db9aa0b4e15ed771e42ac2bc2590e467dcfa2d819e63312162aa10f6c9 WHIRLPOOL 64c6312e4f5384f44929af919e73df4bb20831254969b468f78604127ff8cf8acea60fdc3ac9cdddd9f0e20a98149a3acfe9e8883f809d741f5f2d3562a62f50
 MISC metadata.xml 251 SHA256 5a4ff53a9862390a48d45c79be24086646e7a6ff0c5bdf0fcb799d0871299003 SHA512 04153cbd9776ad56a94d6a47d043df15d082d8888df8658f18d0d4b659c6c0526ab3a9b22ccbe2471091bf2d8165f224854bc99c51f3664aaf350ccb93532a7c WHIRLPOOL 2ee8a646c6e23bc46c72cac0ecb5cfe43720ec42404ddaeed8ab1b59d139b3d5c1a94764de847f979da978c001c9f02f709d663a68eeea64d19e88f1fefbca43

diff --git a/dev-java/netbeans-webcommon/netbeans-webcommon-9999_p20150709.ebuild b/dev-java/netbeans-webcommon/netbeans-webcommon-9999_p20150709.ebuild
new file mode 100644
index 0000000..bbbc145
--- /dev/null
+++ b/dev-java/netbeans-webcommon/netbeans-webcommon-9999_p20150709.ebuild
@@ -0,0 +1,123 @@
+# Copyright 1999-2015 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/2015-07-09_00-01-56/zip/netbeans-trunk-nightly-201507090001-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 fb0558f..1285545 100644
--- a/dev-java/netbeans-websvccommon/ChangeLog
+++ b/dev-java/netbeans-websvccommon/ChangeLog
@@ -2,6 +2,12 @@
 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+*netbeans-websvccommon-9999_p20150709 (09 Jul 2015)
+
+  09 Jul 2015; Miroslav Šulc <fordfrog@gentoo.org>
+  +netbeans-websvccommon-9999_p20150709.ebuild:
+  updated to the latest sources
+
 *netbeans-websvccommon-9999_p20150702 (02 Jul 2015)
 
   02 Jul 2015; Miroslav Šulc <fordfrog@gentoo.org>

diff --git a/dev-java/netbeans-websvccommon/Manifest b/dev-java/netbeans-websvccommon/Manifest
index 9840cf1..130963e 100644
--- a/dev-java/netbeans-websvccommon/Manifest
+++ b/dev-java/netbeans-websvccommon/Manifest
@@ -46,6 +46,7 @@ DIST netbeans-trunk-nightly-201506290001-src.zip 208007970 SHA256 c946f79e8d9834
 DIST netbeans-trunk-nightly-201506300001-src.zip 208032815 SHA256 ce244f0502b501486aba525f65b315bd424268cf5e73bf1c8ec8d7671afcc4b5 SHA512 d0d079b531c0d74a4ddc01f3afaa5448d1a9a6506ed3ae11ccf803d2bbab2601e6158dfab88be9408014daceed62a5ecba54f3d4372e535fb02147a167d825cc WHIRLPOOL a69f202dfb2106898986a5eca7ead2156669879ca97d4a41d475eabf7cea0be2859ff8bffeb1dad81a75cea80058cb2f52803c3d3679a5c0a46e2cc115ed6028
 DIST netbeans-trunk-nightly-201507010001-src.zip 208078805 SHA256 981fd8029e8ed54eeb163701a3f75b8f501ef478159c94fc22b1b2157e1b1a82 SHA512 80e41ea6451a356ee2a760cffd8e8424730bbc26ef7338da251bf1427bb540517153f0f5a6402d0e53ce5dda34b4c0bdf14ca4499b9ed0ae9e220c4debd193a5 WHIRLPOOL 3c324d6dea7f457075ce2b4fe6b5dab77b7059798ebec9d7975d3818844d00c24a683fa7e29c24837d6a2e2694764dddec8d562eabc8f43c94caf93061079a8f
 DIST netbeans-trunk-nightly-201507020001-src.zip 208088424 SHA256 1dde0fd1452c74c8e5e214c47c89a1d4672d54af0318421b736877dac6e5f357 SHA512 cd3a8fdaec765d79ce33c7c758ef27bdf32890caff2432e10290ef7edee28a34b7582bed49e79d0e71916ae1f192ed930000e2e27349fac75bb0239797a2f56b WHIRLPOOL 76bbf940d6e99ec97303fc104aca17e182476973d3e7511f256179b288d2f4db9944dc511b65886441051472b4b24c5ac590c84b294539d4b254d2b96effc139
+DIST netbeans-trunk-nightly-201507090001-src.zip 208130931 SHA256 5d73ccaddac610b27ab8aecaa95f5ef920a833291d2573daeb29f1f79eef1864 SHA512 6405717c46d506dbaa744fd33ba88daf3037e9d388482d808a6eeab292a42d99e76eea4494639725568239dc939444b0357a3f55b364a57256e93f5252efb7d5 WHIRLPOOL 9bddee309d416454d25c497074ad9e2ff23b1e52de90975bbea12412524fcf44e384eed0b14ee7f0f1ae1988523a74281bef1de58c14321aaefa4f9ef1bd9ba5
 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
@@ -85,5 +86,6 @@ EBUILD netbeans-websvccommon-9999_p20150629.ebuild 2727 SHA256 9b96c8fd5529194d1
 EBUILD netbeans-websvccommon-9999_p20150630.ebuild 2727 SHA256 23cecff76caa19abab38fed424453171e24ec1352eec1e5d0fa479914dbdd67d SHA512 089ce03a414158cc5f23eb7befc40bf7b49bdd1071c1b54249dfbb0d6ee99545180b39d4c5a6417d3919a3dd60b200b86bf87417072cbd3b791c2ddfdde3c23e WHIRLPOOL 7481d5d8f26300d8f3f50ebbe8ee8bad6365ade983dc9a98909c3896bfa80ab95cdb1698b21b86f00f901a0e169e4d47f7e7bc7e6b94542866df14ae77080f79
 EBUILD netbeans-websvccommon-9999_p20150701.ebuild 2727 SHA256 687d252bfd85e68a899cfcbb8ff90249fd6d046066b56b7b89a0941b3a4e4821 SHA512 3ccf9e70469c91a2463c23106b36bc0685d3a97eaa54687cf59edbe6d2fc91cccb3adf957b28a571f3d46c337265f045eb4a9557cd4bf294c0f279398931fc45 WHIRLPOOL e4fbf73f4e79eb9803f7c964b3d7377412f6f3d990f273aa1097ff42a8402f0b2a2e04d7e4d5a013f8395c71b23cafead114e6a7b8d8cc064ba280b51c0166e4
 EBUILD netbeans-websvccommon-9999_p20150702.ebuild 2727 SHA256 de03556edecbcb00a44683b352d64d5bbf1fff560c24c2d4d05d1740a605566d SHA512 b5978b6366f7de2f0ef8c06a3965ce44ccb5429aaa642ec848a4e1c33945fe40c01da64005b54986cab886118771f7fd48b3e3ca8c1f7e047b54f6faf7272e65 WHIRLPOOL 0a7bf1f108d1b13cfc3634f6a438247fdd4f7c65ef180a8fc59a2bd59672df8790c729b27fa2ce3e16ddddc8d5eefbda2f3f5d11bbf6ffbe9f78cd5e7f1e82ec
-MISC ChangeLog 182184 SHA256 28966dd44615017f3ef0ec5a32d97417ee317deaac6ae1eaea78704e3aaa5e81 SHA512 1b7426df4ec89180bb04895120f0e2a4e5eda416fb68e7f3ea02b8bafc3fa2e65f1b50ad4807babf33d3553b10b3a626de93f3753b4dbc703e895ef3a43fac7b WHIRLPOOL 51a3bf672907e02612f90936113bb1e2eca17a9270e5a1a7bdfff1c776fe25bac4993d219255a140d3c98516b986e2d1e0c7501bfc0e5073e93e337972f9e66b
+EBUILD netbeans-websvccommon-9999_p20150709.ebuild 2727 SHA256 64f3c9d0e68e2cdf974bfbb729df357e79b4123b0da1945751a2a6d998453c95 SHA512 ef336e95e690f05c6aad1e5e3050dc78cd75ac4c04f0478727d73b9250fc278a8bc03aaf2e47872cf26e270e5aa274fa073c2af1447e10a2ce5e395c9ce90acf WHIRLPOOL a45d45c61b8763a58d21bf84cee9c3849aee7652898d0e59607d8133d95424242b19971260effe45c0bd429681f249ed16cf4e9538287eaa68e56fb29777eec2
+MISC ChangeLog 182370 SHA256 bb6a611ffc5d5a6333fe19973f8b6707681f5ad8a6d820c63477aee8ba8d002d SHA512 f91316ca7ec5c90bf28bde6dd06387f3d4db6f944337384e0e64568cdc8f42183ba653f33b5f6f741e86f4cfc577978cfc2c08a501fca0a456b2dd489c68690d WHIRLPOOL f9d49d89a95840a20d31de0a1446d4fcbdd47ac660d326a7fd697ff57db1238347e1862af2e7427bc10be9891c286aac5e73ac4cb1fcb617da0a6551ab1e9b59
 MISC metadata.xml 251 SHA256 5a4ff53a9862390a48d45c79be24086646e7a6ff0c5bdf0fcb799d0871299003 SHA512 04153cbd9776ad56a94d6a47d043df15d082d8888df8658f18d0d4b659c6c0526ab3a9b22ccbe2471091bf2d8165f224854bc99c51f3664aaf350ccb93532a7c WHIRLPOOL 2ee8a646c6e23bc46c72cac0ecb5cfe43720ec42404ddaeed8ab1b59d139b3d5c1a94764de847f979da978c001c9f02f709d663a68eeea64d19e88f1fefbca43

diff --git a/dev-java/netbeans-websvccommon/netbeans-websvccommon-9999_p20150709.ebuild b/dev-java/netbeans-websvccommon/netbeans-websvccommon-9999_p20150709.ebuild
new file mode 100644
index 0000000..70b5362
--- /dev/null
+++ b/dev-java/netbeans-websvccommon/netbeans-websvccommon-9999_p20150709.ebuild
@@ -0,0 +1,94 @@
+# Copyright 1999-2015 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/2015-07-09_00-01-56/zip/netbeans-trunk-nightly-201507090001-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 d53d1c4..deae22b 100644
--- a/dev-util/netbeans/ChangeLog
+++ b/dev-util/netbeans/ChangeLog
@@ -2,6 +2,12 @@
 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+*netbeans-9999_p20150709 (09 Jul 2015)
+
+  09 Jul 2015; Miroslav Šulc <fordfrog@gentoo.org>
+  +netbeans-9999_p20150709.ebuild:
+  updated to the latest sources
+
 *netbeans-9999_p20150702 (02 Jul 2015)
 
   02 Jul 2015; Miroslav Šulc <fordfrog@gentoo.org>

diff --git a/dev-util/netbeans/Manifest b/dev-util/netbeans/Manifest
index a97460a..8d79b59 100644
--- a/dev-util/netbeans/Manifest
+++ b/dev-util/netbeans/Manifest
@@ -53,6 +53,7 @@ DIST netbeans-trunk-nightly-201506290001-src.zip 208007970 SHA256 c946f79e8d9834
 DIST netbeans-trunk-nightly-201506300001-src.zip 208032815 SHA256 ce244f0502b501486aba525f65b315bd424268cf5e73bf1c8ec8d7671afcc4b5 SHA512 d0d079b531c0d74a4ddc01f3afaa5448d1a9a6506ed3ae11ccf803d2bbab2601e6158dfab88be9408014daceed62a5ecba54f3d4372e535fb02147a167d825cc WHIRLPOOL a69f202dfb2106898986a5eca7ead2156669879ca97d4a41d475eabf7cea0be2859ff8bffeb1dad81a75cea80058cb2f52803c3d3679a5c0a46e2cc115ed6028
 DIST netbeans-trunk-nightly-201507010001-src.zip 208078805 SHA256 981fd8029e8ed54eeb163701a3f75b8f501ef478159c94fc22b1b2157e1b1a82 SHA512 80e41ea6451a356ee2a760cffd8e8424730bbc26ef7338da251bf1427bb540517153f0f5a6402d0e53ce5dda34b4c0bdf14ca4499b9ed0ae9e220c4debd193a5 WHIRLPOOL 3c324d6dea7f457075ce2b4fe6b5dab77b7059798ebec9d7975d3818844d00c24a683fa7e29c24837d6a2e2694764dddec8d562eabc8f43c94caf93061079a8f
 DIST netbeans-trunk-nightly-201507020001-src.zip 208088424 SHA256 1dde0fd1452c74c8e5e214c47c89a1d4672d54af0318421b736877dac6e5f357 SHA512 cd3a8fdaec765d79ce33c7c758ef27bdf32890caff2432e10290ef7edee28a34b7582bed49e79d0e71916ae1f192ed930000e2e27349fac75bb0239797a2f56b WHIRLPOOL 76bbf940d6e99ec97303fc104aca17e182476973d3e7511f256179b288d2f4db9944dc511b65886441051472b4b24c5ac590c84b294539d4b254d2b96effc139
+DIST netbeans-trunk-nightly-201507090001-src.zip 208130931 SHA256 5d73ccaddac610b27ab8aecaa95f5ef920a833291d2573daeb29f1f79eef1864 SHA512 6405717c46d506dbaa744fd33ba88daf3037e9d388482d808a6eeab292a42d99e76eea4494639725568239dc939444b0357a3f55b364a57256e93f5252efb7d5 WHIRLPOOL 9bddee309d416454d25c497074ad9e2ff23b1e52de90975bbea12412524fcf44e384eed0b14ee7f0f1ae1988523a74281bef1de58c14321aaefa4f9ef1bd9ba5
 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
@@ -92,5 +93,6 @@ EBUILD netbeans-9999_p20150629.ebuild 7216 SHA256 f9f26e516ca4e7c8fd31327f0740d3
 EBUILD netbeans-9999_p20150630.ebuild 7216 SHA256 56768fd131b7b6a996204a8ec45d55fce430e19bba13219244543b1a387f1820 SHA512 b4133e9bb403be9e2cd2c19b12982e54b0e16d22ddecbc59358bb0faefa8205ab02810483145dfbed726b584744a7bbd22be3f2f2d07ce4bb4adb3ac345bc402 WHIRLPOOL 7ebbadaf364151b482f9fa41d2684eb2d2acf6589d52489025796cc6f7fd9b685c7f4b160a4a14bca88a1fcd0f6cb4684eb568b498e57a7d618ba14ff82ce7d9
 EBUILD netbeans-9999_p20150701.ebuild 7216 SHA256 044fd88c20b24aa8f46c7f89197733c72ebac7505d5b85d7f0cbd38f1bda58e7 SHA512 84731e001ca310c5a70fdbdd124227c4a47cda284a1b997792d9dd27ae6b62d4dd22f5523f3a5e9dbc17756996b2c63f113cd6058920129aed5b349f2de86410 WHIRLPOOL 4b8571d39ab72f0473920d5300d65fb21bd59079fed695f0d74d52b41bbabbbf696e32569ffdee11f6495a8de44d1877d190aa58de62c2a0eabddfb58a61601d
 EBUILD netbeans-9999_p20150702.ebuild 7216 SHA256 18f8a7c718657f023b2c124491d788ad1a9f0c4bce99a7f43a9e90a8a6984fbc SHA512 c8eda692d7db8f8e3788c88df6878efdad8b6836ece8bab4beac311b64f3d485301abb01b98d884359504a12ebc9df46a82cbdb26b975565f6e66865e960d9ff WHIRLPOOL bffd1719b3ccfd675a104786a4344cf036de1873c1000d876d9a9a81906f8fdecf7d1bd66303a8c2a8690424e5408796869ca6e47434463d6564b1476575244f
-MISC ChangeLog 154807 SHA256 abec9cc390f64894b7323ce13df39aa1e34e11fca4421e11bf5a4a41751be22d SHA512 3317c5d9d5375c5202cf67b66a8ec96c44d0d4c1e5f2276038809e16e1471597e0b81df10bba309b376b266751d92b8ff71d5a3abf65070087cc02d3b1cee90e WHIRLPOOL 9c71ea1d416885ee6b50fa404bfd1aa27796846ccb648d0697a20ccbd25759f5a3d109ea7e80f0ce31f99a3c517e8c417373dae90be39a825824bc5f01e996ad
+EBUILD netbeans-9999_p20150709.ebuild 7216 SHA256 be1f77984016bf0ae981d31f3474e862db9b85f537548fd9766cdaef8e0f8251 SHA512 261719d70ee2938bb0d9e1e8d89a754c91f6d70cff3e1bc2d1eed36919ba568abd32d13d81cb74650f69df4bab372dc1b87613ec3cdbff6b7b26532112560100 WHIRLPOOL 610aeceeeee34dc90fdcea15278d14a7ee23cbcd3117f593391a457259264a8251da8d9fe9fd934bac119d722948e17dbdc98f3bacd586aad8bd0772771e0aa1
+MISC ChangeLog 154967 SHA256 2ae38d02356fa58de9d73c91734c9d5013e581c964742247d58fc8a3b89e2c85 SHA512 a1951311c65590c467c2f8c57ee61a5a4dbd2e38505fbeefc958c98399948f2ed5ff00afd3bb5b3d1e55c2c77113ed0f1b364760ef690d56d9edaa79ded20035 WHIRLPOOL 5c8290d8c165ab76ed2006f0d10108e25aba9c9219a88a40f27c97855f4f4e6a68f83489a230637b7b5c1786ff4b657a59bc2dde0bf0a13ba9adaeb5bdcb158b
 MISC metadata.xml 333 SHA256 a7c289d7be537b4c51bd8100bca0d8a40ceb5fb011942bbd1b286841cf3c1d0a SHA512 3f730fc27f893489524053e81a465519037a68e297f02a5d6400f85f8bfd8a20006e5515a135b8a5779ebf5951a661d99aaa8bf3b9b96141f863e134dba2265e WHIRLPOOL d37106234351185946f6dc870e9b77babd38bed88673771949d26d176d8dad4071be5f2c59bf72b139a6a35c899c2c7ac9ffde1c7b4885135d52c821780cf3d2

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


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

only message in thread, other threads:[~2015-07-09 11:29 UTC | newest]

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

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