public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
Search results ordered by [date|relevance]  view[summary|nested|Atom feed]
thread overview below | download mbox.gz: |
* [gentoo-commits] dev/fordfrog:master commit in: dev-java/netbeans-mobility/, dev-java/netbeans-groovy/, ...
@ 2012-08-29 12:34 99% Miroslav Šulc
  0 siblings, 0 replies; 1+ results
From: Miroslav Šulc @ 2012-08-29 12:34 UTC (permalink / raw
  To: gentoo-commits

commit:     1b338bc0a3854a14773f87efcf2bd9b90163a6d1
Author:     Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
AuthorDate: Wed Aug 29 12:34:18 2012 +0000
Commit:     Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
CommitDate: Wed Aug 29 12:34:18 2012 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=dev/fordfrog.git;a=commit;h=1b338bc0

netbeans: bumped to latest nightly sources

---
 dev-java/netbeans-apisupport/ChangeLog             |    6 +
 dev-java/netbeans-apisupport/Manifest              |    4 +-
 .../netbeans-apisupport-9999_p20120829.ebuild      |  107 ++++++
 dev-java/netbeans-cnd/ChangeLog                    |    6 +
 dev-java/netbeans-cnd/Manifest                     |    4 +-
 .../netbeans-cnd-9999_p20120829.ebuild             |  123 +++++++
 dev-java/netbeans-dlight/ChangeLog                 |    6 +
 dev-java/netbeans-dlight/Manifest                  |    4 +-
 .../netbeans-dlight-9999_p20120829.ebuild          |   97 ++++++
 dev-java/netbeans-enterprise/ChangeLog             |    6 +
 dev-java/netbeans-enterprise/Manifest              |    4 +-
 .../netbeans-enterprise-9999_p20120829.ebuild      |  266 +++++++++++++++
 dev-java/netbeans-ergonomics/ChangeLog             |    6 +
 dev-java/netbeans-ergonomics/Manifest              |    4 +-
 .../netbeans-ergonomics-9999_p20120829.ebuild      |  102 ++++++
 dev-java/netbeans-groovy/ChangeLog                 |    6 +
 dev-java/netbeans-groovy/Manifest                  |    4 +-
 .../netbeans-groovy-9999_p20120829.ebuild          |  107 ++++++
 dev-java/netbeans-harness/ChangeLog                |    6 +
 dev-java/netbeans-harness/Manifest                 |    4 +-
 .../netbeans-harness-9999_p20120829.ebuild         |  113 +++++++
 dev-java/netbeans-ide/ChangeLog                    |    6 +
 dev-java/netbeans-ide/Manifest                     |    5 +-
 .../netbeans-ide-9999_p20120829.ebuild             |  344 ++++++++++++++++++++
 dev-java/netbeans-java/ChangeLog                   |    6 +
 dev-java/netbeans-java/Manifest                    |    4 +-
 .../netbeans-java-9999_p20120829.ebuild            |  258 +++++++++++++++
 dev-java/netbeans-javacard/ChangeLog               |    6 +
 dev-java/netbeans-javacard/Manifest                |    4 +-
 .../netbeans-javacard-9999_p20120829.ebuild        |  130 ++++++++
 dev-java/netbeans-javadoc/ChangeLog                |    6 +
 dev-java/netbeans-javadoc/Manifest                 |    4 +-
 .../netbeans-javadoc-9999_p20120829.ebuild         |  160 +++++++++
 dev-java/netbeans-javafx/ChangeLog                 |    6 +
 dev-java/netbeans-javafx/Manifest                  |    4 +-
 .../netbeans-javafx-9999_p20120829.ebuild          |  116 +++++++
 dev-java/netbeans-mobility/ChangeLog               |    6 +
 dev-java/netbeans-mobility/Manifest                |    4 +-
 .../netbeans-mobility-9999_p20120829.ebuild        |  150 +++++++++
 dev-java/netbeans-nb/ChangeLog                     |    6 +
 dev-java/netbeans-nb/Manifest                      |    4 +-
 .../netbeans-nb/netbeans-nb-9999_p20120829.ebuild  |  149 +++++++++
 dev-java/netbeans-php/ChangeLog                    |    6 +
 dev-java/netbeans-php/Manifest                     |    4 +-
 .../netbeans-php-9999_p20120829.ebuild             |  123 +++++++
 dev-java/netbeans-platform/ChangeLog               |    6 +
 dev-java/netbeans-platform/Manifest                |    4 +-
 .../netbeans-platform-9999_p20120829.ebuild        |  127 +++++++
 dev-java/netbeans-profiler/ChangeLog               |    6 +
 dev-java/netbeans-profiler/Manifest                |    4 +-
 .../netbeans-profiler-9999_p20120829.ebuild        |  114 +++++++
 dev-java/netbeans-webcommon/ChangeLog              |    6 +
 dev-java/netbeans-webcommon/Manifest               |    4 +-
 .../netbeans-webcommon-9999_p20120829.ebuild       |   95 ++++++
 dev-java/netbeans-websvccommon/ChangeLog           |    6 +
 dev-java/netbeans-websvccommon/Manifest            |    4 +-
 .../netbeans-websvccommon-9999_p20120829.ebuild    |   95 ++++++
 dev-util/netbeans/ChangeLog                        |    6 +
 dev-util/netbeans/Manifest                         |    4 +-
 dev-util/netbeans/netbeans-9999_p20120829.ebuild   |  262 +++++++++++++++
 60 files changed, 3219 insertions(+), 20 deletions(-)

diff --git a/dev-java/netbeans-apisupport/ChangeLog b/dev-java/netbeans-apisupport/ChangeLog
index 82bbd4d..c2b3ca4 100644
--- a/dev-java/netbeans-apisupport/ChangeLog
+++ b/dev-java/netbeans-apisupport/ChangeLog
@@ -2,6 +2,12 @@
 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+*netbeans-apisupport-9999_p20120829 (29 Aug 2012)
+
+  29 Aug 2012; Miroslav Šulc <fordfrog@gentoo.org>
+  +netbeans-apisupport-9999_p20120829.ebuild:
+  bumped to latest nightly sources
+
 *netbeans-apisupport-9999_p20120828 (28 Aug 2012)
 
   28 Aug 2012; Miroslav Šulc <fordfrog@gentoo.org>

diff --git a/dev-java/netbeans-apisupport/Manifest b/dev-java/netbeans-apisupport/Manifest
index af8d57f..a70fbff 100644
--- a/dev-java/netbeans-apisupport/Manifest
+++ b/dev-java/netbeans-apisupport/Manifest
@@ -9,6 +9,7 @@ DIST netbeans-trunk-nightly-201208070001-src.zip 175050650 SHA256 6cc7938b60458b
 DIST netbeans-trunk-nightly-201208240001-src.zip 173184633 SHA256 37bee7f24459235ca364c051e5163e64aea8d50c40dac333ccd6000846334511 SHA512 59224c5758eb00b8513271db3522eaff3649e097c83de37e70e715c5bee05d1ef1b259308eb462b281b197d60526f9d443dc5030a945549764905ba348f454e5 WHIRLPOOL 09b049f786727c41df14a1633ba1da2488108bc5156e573a32acb2bc10a1adf3f853dcefe3f3580ec56c09778c05c07e0e146cfb1155583f374cc4b8160187f8
 DIST netbeans-trunk-nightly-201208270001-src.zip 173339254 SHA256 6acc27ac8ec5f932548b14783754197d3004f8d7f8e7185660d15679739c2a2c SHA512 dfce408a419a2be3db18c1ce88b9dd0110b8a5116ecad680082f40be80d2658e755390c3ccbefd4bf782e782db025fabf4b49592073f421cc5579397057010de WHIRLPOOL 5916bb9a30045ee363040c4300c6686e0ceb4ec948bf32eeb3690949fa565f16a9421cb12e8368ff92d1fd588bcb78b232b74ada3c4df82f224a8bde7b11be1b
 DIST netbeans-trunk-nightly-201208280001-src.zip 173433779 SHA256 628944f4f671bf648ae4e170731412935bec5cbe319bcbd3709e09d15ab1e3e0 SHA512 6c5bbcb636be5b5096c410700a7a934487359ddab32520e813c16ab4b383da6377f99d5be52d3e9ae35d84770075776035e4f8fa8d7a946b382ca223dfc84ff7 WHIRLPOOL 5755f3652dafdeb738d55f564c15cc160fbfa6f12a7fb71599dff9c8be4228e7aa096fb0080243cfd895800e5be5f051ceac75cd8b2bf6e5a5a67e3d796b3f73
+DIST netbeans-trunk-nightly-201208290001-src.zip 173450421 SHA256 5fffbda1fd5a267cdb96cf0f89fc4b8fb883d3c68af8357f48982d2a26f86cec SHA512 1d8aa09afa64347a697669c2faac9bcafb9a9116c0441609e79c9368b711051bc12faa8f10753a2323bcae5df56dc49695de907a8e6587a50b7d5f9d4ed83603 WHIRLPOOL 00a5a3c20f8d32ad5552cf3f01e110ecff26c117e3ce79e45e55640755a87bcf7dbefa3de9dfc1fc2885ddba00f981b3cbef589a30222002c045c54b465875c3
 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
@@ -16,5 +17,6 @@ EBUILD netbeans-apisupport-9999_p20120807.ebuild 3166 SHA256 144fdedcda3176896b6
 EBUILD netbeans-apisupport-9999_p20120824.ebuild 3166 SHA256 bec95de09e95dda591efc43ca7da2944e8a2d6ba88d31e3bc93a41d50fcfce0f SHA512 19e7a7a5e9eb581a7e560c860e67f59182bc39e071ca6b2a8d6da6d73902ab8e99648a75b23858f234a9300ffb16f6efa63911466f2bbaf46ca9c26ee21d595e WHIRLPOOL b24f8d6ed4d70769ed32f084186eb4c977087633c7e02415db9d19eed8e6eacdcffbe4de37f8e2f30b18637300b9bc15271c9cd0457590cfb59d2f1dad9476e4
 EBUILD netbeans-apisupport-9999_p20120827.ebuild 3166 SHA256 7e61ba77fdd61158d4194ad378da68f0e360930985ce6270a471d944e7011a49 SHA512 6e9b2ec687ec10fe0b9fea3169843fb676cef38b40d48594548fb7df4d009f0cd49b450ded4df71617311dd4d6c17803133fe9a17e70e86c53bd4157fb969ed3 WHIRLPOOL 2307fd9eb1bb14bda0ab1db7a0d78e9c98415abdb9c1c0112782553fd6a6182e14f0562719bd98111179c9eec05ac8c02dbe4590e6add04f19f433a512c397be
 EBUILD netbeans-apisupport-9999_p20120828.ebuild 3166 SHA256 732ad0ffb76c9c0ad2e999a3e63da02a9da7790f40e1048687e7d0ffb5d4bedd SHA512 cc074fd17caf521e24827a0558a19ac41154d58ea60bad1a39fe139c88b38da80cb5ac20b3610c5529fa4c47ac8b1b780badff02f58fec63acf0de08c24d033b WHIRLPOOL 78e7e4355710ab52248096079387bf60633867e6642e613acff1c25ce9c675e750e664720117a9319afe3eb32c3d7137afe87d93de84f727c20b388617212cc7
-MISC ChangeLog 43472 SHA256 a260e90ce45fc246f38dd66e2c379657fe77a0c0e897eb96df3d52d1acac706b SHA512 687f5bd552a712be0e04ab035295689697a6eaa332d785fe04cda998e0b657ebd8db25523ead5a098d9e20ee7715c4d84a100e90c1a85c156e091976ebe5c983 WHIRLPOOL 5374f3f621cad60f1d07dc042a8b7e55a9bcd50f2cd139634f53fa2857f9cbe2c33787c1bff2507ee8c04f64b0d432e4371bf01b4bbf67da22c86d6390950854
+EBUILD netbeans-apisupport-9999_p20120829.ebuild 3166 SHA256 ed4377f6e6aeea2a9ec9382679b01afe21974682909bbc3ee7111608c6dcbb89 SHA512 33b479194432fab1dd1ad3d5a52e53774ecb5539fa5ca7669c439f4341e0d90457da1b9347a054e03c59fb80786b301527e31af559a6f22068a8a659e7ba4b4c WHIRLPOOL 66930dcb5a18f34b47b8f3865f267bb440133f257b60902e3b716fdcdf60cf49148a8b3dee81cabcb2b0d619175ca7e8bc687c019256b34ba238eeb1f00f06e8
+MISC ChangeLog 43657 SHA256 2b49ce4b3a63490cc2ed92787b090da9420943629b512719407a462d627f9253 SHA512 af2f413aef2b43eec404605496f7c1a5e5f370b815528d3e3b3e55a1c2455b7e264b6280601c97b1165b258190d26d34576ed8da0cf0714619e66a964bc771df WHIRLPOOL 04d011e2e4b84a388497e1094e6c42b16b664f1f7c509d2f1d0231e439435a3a8e12d335c6aa837987a6a1c46301aacc1424139a0ec2b0f95a4f57980c3adee6
 MISC metadata.xml 251 SHA256 5a4ff53a9862390a48d45c79be24086646e7a6ff0c5bdf0fcb799d0871299003 SHA512 04153cbd9776ad56a94d6a47d043df15d082d8888df8658f18d0d4b659c6c0526ab3a9b22ccbe2471091bf2d8165f224854bc99c51f3664aaf350ccb93532a7c WHIRLPOOL 2ee8a646c6e23bc46c72cac0ecb5cfe43720ec42404ddaeed8ab1b59d139b3d5c1a94764de847f979da978c001c9f02f709d663a68eeea64d19e88f1fefbca43

diff --git a/dev-java/netbeans-apisupport/netbeans-apisupport-9999_p20120829.ebuild b/dev-java/netbeans-apisupport/netbeans-apisupport-9999_p20120829.ebuild
new file mode 100644
index 0000000..ba0bcd9
--- /dev/null
+++ b/dev-java/netbeans-apisupport/netbeans-apisupport-9999_p20120829.ebuild
@@ -0,0 +1,107 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="4"
+WANT_ANT_TASKS="ant-nodeps"
+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/2012-08-29_00-01-28/zip/netbeans-trunk-nightly-201208290001-src.zip"
+SRC_URI="${SOURCE_URL}
+	http://dev.gentoo.org/~fordfrog/distfiles/netbeans-9999-r7-build.xml.patch.bz2"
+LICENSE="|| ( CDDL GPL-2-with-linking-exception )"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+S="${WORKDIR}"
+
+CDEPEND="~dev-java/netbeans-harness-${PV}
+	~dev-java/netbeans-ide-${PV}
+	~dev-java/netbeans-java-${PV}
+	~dev-java/netbeans-platform-${PV}"
+DEPEND="virtual/jdk:1.6
+	app-arch/unzip
+	${CDEPEND}
+	dev-java/javahelp:0"
+RDEPEND=">=virtual/jdk-1.6
+	${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"
+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-r7-build.xml.patch.bz2
+}
+
+src_prepare() {
+	einfo "Deleting bundled class files..."
+	find -name "*.class" -type f | xargs rm -vf
+
+	epatch netbeans-9999-r7-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-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 3ca20eb..fc12b41 100644
--- a/dev-java/netbeans-cnd/ChangeLog
+++ b/dev-java/netbeans-cnd/ChangeLog
@@ -2,6 +2,12 @@
 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+*netbeans-cnd-9999_p20120829 (29 Aug 2012)
+
+  29 Aug 2012; Miroslav Šulc <fordfrog@gentoo.org>
+  +netbeans-cnd-9999_p20120829.ebuild:
+  bumped to latest nightly sources
+
 *netbeans-cnd-9999_p20120828 (28 Aug 2012)
 
   28 Aug 2012; Miroslav Šulc <fordfrog@gentoo.org>

diff --git a/dev-java/netbeans-cnd/Manifest b/dev-java/netbeans-cnd/Manifest
index 3baceef..9dc57db 100644
--- a/dev-java/netbeans-cnd/Manifest
+++ b/dev-java/netbeans-cnd/Manifest
@@ -18,6 +18,7 @@ DIST netbeans-trunk-nightly-201208070001-src.zip 175050650 SHA256 6cc7938b60458b
 DIST netbeans-trunk-nightly-201208240001-src.zip 173184633 SHA256 37bee7f24459235ca364c051e5163e64aea8d50c40dac333ccd6000846334511 SHA512 59224c5758eb00b8513271db3522eaff3649e097c83de37e70e715c5bee05d1ef1b259308eb462b281b197d60526f9d443dc5030a945549764905ba348f454e5 WHIRLPOOL 09b049f786727c41df14a1633ba1da2488108bc5156e573a32acb2bc10a1adf3f853dcefe3f3580ec56c09778c05c07e0e146cfb1155583f374cc4b8160187f8
 DIST netbeans-trunk-nightly-201208270001-src.zip 173339254 SHA256 6acc27ac8ec5f932548b14783754197d3004f8d7f8e7185660d15679739c2a2c SHA512 dfce408a419a2be3db18c1ce88b9dd0110b8a5116ecad680082f40be80d2658e755390c3ccbefd4bf782e782db025fabf4b49592073f421cc5579397057010de WHIRLPOOL 5916bb9a30045ee363040c4300c6686e0ceb4ec948bf32eeb3690949fa565f16a9421cb12e8368ff92d1fd588bcb78b232b74ada3c4df82f224a8bde7b11be1b
 DIST netbeans-trunk-nightly-201208280001-src.zip 173433779 SHA256 628944f4f671bf648ae4e170731412935bec5cbe319bcbd3709e09d15ab1e3e0 SHA512 6c5bbcb636be5b5096c410700a7a934487359ddab32520e813c16ab4b383da6377f99d5be52d3e9ae35d84770075776035e4f8fa8d7a946b382ca223dfc84ff7 WHIRLPOOL 5755f3652dafdeb738d55f564c15cc160fbfa6f12a7fb71599dff9c8be4228e7aa096fb0080243cfd895800e5be5f051ceac75cd8b2bf6e5a5a67e3d796b3f73
+DIST netbeans-trunk-nightly-201208290001-src.zip 173450421 SHA256 5fffbda1fd5a267cdb96cf0f89fc4b8fb883d3c68af8357f48982d2a26f86cec SHA512 1d8aa09afa64347a697669c2faac9bcafb9a9116c0441609e79c9368b711051bc12faa8f10753a2323bcae5df56dc49695de907a8e6587a50b7d5f9d4ed83603 WHIRLPOOL 00a5a3c20f8d32ad5552cf3f01e110ecff26c117e3ce79e45e55640755a87bcf7dbefa3de9dfc1fc2885ddba00f981b3cbef589a30222002c045c54b465875c3
 EBUILD netbeans-cnd-7.0.1.ebuild 4495 SHA256 35b1368456dd7495507a3a093e7e4a6d9caf21818138b9d600a8a97791b11670 SHA512 7ab3100736f554967bf1189ebec7f8c683fd8388bb2af44ca21c91735cc6fd50edabe9e746c4da7a6229af633a232f329ed94476438ae2388d2f3d1dac280a6f WHIRLPOOL 8ae4aaa530c2d2e1274b98f80d4207f823331ea8ff0e88bb8554e1e4780d3a667518aa9b684edc179729c63f3aa5e6a601d5b123d4e1e7c525b04168f9e96368
 EBUILD netbeans-cnd-7.1.2.ebuild 4111 SHA256 2bab21cf71c2cc0d76ee43fbc9edeafe2f56cbb4586e5a63656178ea51329485 SHA512 9ef84700b4463578aaf3754a078cb7a068ae71f3336095198f18aa9e80f59a7cea422c977b20f1187ce65b23566d903d435c0c290857767412cbe2624d0ef54b WHIRLPOOL 580d03a3f119fa7b59d1cad9a7be60620685bf2b969fb16f96c39398d5460324bfa86b2cd6d99011f70ac60d8055392035d521a6b32bed0de2c565545da78f2e
 EBUILD netbeans-cnd-7.2.ebuild 4094 SHA256 e375aa09005736867bd522db488c22f70ea1d27fdaf15efff18720bcee00dedf SHA512 fa3aa68f66408cef8bdfd5e54ffda3412e2e5a405652ae6002cc21b32d13d24ca925f1ba79b84ea93b0272901e4cbb266a77279ee60265b272c9721c8145a8d4 WHIRLPOOL bbbbb26a6379be503b89fd4621696f2b0379470242437e088c13ea7f8ae7901c47a8b380ccabffee420a6a63a1d14ec91dd2686dca3be4a5cc99d02923f14796
@@ -25,5 +26,6 @@ EBUILD netbeans-cnd-9999_p20120807.ebuild 4476 SHA256 ded81f592e00a347963d79bd19
 EBUILD netbeans-cnd-9999_p20120824.ebuild 4476 SHA256 0a1d19ad1505c076236db210a56756a3c7691981f8c35c7c358fc4a668b5cee7 SHA512 b9216b467c23a095f9199c912104e5a65dc8a731e6497ded3aad870d382822ed6d6c21e1b4562a3efc22de58542ad9150f220aaa7b61e352d2dc243ee8d15a61 WHIRLPOOL 0573689a3a480107806861e5b0350e395cd75b636eaa4500e3106025231fd57e013643d73a8f6298d5416315b46f4b456099bf06c2e53e455928a6308e46438d
 EBUILD netbeans-cnd-9999_p20120827.ebuild 4476 SHA256 b6f3f9c64863d3f96b66aff744ce7448829f7e61a55fcfaf938e51e63284f3a4 SHA512 355f56fc6fa4f180616bdd53cc824d68f10c0731142839519896d57197ed41a4725620e8bfcb2e467750aca758eb6a27e6e0c915c19bc4a2e14d17d5602f30e3 WHIRLPOOL 6d043216ce6e058bc92f888bcaed3a61358d954a57136915c32b3d35ebefc28b2f7f11dfab82b17b9dd2c83f7b13e94ac6d1145de07c011ad7c3fe275378d03c
 EBUILD netbeans-cnd-9999_p20120828.ebuild 4476 SHA256 8e2023a919aef23ca478cdfbbbf2077fcd4a811debebe64106c0cdc6144e08b8 SHA512 4c3d391876507827042f351a2c547f94f9ce2d2b7a1f46305c6eeabef9447ea0b59dbd31a62c913cae2fdc76ab6c2b6b145fecdbf0271c3eab1164ac7a6488da WHIRLPOOL 62d8d0f6e81e1dc16958554d5d14c01c30ade21e536de1317725b9e4fac8c29c932dd7af29e3486e178b17889a0b9c5d28b57012f29268fe22b59306b0828f12
-MISC ChangeLog 39975 SHA256 1d7abf46d2592022545a51d6cb6b175cc18a665371b411419a308416759e7194 SHA512 9ea58b85c16b9217f5f732688f2b6eac3bd56ee2e3cb2ee4e48c975285569bc41562e7eb06d344c1a408dc8f49c9a85796a0455398dfa4710362a518f255a2a8 WHIRLPOOL cbe02e74c0e1b97139651622c2ae5d4525bb4f68e8f6753b7c6f08f13baf579a6d0b9894ebd19393ec1cfd8dfc0dd68ab283fe1225634484f57a02cb5eeecaa1
+EBUILD netbeans-cnd-9999_p20120829.ebuild 4476 SHA256 ae5848d60fa65e306478531838c0f065a2d7f0d9493a627a55b7cd8167b17046 SHA512 55919a751095708eb81c1ea2c1e7423a644460fa18c535e16c255fdd6e234c03fe2298fd92651667d7034350d91edd15b2b584cd3d519731f5a5a00115700f9b WHIRLPOOL c4ff1303c4cdb28a5a7b62d38ed91248c19d717067b02f68659747bdf100da8edcfe6fed1b1c602a62f893b1af153f07efe446c8c22694ff48423f31f3d34112
+MISC ChangeLog 40146 SHA256 650539df627ed5ba0377eb0021390093310703ef3baf30d4c0e689ce44920f87 SHA512 74fb7b9635bfc91c962f725de02910b985f703cbc46b01e5a28786b437b42ada352b7697fa077bc288328e926f852ec2a4f1b2970e17771a21929d0a64388874 WHIRLPOOL c737e96673d935850b02e74434c27ace4284070da9626800d31d9c83dab8bbfa99e757333ff84a1beb6d428acd2d27241cb39f29ef0612d7f396d39e0a3aa460
 MISC metadata.xml 251 SHA256 5a4ff53a9862390a48d45c79be24086646e7a6ff0c5bdf0fcb799d0871299003 SHA512 04153cbd9776ad56a94d6a47d043df15d082d8888df8658f18d0d4b659c6c0526ab3a9b22ccbe2471091bf2d8165f224854bc99c51f3664aaf350ccb93532a7c WHIRLPOOL 2ee8a646c6e23bc46c72cac0ecb5cfe43720ec42404ddaeed8ab1b59d139b3d5c1a94764de847f979da978c001c9f02f709d663a68eeea64d19e88f1fefbca43

diff --git a/dev-java/netbeans-cnd/netbeans-cnd-9999_p20120829.ebuild b/dev-java/netbeans-cnd/netbeans-cnd-9999_p20120829.ebuild
new file mode 100644
index 0000000..de6c473
--- /dev/null
+++ b/dev-java/netbeans-cnd/netbeans-cnd-9999_p20120829.ebuild
@@ -0,0 +1,123 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="4"
+WANT_ANT_TASKS="ant-nodeps"
+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/2012-08-29_00-01-28/zip/netbeans-trunk-nightly-201208290001-src.zip"
+SRC_URI="${SOURCE_URL}
+	http://dev.gentoo.org/~fordfrog/distfiles/netbeans-9999-r7-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/C4CF9314A530E51B891D46DB65806A5A0ED240AF-cnd-build-trace-1.0.zip
+	http://hg.netbeans.org/binaries/84F10BEAA967E2896F0B43B0BBD08D834841F554-cnd-rfs-1.0.zip
+	http://hg.netbeans.org/binaries/A17998A985D048F3195B6ADE1A360440FCE30102-open-fortran-parser-0.7.1.2.zip"
+LICENSE="|| ( CDDL GPL-2-with-linking-exception )"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+S="${WORKDIR}"
+
+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.6
+	app-arch/unzip
+	>=dev-java/jna-3.4.0
+	${CDEPEND}
+	dev-java/javahelp:0"
+RDEPEND=">=virtual/jdk-1.6
+	${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"
+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-r7-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}"/C4CF9314A530E51B891D46DB65806A5A0ED240AF-cnd-build-trace-1.0.zip cnd.discovery/external/cnd-build-trace-1.0.zip || die
+	ln -s "${DISTDIR}"/84F10BEAA967E2896F0B43B0BBD08D834841F554-cnd-rfs-1.0.zip cnd.remote/external/cnd-rfs-1.0.zip || die
+	ln -s "${DISTDIR}"/A17998A985D048F3195B6ADE1A360440FCE30102-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-r7-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-3.4.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 b5a4c1b..2adb555 100644
--- a/dev-java/netbeans-dlight/ChangeLog
+++ b/dev-java/netbeans-dlight/ChangeLog
@@ -2,6 +2,12 @@
 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+*netbeans-dlight-9999_p20120829 (29 Aug 2012)
+
+  29 Aug 2012; Miroslav Šulc <fordfrog@gentoo.org>
+  +netbeans-dlight-9999_p20120829.ebuild:
+  bumped to latest nightly sources
+
 *netbeans-dlight-9999_p20120828 (28 Aug 2012)
 
   28 Aug 2012; Miroslav Šulc <fordfrog@gentoo.org>

diff --git a/dev-java/netbeans-dlight/Manifest b/dev-java/netbeans-dlight/Manifest
index c143e86..00a3405 100644
--- a/dev-java/netbeans-dlight/Manifest
+++ b/dev-java/netbeans-dlight/Manifest
@@ -12,6 +12,7 @@ DIST netbeans-trunk-nightly-201208070001-src.zip 175050650 SHA256 6cc7938b60458b
 DIST netbeans-trunk-nightly-201208240001-src.zip 173184633 SHA256 37bee7f24459235ca364c051e5163e64aea8d50c40dac333ccd6000846334511 SHA512 59224c5758eb00b8513271db3522eaff3649e097c83de37e70e715c5bee05d1ef1b259308eb462b281b197d60526f9d443dc5030a945549764905ba348f454e5 WHIRLPOOL 09b049f786727c41df14a1633ba1da2488108bc5156e573a32acb2bc10a1adf3f853dcefe3f3580ec56c09778c05c07e0e146cfb1155583f374cc4b8160187f8
 DIST netbeans-trunk-nightly-201208270001-src.zip 173339254 SHA256 6acc27ac8ec5f932548b14783754197d3004f8d7f8e7185660d15679739c2a2c SHA512 dfce408a419a2be3db18c1ce88b9dd0110b8a5116ecad680082f40be80d2658e755390c3ccbefd4bf782e782db025fabf4b49592073f421cc5579397057010de WHIRLPOOL 5916bb9a30045ee363040c4300c6686e0ceb4ec948bf32eeb3690949fa565f16a9421cb12e8368ff92d1fd588bcb78b232b74ada3c4df82f224a8bde7b11be1b
 DIST netbeans-trunk-nightly-201208280001-src.zip 173433779 SHA256 628944f4f671bf648ae4e170731412935bec5cbe319bcbd3709e09d15ab1e3e0 SHA512 6c5bbcb636be5b5096c410700a7a934487359ddab32520e813c16ab4b383da6377f99d5be52d3e9ae35d84770075776035e4f8fa8d7a946b382ca223dfc84ff7 WHIRLPOOL 5755f3652dafdeb738d55f564c15cc160fbfa6f12a7fb71599dff9c8be4228e7aa096fb0080243cfd895800e5be5f051ceac75cd8b2bf6e5a5a67e3d796b3f73
+DIST netbeans-trunk-nightly-201208290001-src.zip 173450421 SHA256 5fffbda1fd5a267cdb96cf0f89fc4b8fb883d3c68af8357f48982d2a26f86cec SHA512 1d8aa09afa64347a697669c2faac9bcafb9a9116c0441609e79c9368b711051bc12faa8f10753a2323bcae5df56dc49695de907a8e6587a50b7d5f9d4ed83603 WHIRLPOOL 00a5a3c20f8d32ad5552cf3f01e110ecff26c117e3ce79e45e55640755a87bcf7dbefa3de9dfc1fc2885ddba00f981b3cbef589a30222002c045c54b465875c3
 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
@@ -19,5 +20,6 @@ EBUILD netbeans-dlight-9999_p20120807.ebuild 2690 SHA256 7e0b3633718e9df94c85bf1
 EBUILD netbeans-dlight-9999_p20120824.ebuild 2690 SHA256 0ef95da04cbd06d4396decfe2d20c2a1070f4a1cde81109bc249fe037968b0a2 SHA512 66b74124271ac5fec978480deb01f59df8e00a04523672490de04106e45118e0786d9632bef002e4e317fb874727c30c99a80c38af08558c8fb0fe6a971397d2 WHIRLPOOL f687345d4212f8f8f685449cfe64e73c6a53a2176a754d3cc141e99e5bf78ebab6335c9a2f045563ca8a54036ea6ade21eef9a6ff8731010cd390bc177cd2181
 EBUILD netbeans-dlight-9999_p20120827.ebuild 2690 SHA256 7d6c32319c42111eab800e4641df2ef7de851dde96f0a3bae21b1785354c78c8 SHA512 1a0b6498d365582d9164256abe2e0b0838df1ab020cce290aac9713dd960e135d0a6ae3a406056582eb3b237ed0f57fcb47703510e7b52c04c18b11982235159 WHIRLPOOL 93b45b402ede495e2522bfc926fb88700bf494852a1dd99fc3bec406412ad4d9d10e633b1ace4ae335a06b8e90be7c0e5de57afeedc22a85dca011e1545a7cc7
 EBUILD netbeans-dlight-9999_p20120828.ebuild 2690 SHA256 5d60ea09a27fa266cf1ff1f592af611a90206bf1db89b816abf609d6469e377a SHA512 a5339dce2dd27c67a22e9273064a78d8d10a3c1a571bc4d7147f071dd44e687df10ab63071789e56f0b1f2f7b4825fbad33308e80da90cf7d25415562098560f WHIRLPOOL b347e28a422d47130f39796ca95f53f1336c04c092299d58de2fa4b130dde6f8abe5f20cb2211099f53f63e9d42336456c7c20ea5c96a61d64dd4f84777cea69
-MISC ChangeLog 41703 SHA256 50549b8d24b710fda1404ba82aa57297baa92c45dd7bd9865c03a1b4c60a9575 SHA512 2116019ee3329b0384c18c6b44f28e478fd34edaefaea3ca763214c925b418dcba60bdf01f86b3ea604ba49c09e4ce7b768d53b64dd51c942ca9878ecf922b51 WHIRLPOOL d2ee232aeabe360db25e945131b58a4e6e0b957973fea9ba8ffc978c30ada4585bfa89fdba37b17544f5381bcf06842717fa121962d7ea8a1fa6a58a994f0a8d
+EBUILD netbeans-dlight-9999_p20120829.ebuild 2690 SHA256 a03d1809eb90782b5343c1e580a9c36a310bad267e68d64cdf7c144aac311228 SHA512 0120ad5b47e64333ad65b197a7266cf1aeaeb393454388b88e265ff7ab7f61dfe8d815073aea3ef592c2e3ab105446368b86a3921684398db15fc993a4700fb6 WHIRLPOOL c8a6118718a35783e47ca74aa091007329e258103972829b5bddc130e44f99a61fb24919783d0f6c1944cbcbc5b35c40a2262654339cb3790c9e98717e7edf7e
+MISC ChangeLog 41880 SHA256 8177f51a2360f06aa9005419e2614ecb38b4507636c77104f8ea755fb018e3b9 SHA512 0378e270e58e6b8834ee7020ec3f5aa8ba40cb4d6e47f19cb871fd284544f2f8ea81f49717c57abfff05cfb8f21da1b8938146777c4ecc92ee30742701d56ef9 WHIRLPOOL dcf8abc5d6e75f6779c5a0e79ccabf60d1338424e567ba8321c0e6685761d8c6871c7e9e0c9b41c76c1225c4899ab362338644fd04cd9015c12c5e694c4041d8
 MISC metadata.xml 251 SHA256 5a4ff53a9862390a48d45c79be24086646e7a6ff0c5bdf0fcb799d0871299003 SHA512 04153cbd9776ad56a94d6a47d043df15d082d8888df8658f18d0d4b659c6c0526ab3a9b22ccbe2471091bf2d8165f224854bc99c51f3664aaf350ccb93532a7c WHIRLPOOL 2ee8a646c6e23bc46c72cac0ecb5cfe43720ec42404ddaeed8ab1b59d139b3d5c1a94764de847f979da978c001c9f02f709d663a68eeea64d19e88f1fefbca43

diff --git a/dev-java/netbeans-dlight/netbeans-dlight-9999_p20120829.ebuild b/dev-java/netbeans-dlight/netbeans-dlight-9999_p20120829.ebuild
new file mode 100644
index 0000000..17a1366
--- /dev/null
+++ b/dev-java/netbeans-dlight/netbeans-dlight-9999_p20120829.ebuild
@@ -0,0 +1,97 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="4"
+WANT_ANT_TASKS="ant-nodeps"
+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/2012-08-29_00-01-28/zip/netbeans-trunk-nightly-201208290001-src.zip"
+SRC_URI="${SOURCE_URL}
+	http://dev.gentoo.org/~fordfrog/distfiles/netbeans-9999-r7-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-platform-${PV}"
+DEPEND="virtual/jdk:1.6
+	app-arch/unzip
+	${CDEPEND}
+	dev-java/javahelp:0"
+RDEPEND=">=virtual/jdk-1.6
+	${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"
+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-r7-build.xml.patch.bz2
+}
+
+src_prepare() {
+	einfo "Deleting bundled class files..."
+	find -name "*.class" -type f | xargs rm -vf
+
+	epatch netbeans-9999-r7-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 b0fc7d2..b8fe285 100644
--- a/dev-java/netbeans-enterprise/ChangeLog
+++ b/dev-java/netbeans-enterprise/ChangeLog
@@ -2,6 +2,12 @@
 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+*netbeans-enterprise-9999_p20120829 (29 Aug 2012)
+
+  29 Aug 2012; Miroslav Šulc <fordfrog@gentoo.org>
+  +netbeans-enterprise-9999_p20120829.ebuild:
+  bumped to latest nightly sources
+
 *netbeans-enterprise-9999_p20120828 (28 Aug 2012)
 
   28 Aug 2012; Miroslav Šulc <fordfrog@gentoo.org>

diff --git a/dev-java/netbeans-enterprise/Manifest b/dev-java/netbeans-enterprise/Manifest
index 5f82702..033c13c 100644
--- a/dev-java/netbeans-enterprise/Manifest
+++ b/dev-java/netbeans-enterprise/Manifest
@@ -72,6 +72,7 @@ DIST netbeans-trunk-nightly-201208070001-src.zip 175050650 SHA256 6cc7938b60458b
 DIST netbeans-trunk-nightly-201208240001-src.zip 173184633 SHA256 37bee7f24459235ca364c051e5163e64aea8d50c40dac333ccd6000846334511 SHA512 59224c5758eb00b8513271db3522eaff3649e097c83de37e70e715c5bee05d1ef1b259308eb462b281b197d60526f9d443dc5030a945549764905ba348f454e5 WHIRLPOOL 09b049f786727c41df14a1633ba1da2488108bc5156e573a32acb2bc10a1adf3f853dcefe3f3580ec56c09778c05c07e0e146cfb1155583f374cc4b8160187f8
 DIST netbeans-trunk-nightly-201208270001-src.zip 173339254 SHA256 6acc27ac8ec5f932548b14783754197d3004f8d7f8e7185660d15679739c2a2c SHA512 dfce408a419a2be3db18c1ce88b9dd0110b8a5116ecad680082f40be80d2658e755390c3ccbefd4bf782e782db025fabf4b49592073f421cc5579397057010de WHIRLPOOL 5916bb9a30045ee363040c4300c6686e0ceb4ec948bf32eeb3690949fa565f16a9421cb12e8368ff92d1fd588bcb78b232b74ada3c4df82f224a8bde7b11be1b
 DIST netbeans-trunk-nightly-201208280001-src.zip 173433779 SHA256 628944f4f671bf648ae4e170731412935bec5cbe319bcbd3709e09d15ab1e3e0 SHA512 6c5bbcb636be5b5096c410700a7a934487359ddab32520e813c16ab4b383da6377f99d5be52d3e9ae35d84770075776035e4f8fa8d7a946b382ca223dfc84ff7 WHIRLPOOL 5755f3652dafdeb738d55f564c15cc160fbfa6f12a7fb71599dff9c8be4228e7aa096fb0080243cfd895800e5be5f051ceac75cd8b2bf6e5a5a67e3d796b3f73
+DIST netbeans-trunk-nightly-201208290001-src.zip 173450421 SHA256 5fffbda1fd5a267cdb96cf0f89fc4b8fb883d3c68af8357f48982d2a26f86cec SHA512 1d8aa09afa64347a697669c2faac9bcafb9a9116c0441609e79c9368b711051bc12faa8f10753a2323bcae5df56dc49695de907a8e6587a50b7d5f9d4ed83603 WHIRLPOOL 00a5a3c20f8d32ad5552cf3f01e110ecff26c117e3ce79e45e55640755a87bcf7dbefa3de9dfc1fc2885ddba00f981b3cbef589a30222002c045c54b465875c3
 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
@@ -79,5 +80,6 @@ EBUILD netbeans-enterprise-9999_p20120807.ebuild 17706 SHA256 6f2161148ce5fd3d0a
 EBUILD netbeans-enterprise-9999_p20120824.ebuild 17706 SHA256 631d81a5ad5621d32c9acf93b941ed08a9ba05c220d20d55a4d6467c4202205a SHA512 79532d80a707fae4a0fb78e63783ad923cdd3a134b0e3ca5d8488bdbfd7932ed60f61ecfb133df10c831ce30c68c47ebb29760b2e6d255e491fba3f5666c5a2a WHIRLPOOL fb26039214f98d995079f021ddfd27439daa7df0d0191736dab84881e7ea740e00d5c9c2701be2930c4f638028deb4ce59dc6dd0074eba2508405a958d4bc5ce
 EBUILD netbeans-enterprise-9999_p20120827.ebuild 17706 SHA256 da98fa7c5f8e9739ac7539e3ef4e3349d6663fa89151748b38b2d0174dc6989a SHA512 4bcaa2afb3412f9c3e72fce70485ba3e2d6f0da7b45a8aec7cc05b02fc3d29e2337e4d9bbc2d2a2cd0403af4af02b3aa51161586357df998ae7071c7b4b3fbbc WHIRLPOOL 52d588f5eb883863ef6401ada0cd87648d08dfdb521fc3504a7d05c37135ab37e48da978bde025acc802efacc7a77a633d6ec6c06f265deb16b7a4603d348ae0
 EBUILD netbeans-enterprise-9999_p20120828.ebuild 16971 SHA256 f3a27f5e83e294fd09d2eb5d5c2e372dea0edc97e43921512054a477d9ff2e37 SHA512 3705d0cf8353f3edecad5a7123f00b5c32bdebd65ada91ed7b6f0dbd36c30f66f91e809a41db6b0cea15cf2f853305fd5721d571e355a01b8a48ad8c9571c3c8 WHIRLPOOL aa00d511b63cd141135be80065e73ab1b50a54b25e2955218fafe688682ffb9225eaf11bb57004681b3f2d20092c035e1e2214b86e40fccefd724cef37973387
-MISC ChangeLog 43997 SHA256 dfc5b1392302fdfa7c5a27975f22e54c1a7e14e1b3046859501d84f632800227 SHA512 8d32837c1b3ea78a048f51a89d4af9d16bac6b3b4cc2d62ba85528dc3a71d4917a1f15ed26e7172385264fa29a650a4cbfc192ab7fd90d5879723eaf5a3999be WHIRLPOOL 735df70e4d6a6da0c6bf94b33cc2fb61b8372371649e4358e1f72692645981b3f241431af77cbaeeeee6e9f66232af7fa81621938a9a1a89931e5140bb23d78a
+EBUILD netbeans-enterprise-9999_p20120829.ebuild 16971 SHA256 a540a89915fa5f6235118c07a6e7dc66fb3a99203ed740fc52926db34e9a736a SHA512 188f4e6e0eab915a57eaedefec4a856f7f2f82dc8c5c64af4c85911ee617655ddd90c2b1a0672bc14cb2776a82174ae66c83268cc5d3a4dbd0180b81b07dfca6 WHIRLPOOL de7367f241dda91abc60f83c531073174ed2d704063ed3d8baab1fe6a532057625d6f134e779a5211cc0d5b92b8209b6f334985b7ef5f3616da3a69beb18411d
+MISC ChangeLog 44182 SHA256 c279ca632bf7777f6399410bbef53d10b27116ab9f025fd7b03f4735a1a88175 SHA512 9866029f3d08d9b3060748ff9107a7051a6e5398dffbbf15c16af0cecfb3430c6c7e273d49bef8dd82b78f726a39354b99b9cec07ea053a00afa7a990092ad46 WHIRLPOOL 6b3870ce463ffd41d43e6d14bda064d28f7d7f863eb23e5fae4d8eabcc8c267038b9ea1d236da3ea63f4a596ffae5e17d7446d172b3c61b1b9e44af51ae46a3e
 MISC metadata.xml 251 SHA256 5a4ff53a9862390a48d45c79be24086646e7a6ff0c5bdf0fcb799d0871299003 SHA512 04153cbd9776ad56a94d6a47d043df15d082d8888df8658f18d0d4b659c6c0526ab3a9b22ccbe2471091bf2d8165f224854bc99c51f3664aaf350ccb93532a7c WHIRLPOOL 2ee8a646c6e23bc46c72cac0ecb5cfe43720ec42404ddaeed8ab1b59d139b3d5c1a94764de847f979da978c001c9f02f709d663a68eeea64d19e88f1fefbca43

diff --git a/dev-java/netbeans-enterprise/netbeans-enterprise-9999_p20120829.ebuild b/dev-java/netbeans-enterprise/netbeans-enterprise-9999_p20120829.ebuild
new file mode 100644
index 0000000..85c012d
--- /dev/null
+++ b/dev-java/netbeans-enterprise/netbeans-enterprise-9999_p20120829.ebuild
@@ -0,0 +1,266 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="4"
+WANT_ANT_TASKS="ant-nodeps"
+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/2012-08-29_00-01-28/zip/netbeans-trunk-nightly-201208290001-src.zip"
+SRC_URI="${SOURCE_URL}
+	http://dev.gentoo.org/~fordfrog/distfiles/netbeans-9999-r7-build.xml.patch.bz2
+	http://hg.netbeans.org/binaries/8BFEBCD4B39B87BBE788B4EECED068C8DBE75822-aws-java-sdk-1.2.1.jar
+	http://hg.netbeans.org/binaries/A48449579E1EC9257407CCB2B15CEA2698C8B8F0-el-impl.jar
+	http://hg.netbeans.org/binaries/F28E9567138D6B9AD87D79592F77874334FF5BA8-glassfish-jspparser-3.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/EBEC44255251E6D3B8DDBAF701F732DAF0238CBF-javaee-web-api-6.0.jar
+	http://hg.netbeans.org/binaries/DC9A229C4AB1788D0C20D937A82FB64CE2911171-javaee6-doc-api.zip
+	http://hg.netbeans.org/binaries/B290091E71DEED6CE7F9EB40523D49C26399A2B4-javax.annotation.jar
+	http://hg.netbeans.org/binaries/EB77D3664EEA27D67B799ED28CB766B4D0971505-jaxb-api-osgi.jar
+	http://hg.netbeans.org/binaries/FB28AE3FC7DDF97C9D33495F046680AE61F1C78C-jersey-1.13.zip
+	http://hg.netbeans.org/binaries/6055EAF5B4F778A243B52D2DC4E66CB5F35B3D7C-jersey-1.13-javadoc.jar
+	http://hg.netbeans.org/binaries/3ACEE9175241D421635BAD25C17F9DB218BDEAA0-jersey-apache-client-1.13-javadoc.jar
+	http://hg.netbeans.org/binaries/C6C1A4D0C1ECA95E130BB8900E2CA317A3B95953-jersey-atom-abdera-1.13-javadoc.jar
+	http://hg.netbeans.org/binaries/7AE3260C48C6E6FB902FCDFEBBA197FEAA3BF8AB-jersey-guice-1.13-javadoc.jar
+	http://hg.netbeans.org/binaries/11379CD811D60211064899FD4A2F1EAB7C5683D8-jersey-multipart-1.13-javadoc.jar
+	http://hg.netbeans.org/binaries/0B8762F12243B6D237CFF70E9AC30B88B99702AF-jersey-simple-server-1.13-javadoc.jar
+	http://hg.netbeans.org/binaries/04478F287471D9B37EABC8DE4260C160087FD202-jersey-spring-1.13-javadoc.jar
+	http://hg.netbeans.org/binaries/B9DB1A789C301F1D31DD6CC524DA2EBD7F89190D-jsf-1.2.zip
+	http://hg.netbeans.org/binaries/80341D19FD4C30C77A00A89A1E17579AE492866C-jsf-2.1.zip
+	http://hg.netbeans.org/binaries/93A58E37BA1D014375B1578F3D904736CB2D408F-jsf-api-docs.zip
+	http://hg.netbeans.org/binaries/FFE3425E304F0836912D2B8ABFB5302100B39423-jsr311-api-1.1.1-javadoc.jar
+	http://hg.netbeans.org/binaries/FDECFB78184C7D19E7E20130A7D7E88C1DF0BDD1-metro-1.4-doc.zip
+	http://hg.netbeans.org/binaries/16CD40905B389B27AFD81DAFF8F163CEC810FBC6-metro-2.0.zip
+	http://hg.netbeans.org/binaries/7AA5B0550FAD4A742E0E4345BAD930AA5187FA74-oauth-client-1.13-javadoc.jar
+	http://hg.netbeans.org/binaries/5F1AE6DE4721B644307E2D36158EE059C8E05456-oauth-server-1.13-javadoc.jar
+	http://hg.netbeans.org/binaries/356BA9DC7BE92AF6466262F48A833CA8A6E7081B-oauth-signature-1.13-javadoc.jar
+	http://hg.netbeans.org/binaries/75BB262D60528EACC0BCA22B1BF77D20A7AB652C-primefaces-3.2.jar
+	http://hg.netbeans.org/binaries/A8C121019B222DAE0139299B58FDB9C71FE839F3-servlet3.0-jsp2.2-api.jar
+	http://hg.netbeans.org/binaries/275C5AC6ADE12819F49E984C8E06B114A4E23458-spring-webmvc-2.5.6.SEC03.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-harness-${PV}
+	~dev-java/netbeans-ide-${PV}
+	~dev-java/netbeans-java-${PV}
+	~dev-java/netbeans-profiler-${PV}
+	~dev-java/netbeans-platform-${PV}
+	~dev-java/netbeans-webcommon-${PV}
+	~dev-java/netbeans-websvccommon-${PV}
+	dev-java/commons-codec:0
+	dev-java/commons-fileupload:0
+	dev-java/commons-logging:0
+	dev-java/glassfish-deployment-api:1.2
+	dev-java/jakarta-jstl:0"
+DEPEND="virtual/jdk:1.6
+	app-arch/unzip
+	${CDEPEND}
+	dev-java/javahelp:0
+	>=dev-java/junit-4.4:4
+	dev-java/tomcat-servlet-api:2.3"
+RDEPEND=">=virtual/jdk-1.6
+	${CDEPEND}
+	dev-java/antlr:0[java]
+	dev-java/asm:3
+	dev-java/bsf:2.3
+	dev-java/commons-beanutils:1.7
+	dev-java/commons-collections:0
+	dev-java/commons-digester:0
+	dev-java/commons-io:1
+	dev-java/commons-validator:0
+	dev-java/jakarta-oro:2.0
+	dev-java/jettison:0
+	dev-java/jsr311-api: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"
+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-r7-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}"/A48449579E1EC9257407CCB2B15CEA2698C8B8F0-el-impl.jar libs.elimpl/external/el-impl.jar || die
+	ln -s "${DISTDIR}"/F28E9567138D6B9AD87D79592F77874334FF5BA8-glassfish-jspparser-3.0.jar web.jspparser/external/glassfish-jspparser-3.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}"/EBEC44255251E6D3B8DDBAF701F732DAF0238CBF-javaee-web-api-6.0.jar javaee.api/external/javaee-web-api-6.0.jar || die
+	ln -s "${DISTDIR}"/DC9A229C4AB1788D0C20D937A82FB64CE2911171-javaee6-doc-api.zip j2ee.platform/external/javaee6-doc-api.zip || die
+	ln -s "${DISTDIR}"/B290091E71DEED6CE7F9EB40523D49C26399A2B4-javax.annotation.jar javaee.api/external/javax.annotation.jar || die
+	ln -s "${DISTDIR}"/EB77D3664EEA27D67B799ED28CB766B4D0971505-jaxb-api-osgi.jar javaee.api/external/jaxb-api-osgi.jar || die
+	ln -s "${DISTDIR}"/FB28AE3FC7DDF97C9D33495F046680AE61F1C78C-jersey-1.13.zip websvc.restlib/external/jersey-1.13.zip || die
+	ln -s "${DISTDIR}"/6055EAF5B4F778A243B52D2DC4E66CB5F35B3D7C-jersey-1.13-javadoc.jar websvc.restlib/external/jersey-1.13-javadoc.jar || die
+	ln -s "${DISTDIR}"/3ACEE9175241D421635BAD25C17F9DB218BDEAA0-jersey-apache-client-1.13-javadoc.jar websvc.restlib/external/jersey-apache-client-1.13-javadoc.jar || die
+	ln -s "${DISTDIR}"/C6C1A4D0C1ECA95E130BB8900E2CA317A3B95953-jersey-atom-abdera-1.13-javadoc.jar websvc.restlib/external/jersey-atom-abdera-1.13-javadoc.jar || die
+	ln -s "${DISTDIR}"/7AE3260C48C6E6FB902FCDFEBBA197FEAA3BF8AB-jersey-guice-1.13-javadoc.jar websvc.restlib/external/jersey-guice-1.13-javadoc.jar || die
+	ln -s "${DISTDIR}"/11379CD811D60211064899FD4A2F1EAB7C5683D8-jersey-multipart-1.13-javadoc.jar websvc.restlib/external/jersey-multipart-1.13-javadoc.jar || die
+	ln -s "${DISTDIR}"/0B8762F12243B6D237CFF70E9AC30B88B99702AF-jersey-simple-server-1.13-javadoc.jar websvc.restlib/external/jersey-simple-server-1.13-javadoc.jar || die
+	ln -s "${DISTDIR}"/04478F287471D9B37EABC8DE4260C160087FD202-jersey-spring-1.13-javadoc.jar websvc.restlib/external/jersey-spring-1.13-javadoc.jar || die
+	ln -s "${DISTDIR}"/B9DB1A789C301F1D31DD6CC524DA2EBD7F89190D-jsf-1.2.zip web.jsf12/external/jsf-1.2.zip || die
+	ln -s "${DISTDIR}"/80341D19FD4C30C77A00A89A1E17579AE492866C-jsf-2.1.zip web.jsf20/external/jsf-2.1.zip || die
+	ln -s "${DISTDIR}"/93A58E37BA1D014375B1578F3D904736CB2D408F-jsf-api-docs.zip web.jsf.editor/external/jsf-api-docs.zip || die
+	ln -s "${DISTDIR}"/FFE3425E304F0836912D2B8ABFB5302100B39423-jsr311-api-1.1.1-javadoc.jar websvc.restlib/external/jsr311-api-1.1.1-javadoc.jar || die
+	ln -s "${DISTDIR}"/FDECFB78184C7D19E7E20130A7D7E88C1DF0BDD1-metro-1.4-doc.zip websvc.metro.lib/external/metro-1.4-doc.zip || die
+	ln -s "${DISTDIR}"/16CD40905B389B27AFD81DAFF8F163CEC810FBC6-metro-2.0.zip websvc.metro.lib/external/metro-2.0.zip || die
+	ln -s "${DISTDIR}"/7AA5B0550FAD4A742E0E4345BAD930AA5187FA74-oauth-client-1.13-javadoc.jar websvc.restlib/external/oauth-client-1.13-javadoc.jar || die
+	ln -s "${DISTDIR}"/5F1AE6DE4721B644307E2D36158EE059C8E05456-oauth-server-1.13-javadoc.jar websvc.restlib/external/oauth-server-1.13-javadoc.jar || die
+	ln -s "${DISTDIR}"/356BA9DC7BE92AF6466262F48A833CA8A6E7081B-oauth-signature-1.13-javadoc.jar websvc.restlib/external/oauth-signature-1.13-javadoc.jar || die
+	ln -s "${DISTDIR}"/75BB262D60528EACC0BCA22B1BF77D20A7AB652C-primefaces-3.2.jar web.primefaces/external/primefaces-3.2.jar || die
+	ln -s "${DISTDIR}"/A8C121019B222DAE0139299B58FDB9C71FE839F3-servlet3.0-jsp2.2-api.jar servletjspapi/external/servlet3.0-jsp2.2-api.jar || die
+	ln -s "${DISTDIR}"/275C5AC6ADE12819F49E984C8E06B114A4E23458-spring-webmvc-2.5.6.SEC03.jar spring.webmvc/external/spring-webmvc-2.5.6.SEC03.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-r7-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.0.jar
+	java-pkg_jar-from --into web.jstl11/external jakarta-jstl jstl.jar jstl-1.1.2.jar
+	java-pkg_jar-from --into web.jstl11/external jakarta-jstl standard.jar standard-1.1.2.jar
+	java-pkg_jar-from --build-only --into libs.junit4/external junit-4 junit.jar junit-4.10.jar
+	java-pkg_jar-from --build-only --into web.monitor/external tomcat-servlet-api-2.3 servlet.jar servlet-2.3.jar
+
+	einfo "Linking in other clusters..."
+	mkdir "${S}"/nbbuild/netbeans || die
+	pushd "${S}"/nbbuild/netbeans >/dev/null || die
+
+	ln -s /usr/share/netbeans-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.0.jar && dosym /usr/share/commons-fileupload/lib/commons-fileupload.jar ${instdir}/commons-fileupload-1.0.jar || die
+	rm jsr88javax.jar && dosym /usr/share/glassfish-deployment-api-1.2/lib/glassfish-deployment-api.jar ${instdir}/jsr88javax.jar || die
+	rm jstl.jar && dosym /usr/share/jakarta-jstl/lib/jstl.jar ${instdir}/jstl.jar || die
+	rm standard.jar && dosym /usr/share/jakarta-jstl/lib/standard.jar ${instdir}/standard.jar || die
+	popd >/dev/null || die
+
+	local instdir=${INSTALL_DIR}/modules/ext/aws-sdk
+	pushd "${D}"/${instdir} >/dev/null || die
+	rm commons-codec-1.3.jar && dosym /usr/share/commons-codec/lib/commons-codec.jar ${instdir}/commons-codec-1.3.jar || die
+	rm commons-logging-1.1.1.jar && dosym /usr/share/commons-logging/lib/commons-logging.jar ${instdir}/commons-logging-1.1.1.jar || die
+	popd >/dev/null || die
+
+	local instdir=${INSTALL_DIR}/modules/ext/jsf-1_2
+	pushd "${D}"/${instdir} >/dev/null || die
+	rm commons-beanutils.jar && dosym /usr/share/commons-beanutils-1.7/lib/commons-beanutils.jar ${instdir}/commons-beanutils.jar || die
+	rm commons-collections.jar && dosym /usr/share/commons-collections/lib/commons-collections.jar ${instdir}/commons-collections.jar || die
+	rm commons-digester.jar && dosym /usr/share/commons-digester/lib/commons-digester.jar ${instdir}/commons-digester.jar || die
+	rm commons-logging.jar && dosym /usr/share/commons-logging/lib/commons-logging.jar ${instdir}/commons-logging.jar || die
+	popd >/dev/null || die
+
+	local instdir=${INSTALL_DIR}/modules/ext/rest
+	pushd "${D}"/${instdir} >/dev/null || die
+	rm asm-3.1.jar && dosym /usr/share/asm-3/lib/asm.jar ${instdir}/asm-3.1.jar || die
+	rm jettison-1.1.jar && dosym /usr/share/jettison/lib/jettison.jar ${instdir}/jettison-1.1.jar || die
+	rm jsr311-api-1.1.1.jar && dosym /usr/share/jsr311-api/lib/jsr311-api.jar ${instdir}/jsr311-api-1.1.1.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 jstl-1.0.2.jar && dosym /usr/share/jakarta-jstl/lib/jstl.jar ${instdir}/jstl-1.0.2.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
+	rm standard-1.0.6.jar && dosym /usr/share/jakarta-jstl/lib/standard.jar ${instdir}/standard-1.0.6.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 8fc5bb2..4af7325 100644
--- a/dev-java/netbeans-ergonomics/ChangeLog
+++ b/dev-java/netbeans-ergonomics/ChangeLog
@@ -2,6 +2,12 @@
 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+*netbeans-ergonomics-9999_p20120829 (29 Aug 2012)
+
+  29 Aug 2012; Miroslav Šulc <fordfrog@gentoo.org>
+  +netbeans-ergonomics-9999_p20120829.ebuild:
+  bumped to latest nightly sources
+
 *netbeans-ergonomics-9999_p20120828 (28 Aug 2012)
 
   28 Aug 2012; Miroslav Šulc <fordfrog@gentoo.org>

diff --git a/dev-java/netbeans-ergonomics/Manifest b/dev-java/netbeans-ergonomics/Manifest
index cef7126..9e86cec 100644
--- a/dev-java/netbeans-ergonomics/Manifest
+++ b/dev-java/netbeans-ergonomics/Manifest
@@ -9,6 +9,7 @@ DIST netbeans-trunk-nightly-201208070001-src.zip 175050650 SHA256 6cc7938b60458b
 DIST netbeans-trunk-nightly-201208240001-src.zip 173184633 SHA256 37bee7f24459235ca364c051e5163e64aea8d50c40dac333ccd6000846334511 SHA512 59224c5758eb00b8513271db3522eaff3649e097c83de37e70e715c5bee05d1ef1b259308eb462b281b197d60526f9d443dc5030a945549764905ba348f454e5 WHIRLPOOL 09b049f786727c41df14a1633ba1da2488108bc5156e573a32acb2bc10a1adf3f853dcefe3f3580ec56c09778c05c07e0e146cfb1155583f374cc4b8160187f8
 DIST netbeans-trunk-nightly-201208270001-src.zip 173339254 SHA256 6acc27ac8ec5f932548b14783754197d3004f8d7f8e7185660d15679739c2a2c SHA512 dfce408a419a2be3db18c1ce88b9dd0110b8a5116ecad680082f40be80d2658e755390c3ccbefd4bf782e782db025fabf4b49592073f421cc5579397057010de WHIRLPOOL 5916bb9a30045ee363040c4300c6686e0ceb4ec948bf32eeb3690949fa565f16a9421cb12e8368ff92d1fd588bcb78b232b74ada3c4df82f224a8bde7b11be1b
 DIST netbeans-trunk-nightly-201208280001-src.zip 173433779 SHA256 628944f4f671bf648ae4e170731412935bec5cbe319bcbd3709e09d15ab1e3e0 SHA512 6c5bbcb636be5b5096c410700a7a934487359ddab32520e813c16ab4b383da6377f99d5be52d3e9ae35d84770075776035e4f8fa8d7a946b382ca223dfc84ff7 WHIRLPOOL 5755f3652dafdeb738d55f564c15cc160fbfa6f12a7fb71599dff9c8be4228e7aa096fb0080243cfd895800e5be5f051ceac75cd8b2bf6e5a5a67e3d796b3f73
+DIST netbeans-trunk-nightly-201208290001-src.zip 173450421 SHA256 5fffbda1fd5a267cdb96cf0f89fc4b8fb883d3c68af8357f48982d2a26f86cec SHA512 1d8aa09afa64347a697669c2faac9bcafb9a9116c0441609e79c9368b711051bc12faa8f10753a2323bcae5df56dc49695de907a8e6587a50b7d5f9d4ed83603 WHIRLPOOL 00a5a3c20f8d32ad5552cf3f01e110ecff26c117e3ce79e45e55640755a87bcf7dbefa3de9dfc1fc2885ddba00f981b3cbef589a30222002c045c54b465875c3
 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
@@ -16,5 +17,6 @@ EBUILD netbeans-ergonomics-9999_p20120807.ebuild 2916 SHA256 69daf30d14d0ee31695
 EBUILD netbeans-ergonomics-9999_p20120824.ebuild 2916 SHA256 9672d352de5a4180fe4536f7c2b5bf7a243325510bad1cb45c8192ed69191fd7 SHA512 599d425393bcf8de1867104ec812c523c5a83f97c728816f9991baaa19a1cf13daaec1cf5d18a19a6121ebc094c42042008818271400f7de293fd9aaa204b3f5 WHIRLPOOL 4df88b711bfcc38cb602cbf3c48dd6c42bcd0e47d03626ee1a019d6df97a0203e845a99c15851e1dbd7a5e4ec0b21508bb0b54cfe2eb578135c86135cfa3f58a
 EBUILD netbeans-ergonomics-9999_p20120827.ebuild 2916 SHA256 35434f8fab3c0d4376e09c1819301307720b756b7ea57bdcf06b97aec1d13364 SHA512 0e6eb80e58a3d3fab2e74c44baad6885cce337ea576d9a7a93f37949a07e0477a018f051551bdb8fd42378877c8a754cfa841bc20ff2d99c930251cfb8cb3ad7 WHIRLPOOL d385f2c05f935d6322e7c844b5fad238cb96c99d2073932d5866190bde9e2eef0afa36ea864ababc52c6a437d8a566e76a865bb4208b7f628f34a59d283b5b6f
 EBUILD netbeans-ergonomics-9999_p20120828.ebuild 2916 SHA256 e071e2577b758a4d2df02398b9f4636819ef19ba0c6613f249faa67b7327ab35 SHA512 a126f97a14d797e0cd68dcf9032164762c28fa1098d5a200d2f09fe13e725540771bed2802a3069cbf752b4dbc53fbcd31acaf9db3f0f6cf2b9dc77fabef642a WHIRLPOOL 8da0cb0945a91f0091432358e7472f88b93cdce15e79bfb39e2c1cea703626b487113dfdeba6dab98c9713d3bc5393bd2ac0256c4ec74811f953ca0f626b72b1
-MISC ChangeLog 43472 SHA256 366889c0def2402648f741a7bf59f89f4a8af1f20663cfc9a84445e06004cee1 SHA512 53d9adea610472185098b643ecba88b96764a3fbb03ce9fa87b1a1a45643291aba78db05101c246ec9568bfb2ed753d0df00dd3eb04a2d7427f3fb7c54146582 WHIRLPOOL f3d5fd825d42558c2e9fa2c9a05941316ceafdefa44b1fa4b3891d687cfebf3f78be1d95e8355cf4a27aee499abb3ab414f9503556d849bc9867ef60d4732acd
+EBUILD netbeans-ergonomics-9999_p20120829.ebuild 2916 SHA256 f2aaf2ed3f5e6a2b0f50e09d241745825c4836b01f8ea3e44499cc1b34d4fe3c SHA512 a46f8b393e709447f348534a64d9b86c766aa420865b6d1f3b7105c958384d82146e5af0750064fcab9fb639b89bd2b890320f36d4c32c7eb95e17b3e9e12cdf WHIRLPOOL f15da9ae4afbf5f70559ccf92e2b4815069c38bd1dfec8d9635d3f412429b27172d6ece91226b0b86c54a26d712c87231fc334169705f4575675bcb4067bc31b
+MISC ChangeLog 43657 SHA256 f0736f46aa16863ddebca40f8abddfe9d37b7363582227835b43dd933ace7862 SHA512 157978d12e713bfb1d05a896bdddcbdb7560da53ce9ee4462f9394384fe84ced6eb682369f86061745d2775220c8dc888fbed8e7e9c883ac5ed0d1b348203868 WHIRLPOOL 857f2d7475011f1947678fcd074f3270aa82299f1617591fd8571933051cbfc65d18fe270bdb340dc701d6d10356f20c452ddb8fa8f2405e2fb9563767fc79bc
 MISC metadata.xml 251 SHA256 5a4ff53a9862390a48d45c79be24086646e7a6ff0c5bdf0fcb799d0871299003 SHA512 04153cbd9776ad56a94d6a47d043df15d082d8888df8658f18d0d4b659c6c0526ab3a9b22ccbe2471091bf2d8165f224854bc99c51f3664aaf350ccb93532a7c WHIRLPOOL 2ee8a646c6e23bc46c72cac0ecb5cfe43720ec42404ddaeed8ab1b59d139b3d5c1a94764de847f979da978c001c9f02f709d663a68eeea64d19e88f1fefbca43

diff --git a/dev-java/netbeans-ergonomics/netbeans-ergonomics-9999_p20120829.ebuild b/dev-java/netbeans-ergonomics/netbeans-ergonomics-9999_p20120829.ebuild
new file mode 100644
index 0000000..5598c67
--- /dev/null
+++ b/dev-java/netbeans-ergonomics/netbeans-ergonomics-9999_p20120829.ebuild
@@ -0,0 +1,102 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="4"
+WANT_ANT_TASKS="ant-nodeps"
+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/2012-08-29_00-01-28/zip/netbeans-trunk-nightly-201208290001-src.zip"
+SRC_URI="${SOURCE_URL}
+	http://dev.gentoo.org/~fordfrog/distfiles/netbeans-9999-r7-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.6
+	app-arch/unzip
+	${CDEPEND}
+	dev-java/javahelp:0"
+RDEPEND=">=virtual/jdk-1.6
+	${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"
+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-r7-build.xml.patch.bz2
+}
+
+src_prepare() {
+	einfo "Deleting bundled class files..."
+	find -name "*.class" -type f | xargs rm -vf
+
+	epatch netbeans-9999-r7-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-groovy/ChangeLog b/dev-java/netbeans-groovy/ChangeLog
index 2c4f41e..57ac189 100644
--- a/dev-java/netbeans-groovy/ChangeLog
+++ b/dev-java/netbeans-groovy/ChangeLog
@@ -2,6 +2,12 @@
 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+*netbeans-groovy-9999_p20120829 (29 Aug 2012)
+
+  29 Aug 2012; Miroslav Šulc <fordfrog@gentoo.org>
+  +netbeans-groovy-9999_p20120829.ebuild:
+  bumped to latest nightly sources
+
 *netbeans-groovy-9999_p20120828 (28 Aug 2012)
 
   28 Aug 2012; Miroslav Šulc <fordfrog@gentoo.org>

diff --git a/dev-java/netbeans-groovy/Manifest b/dev-java/netbeans-groovy/Manifest
index 6f22cdb..0bbc115 100644
--- a/dev-java/netbeans-groovy/Manifest
+++ b/dev-java/netbeans-groovy/Manifest
@@ -12,6 +12,7 @@ DIST netbeans-trunk-nightly-201208070001-src.zip 175050650 SHA256 6cc7938b60458b
 DIST netbeans-trunk-nightly-201208240001-src.zip 173184633 SHA256 37bee7f24459235ca364c051e5163e64aea8d50c40dac333ccd6000846334511 SHA512 59224c5758eb00b8513271db3522eaff3649e097c83de37e70e715c5bee05d1ef1b259308eb462b281b197d60526f9d443dc5030a945549764905ba348f454e5 WHIRLPOOL 09b049f786727c41df14a1633ba1da2488108bc5156e573a32acb2bc10a1adf3f853dcefe3f3580ec56c09778c05c07e0e146cfb1155583f374cc4b8160187f8
 DIST netbeans-trunk-nightly-201208270001-src.zip 173339254 SHA256 6acc27ac8ec5f932548b14783754197d3004f8d7f8e7185660d15679739c2a2c SHA512 dfce408a419a2be3db18c1ce88b9dd0110b8a5116ecad680082f40be80d2658e755390c3ccbefd4bf782e782db025fabf4b49592073f421cc5579397057010de WHIRLPOOL 5916bb9a30045ee363040c4300c6686e0ceb4ec948bf32eeb3690949fa565f16a9421cb12e8368ff92d1fd588bcb78b232b74ada3c4df82f224a8bde7b11be1b
 DIST netbeans-trunk-nightly-201208280001-src.zip 173433779 SHA256 628944f4f671bf648ae4e170731412935bec5cbe319bcbd3709e09d15ab1e3e0 SHA512 6c5bbcb636be5b5096c410700a7a934487359ddab32520e813c16ab4b383da6377f99d5be52d3e9ae35d84770075776035e4f8fa8d7a946b382ca223dfc84ff7 WHIRLPOOL 5755f3652dafdeb738d55f564c15cc160fbfa6f12a7fb71599dff9c8be4228e7aa096fb0080243cfd895800e5be5f051ceac75cd8b2bf6e5a5a67e3d796b3f73
+DIST netbeans-trunk-nightly-201208290001-src.zip 173450421 SHA256 5fffbda1fd5a267cdb96cf0f89fc4b8fb883d3c68af8357f48982d2a26f86cec SHA512 1d8aa09afa64347a697669c2faac9bcafb9a9116c0441609e79c9368b711051bc12faa8f10753a2323bcae5df56dc49695de907a8e6587a50b7d5f9d4ed83603 WHIRLPOOL 00a5a3c20f8d32ad5552cf3f01e110ecff26c117e3ce79e45e55640755a87bcf7dbefa3de9dfc1fc2885ddba00f981b3cbef589a30222002c045c54b465875c3
 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
@@ -19,5 +20,6 @@ EBUILD netbeans-groovy-9999_p20120807.ebuild 3200 SHA256 a484471d6fbc938938f0a11
 EBUILD netbeans-groovy-9999_p20120824.ebuild 3200 SHA256 e4586498e4ed13533f6cbe69ed252acfe195fa6abd97becacfb2720989bf5515 SHA512 b5a906a12c1f9787223d9bf8b65b13ce3e7e622f8581d6e5810aca6f30e31a26bbce0cefc241ac2f76cbf09d3add1ea85dea3fed30ae816b592d30eac892aa7c WHIRLPOOL 38631dbed1455d222ee345515afd51923321ff5d916125030327a19a8caa40b33d079e2d1f10cc36207f0664c025da9854d59bcc4383b843e2d8bc0e1a203294
 EBUILD netbeans-groovy-9999_p20120827.ebuild 3200 SHA256 2e47adb9614cd5e9bf2c807ce3531d2c4b78c79b3dba247f4206dc1441da248c SHA512 1ce4b31d4a6819ac01fa0fd81c5beb23ee59f377e2bf58a14e21bee8edac519b014b4db2f376aec07f36f1f3e730831b6ceeb2c6f5786f4bc6d726ef56035434 WHIRLPOOL 5a2b8bfd03f2efd21794b060a6503921202f1b4b3bec89f2f8205cf36626e788881754f3f640109987265143fe6a5e84bb9019b2abf76d265746c16c4eb90a4a
 EBUILD netbeans-groovy-9999_p20120828.ebuild 3200 SHA256 a50e04855533e426a7c72ca155479017afe9dd42f9e8ac633f1b7f52b0c89ffe SHA512 e0c98ea7e05485fc89d9e1233ab026bdc0e2b193f2935aa1171be3f1c36276ad7ddc0ab6259810aa7f604a603cd9b6fa846a60b134d2cca87520e254caa8b356 WHIRLPOOL d3f14d9aa79906524ee8df95a482f8d20952091bb059b06cedd072787614b061ffe4ea92821c408abb3fab655f9e06c1e3bd8059fcb455d40e0f7540ff5d29ec
-MISC ChangeLog 41695 SHA256 cfa1519eaa8dcf4e739b7c9b38749f436ad1ddd993ea16ade2a1f38c0c1ae37e SHA512 e6a9e05b4c8a0232327866547a928719f8d1f7ac33b6ca5218a278d3bf6da60d28342b5fd59e8adee16978abc7703ce9209a8fae69246aeff6f60c14eba75eb7 WHIRLPOOL dd2cb1ca8c9d745ae72866dc0dab98af2fb8fca54cf16e0171a96df72f6b745622d69dc88720a378d94739df6845f81cd9c9f6ff589d893489f530c23ab5e0ce
+EBUILD netbeans-groovy-9999_p20120829.ebuild 3200 SHA256 fd639ed75632e4642f6598ed26969c4f04f87dba880ddd17594a004b6a45f849 SHA512 d18e2e5be36785eae9293622454ce95dedaf2973064ae738f3dc0fb9af2a5aa0723eba29823dd017ef2217bcf3a27355da1d4fc8141237cd0e66bb96b769cf83 WHIRLPOOL 584c781d7dc204bf85220f5d425365ba6f20bf2bfd031d131c660ea95097e1f03bc08d5d70692cb6f326ad8f909c0b66f78998f6bdd6a7728ffb90428d6fc210
+MISC ChangeLog 41872 SHA256 b727cf733562438196d5ae42cc9d17caa692b0715cbca557ed7d917a5a070637 SHA512 c5a103d424b1c21fd8b9e0d8cf63073c0ebd0dcc60a234598f0d65af4c3ebdb1593dbf4e274c2f2560e2cbc601f3d3098533c035686f4b491cf8b130b39854f9 WHIRLPOOL 8df8e65ef7763614f2984ad979312dfd29c78439790a88da5ae4e7a6e4bf55fe9cc101a2a6796648b6b97f8780281c3a37fffcc25a014e299739b9abfbb3846b
 MISC metadata.xml 251 SHA256 5a4ff53a9862390a48d45c79be24086646e7a6ff0c5bdf0fcb799d0871299003 SHA512 04153cbd9776ad56a94d6a47d043df15d082d8888df8658f18d0d4b659c6c0526ab3a9b22ccbe2471091bf2d8165f224854bc99c51f3664aaf350ccb93532a7c WHIRLPOOL 2ee8a646c6e23bc46c72cac0ecb5cfe43720ec42404ddaeed8ab1b59d139b3d5c1a94764de847f979da978c001c9f02f709d663a68eeea64d19e88f1fefbca43

diff --git a/dev-java/netbeans-groovy/netbeans-groovy-9999_p20120829.ebuild b/dev-java/netbeans-groovy/netbeans-groovy-9999_p20120829.ebuild
new file mode 100644
index 0000000..b3c1ae4
--- /dev/null
+++ b/dev-java/netbeans-groovy/netbeans-groovy-9999_p20120829.ebuild
@@ -0,0 +1,107 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="4"
+WANT_ANT_TASKS="ant-nodeps"
+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/2012-08-29_00-01-28/zip/netbeans-trunk-nightly-201208290001-src.zip"
+SRC_URI="${SOURCE_URL}
+	http://dev.gentoo.org/~fordfrog/distfiles/netbeans-9999-r7-build.xml.patch.bz2
+	http://hg.netbeans.org/binaries/DAB15E586F88BBBA1FBD38CFD3720CFF1F9C0CF7-groovy-all-2.0.1.jar"
+LICENSE="|| ( CDDL GPL-2-with-linking-exception )"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+S="${WORKDIR}"
+
+CDEPEND="~dev-java/netbeans-ide-${PV}
+	~dev-java/netbeans-java-${PV}
+	~dev-java/netbeans-platform-${PV}"
+DEPEND="virtual/jdk:1.6
+	app-arch/unzip
+	${CDEPEND}
+	dev-java/javahelp:0"
+RDEPEND=">=virtual/jdk-1.6
+	${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"
+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-r7-build.xml.patch.bz2
+
+	pushd "${S}" >/dev/null || die
+	ln -s "${DISTDIR}"/DAB15E586F88BBBA1FBD38CFD3720CFF1F9C0CF7-groovy-all-2.0.1.jar groovy.editor/external/groovy-all-2.0.1.jar || die
+	popd >/dev/null || die
+}
+
+src_prepare() {
+	einfo "Deleting bundled class files..."
+	find -name "*.class" -type f | xargs rm -vf
+
+	epatch netbeans-9999-r7-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-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 53ce35d..9f0ea3c 100644
--- a/dev-java/netbeans-harness/ChangeLog
+++ b/dev-java/netbeans-harness/ChangeLog
@@ -2,6 +2,12 @@
 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+*netbeans-harness-9999_p20120829 (29 Aug 2012)
+
+  29 Aug 2012; Miroslav Šulc <fordfrog@gentoo.org>
+  +netbeans-harness-9999_p20120829.ebuild:
+  bumped to latest nightly sources
+
 *netbeans-harness-9999_p20120828 (28 Aug 2012)
 
   28 Aug 2012; Miroslav Šulc <fordfrog@gentoo.org>

diff --git a/dev-java/netbeans-harness/Manifest b/dev-java/netbeans-harness/Manifest
index 17fbae3..d1e0ee5 100644
--- a/dev-java/netbeans-harness/Manifest
+++ b/dev-java/netbeans-harness/Manifest
@@ -14,6 +14,7 @@ DIST netbeans-trunk-nightly-201208070001-src.zip 175050650 SHA256 6cc7938b60458b
 DIST netbeans-trunk-nightly-201208240001-src.zip 173184633 SHA256 37bee7f24459235ca364c051e5163e64aea8d50c40dac333ccd6000846334511 SHA512 59224c5758eb00b8513271db3522eaff3649e097c83de37e70e715c5bee05d1ef1b259308eb462b281b197d60526f9d443dc5030a945549764905ba348f454e5 WHIRLPOOL 09b049f786727c41df14a1633ba1da2488108bc5156e573a32acb2bc10a1adf3f853dcefe3f3580ec56c09778c05c07e0e146cfb1155583f374cc4b8160187f8
 DIST netbeans-trunk-nightly-201208270001-src.zip 173339254 SHA256 6acc27ac8ec5f932548b14783754197d3004f8d7f8e7185660d15679739c2a2c SHA512 dfce408a419a2be3db18c1ce88b9dd0110b8a5116ecad680082f40be80d2658e755390c3ccbefd4bf782e782db025fabf4b49592073f421cc5579397057010de WHIRLPOOL 5916bb9a30045ee363040c4300c6686e0ceb4ec948bf32eeb3690949fa565f16a9421cb12e8368ff92d1fd588bcb78b232b74ada3c4df82f224a8bde7b11be1b
 DIST netbeans-trunk-nightly-201208280001-src.zip 173433779 SHA256 628944f4f671bf648ae4e170731412935bec5cbe319bcbd3709e09d15ab1e3e0 SHA512 6c5bbcb636be5b5096c410700a7a934487359ddab32520e813c16ab4b383da6377f99d5be52d3e9ae35d84770075776035e4f8fa8d7a946b382ca223dfc84ff7 WHIRLPOOL 5755f3652dafdeb738d55f564c15cc160fbfa6f12a7fb71599dff9c8be4228e7aa096fb0080243cfd895800e5be5f051ceac75cd8b2bf6e5a5a67e3d796b3f73
+DIST netbeans-trunk-nightly-201208290001-src.zip 173450421 SHA256 5fffbda1fd5a267cdb96cf0f89fc4b8fb883d3c68af8357f48982d2a26f86cec SHA512 1d8aa09afa64347a697669c2faac9bcafb9a9116c0441609e79c9368b711051bc12faa8f10753a2323bcae5df56dc49695de907a8e6587a50b7d5f9d4ed83603 WHIRLPOOL 00a5a3c20f8d32ad5552cf3f01e110ecff26c117e3ce79e45e55640755a87bcf7dbefa3de9dfc1fc2885ddba00f981b3cbef589a30222002c045c54b465875c3
 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
@@ -21,5 +22,6 @@ EBUILD netbeans-harness-9999_p20120807.ebuild 3907 SHA256 dad33e85b52abdf7fa8e7c
 EBUILD netbeans-harness-9999_p20120824.ebuild 3907 SHA256 6426aeb199e90b599afda4cc580125b25f850601ba6288fd20d19755bc96922a SHA512 1c338a92144a82f9676be2492807e4339ee5b188115ac3bef1dc2b8b4e1e148986120e02efc318ca562f494a9f14f4abb6cdff339e0011d8577df290d1dbad1e WHIRLPOOL 5b29ca8c0049fc400b5a7004e9bf933ee841d65847dde46fc6ab9cebc7b41ef77bf6174876b69262e702f9d890bc5017ae41373b36869a33003ec8d099de07c1
 EBUILD netbeans-harness-9999_p20120827.ebuild 3907 SHA256 ef7ca9d8e1fb5fde7de024a4f338b39544e26d2598352b57c9c5f3d0693b98c2 SHA512 bb07ad5ffe45479efafb6f623af412b27cd2486642295f85b73438153a4d07949e412e795922abb1e88441a6f3ffa04a6e3de408eacd27404c2842830de33cbd WHIRLPOOL 1728662c86556c0f8d3f66317a59583a6ce1102e5d8ba3ec5ff65ba1a9d415bb774fc5f90deeadb270a7590cc49470171dfda976e77eb20adaed9fdc102607b3
 EBUILD netbeans-harness-9999_p20120828.ebuild 3907 SHA256 28d9414b72422dfb5553cd2f189fc29038aed52333449ebe221fa21fe743d151 SHA512 7b1a721ee2c63fbda46e63221cd86b6f0ebbdfa08b8c9c9f32442d8e53a447f283cc5778e047b9bbf354cc2e1503770b19591d99c8a57c113744c19caad65d19 WHIRLPOOL bb4e4f6dd3ccd1e6884f77d769fc506e07e79a978a2c901c938f12369c0951051e352a5f2d7aae58f67b1f06353676f5e966fef728c6b051adb3f3f34e017192
-MISC ChangeLog 42175 SHA256 183df8b6aaebd8f8a16acf6220c4ce0fe6b71cdfa00dc9b2cbdca832c43edcb2 SHA512 42604fd824e0d2fac734f219fe1e1b052e13b63c10c60613f12f04e5487366740230363763cc2bf5852fa2122303be05899636881785efbe5600806f635e610d WHIRLPOOL 80e00fdb98db2aa32d030c5b80d0df4eea7f5674d0e76cdf65392a6d8bdbc1641d2d19e2ce7e1d4a01716f667bab95ad18bfc2bcd6ff08920c8601b5f95cb8e5
+EBUILD netbeans-harness-9999_p20120829.ebuild 3907 SHA256 46c545eedbed1587edbd2d60434bf5b25261854cd40c3f4c4118a80a33cc4567 SHA512 d0fd66dbbaf5c89ef47307dbd10ce9c1194c9bd501005d903aa95fc2e3143eca6768202f1a1368166542e01d84019fa81186071b3c8bbbda2f30dad202437ac6 WHIRLPOOL 5dec7a324d696902c2a41ce1b93f10666584c7e07d89e8e404199cfba463b149bea3872c9e6d12171e204776ca8e991f438a7d39944798be01e290feaf799799
+MISC ChangeLog 42354 SHA256 a96009d814f3b06583ebd208900c67de7a185d54fa838f0b08a99ce2c1203e35 SHA512 c694ea5bf3225ad2188307abf8cc0f5929673ab3d2a0d9e05ce0a1643a81c57042ecd29e5508a22ed823ca2c3dadb7434dfeb82af1967e45cc76d2678c689860 WHIRLPOOL a34f3c4240fbb406a782cd031c8dcb93a504499d9320db322353b9b6911adc15842ffc279daeddfdf6db8b037e82987588b9913eaa335deb65e25b2ae084281c
 MISC metadata.xml 251 SHA256 5a4ff53a9862390a48d45c79be24086646e7a6ff0c5bdf0fcb799d0871299003 SHA512 04153cbd9776ad56a94d6a47d043df15d082d8888df8658f18d0d4b659c6c0526ab3a9b22ccbe2471091bf2d8165f224854bc99c51f3664aaf350ccb93532a7c WHIRLPOOL 2ee8a646c6e23bc46c72cac0ecb5cfe43720ec42404ddaeed8ab1b59d139b3d5c1a94764de847f979da978c001c9f02f709d663a68eeea64d19e88f1fefbca43

diff --git a/dev-java/netbeans-harness/netbeans-harness-9999_p20120829.ebuild b/dev-java/netbeans-harness/netbeans-harness-9999_p20120829.ebuild
new file mode 100644
index 0000000..776bbef
--- /dev/null
+++ b/dev-java/netbeans-harness/netbeans-harness-9999_p20120829.ebuild
@@ -0,0 +1,113 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="4"
+WANT_ANT_TASKS="ant-nodeps"
+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/2012-08-29_00-01-28/zip/netbeans-trunk-nightly-201208290001-src.zip"
+SRC_URI="${SOURCE_URL}
+	http://dev.gentoo.org/~fordfrog/distfiles/netbeans-9999-r7-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"
+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.6
+	app-arch/unzip
+	${CDEPEND}
+	>=dev-java/junit-4.4:4"
+RDEPEND=">=virtual/jdk-1.6
+	${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"
+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-r7-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}"/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-r7-build.xml.patch
+
+	# Support for custom patches
+	if [ -n "${NETBEANS9999_PATCHES_DIR}" -a -d "${NETBEANS9999_PATCHES_DIR}" ] ; then
+		local files=`find "${NETBEANS9999_PATCHES_DIR}" -type f`
+
+		if [ -n "${files}" ] ; then
+			einfo "Applying custom patches:"
+
+			for file in ${files} ; do
+				epatch "${file}"
+			done
+		fi
+	fi
+
+	einfo "Symlinking external libraries..."
+	java-pkg_jar-from --into javahelp/external javahelp jhall.jar jhall-2.0_05.jar
+	java-pkg_jar-from --into apisupport.harness/external javahelp jsearch.jar jsearch-2.0_05.jar
+	java-pkg_jar-from --build-only --into libs.junit4/external junit-4 junit.jar junit-4.10.jar
+
+	einfo "Linking in other clusters..."
+	mkdir "${S}"/nbbuild/netbeans || die
+	pushd "${S}"/nbbuild/netbeans >/dev/null || die
+
+	ln -s /usr/share/netbeans-platform-${SLOT} platform || die
+	cat /usr/share/netbeans-platform-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+	touch nb.cluster.platform.built
+
+	popd >/dev/null || die
+
+	java-pkg-2_src_prepare
+}
+
+src_install() {
+	pushd nbbuild/netbeans/harness >/dev/null || die
+
+	insinto ${INSTALL_DIR}
+
+	grep -E "/harness$" ../moduleCluster.properties > "${D}"/${INSTALL_DIR}/moduleCluster.properties || die
+
+	doins -r *
+	fperms 755 launchers/app.sh
+	find "${D}" -name "*.exe" -type f -delete
+
+	popd >/dev/null || die
+
+	local instdir=${INSTALL_DIR}/antlib
+	pushd "${D}"/${instdir} >/dev/null || die
+	rm jsearch-2.0_05.jar && dosym /usr/share/javahelp/lib/jsearch.jar ${instdir}/jsearch-2.0_05.jar || die
+	popd >/dev/null || die
+
+	dosym ${INSTALL_DIR} /usr/share/netbeans-nb-${SLOT}/harness
+}

diff --git a/dev-java/netbeans-ide/ChangeLog b/dev-java/netbeans-ide/ChangeLog
index 6f3686b..a116316 100644
--- a/dev-java/netbeans-ide/ChangeLog
+++ b/dev-java/netbeans-ide/ChangeLog
@@ -2,6 +2,12 @@
 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+*netbeans-ide-9999_p20120829 (29 Aug 2012)
+
+  29 Aug 2012; Miroslav Šulc <fordfrog@gentoo.org>
+  +netbeans-ide-9999_p20120829.ebuild:
+  bumped to latest nightly sources
+
 *netbeans-ide-9999_p20120828 (28 Aug 2012)
 
   28 Aug 2012; Miroslav Šulc <fordfrog@gentoo.org>

diff --git a/dev-java/netbeans-ide/Manifest b/dev-java/netbeans-ide/Manifest
index 0851ef9..6a5c1ab 100644
--- a/dev-java/netbeans-ide/Manifest
+++ b/dev-java/netbeans-ide/Manifest
@@ -53,6 +53,7 @@ DIST 7A5A7DF07297A86A944D4D0562C685585B0734EF-validator.jar 1651182 SHA256 a44aa
 DIST 7B2746C7E8F42F88F0EE19A65FAAAF73CC26C1EB-js-domstubs.zip 122918 SHA256 c2824c5702d45df9c7bafc1350ef73a0c026d3411d7088cbebed42dea060261b SHA512 315b859293a7cfb478955e6be6ff273bec04d1cd6e8bae1df018c4ebeeca4ff65938d7ce78e251b05d2dfae27103881ada9710abf1a060782b668c85bba80eb7 WHIRLPOOL 82ae2c0907db594317380d60cace931512f799d294809c30471bbae27c5735e552159a758c40a32e610f22d7b89c4f93eb2e18e3f2ffee48950595c9ba1112a2
 DIST 7C6ED64C55164C5AE0394E11303CA95CB24166AF-swingx-0.9.5.jar 1251427 SHA256 4ba498b4e40ab332cdacee652e642bc2cbc69979e1ccabeec746fa4f68a5b8d1 SHA512 676f485dc2535facc7e8fcd90fc63118f62e8293f58b2ce8a358f0be0d6f1f7d85902a120f1144c6a028be1bfdc249cb2055fb1b10a2f5077163d0a274bc3814 WHIRLPOOL a5ea8363b86b080ccaeab4a4bbedba1941719fafe6e3710bddc485f13c4d0dfa3dd54df2f838651f860fbe4a6654ac7a52b9e5a7ac3d2d7882e3b1780db280f8
 DIST 7D3CCD3ED4DB57F2B746F5ABAF86D10F222AEB87-org.eclipse.mylyn.commons.core_3.3.1.jar 24879 SHA256 4f182ba7d34e64b1a681402edd78dd70ff6ee47c0453c93940d683ace03d40dc
+DIST 80349CA1DDF7FB293A775906931B8A4208EBE24F-nashorn.jar 1216131 SHA256 d442eb3ef4b45f33d23ef09589d51425558cba98c03301960dc88fc58230e8f8 SHA512 9046d1df8bdc8138dd16053d8c83fbdeeb4a40f18d4c43b4a4aff087c7c076cb6e3a7ff37e39179658bc60d346faa91c54b81c28e84d1bcffbc6f059fc1996c2 WHIRLPOOL ffd66230ce5aa71a61a5de570630e48354c34c8dd3a3e16b7334bdde10de2cb256d090bab18a6ee4eeba520742fbfaa7767d6e64649aa2363e157d0e83c007de
 DIST 8267834DD6908F6055702422CA873C68D6648378-jettison-1.3.2.jar 77652 SHA256 e99b67892d9c7ec8d858b63a3d7e9bdd2b9b3c96d8ea79f9583e42be9f374692 SHA512 5dc4ed39f9a5cca3ad705eff535fd6499452150633df0591f3c7aafd5c84fa2bbdbeb8ddc69f3fbcbfc319f97a1cf5e18c1936450c9073444d7ccb3c5b9f77e7 WHIRLPOOL fc0e2925230b479f9c9fb341243aa82390e42fe4d26dac811de6bba84d95779af30650c198be26da2f0ec7a4fbfff41e49cca3c6154b421f31cb807917d89aed
 DIST 84D26BD9524B46955910CE6704812E2308F1D518-svnClientAdapter-main-1.8.5.jar 69635 SHA256 01458c9d068ffa7aa5cb6cf3fdd847bdb56d915d5521bb23eee4f7541fda36a1 SHA512 d9394cb23f1760cd24e53c500ffc28e1262a61b52ee4fe545911265c1438f63ff37b20a6a52fecb42041e0b0c5ab3bca5ce2a4994297ec6ffc5942599da7baf7 WHIRLPOOL 8f85e2cf9ce97b5571d9bf1774f384f5291730a8fe43231e7c2423b0dca69727309cfe52caa51cc768205d7cd8df73f8661ce069e128269c9072b043d9f692eb
 DIST 886FAF4B85054DD6E50D9B3438542F432B5F9251-bytelist-0.1.jar 8266 SHA256 a187dd97be412fd220fea5cd430e8cf45a107e92614f1ffe046afc5d2ef1c045 SHA512 59241a6fece05560a88227b4d12e72cd573b721dfe6aa916f0f8db04c2f697ee7d1b8ade84f4163e5fe40a9b277ec5be9640b3c5a445c769e0668f06a97e4a96 WHIRLPOOL d35146440a1b009005e253b516f8a0ef35ec5b7c6e9b26ab97aa914bf334e97d9d5b1ec13b6041cf178d9ba4366d720be2b6dc4cd2abd7f97d855ab29d1ca848
@@ -117,6 +118,7 @@ DIST netbeans-trunk-nightly-201208070001-src.zip 175050650 SHA256 6cc7938b60458b
 DIST netbeans-trunk-nightly-201208240001-src.zip 173184633 SHA256 37bee7f24459235ca364c051e5163e64aea8d50c40dac333ccd6000846334511 SHA512 59224c5758eb00b8513271db3522eaff3649e097c83de37e70e715c5bee05d1ef1b259308eb462b281b197d60526f9d443dc5030a945549764905ba348f454e5 WHIRLPOOL 09b049f786727c41df14a1633ba1da2488108bc5156e573a32acb2bc10a1adf3f853dcefe3f3580ec56c09778c05c07e0e146cfb1155583f374cc4b8160187f8
 DIST netbeans-trunk-nightly-201208270001-src.zip 173339254 SHA256 6acc27ac8ec5f932548b14783754197d3004f8d7f8e7185660d15679739c2a2c SHA512 dfce408a419a2be3db18c1ce88b9dd0110b8a5116ecad680082f40be80d2658e755390c3ccbefd4bf782e782db025fabf4b49592073f421cc5579397057010de WHIRLPOOL 5916bb9a30045ee363040c4300c6686e0ceb4ec948bf32eeb3690949fa565f16a9421cb12e8368ff92d1fd588bcb78b232b74ada3c4df82f224a8bde7b11be1b
 DIST netbeans-trunk-nightly-201208280001-src.zip 173433779 SHA256 628944f4f671bf648ae4e170731412935bec5cbe319bcbd3709e09d15ab1e3e0 SHA512 6c5bbcb636be5b5096c410700a7a934487359ddab32520e813c16ab4b383da6377f99d5be52d3e9ae35d84770075776035e4f8fa8d7a946b382ca223dfc84ff7 WHIRLPOOL 5755f3652dafdeb738d55f564c15cc160fbfa6f12a7fb71599dff9c8be4228e7aa096fb0080243cfd895800e5be5f051ceac75cd8b2bf6e5a5a67e3d796b3f73
+DIST netbeans-trunk-nightly-201208290001-src.zip 173450421 SHA256 5fffbda1fd5a267cdb96cf0f89fc4b8fb883d3c68af8357f48982d2a26f86cec SHA512 1d8aa09afa64347a697669c2faac9bcafb9a9116c0441609e79c9368b711051bc12faa8f10753a2323bcae5df56dc49695de907a8e6587a50b7d5f9d4ed83603 WHIRLPOOL 00a5a3c20f8d32ad5552cf3f01e110ecff26c117e3ce79e45e55640755a87bcf7dbefa3de9dfc1fc2885ddba00f981b3cbef589a30222002c045c54b465875c3
 EBUILD netbeans-ide-7.0.1.ebuild 22653 SHA256 4c1b3e46e2a6cb89d902c7f4fe6ad9306cbd0c9463a514e87d4c6ec019dc0356 SHA512 5dd526a85a70720686c612efb3aa5602c395111d507b91ae4db04c5814b27bafd1480ab7e44e1148b7412f768543110ff58abdf676de303cd3be9d87b87bd373 WHIRLPOOL abaedc56df115c6050ad7824929ee959ba1669fc1f3f9d4cd1eb9f9f948a608828621f46aeedd0b6062c85b1ad4481d12f952a504559e52c110ff37b88ae0d72
 EBUILD netbeans-ide-7.1.2.ebuild 26834 SHA256 1e57e60a1a00b4530f917319b5d8eef915b9669b9dd3ab82b5afabe171d8959a SHA512 4242265c0783a87c028f955425c86596038aa477e3256ff8ba244220a573486bb7f2e47b07b3c94fbef07940a3b32c313a1320b58656a67cb15a490e7307b1ca WHIRLPOOL 1e23b1e4370292500f154527ecd7a0e7ca315ee73588806413f630355677ee8fe9318a0e672b5f6ad60f829c0a5579b37eedbd737bc8ec154aba9f59c53bd337
 EBUILD netbeans-ide-7.2.ebuild 24436 SHA256 2d7ee70b0fab79e5537a29e50203822499469417332de5fcee694cae16fda08c SHA512 50c2057dbbac23bbf32fea8dae021c03357ffc6e6d96b1432be1a6a84794d73ec5837e417b652ff9beac697aed8b5c1c623ffd923e100934cb374be141facdf4 WHIRLPOOL 485445ddb97a28c850db52a156e8da67b7cf346d001e4121bf998857cab3c4b0b3981101f2ded7895bdd77653297a4dc7001c82c44c041a51d612168a55a4339
@@ -124,5 +126,6 @@ EBUILD netbeans-ide-9999_p20120807.ebuild 24509 SHA256 ae92cea84acbe2ec38b70209f
 EBUILD netbeans-ide-9999_p20120824.ebuild 25428 SHA256 1855db1eea3b92b7cb0bc55381a67e412131aa2738140d6de6f9f21d00f101dd SHA512 624cd73c994a40c3d7ad0085e913e9da4e89f4b9b27d3ac42ba2285b152bfd766adc9163bd2c14376aec1ba17a9df784100e9e45753f9e315578ad4d65c87b11 WHIRLPOOL 4adf8449c4eb433b3a6e38088ddaacbdf721d18f899a7dca310ece845f010da03a93b8fee517992a77b24e16406bd0cbdc3fa1e25b617a0e7cd0c57b963e7acf
 EBUILD netbeans-ide-9999_p20120827.ebuild 25428 SHA256 45fcbad46c0743831d8980d409204b02c1f4a1ea7f40bec984cedee188a9d76d SHA512 5c9897ee799aeb629ba63cd6c50c236a69f142db20a71786f15e220592e945d2b1df6d89bcae281e36b56ccb7f7c3e9788be5e013141bd41f25291d11a057e0f WHIRLPOOL af713c70c3bb36ad7c8acd63deb97a67934997fe25ecb81799f9afdacf819eadf249f7a85402a9936ed4e190f98b6f3560da2828124473b1c67ffee6456d9d72
 EBUILD netbeans-ide-9999_p20120828.ebuild 25148 SHA256 dc7549174d443319a76f4deb5189852e8fd6e8d7cc38aed88184a0eeba5ea2b0 SHA512 a7da0327d983d15b2cdd4f493d793b5598910a2eee4548e179481cb95f0b20d85c290b6cb9e88018f7c537d47fe2e0069519170fad82fa6d2647ac4a59e25daa WHIRLPOOL 670abec5fe28a6ec345ae5bbda6a4744c488e5af3bb3560871ecf2779abd9256ef21608144de4e28f76c3a4d23a36dc04d0d4f9a63fde232d33986e7224024e5
-MISC ChangeLog 40843 SHA256 0887cfdbc671ee45ae6efaa10fb9fbe36438f484b471b3efc79b04567d59df41 SHA512 9b0dadf964914a97df6c0568ac801f8bb87abadb74f38a436d43d84ce44015263c0c2c44f08ec5190dd757dcaa610a3f32cd3470f9f85e4a17c8dfa7be25e641 WHIRLPOOL e18b9e8bd177ff2dbd7f4c993514c2aee5da3ae9bf5d11c4d9bcdbc7ad2f9b8de7b67d0eba4b4cfeafc0175187e1193358b561e8cfdfd8c579d243e63839bce3
+EBUILD netbeans-ide-9999_p20120829.ebuild 25148 SHA256 2d05d2cca8ea23d701ac7c6e8e7d0cbbf3b294c3da83acf866db321277895a94 SHA512 8d64261e4910bb0458a94ec1cab237ec425c26a491ef6458282904667331113df9829f03077704d0456b3c895ed26a61051b6e4f50d83e0ca67b383faa5168b4 WHIRLPOOL 138419034cbbbc28b5d84daae421ba086d1d90c58edc7affbd74f04ad466a606c517b0ad5f0b90bc0b355e0e3808bf079ea7180571754a18f19066cfa6a1f2f1
+MISC ChangeLog 41014 SHA256 65a011746ed88bbc7dd80c9158bc909c8af5b794be5397fde6a7adafb70011c9 SHA512 14aedae956e39b2e6f6d90d22499124be69aca20a4092fc8803d5cef66d9b5d4f3b8a70bd05a71c77fd30a604149953a8721b903379ec8fac97e3c979d202bff WHIRLPOOL 01951edc3feb87cca4ad53b738cf9595221a6e889933e0a66e5bac38f02d35ff93214154e19a7ee880d0c2d398a4b9741aded3bcd5840a5ce2e892f2a130a813
 MISC metadata.xml 251 SHA256 5a4ff53a9862390a48d45c79be24086646e7a6ff0c5bdf0fcb799d0871299003 SHA512 04153cbd9776ad56a94d6a47d043df15d082d8888df8658f18d0d4b659c6c0526ab3a9b22ccbe2471091bf2d8165f224854bc99c51f3664aaf350ccb93532a7c WHIRLPOOL 2ee8a646c6e23bc46c72cac0ecb5cfe43720ec42404ddaeed8ab1b59d139b3d5c1a94764de847f979da978c001c9f02f709d663a68eeea64d19e88f1fefbca43

diff --git a/dev-java/netbeans-ide/netbeans-ide-9999_p20120829.ebuild b/dev-java/netbeans-ide/netbeans-ide-9999_p20120829.ebuild
new file mode 100644
index 0000000..d042338
--- /dev/null
+++ b/dev-java/netbeans-ide/netbeans-ide-9999_p20120829.ebuild
@@ -0,0 +1,344 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="4"
+WANT_ANT_TASKS="ant-nodeps"
+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/2012-08-29_00-01-28/zip/netbeans-trunk-nightly-201208290001-src.zip"
+SRC_URI="${SOURCE_URL}
+	http://dev.gentoo.org/~fordfrog/distfiles/netbeans-9999-r7-build.xml.patch.bz2
+	http://hg.netbeans.org/binaries/4E74C6BE42FE89871A878C7C4D6158F21A6D8010-antlr-runtime-3.4.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/643CC426B9F75AA111FAC0FAC0E52FF5D991A337-commons-net-3.0.1.jar
+	http://hg.netbeans.org/binaries/901D8F815922C435D985DA3814D20E34CC7622CB-css21-spec.zip
+	http://hg.netbeans.org/binaries/53AFD6CAA1B476204557B0626E7D673FBD5D245C-css3-spec.zip
+	http://hg.netbeans.org/binaries/C9A6304FAA121C97CB2458B93D30B1FD6F0F7691-derbysampledb.zip
+	http://hg.netbeans.org/binaries/4DE6B891C82002D6EA3BAAB19274852FADA47E5C-glassfish-tooling-sdk-0.2-SNAPSHOT.jar
+	http://hg.netbeans.org/binaries/23123BB29025254556B6E573023FCDF0F6715A66-html-4.01.zip
+	http://hg.netbeans.org/binaries/77DB1AFF3C0730C144D30C9935A1CD8DCD2488A9-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/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/8267834DD6908F6055702422CA873C68D6648378-jettison-1.3.2.jar
+	http://hg.netbeans.org/binaries/C0C5653D2200F2BD2E834B26DFDBC830D07FA0F4-jing.jar
+	http://hg.netbeans.org/binaries/38FE8364B234F427E5303BCC73CD4D089D7916C4-js-corestubs.zip
+	http://hg.netbeans.org/binaries/7B2746C7E8F42F88F0EE19A65FAAAF73CC26C1EB-js-domstubs.zip
+	http://hg.netbeans.org/binaries/4D5E25514C75F85858097BB381DA8B44630743ED-js-reststubs.zip
+	http://hg.netbeans.org/binaries/2E07375E5CA3A452472F0E87FB33F243F7A5C08C-libpam4j-1.1.jar
+	http://hg.netbeans.org/binaries/80349CA1DDF7FB293A775906931B8A4208EBE24F-nashorn.jar
+	http://hg.netbeans.org/binaries/A1C0ED8C43A306E3FB7676E7463204B9DA9BE290-non-schema.jar
+	http://hg.netbeans.org/binaries/DF8DD2981C9C3EBEDB059CA98450B587E784AF58-org.eclipse.core.contenttype-3.4.100.jar
+	http://hg.netbeans.org/binaries/B19A4D998C76FE7A30830C96B9E3A47682F320FC-org.eclipse.core.jobs-3.5.101.jar
+	http://hg.netbeans.org/binaries/93CDEDB00404BF3C56AD3BF0501A9E7A09BD2108-org.eclipse.core.net-1.2.100.jar
+	http://hg.netbeans.org/binaries/6658C235056134F7E86295E751129508802D71F2-org.eclipse.core.runtime-3.7.0.jar
+	http://hg.netbeans.org/binaries/9C98C277CFFBB4CA06CAFD5820562EF7B5100F5C-org.eclipse.core.runtime.compatibility.auth-3.2.200.jar
+	http://hg.netbeans.org/binaries/9C74D245214DB08E7EB9BC07A951B41CFE3E3648-org.eclipse.equinox.app-1.3.100.jar
+	http://hg.netbeans.org/binaries/491025C38F84A6FF9823315A74A0CAC4C30E51A8-org.eclipse.equinox.common-3.6.0.jar
+	http://hg.netbeans.org/binaries/FD94003A1BCE42008753522BFED68E5A84B92644-org.eclipse.equinox.preferences-3.4.2.jar
+	http://hg.netbeans.org/binaries/EAC5AEB82732847BC7F11E2B5C934004C4C7A543-org.eclipse.equinox.registry-3.5.101.jar
+	http://hg.netbeans.org/binaries/0FFB9B1D7CD992CE6C8AAEEC2F6F98DFBB1D2F91-org.eclipse.equinox.security-1.1.1.jar
+	http://hg.netbeans.org/binaries/A00DC524B1D1DB1ABBF95407AA3E6009C3D2C157-org.eclipse.jgit-1.3.0.201202151440-r.jar
+	http://hg.netbeans.org/binaries/DA6CFC10E1AA535AE50F85C0A271CE2D677DEBC4-org.eclipse.mylyn.bugzilla.core-3.8.1.jar
+	http://hg.netbeans.org/binaries/34A8B41231D6951E131492758F30601BB357D075-org.eclipse.mylyn.commons.core-3.8.1.jar
+	http://hg.netbeans.org/binaries/6907113D3190FE6CE0E29EA5E18971B13702B47B-org.eclipse.mylyn.commons.net-3.8.1.jar
+	http://hg.netbeans.org/binaries/EFF05B3F41F0723389901F1409FE258AE498E3AF-org.eclipse.mylyn.commons.repositories.core-1.0.1.jar
+	http://hg.netbeans.org/binaries/4E4C379A523B4521C9B4B9A45CD7B677C2DE5339-org.eclipse.mylyn.commons.xmlrpc-3.8.1.jar
+	http://hg.netbeans.org/binaries/24A8EA7B1E5CF5EF5DF66637C21478918D0DD36B-org.eclipse.mylyn.tasks.core-3.8.1.jar
+	http://hg.netbeans.org/binaries/7631DAFC43DB4870F2C9079845AADCCDB6EE006B-org.tmatesoft.svnkit_1.7.5.v1_r9382_v20120718_1415.jar
+	http://hg.netbeans.org/binaries/E66876EB5F33AA0E57F035F1AADD8C44FEAE7FCB-processtreekiller-1.0.1.jar
+	http://hg.netbeans.org/binaries/B0D0FCBAC68826D2AFA3C7C89FC4D57B95A000C3-resolver-1.2.jar
+	http://hg.netbeans.org/binaries/1162833E0FE87B69B99B1F7DEB3A6C386EAB6F84-rhino1_7R2rc1.zip
+	http://hg.netbeans.org/binaries/ACAEC8AAB8DB4D0113C25D2558092CDD88F704BD-svnClientAdapter-javahl-1.8.14.jar
+	http://hg.netbeans.org/binaries/CF2180F7675C320F2FD4878EEF2E37E30FD6F564-svnClientAdapter-main-1.8.14.jar
+	http://hg.netbeans.org/binaries/079BD38DB57E06FD95FA999529BDCCF3A73A23AD-svnClientAdapter-svnkit-1.8.14.jar
+	http://hg.netbeans.org/binaries/C0D8A3265D194CC886BAFD585117B6465FD97DCE-swingx-all-1.6.4.jar
+	http://hg.netbeans.org/binaries/FA68731DCEAA206FF3556BF20B0EC2866E97111D-sqljet-1.1.4.jar
+	http://hg.netbeans.org/binaries/CD5B5996B46CB8D96C8F0F89A7A734B3C01F3DF7-tomcat-webserver-3.2.jar
+	http://hg.netbeans.org/binaries/24DD3B605C50A04D6C5FC129D4AD340659236EB5-com.trilead.ssh2_1.0.0.build215.jar
+	http://hg.netbeans.org/binaries/89BC047153217F5254506F4C622A771A78883CBC-ValidationAPI.jar
+	http://hg.netbeans.org/binaries/7A5A7DF07297A86A944D4D0562C685585B0734EF-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/freemarker:2.3
+	dev-java/icu4j:4.4
+	dev-java/iso-relax:0
+	dev-java/jdbc-mysql:0
+	dev-java/jdbc-postgresql:0
+	dev-java/jsr173:0
+	dev-java/jvyamlb:0
+	dev-java/log4j:0
+	dev-java/lucene:3.5
+	dev-java/rhino:1.6
+	dev-java/saxon:9
+	dev-java/smack:2.2
+	dev-java/sun-jaf:0
+	dev-java/tomcat-servlet-api:2.2
+	dev-java/ws-commons-util:0
+	dev-java/xerces:2
+	dev-vcs/subversion:0[java]"
+#	app-text/jing:0 our version is probably too old
+#	dev-java/commons-io:1 fails with "Missing manifest tag OpenIDE-Module"
+#	dev-java/ini4j:0 our version is too old
+#	dev-java/jaxb:2 upstream version contains more stuff so websvccommon does not compile with ours
+#	dev-java/trilead-ssh2:0 in overlay
+DEPEND="virtual/jdk:1.6
+	app-arch/unzip
+	dev-java/commons-codec:0
+	dev-java/jsch:0
+	dev-java/jzlib:0
+	${CDEPEND}
+	dev-java/javacc:0
+	dev-java/javahelp:0"
+RDEPEND=">=virtual/jdk-1.6
+	${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"
+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-r7-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}"/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}"/643CC426B9F75AA111FAC0FAC0E52FF5D991A337-commons-net-3.0.1.jar libs.commons_net/external/commons-net-3.0.1.jar || die
+	ln -s "${DISTDIR}"/901D8F815922C435D985DA3814D20E34CC7622CB-css21-spec.zip css.editor/external/css21-spec.zip || die
+	ln -s "${DISTDIR}"/53AFD6CAA1B476204557B0626E7D673FBD5D245C-css3-spec.zip css.editor/external/css3-spec.zip || die
+	ln -s "${DISTDIR}"/C9A6304FAA121C97CB2458B93D30B1FD6F0F7691-derbysampledb.zip derby/external/derbysampledb.zip || die
+	ln -s "${DISTDIR}"/4DE6B891C82002D6EA3BAAB19274852FADA47E5C-glassfish-tooling-sdk-0.2-SNAPSHOT.jar libs.glassfish.sdk/external/glassfish-tooling-sdk-0.2-SNAPSHOT.jar || die
+	ln -s "${DISTDIR}"/23123BB29025254556B6E573023FCDF0F6715A66-html-4.01.zip html.editor/external/html-4.01.zip || die
+	ln -s "${DISTDIR}"/77DB1AFF3C0730C144D30C9935A1CD8DCD2488A9-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}"/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}"/8267834DD6908F6055702422CA873C68D6648378-jettison-1.3.2.jar libs.glassfish.sdk/external/jettison-1.3.2.jar || die
+	ln -s "${DISTDIR}"/C0C5653D2200F2BD2E834B26DFDBC830D07FA0F4-jing.jar html.validation/external/jing.jar || die
+	ln -s "${DISTDIR}"/38FE8364B234F427E5303BCC73CD4D089D7916C4-js-corestubs.zip javascript2.editor/external/js-corestubs.zip || die
+	ln -s "${DISTDIR}"/7B2746C7E8F42F88F0EE19A65FAAAF73CC26C1EB-js-domstubs.zip javascript2.editor/external/js-domstubs.zip || die
+	ln -s "${DISTDIR}"/4D5E25514C75F85858097BB381DA8B44630743ED-js-reststubs.zip javascript2.editor/external/js-reststubs.zip || die
+	ln -s "${DISTDIR}"/2E07375E5CA3A452472F0E87FB33F243F7A5C08C-libpam4j-1.1.jar extexecution.impl/external/libpam4j-1.1.jar || die
+	ln -s "${DISTDIR}"/80349CA1DDF7FB293A775906931B8A4208EBE24F-nashorn.jar libs.nashorn/external/nashorn.jar || die
+	ln -s "${DISTDIR}"/A1C0ED8C43A306E3FB7676E7463204B9DA9BE290-non-schema.jar html.validation/external/non-schema.jar || die
+	ln -s "${DISTDIR}"/DF8DD2981C9C3EBEDB059CA98450B587E784AF58-org.eclipse.core.contenttype-3.4.100.jar o.eclipse.core.contenttype/external/org.eclipse.core.contenttype-3.4.100.jar || die
+	ln -s "${DISTDIR}"/B19A4D998C76FE7A30830C96B9E3A47682F320FC-org.eclipse.core.jobs-3.5.101.jar o.eclipse.core.jobs/external/org.eclipse.core.jobs-3.5.101.jar || die
+	ln -s "${DISTDIR}"/93CDEDB00404BF3C56AD3BF0501A9E7A09BD2108-org.eclipse.core.net-1.2.100.jar o.eclipse.core.net/external/org.eclipse.core.net-1.2.100.jar || die
+	ln -s "${DISTDIR}"/6658C235056134F7E86295E751129508802D71F2-org.eclipse.core.runtime-3.7.0.jar o.eclipse.core.runtime/external/org.eclipse.core.runtime-3.7.0.jar || die
+	ln -s "${DISTDIR}"/9C98C277CFFBB4CA06CAFD5820562EF7B5100F5C-org.eclipse.core.runtime.compatibility.auth-3.2.200.jar o.eclipse.core.runtime.compatibility.auth/external/org.eclipse.core.runtime.compatibility.auth-3.2.200.jar || die
+	ln -s "${DISTDIR}"/9C74D245214DB08E7EB9BC07A951B41CFE3E3648-org.eclipse.equinox.app-1.3.100.jar o.eclipse.equinox.app/external/org.eclipse.equinox.app-1.3.100.jar || die
+	ln -s "${DISTDIR}"/491025C38F84A6FF9823315A74A0CAC4C30E51A8-org.eclipse.equinox.common-3.6.0.jar o.eclipse.equinox.common/external/org.eclipse.equinox.common-3.6.0.jar || die
+	ln -s "${DISTDIR}"/FD94003A1BCE42008753522BFED68E5A84B92644-org.eclipse.equinox.preferences-3.4.2.jar o.eclipse.equinox.preferences/external/org.eclipse.equinox.preferences-3.4.2.jar || die
+	ln -s "${DISTDIR}"/EAC5AEB82732847BC7F11E2B5C934004C4C7A543-org.eclipse.equinox.registry-3.5.101.jar o.eclipse.equinox.registry/external/org.eclipse.equinox.registry-3.5.101.jar || die
+	ln -s "${DISTDIR}"/0FFB9B1D7CD992CE6C8AAEEC2F6F98DFBB1D2F91-org.eclipse.equinox.security-1.1.1.jar o.eclipse.equinox.security/external/org.eclipse.equinox.security-1.1.1.jar || die
+	ln -s "${DISTDIR}"/A00DC524B1D1DB1ABBF95407AA3E6009C3D2C157-org.eclipse.jgit-1.3.0.201202151440-r.jar o.eclipse.jgit/external/org.eclipse.jgit-1.3.0.201202151440-r.jar || die
+	ln -s "${DISTDIR}"/DA6CFC10E1AA535AE50F85C0A271CE2D677DEBC4-org.eclipse.mylyn.bugzilla.core-3.8.1.jar o.eclipse.mylyn.bugzilla.core/external/org.eclipse.mylyn.bugzilla.core-3.8.1.jar || die
+	ln -s "${DISTDIR}"/34A8B41231D6951E131492758F30601BB357D075-org.eclipse.mylyn.commons.core-3.8.1.jar o.eclipse.mylyn.commons.core/external/org.eclipse.mylyn.commons.core-3.8.1.jar || die
+	ln -s "${DISTDIR}"/6907113D3190FE6CE0E29EA5E18971B13702B47B-org.eclipse.mylyn.commons.net-3.8.1.jar o.eclipse.mylyn.commons.net/external/org.eclipse.mylyn.commons.net-3.8.1.jar || die
+	ln -s "${DISTDIR}"/EFF05B3F41F0723389901F1409FE258AE498E3AF-org.eclipse.mylyn.commons.repositories.core-1.0.1.jar o.eclipse.mylyn.commons.repositories.core/external/org.eclipse.mylyn.commons.repositories.core-1.0.1.jar || die
+	ln -s "${DISTDIR}"/4E4C379A523B4521C9B4B9A45CD7B677C2DE5339-org.eclipse.mylyn.commons.xmlrpc-3.8.1.jar o.eclipse.mylyn.commons.xmlrpc/external/org.eclipse.mylyn.commons.xmlrpc-3.8.1.jar || die
+	ln -s "${DISTDIR}"/24A8EA7B1E5CF5EF5DF66637C21478918D0DD36B-org.eclipse.mylyn.tasks.core-3.8.1.jar o.eclipse.mylyn.tasks.core/external/org.eclipse.mylyn.tasks.core-3.8.1.jar || die
+	ln -s "${DISTDIR}"/7631DAFC43DB4870F2C9079845AADCCDB6EE006B-org.tmatesoft.svnkit_1.7.5.v1_r9382_v20120718_1415.jar libs.svnClientAdapter.svnkit/external/org.tmatesoft.svnkit_1.7.5.v1_r9382_v20120718_1415.jar || die
+	ln -s "${DISTDIR}"/E66876EB5F33AA0E57F035F1AADD8C44FEAE7FCB-processtreekiller-1.0.1.jar extexecution.impl/external/processtreekiller-1.0.1.jar || die
+	ln -s "${DISTDIR}"/B0D0FCBAC68826D2AFA3C7C89FC4D57B95A000C3-resolver-1.2.jar o.apache.xml.resolver/external/resolver-1.2.jar || die
+	ln -s "${DISTDIR}"/1162833E0FE87B69B99B1F7DEB3A6C386EAB6F84-rhino1_7R2rc1.zip o.mozilla.rhino.patched/external/rhino1_7R2rc1.zip || die
+	ln -s "${DISTDIR}"/FA68731DCEAA206FF3556BF20B0EC2866E97111D-sqljet-1.1.4.jar libs.svnClientAdapter.svnkit/external/sqljet-1.1.4.jar || die
+	ln -s "${DISTDIR}"/ACAEC8AAB8DB4D0113C25D2558092CDD88F704BD-svnClientAdapter-javahl-1.8.14.jar libs.svnClientAdapter.javahl/external/svnClientAdapter-javahl-1.8.14.jar || die
+	ln -s "${DISTDIR}"/CF2180F7675C320F2FD4878EEF2E37E30FD6F564-svnClientAdapter-main-1.8.14.jar libs.svnClientAdapter/external/svnClientAdapter-main-1.8.14.jar || die
+	ln -s "${DISTDIR}"/079BD38DB57E06FD95FA999529BDCCF3A73A23AD-svnClientAdapter-svnkit-1.8.14.jar libs.svnClientAdapter.svnkit/external/svnClientAdapter-svnkit-1.8.14.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}"/24DD3B605C50A04D6C5FC129D4AD340659236EB5-com.trilead.ssh2_1.0.0.build215.jar libs.svnClientAdapter.svnkit/external/com.trilead.ssh2_1.0.0.build215.jar || die
+	ln -s "${DISTDIR}"/89BC047153217F5254506F4C622A771A78883CBC-ValidationAPI.jar swing.validation/external/ValidationAPI.jar || die
+	ln -s "${DISTDIR}"/7A5A7DF07297A86A944D4D0562C685585B0734EF-validator.jar html.validation/external/validator.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
+	ln -s "${DISTDIR}"/C9757EFB2CFBA523A7375A78FA9ECFAF0D0AC505-winp-1.14-patched.jar extexecution.impl/external/winp-1.14-patched.jar || die
+	popd >/dev/null || die
+}
+
+src_prepare() {
+	einfo "Deleting bundled class files..."
+	find -name "*.class" -type f | xargs rm -vf
+
+	epatch netbeans-9999-r7-build.xml.patch
+
+	# Support for custom patches
+	if [ -n "${NETBEANS9999_PATCHES_DIR}" -a -d "${NETBEANS9999_PATCHES_DIR}" ] ; then
+		local files=`find "${NETBEANS9999_PATCHES_DIR}" -type f`
+
+		if [ -n "${files}" ] ; then
+			einfo "Applying custom patches:"
+
+			for file in ${files} ; do
+				epatch "${file}"
+			done
+		fi
+	fi
+
+	einfo "Symlinking external libraries..."
+	java-pkg_jar-from --build-only --into javahelp/external javahelp jhall.jar jhall-2.0_05.jar
+
+	einfo "Linking in other clusters..."
+	mkdir "${S}"/nbbuild/netbeans || die
+	pushd "${S}"/nbbuild/netbeans >/dev/null || die
+
+	ln -s /usr/share/netbeans-platform-${SLOT} platform || die
+	cat /usr/share/netbeans-platform-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+	touch nb.cluster.platform.built
+
+	ln -s /usr/share/netbeans-harness-${SLOT} harness || die
+	cat /usr/share/netbeans-harness-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+	touch nb.cluster.harness.built
+
+	popd >/dev/null || die
+
+	java-pkg_jar-from --build-only --into c.jcraft.jsch/external jsch jsch.jar jsch-0.1.45.jar
+	java-pkg_jar-from --build-only --into c.jcraft.jzlib/external jzlib jzlib.jar jzlib-1.0.7.jar
+	java-pkg_jar-from --into db.drivers/external jdbc-mysql jdbc-mysql.jar mysql-connector-java-5.1.18-bin.jar
+	java-pkg_jar-from --into db.drivers/external jdbc-postgresql jdbc-postgresql.jar postgresql-9.1-901.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_0.jar
+	java-pkg_jar-from --into html.validation/external iso-relax isorelax.jar isorelax20041111.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 rhino-1.6 js.jar js.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.8.jar
+	java-pkg_jar-from --into libs.jvyamlb/external jvyamlb jvyamlb.jar jvyamlb-0.2.3.jar
+	java-pkg_jar-from --into libs.lucene/external lucene-3.5 lucene-core.jar lucene-core-3.5.0.jar
+	java-pkg_jar-from --into libs.smack/external smack-2.2 smack.jar smack.jar
+	java-pkg_jar-from --into libs.smack/external smack-2.2 smackx.jar smackx.jar
+	java-pkg_jar-from --into libs.svnClientAdapter.javahl/external subversion svn-javahl.jar svnjavahl-1.7.5.jar
+	java-pkg_jar-from --into libs.xerces/external xerces-2 xercesImpl.jar xerces-2.8.0.jar
+	java-pkg_jar-from --build-only --into o.apache.commons.codec/external commons-codec commons-codec.jar apache-commons-codec-1.3.jar
+	java-pkg_jar-from --into o.apache.commons.httpclient/external commons-httpclient-3 commons-httpclient.jar commons-httpclient-3.1.jar
+	java-pkg_jar-from --into o.apache.commons.lang/external commons-lang-2.1 commons-lang.jar commons-lang-2.4.jar
+	java-pkg_jar-from --into o.apache.commons.logging/external commons-logging commons-logging.jar commons-logging-1.1.1.jar
+	java-pkg_jar-from --into o.apache.ws.commons.util/external ws-commons-util ws-commons-util.jar ws-commons-util-1.0.1.jar
+	java-pkg_jar-from --into servletapi/external tomcat-servlet-api-2.2 servlet.jar servlet-2.2.jar
+	java-pkg_jar-from --into xml.jaxb.api/external sun-jaf activation.jar activation.jar
+	java-pkg_jar-from --into xml.jaxb.api/external jsr173 jsr173.jar jsr173_1.0_api.jar
+
+	java-pkg-2_src_prepare
+}
+
+src_compile() {
+	unset DISPLAY
+	eant -f ${EANT_BUILD_XML} ${EANT_EXTRA_ARGS} ${EANT_BUILD_TARGET} || die "Compilation failed"
+}
+
+src_install() {
+	pushd nbbuild/netbeans/ide >/dev/null || die
+
+	insinto ${INSTALL_DIR}
+
+	grep -E "/ide$" ../moduleCluster.properties > "${D}"/${INSTALL_DIR}/moduleCluster.properties || die
+
+	doins -r *
+	rm -fr "${D}"/${INSTALL_DIR}/bin/nativeexecution || die
+	rm -fr "${D}"/${INSTALL_DIR}/modules/lib || die
+
+	insinto ${INSTALL_DIR}/bin/nativeexecution
+	doins bin/nativeexecution/*
+
+	pushd "${D}"/${INSTALL_DIR}/bin/nativeexecution >/dev/null || die
+	for file in *.sh ; do
+		fperms 755 ${file}
+	done
+	popd >/dev/null || die
+
+	if use x86 ; then
+		doins -r bin/nativeexecution/Linux-x86
+		pushd "${D}"/${INSTALL_DIR}/bin/nativeexecution/Linux-x86 >/dev/null || die
+		for file in * ; do
+			fperms 755 ${file}
+		done
+		popd >/dev/null || die
+	elif use amd64 ; then
+		doins -r bin/nativeexecution/Linux-x86_64
+		pushd "${D}"/${INSTALL_DIR}/bin/nativeexecution/Linux-x86_64 >/dev/null || die
+		for file in * ; do
+			fperms 755 ${file}
+		done
+		popd >/dev/null || die
+	fi
+
+	popd >/dev/null || die
+
+	local instdir=${INSTALL_DIR}/modules/ext
+	pushd "${D}"/${instdir} >/dev/null || die
+	rm freemarker-2.3.8.jar && dosym /usr/share/freemarker-2.3/lib/freemarker.jar ${instdir}/freemarker-2.3.8.jar || die
+	rm icu4j-4_0.jar && dosym /usr/share/icu4j-4.4/lib/icu4j.jar ${instdir}/icu4j-4_0.jar || die
+	rm isorelax20041111.jar && dosym /usr/share/iso-relax/lib/isorelax.jar ${instdir}/isorelax20041111.jar || die
+	rm js.jar && dosym /usr/share/rhino-1.6/lib/js.jar ${instdir}/js.jar || die
+	rm jvyamlb-0.2.3.jar && dosym /usr/share/jvyamlb/lib/jvyamlb.jar ${instdir}/jvyamlb-0.2.3.jar || die
+	rm log4j-1.2.15.jar && dosym /usr/share/log4j/lib/log4j.jar ${instdir}/log4j-1.2.15.jar || die
+	rm lucene-core-3.5.0.jar && dosym /usr/share/lucene-3.5/lib/lucene-core.jar ${instdir}/lucene-core-3.5.0.jar || die
+	rm mysql-connector-java-5.1.18-bin.jar && dosym /usr/share/jdbc-mysql/lib/jdbc-mysql.jar ${instdir}/mysql-connector-java-5.1.18-bin.jar || die
+	rm postgresql-9.1-901.jdbc4.jar && dosym /usr/share/jdbc-postgresql/lib/jdbc-postgresql.jar ${instdir}/postgresql-9.1-901.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-1.7.5.jar && dosym /usr/share/subversion/lib/svn-javahl.jar ${instdir}/svnjavahl-1.7.5.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 cd3c36e..452b4f9 100644
--- a/dev-java/netbeans-java/ChangeLog
+++ b/dev-java/netbeans-java/ChangeLog
@@ -2,6 +2,12 @@
 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+*netbeans-java-9999_p20120829 (29 Aug 2012)
+
+  29 Aug 2012; Miroslav Šulc <fordfrog@gentoo.org>
+  +netbeans-java-9999_p20120829.ebuild:
+  bumped to latest nightly sources
+
 *netbeans-java-9999_p20120828 (28 Aug 2012)
 
   28 Aug 2012; Miroslav Šulc <fordfrog@gentoo.org>

diff --git a/dev-java/netbeans-java/Manifest b/dev-java/netbeans-java/Manifest
index ad0a4ec..88edc02 100644
--- a/dev-java/netbeans-java/Manifest
+++ b/dev-java/netbeans-java/Manifest
@@ -66,6 +66,7 @@ DIST netbeans-trunk-nightly-201208070001-src.zip 175050650 SHA256 6cc7938b60458b
 DIST netbeans-trunk-nightly-201208240001-src.zip 173184633 SHA256 37bee7f24459235ca364c051e5163e64aea8d50c40dac333ccd6000846334511 SHA512 59224c5758eb00b8513271db3522eaff3649e097c83de37e70e715c5bee05d1ef1b259308eb462b281b197d60526f9d443dc5030a945549764905ba348f454e5 WHIRLPOOL 09b049f786727c41df14a1633ba1da2488108bc5156e573a32acb2bc10a1adf3f853dcefe3f3580ec56c09778c05c07e0e146cfb1155583f374cc4b8160187f8
 DIST netbeans-trunk-nightly-201208270001-src.zip 173339254 SHA256 6acc27ac8ec5f932548b14783754197d3004f8d7f8e7185660d15679739c2a2c SHA512 dfce408a419a2be3db18c1ce88b9dd0110b8a5116ecad680082f40be80d2658e755390c3ccbefd4bf782e782db025fabf4b49592073f421cc5579397057010de WHIRLPOOL 5916bb9a30045ee363040c4300c6686e0ceb4ec948bf32eeb3690949fa565f16a9421cb12e8368ff92d1fd588bcb78b232b74ada3c4df82f224a8bde7b11be1b
 DIST netbeans-trunk-nightly-201208280001-src.zip 173433779 SHA256 628944f4f671bf648ae4e170731412935bec5cbe319bcbd3709e09d15ab1e3e0 SHA512 6c5bbcb636be5b5096c410700a7a934487359ddab32520e813c16ab4b383da6377f99d5be52d3e9ae35d84770075776035e4f8fa8d7a946b382ca223dfc84ff7 WHIRLPOOL 5755f3652dafdeb738d55f564c15cc160fbfa6f12a7fb71599dff9c8be4228e7aa096fb0080243cfd895800e5be5f051ceac75cd8b2bf6e5a5a67e3d796b3f73
+DIST netbeans-trunk-nightly-201208290001-src.zip 173450421 SHA256 5fffbda1fd5a267cdb96cf0f89fc4b8fb883d3c68af8357f48982d2a26f86cec SHA512 1d8aa09afa64347a697669c2faac9bcafb9a9116c0441609e79c9368b711051bc12faa8f10753a2323bcae5df56dc49695de907a8e6587a50b7d5f9d4ed83603 WHIRLPOOL 00a5a3c20f8d32ad5552cf3f01e110ecff26c117e3ce79e45e55640755a87bcf7dbefa3de9dfc1fc2885ddba00f981b3cbef589a30222002c045c54b465875c3
 EBUILD netbeans-java-7.0.1-r2.ebuild 14932 SHA256 3d8eeb5c3aea368c5064e83e9519b2982a3d0f999db11344ba33605f46f865b0 SHA512 0c99037f44aa968f357724650189fe0f6fc89496fbf73f6c5a9bcd589afa5af4974f058a8eea2b6a97e1884f4cabba8b5ecf0214b7e840870358f0e55abbc595 WHIRLPOOL 4c1ccada62d0c8883033500ead9586e5bfcd360e6030b3d8368b0b16b9ed01cc03d3c3d5888de437a16d5382b5fe9ec7c02f3e200c3c19bc9a43f011f32d3a68
 EBUILD netbeans-java-7.1.2-r1.ebuild 14893 SHA256 b4441067f67ff63b24929fa054ff0a28ccc0e47be47d1ca609a84872b119c990 SHA512 eb547bcf358ab238339ad4b84f43f8c1d6894282d8adaea05ab5aa974fe85da7dbd2c8a96d82d4492f912886d9a483ecbc4bd948ce3a63e60ee9eca341c9336e WHIRLPOOL e0a4974d173ca7de044f36a5ac26c74b7f7947af278244e863d4c8aa152d0d6943202824f0360a2d6e69597cd0f8302cd888fdc238baac3eccd1d11f50f0ab5f
 EBUILD netbeans-java-7.2.ebuild 12163 SHA256 b06e8039b5a4adfa025fabb413f543d4dc2399f3c4ede2660f25b210cb66ac52 SHA512 3c40a24e550917b93237c5187b984e22e763bae6b42670d218bc5576e18f433e43e163cbc423a8fea71e2a4ef406b89372bb39a879cb8789945f7f0af04cdc60 WHIRLPOOL ed2d854b0b171041daa47fc2a782019a3bc8dfb5a1684c5f617f0dc44dd0ad96556694fc011784784eefd921f48da75a977ab017c3d9045b059ad1774f1e2c04
@@ -73,5 +74,6 @@ EBUILD netbeans-java-9999_p20120807.ebuild 12198 SHA256 77cc7dff378fffdd5701d890
 EBUILD netbeans-java-9999_p20120824.ebuild 14519 SHA256 5ca83f556589d35801d814cae851353aeb4da722ef0372c6d1b7e28c5f07dbbf SHA512 3e2a8b38b977358f268475d5345b96e9655843d4bedad057682302ff53b10eb2d533e97a1391db9a7c9073132919827db58a087cb173c7b9ec2b82ae2cd0a8c3 WHIRLPOOL 6e17fa296566e7f69b190316e622d82b88f09c60c193411cf7c4ef01b696d11819db74abfb61ca9eae4040de2b58239858880969ab315e5bfef21e880f25e1fe
 EBUILD netbeans-java-9999_p20120827.ebuild 14519 SHA256 588fe38a18f27d6f5e98038811cef4fd684f22b84dd51614fe5c3c1bdf0bf4fc SHA512 aa6434c3518c7b5ddeeedf3dc1275385a937f76fb5ad03fb1ddddaaf44698afbb333021c48d89040ea745d821730cbf103c87d7aec248cb2665297edeb3f5c58 WHIRLPOOL 099bc27b70a08f5c245e0a27b94cda9929a9e2017598ea5bf907184ec99d3e6113df83367c627fa8fe8ed9d61d98843a5499d688413a249bd7ac9ccc6c72cb64
 EBUILD netbeans-java-9999_p20120828.ebuild 14519 SHA256 d2b91ddca6bb56c8e42f7dd8a43fa2c9573b5d0ff8f8406b84e89640716f8bf2 SHA512 17b458b2928082106e388da21c5ffe6c09272d8ac93af6183953811ca3ef5ba884b4defd6c59be19539d7ee54376afb712d79be903ddd3a4a02d87e677ce1f8b WHIRLPOOL 1ebde1144bc640c3d374f613bf38d0935c8573e67f68851d08e80b61847020e609cec5f468900ba37bfda32dd17ee752300756bca3efbf4ed13ed16d4e5edb1c
-MISC ChangeLog 42161 SHA256 7991ca36ba1d4e1452ebddab5fa8fdf496df1d6e951ad2403149c0b31659ddc8 SHA512 816cdc2d73058b3edc3d83697dd2707769d5b4f6d22cbb752bb1059d866273a0285fedee69391d91b94a09a318481961028dc5dc3244ff2611ed2153ecc2a2b7 WHIRLPOOL 1ff18b6978d2ae6db68daa2cf88c66e44e9d95beff6600d18d2da3015f02fc7be7bd2fd81e240ae4774309bd20f9f7d015c7962d1ea4132ea8c6480d2ea669bc
+EBUILD netbeans-java-9999_p20120829.ebuild 14519 SHA256 730123685b7f0ef0255105b519ad723749bf7219977556368682fbc02e748a10 SHA512 02155c191748358ff22cae814d094cb384597601c30149f2ee27e2be6d757a172c17b56049d9e35b57b86a13aad91735630306a570689002794966b708cbe2e5 WHIRLPOOL f31994cf2c1b9b2881c965eaccff6671364555f2506796cb40ef2dc746094ff3443c6844a63c20d4d1e419f1a05d42223d452cd08739867a89b08e142fbd3d2d
+MISC ChangeLog 42334 SHA256 2309eaef56031fbdb4307966728665bf952fe67de9508aed72e530ab93aac226 SHA512 7fa913c1ea35a3a5a64ab04f39fff68addeea33ac0f3fae05f84110f06543d0c7f17e40c117b1027d9790a4fdf4f67bf9d3012001707562b369cfca69393b188 WHIRLPOOL 33c4c09e0c5305b3c1ccb02329bf9ed23866f513132f1876645f600bdbe6888db9de68cd75ec9012097a3249fbe93456cef43681c46dbe8dc1658c0472d57123
 MISC metadata.xml 251 SHA256 5a4ff53a9862390a48d45c79be24086646e7a6ff0c5bdf0fcb799d0871299003 SHA512 04153cbd9776ad56a94d6a47d043df15d082d8888df8658f18d0d4b659c6c0526ab3a9b22ccbe2471091bf2d8165f224854bc99c51f3664aaf350ccb93532a7c WHIRLPOOL 2ee8a646c6e23bc46c72cac0ecb5cfe43720ec42404ddaeed8ab1b59d139b3d5c1a94764de847f979da978c001c9f02f709d663a68eeea64d19e88f1fefbca43

diff --git a/dev-java/netbeans-java/netbeans-java-9999_p20120829.ebuild b/dev-java/netbeans-java/netbeans-java-9999_p20120829.ebuild
new file mode 100644
index 0000000..e341e45
--- /dev/null
+++ b/dev-java/netbeans-java/netbeans-java-9999_p20120829.ebuild
@@ -0,0 +1,258 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="4"
+WANT_ANT_TASKS="ant-nodeps"
+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/2012-08-29_00-01-28/zip/netbeans-trunk-nightly-201208290001-src.zip"
+SRC_URI="${SOURCE_URL}
+	http://dev.gentoo.org/~fordfrog/distfiles/netbeans-9999-r7-build.xml.patch.bz2
+	http://hg.netbeans.org/binaries/8D36897DA80FE60AB5263534A3CF522F466E8200-ant-libs-1.8.4.zip
+	http://hg.netbeans.org/binaries/29CFD351206016B67DD0D556098513D2B259C69B-apache-maven-3.0.4-bin.zip
+	http://hg.netbeans.org/binaries/F7BD95641780C2AAE8CB9BED1686441A1CE5E749-beansbinding-1.2.1-doc.zip
+	http://hg.netbeans.org/binaries/90F1E67F38F1D8EC25C082F8EB08CFEC9A3B75E2-eclipselink-2.3.2.jar
+	http://hg.netbeans.org/binaries/C8A5E0D558EA7E7349F9D32B838553D5E7DD214F-hibernate-3.2.5-lib.zip
+	http://hg.netbeans.org/binaries/FA2498EE1BBCB1F5647280F71E31CDB440CA1326-indexer-artifact-4.1.3.jar
+	http://hg.netbeans.org/binaries/A30278ABFF1C3C9D79ACB86096142364B17ED475-indexer-core-4.1.3.jar
+	http://hg.netbeans.org/binaries/3BCA561B1B7B284B3D3C097F92A9CD47FF485058-javax.persistence-2.0.3.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/6AE2C83C77A1FFA5840B9151A271AB3F451F6E0C-lucene-core-3.6.1.jar
+	http://hg.netbeans.org/binaries/2BD49695E9891697C5F290AA94C3412DFB95B096-lucene-highlighter-3.6.1.jar
+	http://hg.netbeans.org/binaries/BF206C4AA93C74A739FBAF1F1C78E3AD5F167245-maven-dependency-tree-2.0.jar
+	http://hg.netbeans.org/binaries/0F7FC8D69950B86D5F67529B5C551DB84C5BCF87-nb-javac-api.jar
+	http://hg.netbeans.org/binaries/B3A1E970101BDD0834B360479FCB67A874B5A4AE-nb-javac-impl.jar
+	http://hg.netbeans.org/binaries/663FA7BA7FD8538E44DE9FDC5315C4F733C13E96-org.eclipse.persistence.jpa.jpql_1.0.1.jar
+	http://hg.netbeans.org/binaries/481935A7F53B55502187BD3C28C2BC0D957BB643-org.eclipse.persistence.jpa.modelgen.processor-2.3.2.jar
+	http://hg.netbeans.org/binaries/CB686A65B6C4516A32173CB60385D02027440620-spring-2.5.6.SEC03.jar
+	http://hg.netbeans.org/binaries/08717AD8947FCADA5C55DA89EB474BF053C30E57-spring-asm-3.1.1.RELEASE.jar
+	http://hg.netbeans.org/binaries/83D0E5ADC98714783F0FB7D8A5E97EF4CF08DA49-spring-beans-3.1.1.RELEASE.jar
+	http://hg.netbeans.org/binaries/ECB0784A0712C1BFBC1C2018EEEF6776861300E4-spring-context-3.1.1.RELEASE.jar
+	http://hg.netbeans.org/binaries/FC5DE9FEAD1E54054298D37B196F9CD64CED19BF-spring-context-support-3.1.1.RELEASE.jar
+	http://hg.netbeans.org/binaries/419E9233C8D55F64A0C524BB94C3BA87E51E7D95-spring-core-3.1.1.RELEASE.jar
+	http://hg.netbeans.org/binaries/1486D7787EC4FF8DA8CBF8752D30E4C808412B3F-spring-expression-3.1.1.RELEASE.jar
+	http://hg.netbeans.org/binaries/7CF9A377A1D5F6C4D310D505261B33FBE39F6B85-spring-framework-3.1.1.RELEASE.zip
+	http://hg.netbeans.org/binaries/7B18BBAB94119E8AE322E8599C067C4F4B3701F6-spring-web-3.1.1.RELEASE.jar"
+LICENSE="|| ( CDDL GPL-2-with-linking-exception )"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+S="${WORKDIR}"
+
+CDEPEND="~dev-java/netbeans-platform-${PV}
+	~dev-java/netbeans-harness-${PV}
+	~dev-java/netbeans-ide-${PV}
+	~dev-java/netbeans-websvccommon-${PV}
+	dev-java/beansbinding:0
+	dev-java/cglib:2.2
+	dev-java/jdom:1.0
+	dev-java/tomcat-servlet-api:2.5"
+DEPEND="virtual/jdk:1.6
+	app-arch/unzip
+	${CDEPEND}
+	dev-java/javahelp:0
+	dev-java/junit:4"
+RDEPEND=">=virtual/jdk-1.6
+	${CDEPEND}
+	dev-java/absolutelayout:0
+	dev-java/antlr:0[java]
+	dev-java/asm:2.2
+	dev-java/cglib:2.1
+	dev-java/commons-collections:0
+	dev-java/dom4j:1
+	dev-java/ehcache:1.2
+	dev-java/fastinfoset:0
+	dev-java/javassist:3
+	dev-java/jsr67:0
+	dev-java/jsr181:0
+	dev-java/glassfish-transaction-api:0
+	dev-java/jtidy:0
+	dev-java/mimepull:0
+	dev-java/saaj:0
+	dev-java/stax-ex:0
+	dev-java/xmlstreambuffer:0"
+
+INSTALL_DIR="/usr/share/${PN}-${SLOT}"
+
+EANT_BUILD_XML="nbbuild/build.xml"
+EANT_BUILD_TARGET="rebuild-cluster"
+EANT_EXTRA_ARGS="-Drebuild.cluster.name=nb.cluster.java -Dext.binaries.downloaded=true"
+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 [ -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
+
+	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-r7-build.xml.patch.bz2
+
+	pushd "${S}" >/dev/null || die
+	ln -s "${DISTDIR}"/8D36897DA80FE60AB5263534A3CF522F466E8200-ant-libs-1.8.4.zip o.apache.tools.ant.module/external/ant-libs-1.8.4.zip || die
+	ln -s "${DISTDIR}"/29CFD351206016B67DD0D556098513D2B259C69B-apache-maven-3.0.4-bin.zip maven.embedder/external/apache-maven-3.0.4-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}"/90F1E67F38F1D8EC25C082F8EB08CFEC9A3B75E2-eclipselink-2.3.2.jar j2ee.eclipselink/external/eclipselink-2.3.2.jar || die
+	ln -s "${DISTDIR}"/C8A5E0D558EA7E7349F9D32B838553D5E7DD214F-hibernate-3.2.5-lib.zip hibernatelib/external/hibernate-3.2.5-lib.zip || die
+	ln -s "${DISTDIR}"/FA2498EE1BBCB1F5647280F71E31CDB440CA1326-indexer-artifact-4.1.3.jar maven.indexer/external/indexer-artifact-4.1.3.jar || die
+	ln -s "${DISTDIR}"/A30278ABFF1C3C9D79ACB86096142364B17ED475-indexer-core-4.1.3.jar maven.indexer/external/indexer-core-4.1.3.jar || die
+	ln -s "${DISTDIR}"/3BCA561B1B7B284B3D3C097F92A9CD47FF485058-javax.persistence-2.0.3.jar j2ee.eclipselink/external/javax.persistence-2.0.3.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}"/6AE2C83C77A1FFA5840B9151A271AB3F451F6E0C-lucene-core-3.6.1.jar maven.indexer/external/lucene-core-3.6.1.jar || die
+	ln -s "${DISTDIR}"/2BD49695E9891697C5F290AA94C3412DFB95B096-lucene-highlighter-3.6.1.jar maven.indexer/external/lucene-highlighter-3.6.1.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}"/0F7FC8D69950B86D5F67529B5C551DB84C5BCF87-nb-javac-api.jar libs.javacapi/external/nb-javac-api.jar || die
+	ln -s "${DISTDIR}"/B3A1E970101BDD0834B360479FCB67A874B5A4AE-nb-javac-impl.jar libs.javacimpl/external/nb-javac-impl.jar || die
+	ln -s "${DISTDIR}"/663FA7BA7FD8538E44DE9FDC5315C4F733C13E96-org.eclipse.persistence.jpa.jpql_1.0.1.jar j2ee.eclipselink/external/org.eclipse.persistence.jpa.jpql_1.0.1.jar || die
+	ln -s "${DISTDIR}"/481935A7F53B55502187BD3C28C2BC0D957BB643-org.eclipse.persistence.jpa.modelgen.processor-2.3.2.jar j2ee.eclipselinkmodelgen/external/org.eclipse.persistence.jpa.modelgen.processor-2.3.2.jar || die
+	ln -s "${DISTDIR}"/CB686A65B6C4516A32173CB60385D02027440620-spring-2.5.6.SEC03.jar libs.springframework/external/spring-2.5.6.SEC03.jar || die
+	ln -s "${DISTDIR}"/08717AD8947FCADA5C55DA89EB474BF053C30E57-spring-asm-3.1.1.RELEASE.jar o.springframework.asm/external/spring-asm-3.1.1.RELEASE.jar || die
+	ln -s "${DISTDIR}"/83D0E5ADC98714783F0FB7D8A5E97EF4CF08DA49-spring-beans-3.1.1.RELEASE.jar o.springframework.beans/external/spring-beans-3.1.1.RELEASE.jar || die
+	ln -s "${DISTDIR}"/ECB0784A0712C1BFBC1C2018EEEF6776861300E4-spring-context-3.1.1.RELEASE.jar o.springframework.context/external/spring-context-3.1.1.RELEASE.jar || die
+	ln -s "${DISTDIR}"/FC5DE9FEAD1E54054298D37B196F9CD64CED19BF-spring-context-support-3.1.1.RELEASE.jar o.springframework.context.support/external/spring-context-support-3.1.1.RELEASE.jar || die
+	ln -s "${DISTDIR}"/419E9233C8D55F64A0C524BB94C3BA87E51E7D95-spring-core-3.1.1.RELEASE.jar o.springframework.core/external/spring-core-3.1.1.RELEASE.jar || die
+	ln -s "${DISTDIR}"/1486D7787EC4FF8DA8CBF8752D30E4C808412B3F-spring-expression-3.1.1.RELEASE.jar o.springframework.expression/external/spring-expression-3.1.1.RELEASE.jar || die
+	ln -s "${DISTDIR}"/7CF9A377A1D5F6C4D310D505261B33FBE39F6B85-spring-framework-3.1.1.RELEASE.zip libs.springframework/external/spring-framework-3.1.1.RELEASE.zip || die
+	ln -s "${DISTDIR}"/7B18BBAB94119E8AE322E8599C067C4F4B3701F6-spring-web-3.1.1.RELEASE.jar o.springframework.web/external/spring-web-3.1.1.RELEASE.jar || die
+	popd >/dev/null || die
+}
+
+src_prepare() {
+	einfo "Deleting bundled class files..."
+	find -name "*.class" -type f | xargs rm -vf
+
+	epatch netbeans-9999-r7-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 javax.servlet/external tomcat-servlet-api-2.5 servlet-api.jar javax.servlet-2.5.0.jar
+	java-pkg_jar-from --into libs.cglib/external cglib-2.2 cglib.jar cglib-2.2.jar
+	java-pkg_jar-from --build-only --into libs.junit4/external junit-4 junit.jar junit-4.10.jar
+	java-pkg_jar-from --into maven.embedder/external jdom-1.0 jdom.jar jdom-1.0.jar
+	java-pkg_jar-from --into o.jdesktop.beansbinding/external beansbinding beansbinding.jar beansbinding-1.2.1.jar
+
+	einfo "Linking in other clusters..."
+	mkdir "${S}"/nbbuild/netbeans || die
+	pushd "${S}"/nbbuild/netbeans >/dev/null || die
+
+	ln -s /usr/share/netbeans-platform-${SLOT} platform || die
+	cat /usr/share/netbeans-platform-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+	touch nb.cluster.platform.built
+
+	ln -s /usr/share/netbeans-harness-${SLOT} harness || die
+	cat /usr/share/netbeans-harness-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+	touch nb.cluster.harness.built
+
+	ln -s /usr/share/netbeans-ide-${SLOT} ide || die
+	cat /usr/share/netbeans-ide-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+	touch nb.cluster.ide.built
+
+	ln -s /usr/share/netbeans-websvccommon-${SLOT} websvccommon || die
+	cat /usr/share/netbeans-websvccommon-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+	touch nb.cluster.websvccommon.built
+
+	popd >/dev/null || die
+
+	java-pkg-2_src_prepare
+}
+
+src_install() {
+	pushd nbbuild/netbeans/java >/dev/null || die
+
+	insinto ${INSTALL_DIR}
+	grep -E "/java$" ../moduleCluster.properties > "${D}"/${INSTALL_DIR}/moduleCluster.properties || die
+
+	doins -r *
+	chmod 755 "${D}"/${INSTALL_DIR}/maven/bin/mvn* || die
+	rm -fr "${D}"/${INSTALL_DIR}/maven/bin/*.bat || die
+
+	popd >/dev/null || die
+
+	local instdir=/${INSTALL_DIR}/modules/ext
+	pushd "${D}"/${instdir} >/dev/null || die
+	rm AbsoluteLayout.jar  && dosym /usr/share/absolutelayout/lib/absolutelayout.jar ${instdir}/AbsoluteLayout.jar || die
+	rm beansbinding-1.2.1.jar && dosym /usr/share/beansbinding/lib/beansbinding.jar ${instdir}/beansbinding-1.2.1.jar || die
+	rm cglib-2.2.jar && dosym /usr/share/cglib-2.2/lib/cglib.jar ${instdir}/cglib-2.2.jar || die
+	popd >/dev/null || die
+
+	local instdir=${INSTALL_DIR}/modules/ext/hibernate
+	pushd "${D}"/${instdir} >/dev/null || die
+	rm antlr-2.7.6.jar && dosym /usr/share/antlr/lib/antlr.jar ${instdir}/antlr-2.7.6.jar || die
+	rm asm-attrs.jar && dosym /usr/share/asm-2.2/lib/asm-attrs.jar ${instdir}/asm-attrs.jar || die
+	rm asm.jar && dosym /usr/share/asm-2.2/lib/asm.jar ${instdir}/asm.jar || die
+	rm cglib-2.1.3.jar && dosym /usr/share/cglib-2.1/lib/cglib.jar ${instdir}/cglib-2.1.3.jar || die
+	rm commons-collections-2.1.1.jar && dosym /usr/share/commons-collections/lib/commons-collections.jar ${instdir}/commons-collections-2.1.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 ehcache-1.2.3.jar && dosym /usr/share/ehcache-1.2/lib/ehcache.jar ${instdir}/ehcache-1.2.3.jar || die
+	rm javassist.jar && dosym /usr/share/javassist-3/lib/javassist.jar ${instdir}/javassist.jar || die
+	rm jta.jar && dosym /usr/share/glassfish-transaction-api/lib/jta.jar ${instdir}/jta.jar || die
+	rm jtidy-r8-20060801.jar && dosym /usr/share/jtidy/lib/Tidy.jar ${instdir}/jtidy-r8-20060801.jar || die
+	popd >/dev/null || die
+
+	local instdir=/${INSTALL_DIR}/modules/ext/jaxws22
+	pushd "${D}"/${instdir} >/dev/null || die
+	rm FastInfoset.jar && dosym /usr/share/fastinfoset/lib/fastinfoset.jar ${instdir}/FastInfoset.jar || die
+	rm mimepull.jar && dosym /usr/share/mimepull/lib/mimepull.jar ${instdir}/mimepull.jar || die
+	rm saaj-impl.jar && dosym /usr/share/saaj/lib/saaj.jar ${instdir}/saaj-impl.jar || die
+	rm stax-ex.jar && dosym /usr/share/stax-ex/lib/stax-ex.jar ${instdir}/stax-ex.jar || die
+	rm streambuffer.jar && dosym /usr/share/xmlstreambuffer/lib/streambuffer.jar ${instdir}/streambuffer.jar || die
+	popd >/dev/null || die
+
+	local instdir=${INSTALL_DIR}/modules/ext/jaxws22/api
+	pushd "${D}"/${instdir} >/dev/null || die
+	rm jsr181-api.jar && dosym /usr/share/jsr181/lib/jsr181.jar ${instdir}/jsr181-api.jar || die
+	rm saaj-api.jar && dosym /usr/share/jsr67/lib/jsr67.jar ${instdir}/saaj-api.jar || die
+	popd >/dev/null || die
+
+	local instdir=${INSTALL_DIR}/modules/ext/maven
+	pushd "${D}"/${instdir} >/dev/null || die
+	rm jdom-1.0.jar && dosym /usr/share/jdom-1.0/lib/jdom.jar ${instdir}/jdom-1.0.jar || die
+	popd >/dev/null || die
+
+	dosym ${INSTALL_DIR} /usr/share/netbeans-nb-${SLOT}/java
+}

diff --git a/dev-java/netbeans-javacard/ChangeLog b/dev-java/netbeans-javacard/ChangeLog
index 1de41f5..1d76085 100644
--- a/dev-java/netbeans-javacard/ChangeLog
+++ b/dev-java/netbeans-javacard/ChangeLog
@@ -2,6 +2,12 @@
 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+*netbeans-javacard-9999_p20120829 (29 Aug 2012)
+
+  29 Aug 2012; Miroslav Šulc <fordfrog@gentoo.org>
+  +netbeans-javacard-9999_p20120829.ebuild:
+  bumped to latest nightly sources
+
 *netbeans-javacard-9999_p20120828 (28 Aug 2012)
 
   28 Aug 2012; Miroslav Šulc <fordfrog@gentoo.org>

diff --git a/dev-java/netbeans-javacard/Manifest b/dev-java/netbeans-javacard/Manifest
index 51f0b35..e392c32 100644
--- a/dev-java/netbeans-javacard/Manifest
+++ b/dev-java/netbeans-javacard/Manifest
@@ -12,6 +12,7 @@ DIST netbeans-trunk-nightly-201208070001-src.zip 175050650 SHA256 6cc7938b60458b
 DIST netbeans-trunk-nightly-201208240001-src.zip 173184633 SHA256 37bee7f24459235ca364c051e5163e64aea8d50c40dac333ccd6000846334511 SHA512 59224c5758eb00b8513271db3522eaff3649e097c83de37e70e715c5bee05d1ef1b259308eb462b281b197d60526f9d443dc5030a945549764905ba348f454e5 WHIRLPOOL 09b049f786727c41df14a1633ba1da2488108bc5156e573a32acb2bc10a1adf3f853dcefe3f3580ec56c09778c05c07e0e146cfb1155583f374cc4b8160187f8
 DIST netbeans-trunk-nightly-201208270001-src.zip 173339254 SHA256 6acc27ac8ec5f932548b14783754197d3004f8d7f8e7185660d15679739c2a2c SHA512 dfce408a419a2be3db18c1ce88b9dd0110b8a5116ecad680082f40be80d2658e755390c3ccbefd4bf782e782db025fabf4b49592073f421cc5579397057010de WHIRLPOOL 5916bb9a30045ee363040c4300c6686e0ceb4ec948bf32eeb3690949fa565f16a9421cb12e8368ff92d1fd588bcb78b232b74ada3c4df82f224a8bde7b11be1b
 DIST netbeans-trunk-nightly-201208280001-src.zip 173433779 SHA256 628944f4f671bf648ae4e170731412935bec5cbe319bcbd3709e09d15ab1e3e0 SHA512 6c5bbcb636be5b5096c410700a7a934487359ddab32520e813c16ab4b383da6377f99d5be52d3e9ae35d84770075776035e4f8fa8d7a946b382ca223dfc84ff7 WHIRLPOOL 5755f3652dafdeb738d55f564c15cc160fbfa6f12a7fb71599dff9c8be4228e7aa096fb0080243cfd895800e5be5f051ceac75cd8b2bf6e5a5a67e3d796b3f73
+DIST netbeans-trunk-nightly-201208290001-src.zip 173450421 SHA256 5fffbda1fd5a267cdb96cf0f89fc4b8fb883d3c68af8357f48982d2a26f86cec SHA512 1d8aa09afa64347a697669c2faac9bcafb9a9116c0441609e79c9368b711051bc12faa8f10753a2323bcae5df56dc49695de907a8e6587a50b7d5f9d4ed83603 WHIRLPOOL 00a5a3c20f8d32ad5552cf3f01e110ecff26c117e3ce79e45e55640755a87bcf7dbefa3de9dfc1fc2885ddba00f981b3cbef589a30222002c045c54b465875c3
 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
@@ -19,5 +20,6 @@ EBUILD netbeans-javacard-9999_p20120807.ebuild 4758 SHA256 68dbb2085554b1d0b1301
 EBUILD netbeans-javacard-9999_p20120824.ebuild 4758 SHA256 b0ecec74356516eede200214eb544ea123d0c3fa4c2af68d074c36ab267aec49 SHA512 178794c05a5b12aab894ba1ab975a4e31392337aae4197eb4f9771e3d9a3e78ddee48ff8f5d10342461dc0a9eee13744984f1b5ad47a81d4d2eb192579da3681 WHIRLPOOL 0cece54ca039ed177cd7f9fb8906b5bd356d1ff9ec670d41aa6e87305538ca63d33e8055b90bb2745939f40ef3bc5fdd53caa6921e4d3ed31a8b25a438930c35
 EBUILD netbeans-javacard-9999_p20120827.ebuild 4758 SHA256 bf8d62652cae9b9da9598a4f249204f07c112a22c51a7856b0410b2b65af4996 SHA512 23750a97468ab988964351fd2003e4c01028d92b323ae5e443c3103bedf05132b98a90a8f2b33a05f963f4ae5fd3f28b6221f9b9d683dc8d200a44c018b0b7c5 WHIRLPOOL f100d40212a55e087066f4c0f178d44a0012ecf8409a81c0156035b26a069970d43655ff1cdc501b783f9f42190ab9fde2656f8d75bcac5bcf517391c744d114
 EBUILD netbeans-javacard-9999_p20120828.ebuild 4758 SHA256 01e92b39d2c3e38f0c169019c8b3007197b7a98916766954d968fc2f9a1cad6a SHA512 c93546a572e5608e68bc73af82e75d3e9e70c101bb6091c9b02d41eb86e08f63bf66335517584c06d63b52c000bd4128e65c911f5278ec859072a33e0828a832 WHIRLPOOL 64c72b0020ed440c6335b86e064436e312f7b50e7cb6a9029f888e8c3c4c70c43e9f06730e8a742e8c7921d6c07acc6263947232b1acf2f9e705d7f5c5a853ba
-MISC ChangeLog 42655 SHA256 b215de5bd60f8968e40da65d664d3423e0ccc1a406d53c1c6fd5d557379c3ed4 SHA512 93214efa833359a3ccf16624ddb1d7f13788ea9d120a1263caf67aab57e8e15cefa333697361df44c0da4b7d4d35881dcf26f7f9f401052a7dee944a666fda8c WHIRLPOOL 33660e113d2c834148eff90d9bab387d0190b64f2468742b8311b8b2da88b8d4915cdc2247b898caeb498e067498aaa72e2832da9e11e2c2149c6e05969a4248
+EBUILD netbeans-javacard-9999_p20120829.ebuild 4758 SHA256 882b05ad08a441ad88ee13e07067650ae27f2de5c5c03ee26b7ceaaf80c6f26d SHA512 67fe1f790e50891fc5555649165d24e02a657dd7c8bed6bdbff239e74db9670fa03afc68bf697c5653bf176576bf03633e4928b20ef18e89044cedfb567cef10 WHIRLPOOL 6d624d234ef7f27dabe244d0e6d0725e1fd708cf0209298ef3c8ee57048a072280dd2f8c8ae7dd23b2cd16ca07bc1d6f13317f50a53164ab2bb3a4df6bfc943c
+MISC ChangeLog 42836 SHA256 014a23a1cf347838c03a2c07a37ac0b63f2109d51b28752335194e44c8ca24d8 SHA512 a3433e8e1dffba417d28d0f69230f3c51872fbde3950952648c0238129c7c7f11ac0556e526d044b9024804d8373cf3223bd55dc0d2750c1cc72c4ea598a599a WHIRLPOOL 7f3d0f7d11f69322d1c7981f33cbaa0f1e8bacbe4e8b7de300cecc48578a7d7d34056a4674da61edcd1e3b4f6249087a9d0392ff463ce99a864287f381723a69
 MISC metadata.xml 251 SHA256 5a4ff53a9862390a48d45c79be24086646e7a6ff0c5bdf0fcb799d0871299003 SHA512 04153cbd9776ad56a94d6a47d043df15d082d8888df8658f18d0d4b659c6c0526ab3a9b22ccbe2471091bf2d8165f224854bc99c51f3664aaf350ccb93532a7c WHIRLPOOL 2ee8a646c6e23bc46c72cac0ecb5cfe43720ec42404ddaeed8ab1b59d139b3d5c1a94764de847f979da978c001c9f02f709d663a68eeea64d19e88f1fefbca43

diff --git a/dev-java/netbeans-javacard/netbeans-javacard-9999_p20120829.ebuild b/dev-java/netbeans-javacard/netbeans-javacard-9999_p20120829.ebuild
new file mode 100644
index 0000000..80a1ab6
--- /dev/null
+++ b/dev-java/netbeans-javacard/netbeans-javacard-9999_p20120829.ebuild
@@ -0,0 +1,130 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="4"
+WANT_ANT_TASKS="ant-nodeps"
+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/2012-08-29_00-01-28/zip/netbeans-trunk-nightly-201208290001-src.zip"
+SRC_URI="${SOURCE_URL}
+	http://dev.gentoo.org/~fordfrog/distfiles/netbeans-9999-r7-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-ide-${PV}
+	~dev-java/netbeans-java-${PV}
+	~dev-java/netbeans-platform-${PV}"
+DEPEND="virtual/jdk:1.6
+	app-arch/unzip
+	${CDEPEND}
+	dev-java/javahelp:0"
+RDEPEND=">=virtual/jdk-1.6
+	${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"
+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-r7-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-r7-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-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 91affe5..eb64216 100644
--- a/dev-java/netbeans-javadoc/ChangeLog
+++ b/dev-java/netbeans-javadoc/ChangeLog
@@ -2,6 +2,12 @@
 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+*netbeans-javadoc-9999_p20120829 (29 Aug 2012)
+
+  29 Aug 2012; Miroslav Šulc <fordfrog@gentoo.org>
+  +netbeans-javadoc-9999_p20120829.ebuild:
+  bumped to latest nightly sources
+
 *netbeans-javadoc-9999_p20120828 (28 Aug 2012)
 
   28 Aug 2012; Miroslav Šulc <fordfrog@gentoo.org>

diff --git a/dev-java/netbeans-javadoc/Manifest b/dev-java/netbeans-javadoc/Manifest
index 1c84ae9..139b535 100644
--- a/dev-java/netbeans-javadoc/Manifest
+++ b/dev-java/netbeans-javadoc/Manifest
@@ -12,6 +12,7 @@ DIST netbeans-trunk-nightly-201208070001-src.zip 175050650 SHA256 6cc7938b60458b
 DIST netbeans-trunk-nightly-201208240001-src.zip 173184633 SHA256 37bee7f24459235ca364c051e5163e64aea8d50c40dac333ccd6000846334511 SHA512 59224c5758eb00b8513271db3522eaff3649e097c83de37e70e715c5bee05d1ef1b259308eb462b281b197d60526f9d443dc5030a945549764905ba348f454e5 WHIRLPOOL 09b049f786727c41df14a1633ba1da2488108bc5156e573a32acb2bc10a1adf3f853dcefe3f3580ec56c09778c05c07e0e146cfb1155583f374cc4b8160187f8
 DIST netbeans-trunk-nightly-201208270001-src.zip 173339254 SHA256 6acc27ac8ec5f932548b14783754197d3004f8d7f8e7185660d15679739c2a2c SHA512 dfce408a419a2be3db18c1ce88b9dd0110b8a5116ecad680082f40be80d2658e755390c3ccbefd4bf782e782db025fabf4b49592073f421cc5579397057010de WHIRLPOOL 5916bb9a30045ee363040c4300c6686e0ceb4ec948bf32eeb3690949fa565f16a9421cb12e8368ff92d1fd588bcb78b232b74ada3c4df82f224a8bde7b11be1b
 DIST netbeans-trunk-nightly-201208280001-src.zip 173433779 SHA256 628944f4f671bf648ae4e170731412935bec5cbe319bcbd3709e09d15ab1e3e0 SHA512 6c5bbcb636be5b5096c410700a7a934487359ddab32520e813c16ab4b383da6377f99d5be52d3e9ae35d84770075776035e4f8fa8d7a946b382ca223dfc84ff7 WHIRLPOOL 5755f3652dafdeb738d55f564c15cc160fbfa6f12a7fb71599dff9c8be4228e7aa096fb0080243cfd895800e5be5f051ceac75cd8b2bf6e5a5a67e3d796b3f73
+DIST netbeans-trunk-nightly-201208290001-src.zip 173450421 SHA256 5fffbda1fd5a267cdb96cf0f89fc4b8fb883d3c68af8357f48982d2a26f86cec SHA512 1d8aa09afa64347a697669c2faac9bcafb9a9116c0441609e79c9368b711051bc12faa8f10753a2323bcae5df56dc49695de907a8e6587a50b7d5f9d4ed83603 WHIRLPOOL 00a5a3c20f8d32ad5552cf3f01e110ecff26c117e3ce79e45e55640755a87bcf7dbefa3de9dfc1fc2885ddba00f981b3cbef589a30222002c045c54b465875c3
 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
@@ -19,5 +20,6 @@ EBUILD netbeans-javadoc-9999_p20120807.ebuild 5845 SHA256 4d7e8c3df39562369a5752
 EBUILD netbeans-javadoc-9999_p20120824.ebuild 5845 SHA256 bad9f983f37c960aae21443894c41ada87442d7704b65605e14e86b714916437 SHA512 1cb20094a4a8136691028ae6903bd19959ac186d17aba8452f865edcc7d0961d1d883262670d1644b36f60851338c224756abfa679ba37123fa3571b18ef9212 WHIRLPOOL 87929df97b9bd1f4efc464beecedcfb755d1a44821ccd7850fca6d750e77b805f92a5b25fe0d1c7ae3c7ddd56530ab0f0dcdf0f0f7c67654d173670e41e04057
 EBUILD netbeans-javadoc-9999_p20120827.ebuild 5845 SHA256 df4595fac556b15bd5dc9635b8ae37af41bb9e4d473052d7718f9c7f6b7998ec SHA512 9800890bb04ce18338ec69465183642bd1ce36526f34ee1898718ccba16eca694696787d628ed36450ac3f638505b72a5b13de559987783e1ec4c2375cc2d773 WHIRLPOOL eadc3d3d047a39ebe811883057fee29d7172e6860de2e56778da2504a51320c9bb11c3808c69e610baca086bd3d9e133cac7941592b62244262a3ce49f8da573
 EBUILD netbeans-javadoc-9999_p20120828.ebuild 5845 SHA256 5d379fab955da1a45f48cb86f4f8e31b08478f9447c8ee09cb2c5c6458a21c96 SHA512 d33aa0c845487d9ebe3f7a34d6450f2b1192db57b398891db986af1b243e4f5a7327d99306b8d111cd72ffa436a447363fe50efaa44aa731c4fa51eb03084d76 WHIRLPOOL 67e2f2545e1b6ec7d6d4151d20225a42477024c3b8625bd04f3aa26336111ba8f7a5a0379ba384b3c0d7ee52d6fb83fef1c3a16111ea8d382e964210a128e89b
-MISC ChangeLog 42001 SHA256 bb34a2a15bee346f196ade17cb96ee75b5549dcc1af8fd9e126dc43707e00bfe SHA512 84a3f7e6cdd5124efd467abc3059c180a05543edf23c56cd7e2a611d66cd08f50760f4ab9be4d8fc92fea591998831803eb44802460e7ea5d242484c6b311bf0 WHIRLPOOL ab84c88e90322d25e23207619fe1aafb268b53a09053f2a3c3a3d3949aafe940f2d7b7d5ce12d06ef9a6ab571c893038be997a44a78ed4ef76e052b0012d6628
+EBUILD netbeans-javadoc-9999_p20120829.ebuild 5845 SHA256 106cfcff07fc5362821e1d92afd02492752e3bf0fe2e2aa819a7dd5c73ad5c99 SHA512 7026f10ecdb0175be2729e17536afa95715f07f13992d9bb79821c6a8412c158341f0f06f6017685f426449b7e1331462765011798456ee67aa15f9326b32018 WHIRLPOOL a084353bd6694435159ac1e277c2f65beb0164764f338c4d47ec5ca8fe4a66c3bb047033080d8c7e5f9001217935e7c423bf5ea6143ffc17992f5ba755f3682a
+MISC ChangeLog 42180 SHA256 c783bcd7f2ab35c16befc17b7a2e7088e88a0ff88c67d7856f1a619323cfdeb4 SHA512 1c2e74e9a6bd4603328ada5b1fa304ee8c7c00a3ecbe993ab91c5c972cdb569345f7e5cbf9cd59d36e024fdcbe2c1fe48064dd888c94227ae3cfa059e164724c WHIRLPOOL 31a609a71cb7148c29a1ca6b155b753bb3a2b53b662f8a2bc720c5e99b4d5e1183d7ecd273b2439aa17f179645bae816129e76b7a698105271aefd7bce176704
 MISC metadata.xml 251 SHA256 5a4ff53a9862390a48d45c79be24086646e7a6ff0c5bdf0fcb799d0871299003 SHA512 04153cbd9776ad56a94d6a47d043df15d082d8888df8658f18d0d4b659c6c0526ab3a9b22ccbe2471091bf2d8165f224854bc99c51f3664aaf350ccb93532a7c WHIRLPOOL 2ee8a646c6e23bc46c72cac0ecb5cfe43720ec42404ddaeed8ab1b59d139b3d5c1a94764de847f979da978c001c9f02f709d663a68eeea64d19e88f1fefbca43

diff --git a/dev-java/netbeans-javadoc/netbeans-javadoc-9999_p20120829.ebuild b/dev-java/netbeans-javadoc/netbeans-javadoc-9999_p20120829.ebuild
new file mode 100644
index 0000000..65285f4
--- /dev/null
+++ b/dev-java/netbeans-javadoc/netbeans-javadoc-9999_p20120829.ebuild
@@ -0,0 +1,160 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="4"
+WANT_ANT_TASKS="ant-nodeps"
+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/2012-08-29_00-01-28/zip/netbeans-trunk-nightly-201208290001-src.zip"
+SRC_URI="${SOURCE_URL}
+	http://dev.gentoo.org/~fordfrog/distfiles/netbeans-9999-r7-build.xml.patch.bz2
+	http://hg.netbeans.org/binaries/8D36897DA80FE60AB5263534A3CF522F466E8200-ant-libs-1.8.4.zip"
+LICENSE="|| ( CDDL GPL-2-with-linking-exception )"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+S="${WORKDIR}"
+
+DEPEND="virtual/jdk:1.6
+	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-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"
+
+src_unpack() {
+	unpack $(basename ${SOURCE_URL})
+
+	einfo "Deleting bundled jars..."
+	find -name "*.jar" -type f -delete
+
+	unpack netbeans-9999-r7-build.xml.patch.bz2
+
+	pushd "${S}" >/dev/null || die
+	ln -s "${DISTDIR}"/8D36897DA80FE60AB5263534A3CF522F466E8200-ant-libs-1.8.4.zip o.apache.tools.ant.module/external/ant-libs-1.8.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-r7-build.xml.patch
+
+	# Support for custom patches
+	if [ -n "${NETBEANS9999_PATCHES_DIR}" -a -d "${NETBEANS9999_PATCHES_DIR}" ] ; then
+		local files=`find "${NETBEANS9999_PATCHES_DIR}" -type f`
+
+		if [ -n "${files}" ] ; then
+			einfo "Applying custom patches:"
+
+			for file in ${files} ; do
+				epatch "${file}"
+			done
+		fi
+	fi
+
+	einfo "Symlinking external libraries..."
+	java-pkg_jar-from --build-only --into javahelp/external javahelp jhall.jar jhall-2.0_05.jar
+	java-pkg_jar-from --build-only --into libs.junit4/external junit-4 junit.jar junit-4.10.jar
+
+	einfo "Linking in other clusters..."
+	mkdir "${S}"/nbbuild/netbeans || die
+	pushd "${S}"/nbbuild/netbeans >/dev/null || die
+
+	ln -s /usr/share/netbeans-apisupport-${SLOT} apisupport || die
+	cat /usr/share/netbeans-apisupport-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+	touch nb.cluster.apisupport.built
+
+	ln -s /usr/share/netbeans-cnd-${SLOT} cnd || die
+	cat /usr/share/netbeans-cnd-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+	touch nb.cluster.cnd.built
+
+	ln -s /usr/share/netbeans-dlight-${SLOT} dlight || die
+	cat /usr/share/netbeans-dlight-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+	touch nb.cluster.dlight.built
+
+	ln -s /usr/share/netbeans-enterprise-${SLOT} enterprise || die
+	cat /usr/share/netbeans-enterprise-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+	touch nb.cluster.enterprise.built
+
+	ln -s /usr/share/netbeans-ergonomics-${SLOT} ergonomics || die
+	cat /usr/share/netbeans-ergonomics-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+	touch nb.cluster.ergonomics.built
+
+	ln -s /usr/share/netbeans-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 39f5da4..c1620be 100644
--- a/dev-java/netbeans-javafx/ChangeLog
+++ b/dev-java/netbeans-javafx/ChangeLog
@@ -2,6 +2,12 @@
 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+*netbeans-javafx-9999_p20120829 (29 Aug 2012)
+
+  29 Aug 2012; Miroslav Šulc <fordfrog@gentoo.org>
+  +netbeans-javafx-9999_p20120829.ebuild:
+  bumped to latest nightly sources
+
 *netbeans-javafx-9999_p20120828 (28 Aug 2012)
 
   28 Aug 2012; Miroslav Šulc <fordfrog@gentoo.org>

diff --git a/dev-java/netbeans-javafx/Manifest b/dev-java/netbeans-javafx/Manifest
index 7fe1a5d..25cd02b 100644
--- a/dev-java/netbeans-javafx/Manifest
+++ b/dev-java/netbeans-javafx/Manifest
@@ -12,11 +12,13 @@ DIST netbeans-trunk-nightly-201208070001-src.zip 175050650 SHA256 6cc7938b60458b
 DIST netbeans-trunk-nightly-201208240001-src.zip 173184633 SHA256 37bee7f24459235ca364c051e5163e64aea8d50c40dac333ccd6000846334511 SHA512 59224c5758eb00b8513271db3522eaff3649e097c83de37e70e715c5bee05d1ef1b259308eb462b281b197d60526f9d443dc5030a945549764905ba348f454e5 WHIRLPOOL 09b049f786727c41df14a1633ba1da2488108bc5156e573a32acb2bc10a1adf3f853dcefe3f3580ec56c09778c05c07e0e146cfb1155583f374cc4b8160187f8
 DIST netbeans-trunk-nightly-201208270001-src.zip 173339254 SHA256 6acc27ac8ec5f932548b14783754197d3004f8d7f8e7185660d15679739c2a2c SHA512 dfce408a419a2be3db18c1ce88b9dd0110b8a5116ecad680082f40be80d2658e755390c3ccbefd4bf782e782db025fabf4b49592073f421cc5579397057010de WHIRLPOOL 5916bb9a30045ee363040c4300c6686e0ceb4ec948bf32eeb3690949fa565f16a9421cb12e8368ff92d1fd588bcb78b232b74ada3c4df82f224a8bde7b11be1b
 DIST netbeans-trunk-nightly-201208280001-src.zip 173433779 SHA256 628944f4f671bf648ae4e170731412935bec5cbe319bcbd3709e09d15ab1e3e0 SHA512 6c5bbcb636be5b5096c410700a7a934487359ddab32520e813c16ab4b383da6377f99d5be52d3e9ae35d84770075776035e4f8fa8d7a946b382ca223dfc84ff7 WHIRLPOOL 5755f3652dafdeb738d55f564c15cc160fbfa6f12a7fb71599dff9c8be4228e7aa096fb0080243cfd895800e5be5f051ceac75cd8b2bf6e5a5a67e3d796b3f73
+DIST netbeans-trunk-nightly-201208290001-src.zip 173450421 SHA256 5fffbda1fd5a267cdb96cf0f89fc4b8fb883d3c68af8357f48982d2a26f86cec SHA512 1d8aa09afa64347a697669c2faac9bcafb9a9116c0441609e79c9368b711051bc12faa8f10753a2323bcae5df56dc49695de907a8e6587a50b7d5f9d4ed83603 WHIRLPOOL 00a5a3c20f8d32ad5552cf3f01e110ecff26c117e3ce79e45e55640755a87bcf7dbefa3de9dfc1fc2885ddba00f981b3cbef589a30222002c045c54b465875c3
 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-9999_p20120807.ebuild 4062 SHA256 550ed908d0b5337842580a1364f2d4cccff69926497eeb70e8b3ca4bb71af3ad SHA512 5ed2b2ceed0517f3423a6f4da1517dbe704f25052ea70000bdebf723fae4ce33da2d5084b35e0fef659529f20ece2874b176b5e053ec6e281c96b335640aa53d WHIRLPOOL f925859d1053a0a3650b970250beec9887fc8e0e23dace4e966b20e2f1445d1549be80efaf1bec73f741aa94300cf75326c10a920fb0e17995d5ba03f3c8734c
 EBUILD netbeans-javafx-9999_p20120824.ebuild 4062 SHA256 e47694075a6d0adef9703f7e4445e563a2657464765d48a5a4be526c4cac0a11 SHA512 8789a8777a0b7f706a4a7c3bf15d5e6e84393eccdb89944dd1151367dd261594582f12dcf8406f40544eb91799b7208467852608e70306aa7ac9b7a67bc9ae8c WHIRLPOOL 00e3a945e60dd1b407a926e9e63f3de9992dbd6a3330579a783e604e8b2841a6a451243ecec06649a07a6949d9996d919ae9c136e6b06313dc44d777f35fb30c
 EBUILD netbeans-javafx-9999_p20120827.ebuild 4062 SHA256 378bfaa4cb56efd6dc4e4455f8cefb9f0fc23429a0afc7ee3d51c4f3599656e2 SHA512 dd74044f89d91fdff6915530d3891ec4d6a84113d16680ea24d418fe9fd2f3c9951dd3ee71bd80b3de838414455b687c2e77db335f57dbc98d42663426e87a94 WHIRLPOOL 519e1e3c71e199d72a9d8b3d63d6d3bb801a79e0a3591c9f0890526524c0e9106816859f80f09998c1f28ae6e3ce61caf4d3868c936ae7d5b4328bfb587038c0
 EBUILD netbeans-javafx-9999_p20120828.ebuild 4062 SHA256 bf0b6e8708d5757f3d2991e445a1f437ded458385ca2406902285c368b1b81e5 SHA512 a46ddf5342db026ee94f59dc63cded42eb056f7585ceff5a8cb20d73e6f2c96579b189f40611edf63c90ec463d57ab26e4ac338090218f65c00b3bef5eb28c6a WHIRLPOOL 174ade7d46399e217af3e5c619d1c2784c07800581aec7e65dba12b79698408461b657c42ce4bafdd659d736e95604788f9a13033e895b034faba30df33d7f6a
-MISC ChangeLog 28214 SHA256 c458db26989b82a061b793fe52e7e5a2e026a11ec3fbc267cb94eb889fa838d5 SHA512 4bb11c17e7c46c3626a7c7980acf18c242d5035ae35cdadf90c9158a1a878e1fc1ea9469dfad6c5ee8f3b9fdf791b23b62b0096e359850d75096179a6b2f3a27 WHIRLPOOL daf330425043744842912a5168a5a816a22ec533cb1c7a2d1fc4f61952f817527066826b1f2b2ad36d6a719501fc80404f5134853c1a0badfcd2576de58a5fe0
+EBUILD netbeans-javafx-9999_p20120829.ebuild 4062 SHA256 41d158db203f5ff327c2500992b838374a9ae2caf9bd2c86bea22cc733be4d68 SHA512 cab08eab9583fa773c0ce8a162c371beb8d84e539b62d8333db64d8b33d71192f6c271cc38a17069e6633f72e003810754cb6f46f7cef535084f5548c85fbe76 WHIRLPOOL 28fd9584fee258f362008a4ffd31158b8c03476e321c838d434795a846af4c61b3294f6a248ff925bc3829db0d66c0dcb4ab86eb4d2bd682a97d474d7b7cbdc1
+MISC ChangeLog 28391 SHA256 7a8f27a6c2dcb4edb4ba8e462fca90d38f989abf68c58531ac0cc6873d94ec44 SHA512 b3f049096f18f473c147c61eb5bd68ffbfee9c8438e06ae55094a601853607da8b1d6aa79d9eeb4f3fdaca30a7e6daa31f938919542fbaada5605a33bfa48c60 WHIRLPOOL c495b3312c0338251367a203f574c2941a191f0452ad20b331f9526b966717b873d77ab0f70f53e68d72e93b22218524014060b4ff29f3e5ae12189c99be7009
 MISC metadata.xml 251 SHA256 5a4ff53a9862390a48d45c79be24086646e7a6ff0c5bdf0fcb799d0871299003 SHA512 04153cbd9776ad56a94d6a47d043df15d082d8888df8658f18d0d4b659c6c0526ab3a9b22ccbe2471091bf2d8165f224854bc99c51f3664aaf350ccb93532a7c WHIRLPOOL 2ee8a646c6e23bc46c72cac0ecb5cfe43720ec42404ddaeed8ab1b59d139b3d5c1a94764de847f979da978c001c9f02f709d663a68eeea64d19e88f1fefbca43

diff --git a/dev-java/netbeans-javafx/netbeans-javafx-9999_p20120829.ebuild b/dev-java/netbeans-javafx/netbeans-javafx-9999_p20120829.ebuild
new file mode 100644
index 0000000..9d0565c
--- /dev/null
+++ b/dev-java/netbeans-javafx/netbeans-javafx-9999_p20120829.ebuild
@@ -0,0 +1,116 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="4"
+WANT_ANT_TASKS="ant-nodeps"
+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/2012-08-29_00-01-28/zip/netbeans-trunk-nightly-201208290001-src.zip"
+SRC_URI="${SOURCE_URL}
+	http://dev.gentoo.org/~fordfrog/distfiles/netbeans-9999-r7-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"
+LICENSE="|| ( CDDL GPL-2-with-linking-exception )"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+S="${WORKDIR}"
+
+CDEPEND="~dev-java/netbeans-ide-${PV}
+	~dev-java/netbeans-java-${PV}
+	~dev-java/netbeans-platform-${PV}"
+DEPEND="virtual/jdk:1.6
+	app-arch/unzip
+	${CDEPEND}
+	dev-java/javahelp:0
+	dev-java/junit:4"
+RDEPEND=">=virtual/jdk-1.6
+	${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"
+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-r7-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}"/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-r7-build.xml.patch
+
+	# Support for custom patches
+	if [ -n "${NETBEANS9999_PATCHES_DIR}" -a -d "${NETBEANS9999_PATCHES_DIR}" ] ; then
+		local files=`find "${NETBEANS9999_PATCHES_DIR}" -type f`
+
+		if [ -n "${files}" ] ; then
+			einfo "Applying custom patches:"
+
+			for file in ${files} ; do
+				epatch "${file}"
+			done
+		fi
+	fi
+
+	einfo "Symlinking external libraries..."
+	java-pkg_jar-from --build-only --into apisupport.harness/external javahelp jsearch.jar jsearch-2.0_05.jar
+	java-pkg_jar-from --build-only --into javahelp/external javahelp jhall.jar jhall-2.0_05.jar
+	java-pkg_jar-from --build-only --into libs.junit4/external junit-4 junit.jar junit-4.10.jar
+
+	einfo "Linking in other clusters..."
+	mkdir "${S}"/nbbuild/netbeans || die
+	pushd "${S}"/nbbuild/netbeans >/dev/null || die
+
+	ln -s /usr/share/netbeans-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 6ce41e5..61d3bf4 100644
--- a/dev-java/netbeans-mobility/ChangeLog
+++ b/dev-java/netbeans-mobility/ChangeLog
@@ -2,6 +2,12 @@
 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+*netbeans-mobility-9999_p20120829 (29 Aug 2012)
+
+  29 Aug 2012; Miroslav Šulc <fordfrog@gentoo.org>
+  +netbeans-mobility-9999_p20120829.ebuild:
+  bumped to latest nightly sources
+
 *netbeans-mobility-9999_p20120828 (28 Aug 2012)
 
   28 Aug 2012; Miroslav Šulc <fordfrog@gentoo.org>

diff --git a/dev-java/netbeans-mobility/Manifest b/dev-java/netbeans-mobility/Manifest
index 1dadbd1..a824caf 100644
--- a/dev-java/netbeans-mobility/Manifest
+++ b/dev-java/netbeans-mobility/Manifest
@@ -18,6 +18,7 @@ DIST netbeans-trunk-nightly-201208070001-src.zip 175050650 SHA256 6cc7938b60458b
 DIST netbeans-trunk-nightly-201208240001-src.zip 173184633 SHA256 37bee7f24459235ca364c051e5163e64aea8d50c40dac333ccd6000846334511 SHA512 59224c5758eb00b8513271db3522eaff3649e097c83de37e70e715c5bee05d1ef1b259308eb462b281b197d60526f9d443dc5030a945549764905ba348f454e5 WHIRLPOOL 09b049f786727c41df14a1633ba1da2488108bc5156e573a32acb2bc10a1adf3f853dcefe3f3580ec56c09778c05c07e0e146cfb1155583f374cc4b8160187f8
 DIST netbeans-trunk-nightly-201208270001-src.zip 173339254 SHA256 6acc27ac8ec5f932548b14783754197d3004f8d7f8e7185660d15679739c2a2c SHA512 dfce408a419a2be3db18c1ce88b9dd0110b8a5116ecad680082f40be80d2658e755390c3ccbefd4bf782e782db025fabf4b49592073f421cc5579397057010de WHIRLPOOL 5916bb9a30045ee363040c4300c6686e0ceb4ec948bf32eeb3690949fa565f16a9421cb12e8368ff92d1fd588bcb78b232b74ada3c4df82f224a8bde7b11be1b
 DIST netbeans-trunk-nightly-201208280001-src.zip 173433779 SHA256 628944f4f671bf648ae4e170731412935bec5cbe319bcbd3709e09d15ab1e3e0 SHA512 6c5bbcb636be5b5096c410700a7a934487359ddab32520e813c16ab4b383da6377f99d5be52d3e9ae35d84770075776035e4f8fa8d7a946b382ca223dfc84ff7 WHIRLPOOL 5755f3652dafdeb738d55f564c15cc160fbfa6f12a7fb71599dff9c8be4228e7aa096fb0080243cfd895800e5be5f051ceac75cd8b2bf6e5a5a67e3d796b3f73
+DIST netbeans-trunk-nightly-201208290001-src.zip 173450421 SHA256 5fffbda1fd5a267cdb96cf0f89fc4b8fb883d3c68af8357f48982d2a26f86cec SHA512 1d8aa09afa64347a697669c2faac9bcafb9a9116c0441609e79c9368b711051bc12faa8f10753a2323bcae5df56dc49695de907a8e6587a50b7d5f9d4ed83603 WHIRLPOOL 00a5a3c20f8d32ad5552cf3f01e110ecff26c117e3ce79e45e55640755a87bcf7dbefa3de9dfc1fc2885ddba00f981b3cbef589a30222002c045c54b465875c3
 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
@@ -25,5 +26,6 @@ EBUILD netbeans-mobility-9999_p20120807.ebuild 6611 SHA256 393678a963dd8c2f9825b
 EBUILD netbeans-mobility-9999_p20120824.ebuild 6611 SHA256 4423ed904ce10a5a1c792b556f79890df450262238bba3a9b6a2434e129cd855 SHA512 c404a759e92a173c88080a9cfd12a53a9284f511901fe2f7eb3906e7eabd0052302e9e0ccf3e54f0683b6db3e5880734254d5bf7693a60081bd234b2ed7e4b12 WHIRLPOOL 3d9e80941a74236c4dc91b06c4d892ed82ca2d9dca5cd705f894549c7b041a63088fc5c5753dc19a1e7658b6294219df7df01f8fc3ee975b2293156b6ac4d204
 EBUILD netbeans-mobility-9999_p20120827.ebuild 6611 SHA256 1ad7b9ac19f367dac3b7da5dccf02319de6305f3d0ae07526a454c40f35d8dac SHA512 e72c78c907ce21e396d71ae122444a198fad5fd54209a91402abf4944fecbffda2f792b4a20fb5d70aa7630ab4e00dd9a64d6a0fd38074857fad6e3ef79a181c WHIRLPOOL f2daa0af5a5e2f9dfb195e5fb9c05065ef72acf4b7f0eb4b2ad2f49a2958cfef791feeca63d76abf0ca9f1db7baf49e96ab31294d7233b990c114ee3844234b6
 EBUILD netbeans-mobility-9999_p20120828.ebuild 6611 SHA256 69166f823dd05f9c81b83dc86bf5b23751f1679a7a894a612a3c51ce43de4575 SHA512 0d4055fecc6066383cabbe943804fa78feea5d0f4d4ebca15926620e60821e638f540380d70985c153f18be151889b191d7a3013287deb8dab54e2b27b47d726 WHIRLPOOL 7d24489ce78ac9701813a9b3db99d1bf1ce547fb71a137d05c38df06e2128516d4e5a311f8849f5d8571c9bfd7ae1c75937f4392c5aa6afe7e4c4c2fd24afbe2
-MISC ChangeLog 42796 SHA256 4ee9faf7f5f351a2fa2340bdc11f1cb72318b6e14b67d940e1a950901e32a0f9 SHA512 105f8deb4e0909f9707a4d88643f01b6cb486cc718f1f2ed7a7a90a1304123284c303239b74d662e51b009a1f29f6c1ca451a8f3945e4fe888b7e35209022943 WHIRLPOOL e82df057db049a641ae3639349600e4774297f684a501ed0478048e419dbd23f59523db0be5cefa0c16b242d2b0652a88f9554ffc1b43b0447b79a43546f3774
+EBUILD netbeans-mobility-9999_p20120829.ebuild 6611 SHA256 b27ec872d83ca628871645c39db85e59f265e59a2c98395ef469771d10a9fd79 SHA512 44e04ea5ce8903c8a76727a157ebed7f95bb98eb4bf170a65a73494e88a1189b8cd36cf687f8f5581e955162a60e6cb95f69e47f7c95a0d10761ef5fcfa30130 WHIRLPOOL cc918ecde3d01987c3ff7f68a27ffce41e69e199271d7609b8ea298ccd9415470f8044b3b0dcc4c74f8c166d46c03a0d2db5b2fc125a51a796a9b669635e4f29
+MISC ChangeLog 42977 SHA256 e38cdd8274002797b9f7f54ea8e4b371fdaca63ff887fb23903773ed979dba4d SHA512 79152d8acadf17fb6cb330e78359314e592718c10a822f12c996ce201e62271f46b6c0d08d0510c0d92d03cbe0c00b70c78779df1f77e3064835bad4e3fa7a86 WHIRLPOOL 69d9e528499520d15df3018eee718c381a95cdcdc6013907cab7e1afd88eb4653907761774d43befbfdf4ae8a1ab1efb7388080ea6f657ef050e62a46f306ae2
 MISC metadata.xml 251 SHA256 5a4ff53a9862390a48d45c79be24086646e7a6ff0c5bdf0fcb799d0871299003 SHA512 04153cbd9776ad56a94d6a47d043df15d082d8888df8658f18d0d4b659c6c0526ab3a9b22ccbe2471091bf2d8165f224854bc99c51f3664aaf350ccb93532a7c WHIRLPOOL 2ee8a646c6e23bc46c72cac0ecb5cfe43720ec42404ddaeed8ab1b59d139b3d5c1a94764de847f979da978c001c9f02f709d663a68eeea64d19e88f1fefbca43

diff --git a/dev-java/netbeans-mobility/netbeans-mobility-9999_p20120829.ebuild b/dev-java/netbeans-mobility/netbeans-mobility-9999_p20120829.ebuild
new file mode 100644
index 0000000..a772402
--- /dev/null
+++ b/dev-java/netbeans-mobility/netbeans-mobility-9999_p20120829.ebuild
@@ -0,0 +1,150 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="4"
+WANT_ANT_TASKS="ant-nodeps"
+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/2012-08-29_00-01-28/zip/netbeans-trunk-nightly-201208290001-src.zip"
+SRC_URI="${SOURCE_URL}
+	http://dev.gentoo.org/~fordfrog/distfiles/netbeans-9999-r7-build.xml.patch.bz2
+	http://hg.netbeans.org/binaries/CEF99941E945D543DF0711F2C6AEF765B50F8501-jakarta-slide-ant-webdav-2.1.jar
+	http://hg.netbeans.org/binaries/D1B5BA3BFE8DCFAF08A0468F8879EF1D0E998038-jakarta-slide-webdavlib-2.1.jar
+	http://hg.netbeans.org/binaries/2FB485DD8C5EFC7972037781BFFF0CE31316FCE6-jmunit-1.2.1-api.zip
+	http://hg.netbeans.org/binaries/BD84F1A4C0789070CC62A8D2DBA75121A57C069C-jmunit4cldc10-1.2.1.jar
+	http://hg.netbeans.org/binaries/D76B8334DCBDBE93297AA5C02B17D9A856E72246-jmunit4cldc11-1.2.1.jar
+	http://hg.netbeans.org/binaries/D63B2CB355170F1BC8E126E43021047F94243B70-perseus-nb-1.0.1.jar"
+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-ide-${PV}
+	~dev-java/netbeans-java-${PV}
+	~dev-java/netbeans-platform-${PV}
+	~dev-java/netbeans-websvccommon-${PV}
+	dev-java/ant-contrib:0
+	dev-java/commons-httpclient:3
+	dev-java/jdom:1.0"
+DEPEND="virtual/jdk:1.6
+	app-arch/unzip
+	${CDEPEND}
+	dev-java/javahelp:0"
+RDEPEND=">=virtual/jdk-1.6
+	${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"
+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-r7-build.xml.patch.bz2
+
+	pushd "${S}" >/dev/null || die
+	ln -s "${DISTDIR}"/CEF99941E945D543DF0711F2C6AEF765B50F8501-jakarta-slide-ant-webdav-2.1.jar mobility.deployment.webdav/external/jakarta-slide-ant-webdav-2.1.jar || die
+	ln -s "${DISTDIR}"/D1B5BA3BFE8DCFAF08A0468F8879EF1D0E998038-jakarta-slide-webdavlib-2.1.jar mobility.deployment.webdav/external/jakarta-slide-webdavlib-2.1.jar || die
+	ln -s "${DISTDIR}"/2FB485DD8C5EFC7972037781BFFF0CE31316FCE6-jmunit-1.2.1-api.zip mobility.j2meunit/external/jmunit-1.2.1-api.zip || die
+	ln -s "${DISTDIR}"/BD84F1A4C0789070CC62A8D2DBA75121A57C069C-jmunit4cldc10-1.2.1.jar mobility.j2meunit/external/jmunit4cldc10-1.2.1.jar || die
+	ln -s "${DISTDIR}"/D76B8334DCBDBE93297AA5C02B17D9A856E72246-jmunit4cldc11-1.2.1.jar mobility.j2meunit/external/jmunit4cldc11-1.2.1.jar || die
+	ln -s "${DISTDIR}"/D63B2CB355170F1BC8E126E43021047F94243B70-perseus-nb-1.0.1.jar svg.perseus/external/perseus-nb-1.0.1.jar || die
+	popd >/dev/null || die
+}
+
+src_prepare() {
+	einfo "Deleting bundled class files..."
+	find -name "*.class" -type f | xargs rm -vf
+
+	epatch netbeans-9999-r7-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 mobility.antext/external ant-contrib ant-contrib.jar ant-contrib-1.0b3.jar
+	java-pkg_jar-from --into mobility.deployment.webdav/external commons-httpclient-3 commons-httpclient.jar commons-httpclient-3.0.1.jar
+	java-pkg_jar-from --into mobility.deployment.webdav/external jdom-1.0 jdom.jar jdom-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-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-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
+
+	local instdir=${INSTALL_DIR}/modules/ext
+	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 commons-httpclient-3.0.1.jar && dosym /usr/share/commons-httpclient-3/lib/commons-httpclient.jar ${instdir}/commons-httpclient-3.0.1.jar || die
+	rm jdom-1.0.jar && dosym /usr/share/jdom-1.0/lib/jdom.jar ${instdir}/jdom-1.0.jar || die
+	popd >/dev/null || die
+
+	dosym ${INSTALL_DIR} /usr/share/netbeans-nb-${SLOT}/mobility
+}

diff --git a/dev-java/netbeans-nb/ChangeLog b/dev-java/netbeans-nb/ChangeLog
index d09034d..dc0b2a3 100644
--- a/dev-java/netbeans-nb/ChangeLog
+++ b/dev-java/netbeans-nb/ChangeLog
@@ -2,6 +2,12 @@
 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+*netbeans-nb-9999_p20120829 (29 Aug 2012)
+
+  29 Aug 2012; Miroslav Šulc <fordfrog@gentoo.org>
+  +netbeans-nb-9999_p20120829.ebuild:
+  bumped to latest nightly sources
+
 *netbeans-nb-9999_p20120828 (28 Aug 2012)
 
   28 Aug 2012; Miroslav Šulc <fordfrog@gentoo.org>

diff --git a/dev-java/netbeans-nb/Manifest b/dev-java/netbeans-nb/Manifest
index 505f395..6cb3b17 100644
--- a/dev-java/netbeans-nb/Manifest
+++ b/dev-java/netbeans-nb/Manifest
@@ -14,6 +14,7 @@ DIST netbeans-trunk-nightly-201208070001-src.zip 175050650 SHA256 6cc7938b60458b
 DIST netbeans-trunk-nightly-201208240001-src.zip 173184633 SHA256 37bee7f24459235ca364c051e5163e64aea8d50c40dac333ccd6000846334511 SHA512 59224c5758eb00b8513271db3522eaff3649e097c83de37e70e715c5bee05d1ef1b259308eb462b281b197d60526f9d443dc5030a945549764905ba348f454e5 WHIRLPOOL 09b049f786727c41df14a1633ba1da2488108bc5156e573a32acb2bc10a1adf3f853dcefe3f3580ec56c09778c05c07e0e146cfb1155583f374cc4b8160187f8
 DIST netbeans-trunk-nightly-201208270001-src.zip 173339254 SHA256 6acc27ac8ec5f932548b14783754197d3004f8d7f8e7185660d15679739c2a2c SHA512 dfce408a419a2be3db18c1ce88b9dd0110b8a5116ecad680082f40be80d2658e755390c3ccbefd4bf782e782db025fabf4b49592073f421cc5579397057010de WHIRLPOOL 5916bb9a30045ee363040c4300c6686e0ceb4ec948bf32eeb3690949fa565f16a9421cb12e8368ff92d1fd588bcb78b232b74ada3c4df82f224a8bde7b11be1b
 DIST netbeans-trunk-nightly-201208280001-src.zip 173433779 SHA256 628944f4f671bf648ae4e170731412935bec5cbe319bcbd3709e09d15ab1e3e0 SHA512 6c5bbcb636be5b5096c410700a7a934487359ddab32520e813c16ab4b383da6377f99d5be52d3e9ae35d84770075776035e4f8fa8d7a946b382ca223dfc84ff7 WHIRLPOOL 5755f3652dafdeb738d55f564c15cc160fbfa6f12a7fb71599dff9c8be4228e7aa096fb0080243cfd895800e5be5f051ceac75cd8b2bf6e5a5a67e3d796b3f73
+DIST netbeans-trunk-nightly-201208290001-src.zip 173450421 SHA256 5fffbda1fd5a267cdb96cf0f89fc4b8fb883d3c68af8357f48982d2a26f86cec SHA512 1d8aa09afa64347a697669c2faac9bcafb9a9116c0441609e79c9368b711051bc12faa8f10753a2323bcae5df56dc49695de907a8e6587a50b7d5f9d4ed83603 WHIRLPOOL 00a5a3c20f8d32ad5552cf3f01e110ecff26c117e3ce79e45e55640755a87bcf7dbefa3de9dfc1fc2885ddba00f981b3cbef589a30222002c045c54b465875c3
 EBUILD netbeans-nb-7.0.1.ebuild 5116 SHA256 17ac4a9aa7931d052a899ad8649bed42d5c37a06d913e0dc8ded118d7ef01c47 SHA512 932964fcc4d8d614a2ad8531eecd9298b89f06ac97db68e140e77bceb5d9c08c35524ae4766c18f5467bb01391a9c9f29cd4c5e45c29664b91340a33b0804d7e WHIRLPOOL 0e935fc1c63b61a97e60941111cd30fe4f7b740743013074f7722f3556473ccdba8bcd70ac6f544c67e2a60dd2d7c96abc9bf6bfc51aa6e9ff3135d041ebf3a1
 EBUILD netbeans-nb-7.1.2.ebuild 4987 SHA256 075ef11ab57b236061e4df3e905524ecfba2966c5d735d113b878a03219a9cc1 SHA512 321182e1780acfdbff56c1c84748897cf8c4dcf9fc94d0a6db71a018968e8f96e479a2dbb2f97655d50ee836ac1a81fdd62f6f04ba1b2d54157158e577c2b986 WHIRLPOOL 3d3742c6e90f0231ecabf5200446d00900204f51b9fb2be92954668dae86584d8ef477be11cad462a9721a04a1bc97673b8d8d808ef49f0345d979022471d919
 EBUILD netbeans-nb-7.2.ebuild 4970 SHA256 79d73ca57dd63e25afccd44816dd248e79f6974dd7e9ebbf4b3b11eb659092d9 SHA512 083317f6944c5fe38507fbca18804888e25c23070420a3080bb68bf00be95e520541c381482a6c55ff60656b36f8dd3fac60f2c605e4e3ee0ae92427faa468da WHIRLPOOL 7f02ab258612c5035b26326f25aaa08bf60fc0ff3108a2bf61dbcde9fe845e647f91319938206742a5f131fe905678833f3ad2449f68efef7e6ed4203f7538f3
@@ -21,5 +22,6 @@ EBUILD netbeans-nb-9999_p20120807.ebuild 5010 SHA256 168a217aa71e15156506fb43ff8
 EBUILD netbeans-nb-9999_p20120824.ebuild 5010 SHA256 01748eb96f36334f97132a177a1ef0e14aee33ec926b071688f74b5df54c8935 SHA512 34386a0a912c04c65099af965e056e4a562ad95feae805f82ce9370136151602023aa66a9996180c9030d4c3f977dea8e5b136be154766f627ddc48bc3cdf184 WHIRLPOOL ff9f7606856dcdb94b3dd15c9558152caacb2db5060ace631d473e7c4ec100ebc2c0b22293f94b7a7318382e07009272d634170e76eace7f16b482546dbb9575
 EBUILD netbeans-nb-9999_p20120827.ebuild 5010 SHA256 0d1d350d005248a8c69f6dad61e133cc2d4f4af90021ba9a4874f68ec13af9ae SHA512 dcfe4a1cf8359895173c4d5bde77a530c924a0cc4ab9d658eebda6792ff0d56c4c4bc4c7e56371a2b00d555e6de9d0267d6bde1cf4b156a90eb6faf0fe2d451c WHIRLPOOL 40fb6414472b668e203f53fa787e128a1f0d20d1f289a049d95ef618277eb71c6c6966606d87ee5e9b4a6c97e4da14297e32f2848501307ea79595ada390fac5
 EBUILD netbeans-nb-9999_p20120828.ebuild 5010 SHA256 2f6906ec31dffc076a082412ca5075be1232f3174ab6c9ff70087a19e5a91826 SHA512 dcebe7cf062596ab64b0680a0ea261371dbbd5bdbdbd6ee15b2ca752ab43e11bef06d3553b3ced2961d24e92596586888f82c9c8ac513e62e9d0832a12bb26ba WHIRLPOOL 2c14be61abffcb32fb9c1605be942306137b937227510454a26c1adbb2382aa9b75101f606c4f38753466bd73808015830636c56835ef8fb5f20954156fba539
-MISC ChangeLog 40336 SHA256 da93bb36ec81647e48203a0af13e87e4702057e9b92434807597922c106051bb SHA512 2aa399f2bca29312cc39694bd5686ad163efcf267581ea516440259e2236c552d25b0a05215e0f4b0599fbf0a5d83cca491bccf4a4bfb4afee631fbc26de5cab WHIRLPOOL 2c9c794b35184a564522815da0c604cc0487c99b6a776603e824d0d596a8113ba5b7ec860fe990fa4c2c0db6417904e0e7ac5ea385918122d0ba5a79978b9cac
+EBUILD netbeans-nb-9999_p20120829.ebuild 5010 SHA256 17c25d34e46ada75465e19d70c4c8f199b99f5d4958c4f6a8f5a995c724ee1f8 SHA512 1d34e30eb412befe93f65cec06964f4612981f5b915c19e4d9943d9ecfba81168d9dd8615898801d2f30fe8b98d9eb3dfbb5e36bcb0e3711b7fe0d64e08f5cc4 WHIRLPOOL 35bfc8d36e1fbb464fc590bcc17fe85a7df8f10f88e8913663c592be386127f8fa2a88a2d7316a7e526ff7ad61fa7c3f395c62f1891d8273acab04cfd65ca321
+MISC ChangeLog 40505 SHA256 1a8dffad4a253b94634e642c3ffc900811394d3b2de378954aefe96bf680af4d SHA512 ab573ff0fe5bed91bc799b0e5a99ab3d1250ec2746817bd8dd11a3c397e3a0db053339527d2270a69a6312b3197e4ec49530295cfe6cbdf99a273db72bab3af8 WHIRLPOOL 21387252ff5f0b8291a1e36854ef03fe71c36812e57c907cef958cc114af494f978b56053cb553031ba664603eda5ae248f5e95417c5eebcc687ee768dbfe4f6
 MISC metadata.xml 396 SHA256 5083064ed2246a84e2aedbc326d56cc8bf571fd8e7c24af0e4bc14c50f1ebb49 SHA512 a0b2171264f1ea6ba33b184ef802589d679eaba5c4a1753e149d7cd93c2c31aace934eddf5dffed6be341d9e4061c843c849e464afb7b4417c6c2dff3e9ff1c7 WHIRLPOOL 1be3a1a3c2b64d8818108de191db834395ee4ab3cf7994914c9331d6e42ca9015dd2493b9516db20990cb30b4dea385a3dde08b75df956ca39ad65e3fa721cb7

diff --git a/dev-java/netbeans-nb/netbeans-nb-9999_p20120829.ebuild b/dev-java/netbeans-nb/netbeans-nb-9999_p20120829.ebuild
new file mode 100644
index 0000000..7ebf406
--- /dev/null
+++ b/dev-java/netbeans-nb/netbeans-nb-9999_p20120829.ebuild
@@ -0,0 +1,149 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="4"
+WANT_ANT_TASKS="ant-nodeps"
+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/2012-08-29_00-01-28/zip/netbeans-trunk-nightly-201208290001-src.zip"
+SRC_URI="${SOURCE_URL}
+	http://dev.gentoo.org/~fordfrog/distfiles/netbeans-9999-r7-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.6
+	app-arch/unzip
+	${CDEPEND}
+	dev-java/javahelp:0"
+RDEPEND=">=virtual/jdk-1.6
+	${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"
+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-r7-build.xml.patch.bz2
+}
+
+src_prepare() {
+	einfo "Deleting bundled class files..."
+	find -name "*.class" -type f | xargs rm -vf
+
+	epatch netbeans-9999-r7-build.xml.patch
+	use keychain && epatch "${FILESDIR}"/${SLOT}/keychain-support.patch
+
+	# Support for custom patches
+	if [ -n "${NETBEANS9999_PATCHES_DIR}" -a -d "${NETBEANS9999_PATCHES_DIR}" ] ; then
+		local files=`find "${NETBEANS9999_PATCHES_DIR}" -type f`
+
+		if [ -n "${files}" ] ; then
+			einfo "Applying custom patches:"
+
+			for file in ${files} ; do
+				epatch "${file}"
+			done
+		fi
+	fi
+
+	einfo "Symlinking external libraries..."
+	java-pkg_jar-from --build-only --into javahelp/external javahelp jhall.jar jhall-2.0_05.jar
+
+	einfo "Linking in other clusters..."
+	mkdir "${S}"/nbbuild/netbeans || die
+	pushd "${S}"/nbbuild/netbeans >/dev/null || die
+
+	ln -s /usr/share/netbeans-platform-${SLOT} platform || die
+	cat /usr/share/netbeans-platform-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+	touch nb.cluster.platform.built
+
+	ln -s /usr/share/netbeans-harness-${SLOT} harness || die
+	cat /usr/share/netbeans-harness-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+	touch nb.cluster.harness.built
+
+	ln -s /usr/share/netbeans-ide-${SLOT} ide || die
+	cat /usr/share/netbeans-ide-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
+	touch nb.cluster.ide.built
+	popd >/dev/null || die
+
+	java-pkg-2_src_prepare
+}
+
+src_install() {
+	pushd nbbuild/netbeans >/dev/null || die
+
+	insinto ${INSTALL_DIR}/nb
+
+	grep -E "/nb$" moduleCluster.properties > "${D}"/${INSTALL_DIR}/nb/moduleCluster.properties || die
+
+	insinto ${INSTALL_DIR}
+	doins -r nb
+	dodoc *.txt
+	dohtml *.html *.css
+
+	insinto ${INSTALL_DIR}/bin
+	doins bin/netbeans
+	dosym ${INSTALL_DIR}/bin/netbeans /usr/bin/netbeans-${SLOT}
+	fperms 755 ${INSTALL_DIR}/bin/netbeans
+
+	insinto /etc/netbeans-${SLOT}
+	doins etc/*
+	dosym /etc/netbeans-${SLOT} ${INSTALL_DIR}/etc
+
+	# fix paths per bug# 163483
+	if [[ -e "${D}"/${INSTALL_DIR}/bin/netbeans ]]; then
+		sed -i -e "s:\"\$progdir\"/../etc/:/etc/netbeans-${SLOT}/:" "${D}"/${INSTALL_DIR}/bin/netbeans
+		sed -i -e "s:\"\${userdir}\"/etc/:/etc/netbeans-${SLOT}/:" "${D}"/${INSTALL_DIR}/bin/netbeans
+	fi
+
+	dodir /usr/share/icons/hicolor/32x32/apps
+	dosym ${INSTALL_DIR}/nb/netbeans.png /usr/share/icons/hicolor/32x32/apps/netbeans-${SLOT}.png
+	dodir /usr/share/icons/hicolor/128x128/apps
+	cp "${DISTDIR}"/netbeans-7.0.png "${D}"/usr/share/icons/hicolor/128x128/apps/netbeans-${SLOT}.png || die
+	dosym /usr/share/icons/hicolor/128x128/apps/netbeans-${SLOT}.png /usr/share/pixmaps/netbeans-${SLOT}.png
+
+	popd >/dev/null || die
+
+	make_desktop_entry netbeans-${SLOT} "Netbeans ${PV}" netbeans-${SLOT} Development
+
+	mkdir -p  "${D}"/${INSTALL_DIR}/nb/config || die
+	echo "NBGNT" > "${D}"/${INSTALL_DIR}/nb/config/productid || die
+}
+
+pkg_postinst() {
+	if use keychain ; then
+		einfo "You enabled keychain support, that means NetBeans will use keychain for managing"
+		einfo "your keys while connecting to ssh protected repositories. If you want to load some"
+		einfo "keys on NetBeans startup, create file keychain-keys.txt in your userdir"
+		einfo "(~/.netbeans/${SLOT}/keychain-keys.txt) and put names of your keys in the file,"
+		einfo "each key on single line, for example:"
+		einfo "id_dsa"
+		einfo "id_dsa_gentoo"
+		einfo "If on NetBeans startup key will not be handled by keychain yet, you will be asked"
+		einfo "for key password (only this time and never again). You can find more information"
+		einfo "about keychain at http://www.gentoo.org/doc/en/keychain-guide.xml"
+	fi
+}

diff --git a/dev-java/netbeans-php/ChangeLog b/dev-java/netbeans-php/ChangeLog
index a310a1a..0b08118 100644
--- a/dev-java/netbeans-php/ChangeLog
+++ b/dev-java/netbeans-php/ChangeLog
@@ -2,6 +2,12 @@
 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+*netbeans-php-9999_p20120829 (29 Aug 2012)
+
+  29 Aug 2012; Miroslav Šulc <fordfrog@gentoo.org>
+  +netbeans-php-9999_p20120829.ebuild:
+  bumped to latest nightly sources
+
 *netbeans-php-9999_p20120828 (28 Aug 2012)
 
   28 Aug 2012; Miroslav Šulc <fordfrog@gentoo.org>

diff --git a/dev-java/netbeans-php/Manifest b/dev-java/netbeans-php/Manifest
index ceb3def..67e4ef3 100644
--- a/dev-java/netbeans-php/Manifest
+++ b/dev-java/netbeans-php/Manifest
@@ -16,6 +16,7 @@ DIST netbeans-trunk-nightly-201208070001-src.zip 175050650 SHA256 6cc7938b60458b
 DIST netbeans-trunk-nightly-201208240001-src.zip 173184633 SHA256 37bee7f24459235ca364c051e5163e64aea8d50c40dac333ccd6000846334511 SHA512 59224c5758eb00b8513271db3522eaff3649e097c83de37e70e715c5bee05d1ef1b259308eb462b281b197d60526f9d443dc5030a945549764905ba348f454e5 WHIRLPOOL 09b049f786727c41df14a1633ba1da2488108bc5156e573a32acb2bc10a1adf3f853dcefe3f3580ec56c09778c05c07e0e146cfb1155583f374cc4b8160187f8
 DIST netbeans-trunk-nightly-201208270001-src.zip 173339254 SHA256 6acc27ac8ec5f932548b14783754197d3004f8d7f8e7185660d15679739c2a2c SHA512 dfce408a419a2be3db18c1ce88b9dd0110b8a5116ecad680082f40be80d2658e755390c3ccbefd4bf782e782db025fabf4b49592073f421cc5579397057010de WHIRLPOOL 5916bb9a30045ee363040c4300c6686e0ceb4ec948bf32eeb3690949fa565f16a9421cb12e8368ff92d1fd588bcb78b232b74ada3c4df82f224a8bde7b11be1b
 DIST netbeans-trunk-nightly-201208280001-src.zip 173433779 SHA256 628944f4f671bf648ae4e170731412935bec5cbe319bcbd3709e09d15ab1e3e0 SHA512 6c5bbcb636be5b5096c410700a7a934487359ddab32520e813c16ab4b383da6377f99d5be52d3e9ae35d84770075776035e4f8fa8d7a946b382ca223dfc84ff7 WHIRLPOOL 5755f3652dafdeb738d55f564c15cc160fbfa6f12a7fb71599dff9c8be4228e7aa096fb0080243cfd895800e5be5f051ceac75cd8b2bf6e5a5a67e3d796b3f73
+DIST netbeans-trunk-nightly-201208290001-src.zip 173450421 SHA256 5fffbda1fd5a267cdb96cf0f89fc4b8fb883d3c68af8357f48982d2a26f86cec SHA512 1d8aa09afa64347a697669c2faac9bcafb9a9116c0441609e79c9368b711051bc12faa8f10753a2323bcae5df56dc49695de907a8e6587a50b7d5f9d4ed83603 WHIRLPOOL 00a5a3c20f8d32ad5552cf3f01e110ecff26c117e3ce79e45e55640755a87bcf7dbefa3de9dfc1fc2885ddba00f981b3cbef589a30222002c045c54b465875c3
 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
@@ -23,5 +24,6 @@ EBUILD netbeans-php-9999_p20120807.ebuild 4199 SHA256 c5ac29e7ed94db1773f43109da
 EBUILD netbeans-php-9999_p20120824.ebuild 4199 SHA256 1b15f671f21767c748f3f057515b0655b7f581a665e607f2a2d7040f85f131c5 SHA512 bd41ab6ac9bad2e84c9686bdbaa24adc4541f50cae1e62698f76d78e101602380b03d3651b968fae72b8680008d4c9b24a31efd591d586a836c842a1a3db400f WHIRLPOOL 597b75cf48a2e4aaa61b9ec768b627438f0b7d58351995ede94d73ac32a9789d86248020f91b7af16344e31af3bd1b7dc44bfc9fc557e4e15de5780de0b74c94
 EBUILD netbeans-php-9999_p20120827.ebuild 4199 SHA256 526c51c301077eaa697618fddb25df4f41ddef10434869c2a8f6136cf12c6fd4 SHA512 3a74d566d3040f18e6a2b9624fb258e539fcf20d42a64ffea22c31291886a1d67c4a371d859be188433ba0ba0f0ac048b6755191fce71480a2c13df1bbd1e1e2 WHIRLPOOL 9067c65580b95bee614050ff5d748aa133351210beb8faa31a07a7cca3041981f17acb038a6c3f1ab9a7d4c500eb2e339fbb7c3b888f1ad65415657edbcfb079
 EBUILD netbeans-php-9999_p20120828.ebuild 4199 SHA256 3788a82e8149cf633784d4fe3799c073f71d1c6fd1487b5cb33cc3335dd519e9 SHA512 10c1266a2a89cf7463fd21937b748886bdca32fd42e57e48ab83fe829b97e77d3a967a559716f0454fa8c8542175fae9573962a14972f501a0b3d5dc12095c28 WHIRLPOOL 0a97396933430919290d76520e9a796921431b8de5d0dae284d4906e768a681acfb6be519893dc8959e6397cc02452f508633fa69a2e6376f26eb7344e4c031a
-MISC ChangeLog 40020 SHA256 58173d388f370e3720b3d380b70a43c9317fec3557c2636085b06161986ec213 SHA512 949c9559b06151eeca15fcc72e2dc10d6db58a2eb736a985bbf60d30eb12bb80253e8907427165f96e879a973bee8a69bb9e03386075707d58a839037096c3d3 WHIRLPOOL 3ce27b8b239b65bcba25fe6cd9b8d0e0c2ce593b3f9516118577dcbeab9f9c3195d44c0d0e44aadf5ed8062270f83e963e047eabb249d50e67fdedcd11273fa4
+EBUILD netbeans-php-9999_p20120829.ebuild 4199 SHA256 a30d1f8ecbeab86b9aa4aab560f3747b1007196cfe4848401f985e6392ba3733 SHA512 0b79ec04872b9ecd399756c276fe4b0a2e77565a58f93980b01082079d6b76b4fa155f112b8dba9f12e5914aaade3f688f24bdf02ed27fdb446f8638ce3f680f WHIRLPOOL 01c25a04d0fbd6c05dea77fcc52059b3235b1e562e05af1fac3631b07a711b053d08c88e079d8a2b8df33eda55fde0584e3572294c7956c9c4c1c279326705bb
+MISC ChangeLog 40191 SHA256 58a79c76ecaebd40a785b9616ade3962d92cf9d3cd434a6d77850de58c82f59e SHA512 7c7426d82adc23d8ff5205b8235923f22fbd6a2ab20c4f8f0b90d9e27f1d6d4fb7d33cf56de6b3a9254213c67abfe8c966386a03ae3eeebc30d8b8af83f9f241 WHIRLPOOL 65b09b39a111b5f469141fa573ba0384ad2d08e053e0185e335c264ed9eeeeb3f6a50c3052930f28357c3819fb1aad72f52a39422d4926da56d67eacec20ae1e
 MISC metadata.xml 251 SHA256 5a4ff53a9862390a48d45c79be24086646e7a6ff0c5bdf0fcb799d0871299003 SHA512 04153cbd9776ad56a94d6a47d043df15d082d8888df8658f18d0d4b659c6c0526ab3a9b22ccbe2471091bf2d8165f224854bc99c51f3664aaf350ccb93532a7c WHIRLPOOL 2ee8a646c6e23bc46c72cac0ecb5cfe43720ec42404ddaeed8ab1b59d139b3d5c1a94764de847f979da978c001c9f02f709d663a68eeea64d19e88f1fefbca43

diff --git a/dev-java/netbeans-php/netbeans-php-9999_p20120829.ebuild b/dev-java/netbeans-php/netbeans-php-9999_p20120829.ebuild
new file mode 100644
index 0000000..ebb831f
--- /dev/null
+++ b/dev-java/netbeans-php/netbeans-php-9999_p20120829.ebuild
@@ -0,0 +1,123 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="4"
+WANT_ANT_TASKS="ant-nodeps"
+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/2012-08-29_00-01-28/zip/netbeans-trunk-nightly-201208290001-src.zip"
+SRC_URI="${SOURCE_URL}
+	http://dev.gentoo.org/~fordfrog/distfiles/netbeans-9999-r7-build.xml.patch.bz2
+	http://hg.netbeans.org/binaries/0702230EB3354A1687E4496D73A94F33A1E343BD-phpdocdesc.zip
+	http://hg.netbeans.org/binaries/CFC66D677007430C0841704183EED3A5DD72E5D9-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-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.6
+	app-arch/unzip
+	${CDEPEND}
+	dev-java/javahelp:0"
+RDEPEND=">=virtual/jdk-1.6
+	${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"
+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-r7-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}"/CFC66D677007430C0841704183EED3A5DD72E5D9-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-r7-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-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 9ec920e..3def5c3 100644
--- a/dev-java/netbeans-platform/ChangeLog
+++ b/dev-java/netbeans-platform/ChangeLog
@@ -2,6 +2,12 @@
 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+*netbeans-platform-9999_p20120829 (29 Aug 2012)
+
+  29 Aug 2012; Miroslav Šulc <fordfrog@gentoo.org>
+  +netbeans-platform-9999_p20120829.ebuild:
+  bumped to latest nightly sources
+
 *netbeans-platform-9999_p20120828 (28 Aug 2012)
 
   28 Aug 2012; Miroslav Šulc <fordfrog@gentoo.org>

diff --git a/dev-java/netbeans-platform/Manifest b/dev-java/netbeans-platform/Manifest
index a300b48..eee9056 100644
--- a/dev-java/netbeans-platform/Manifest
+++ b/dev-java/netbeans-platform/Manifest
@@ -20,6 +20,7 @@ DIST netbeans-trunk-nightly-201208070001-src.zip 175050650 SHA256 6cc7938b60458b
 DIST netbeans-trunk-nightly-201208240001-src.zip 173184633 SHA256 37bee7f24459235ca364c051e5163e64aea8d50c40dac333ccd6000846334511 SHA512 59224c5758eb00b8513271db3522eaff3649e097c83de37e70e715c5bee05d1ef1b259308eb462b281b197d60526f9d443dc5030a945549764905ba348f454e5 WHIRLPOOL 09b049f786727c41df14a1633ba1da2488108bc5156e573a32acb2bc10a1adf3f853dcefe3f3580ec56c09778c05c07e0e146cfb1155583f374cc4b8160187f8
 DIST netbeans-trunk-nightly-201208270001-src.zip 173339254 SHA256 6acc27ac8ec5f932548b14783754197d3004f8d7f8e7185660d15679739c2a2c SHA512 dfce408a419a2be3db18c1ce88b9dd0110b8a5116ecad680082f40be80d2658e755390c3ccbefd4bf782e782db025fabf4b49592073f421cc5579397057010de WHIRLPOOL 5916bb9a30045ee363040c4300c6686e0ceb4ec948bf32eeb3690949fa565f16a9421cb12e8368ff92d1fd588bcb78b232b74ada3c4df82f224a8bde7b11be1b
 DIST netbeans-trunk-nightly-201208280001-src.zip 173433779 SHA256 628944f4f671bf648ae4e170731412935bec5cbe319bcbd3709e09d15ab1e3e0 SHA512 6c5bbcb636be5b5096c410700a7a934487359ddab32520e813c16ab4b383da6377f99d5be52d3e9ae35d84770075776035e4f8fa8d7a946b382ca223dfc84ff7 WHIRLPOOL 5755f3652dafdeb738d55f564c15cc160fbfa6f12a7fb71599dff9c8be4228e7aa096fb0080243cfd895800e5be5f051ceac75cd8b2bf6e5a5a67e3d796b3f73
+DIST netbeans-trunk-nightly-201208290001-src.zip 173450421 SHA256 5fffbda1fd5a267cdb96cf0f89fc4b8fb883d3c68af8357f48982d2a26f86cec SHA512 1d8aa09afa64347a697669c2faac9bcafb9a9116c0441609e79c9368b711051bc12faa8f10753a2323bcae5df56dc49695de907a8e6587a50b7d5f9d4ed83603 WHIRLPOOL 00a5a3c20f8d32ad5552cf3f01e110ecff26c117e3ce79e45e55640755a87bcf7dbefa3de9dfc1fc2885ddba00f981b3cbef589a30222002c045c54b465875c3
 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
@@ -27,5 +28,6 @@ EBUILD netbeans-platform-9999_p20120807.ebuild 5472 SHA256 23d22bf06347d1c7d4cf1
 EBUILD netbeans-platform-9999_p20120824.ebuild 5472 SHA256 db2015a0a14b3200c95f96fde226d5c6c5d377c1ddaa909eabd3d91a509a0c5c SHA512 d305c26b74ac617975eb9ef90791dc3ec771ba2f802d3cc2cc090b2fb0a2b7cf32bf629a90d7de9faf250394e8a6cab2c8dab64c07cf66406937af5c4689c093 WHIRLPOOL d8fdfc58cc9f0af3a27ec5416524758c279ce9eb7fcdd97e0c63e7c740fcf5e9f6d3f534324e1b38bef253394d028f5afc167a815850d93b01c9308f3cf0c103
 EBUILD netbeans-platform-9999_p20120827.ebuild 5472 SHA256 69b22183ab176d90dfb9f717c33502b05890b6727e5dbb7e04e2ac20bf4c3a68 SHA512 5981e5cee01a37542f804fad94e7b8d319efb8fe967ec9e8f9ed632c8c93814e52fb2e08c6f862c56d1310a3ad8e34bd06e8f2e8e050e4d89af4dd1856084aaf WHIRLPOOL 7b60b0f33c4e98108b01947fa78d26e2bd4793fe92c20b6bc2c86928209855bf1fe1a738ba197c36efdec0af070f1d7ff2ec7e1ed225dded4129e18f379c0af8
 EBUILD netbeans-platform-9999_p20120828.ebuild 5472 SHA256 cb09d9d9d9359799b678031031aa18b52818d8d51a4971bf1297a0cad8319690 SHA512 0f756808ddfc6e8efe636752d69af3c07d1024b4815dc046cb1b16e94842160cb3210f64251a46ff4533edd1cdc22805e5f4fd8c4075c42ae2505a9b1a619559 WHIRLPOOL 95c6bd8358f1957ad6bc33a040fc6bb7bf111cf3c58d8070192ad365ce9ac6a290fafce9c12ffb9de538d7f169d0bd7e1d19d2ac43fd5793dbed1a0ed3c7a14c
-MISC ChangeLog 43392 SHA256 99913d544ac63f0da010bf8ef823ac531f4ec20d30def9b79db2bee68358c3a6 SHA512 287da8ff360833165b8d9412a160b6c3c4408af2b4bfe89819d1c697e46ae762766cc8f06defadbe82095288ffb518c4168e997e75192eb23d0dd47e0f1b252c WHIRLPOOL 40a1fefd7a17984fc2f5aa844f0c3a0ba44e7ee13bc216d731b08df7cbb1d80091d4874b906aa8289784fabfe048700d5a9ebbdfa3dc6b04918eaa5ae76104b0
+EBUILD netbeans-platform-9999_p20120829.ebuild 5472 SHA256 3425ce83cf732b1f34401033ff266ce8b57ed26b3f6c0ea4851911495ffbee09 SHA512 225b9742dad314bc1255ad7806ef209be4cc7d362ec8e92de8b9db8ff78d5fea72e3d684cc3fb960bdfa8bd0923db655443cdd183d0055880a7f50da6b01125d WHIRLPOOL 81b648bba178d4a568faa4c19fd1bbee9d1669d89b579d00dcdbb78fcf47c8ce2687c21d7e476ca7adcaa3709bf1b70284f8d3a5d48db99e31f06b2af538f69c
+MISC ChangeLog 43573 SHA256 da3303f3fb6132b9a8e437b83eeb814ae3e8e819e035e718f3ea4e7acaa8c01d SHA512 f7a6063896a729c95d0401d0b0106156c953e9cb383f4979931a4456b9483ef37eaf86d86270c170ebe76325ee133d62b1650a0f932a7354bb213d17f75e46cf WHIRLPOOL 34ad285fe90b3d9ce7032eb814bf17787bbf0f2f3bc0804676c4c26bb200cc74037a19ca60edd94ad98616c957b39e9d0c578b790d44a1447b279bb64b79e083
 MISC metadata.xml 251 SHA256 5a4ff53a9862390a48d45c79be24086646e7a6ff0c5bdf0fcb799d0871299003 SHA512 04153cbd9776ad56a94d6a47d043df15d082d8888df8658f18d0d4b659c6c0526ab3a9b22ccbe2471091bf2d8165f224854bc99c51f3664aaf350ccb93532a7c WHIRLPOOL 2ee8a646c6e23bc46c72cac0ecb5cfe43720ec42404ddaeed8ab1b59d139b3d5c1a94764de847f979da978c001c9f02f709d663a68eeea64d19e88f1fefbca43

diff --git a/dev-java/netbeans-platform/netbeans-platform-9999_p20120829.ebuild b/dev-java/netbeans-platform/netbeans-platform-9999_p20120829.ebuild
new file mode 100644
index 0000000..bdb2329
--- /dev/null
+++ b/dev-java/netbeans-platform/netbeans-platform-9999_p20120829.ebuild
@@ -0,0 +1,127 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="4"
+WANT_ANT_TASKS="ant-nodeps"
+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/2012-08-29_00-01-28/zip/netbeans-trunk-nightly-201208290001-src.zip"
+SRC_URI="${SOURCE_URL}
+	http://dev.gentoo.org/~fordfrog/distfiles/netbeans-9999-r7-build.xml.patch.bz2
+	http://hg.netbeans.org/binaries/14F630EDF137F54188636B5139432986D5FB19B7-felix-4.0.2.jar
+	http://hg.netbeans.org/binaries/2D80F93B8803250F232902C46EBA850BF1F3E67F-org.eclipse.osgi_3.7.1.R37x_v20110808-1106.jar
+	http://hg.netbeans.org/binaries/972E6455724DC6ADB1C1912F53B5E3D7DF20C5FD-osgi.cmpn-4.2.jar
+	http://hg.netbeans.org/binaries/1C7FE319052EF49126CF07D0DB6953CB7007229E-swing-layout-1.0.4-doc.zip
+	http://hg.netbeans.org/binaries/CFF0A34484AAF26F18BC15D0B2C226FD66769EAA-testng-6.5.1-dist.jar
+	http://hg.netbeans.org/binaries/D9B2EEC6413BDD174D047F9B7804C2EA440B79A5-testng-6.5.1-javadoc.zip"
+LICENSE="|| ( CDDL GPL-2-with-linking-exception )"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+S="${WORKDIR}"
+
+CDEPEND="dev-java/javahelp:0
+	>=dev-java/jna-3.4:0
+	dev-java/osgi-core-api:0
+	dev-java/swing-layout:1[source]"
+DEPEND="virtual/jdk:1.6
+	app-arch/unzip
+	${CDEPEND}"
+RDEPEND=">=virtual/jdk-1.6
+	${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"
+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-r7-build.xml.patch.bz2
+
+	pushd "${S}" >/dev/null || die
+	ln -s "${DISTDIR}"/14F630EDF137F54188636B5139432986D5FB19B7-felix-4.0.2.jar libs.felix/external/felix-4.0.2.jar || die
+	ln -s "${DISTDIR}"/2D80F93B8803250F232902C46EBA850BF1F3E67F-org.eclipse.osgi_3.7.1.R37x_v20110808-1106.jar netbinox/external/org.eclipse.osgi_3.7.1.R37x_v20110808-1106.jar || die
+	ln -s "${DISTDIR}"/972E6455724DC6ADB1C1912F53B5E3D7DF20C5FD-osgi.cmpn-4.2.jar libs.osgi/external/osgi.cmpn-4.2.jar || die
+	ln -s "${DISTDIR}"/1C7FE319052EF49126CF07D0DB6953CB7007229E-swing-layout-1.0.4-doc.zip o.jdesktop.layout/external/swing-layout-1.0.4-doc.zip || die
+	ln -s "${DISTDIR}"/CFF0A34484AAF26F18BC15D0B2C226FD66769EAA-testng-6.5.1-dist.jar libs.testng/external/testng-6.5.1-dist.jar || die
+	ln -s "${DISTDIR}"/D9B2EEC6413BDD174D047F9B7804C2EA440B79A5-testng-6.5.1-javadoc.zip libs.testng/external/testng-6.5.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-r7-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 core.nativeaccess/external jna platform.jar platform-3.4.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-3.4.0.jar
+	java-pkg_jar-from --into libs.osgi/external osgi-core-api osgi-core-api.jar osgi.core-4.3.jar
+	java-pkg_jar-from --into o.jdesktop.layout/external swing-layout-1 swing-layout.jar swing-layout-1.0.4.jar
+	ln -s /usr/share/swing-layout-1/sources/swing-layout-src.zip o.jdesktop.layout/external/swing-layout-1.0.4-src.zip || die
+
+	java-pkg-2_src_prepare
+}
+
+src_compile() {
+	unset DISPLAY
+	eant -f ${EANT_BUILD_XML} ${EANT_EXTRA_ARGS} ${EANT_BUILD_TARGET} || die "Compilation failed"
+}
+
+src_install() {
+	pushd nbbuild/netbeans/platform >/dev/null || die
+
+	java-pkg_dojar lib/*.jar
+	grep -E "/platform$" ../moduleCluster.properties > "${D}"/${INSTALL_DIR}/moduleCluster.properties || die
+
+	insinto ${INSTALL_DIR}
+	doins -r *
+	rm "${D}"/${INSTALL_DIR}/docs/swing-layout-1.0.4-src.zip || die
+	dosym /usr/share/swing-layout-1/sources/swing-layout-src.zip ${INSTALL_DIR}/docs/swing-layout-1.0.4-src.zip
+	find "${D}"/${INSTALL_DIR} -name "*.exe" -delete
+	find "${D}"/${INSTALL_DIR} -name "*.dll" -delete
+	rm -fr "${D}"/modules/lib || die
+
+	popd >/dev/null || die
+
+	fperms 775 ${INSTALL_DIR}/lib/nbexec
+	dosym ${INSTALL_DIR}/lib/nbexec /usr/bin/nbexec-${SLOT}
+
+	local instdir=${INSTALL_DIR}/modules/ext
+	pushd "${D}"/${instdir} >/dev/null || die
+	rm jhall-2.0_05.jar && dosym /usr/share/javahelp/lib/jhall.jar ${instdir}/jhall-2.0_05.jar || die
+	rm jna-3.4.0.jar && dosym /usr/share/jna/lib/jna.jar ${instdir}/jna-3.4.0.jar || die
+	rm osgi.core-4.3.jar && dosym /usr/share/osgi-core-api/lib/osgi-core-api.jar ${instdir}/osgi.core-4.3.jar || die
+	rm platform-3.4.0.jar && dosym /usr/share/jna/lib/platform.jar ${instdir}/platform-3.4.0.jar || die
+	rm swing-layout-1.0.4.jar && dosym /usr/share/swing-layout-1/lib/swing-layout.jar ${instdir}/swing-layout-1.0.4.jar || die
+	popd >/dev/null || die
+
+	dosym ${INSTALL_DIR} /usr/share/netbeans-nb-${SLOT}/platform
+}

diff --git a/dev-java/netbeans-profiler/ChangeLog b/dev-java/netbeans-profiler/ChangeLog
index 7196a2e..22ef828 100644
--- a/dev-java/netbeans-profiler/ChangeLog
+++ b/dev-java/netbeans-profiler/ChangeLog
@@ -2,6 +2,12 @@
 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+*netbeans-profiler-9999_p20120829 (29 Aug 2012)
+
+  29 Aug 2012; Miroslav Šulc <fordfrog@gentoo.org>
+  +netbeans-profiler-9999_p20120829.ebuild:
+  bumped to latest nightly sources
+
 *netbeans-profiler-9999_p20120828 (28 Aug 2012)
 
   28 Aug 2012; Miroslav Šulc <fordfrog@gentoo.org>

diff --git a/dev-java/netbeans-profiler/Manifest b/dev-java/netbeans-profiler/Manifest
index 98401ad..2d8046a 100644
--- a/dev-java/netbeans-profiler/Manifest
+++ b/dev-java/netbeans-profiler/Manifest
@@ -9,6 +9,7 @@ DIST netbeans-trunk-nightly-201208070001-src.zip 175050650 SHA256 6cc7938b60458b
 DIST netbeans-trunk-nightly-201208240001-src.zip 173184633 SHA256 37bee7f24459235ca364c051e5163e64aea8d50c40dac333ccd6000846334511 SHA512 59224c5758eb00b8513271db3522eaff3649e097c83de37e70e715c5bee05d1ef1b259308eb462b281b197d60526f9d443dc5030a945549764905ba348f454e5 WHIRLPOOL 09b049f786727c41df14a1633ba1da2488108bc5156e573a32acb2bc10a1adf3f853dcefe3f3580ec56c09778c05c07e0e146cfb1155583f374cc4b8160187f8
 DIST netbeans-trunk-nightly-201208270001-src.zip 173339254 SHA256 6acc27ac8ec5f932548b14783754197d3004f8d7f8e7185660d15679739c2a2c SHA512 dfce408a419a2be3db18c1ce88b9dd0110b8a5116ecad680082f40be80d2658e755390c3ccbefd4bf782e782db025fabf4b49592073f421cc5579397057010de WHIRLPOOL 5916bb9a30045ee363040c4300c6686e0ceb4ec948bf32eeb3690949fa565f16a9421cb12e8368ff92d1fd588bcb78b232b74ada3c4df82f224a8bde7b11be1b
 DIST netbeans-trunk-nightly-201208280001-src.zip 173433779 SHA256 628944f4f671bf648ae4e170731412935bec5cbe319bcbd3709e09d15ab1e3e0 SHA512 6c5bbcb636be5b5096c410700a7a934487359ddab32520e813c16ab4b383da6377f99d5be52d3e9ae35d84770075776035e4f8fa8d7a946b382ca223dfc84ff7 WHIRLPOOL 5755f3652dafdeb738d55f564c15cc160fbfa6f12a7fb71599dff9c8be4228e7aa096fb0080243cfd895800e5be5f051ceac75cd8b2bf6e5a5a67e3d796b3f73
+DIST netbeans-trunk-nightly-201208290001-src.zip 173450421 SHA256 5fffbda1fd5a267cdb96cf0f89fc4b8fb883d3c68af8357f48982d2a26f86cec SHA512 1d8aa09afa64347a697669c2faac9bcafb9a9116c0441609e79c9368b711051bc12faa8f10753a2323bcae5df56dc49695de907a8e6587a50b7d5f9d4ed83603 WHIRLPOOL 00a5a3c20f8d32ad5552cf3f01e110ecff26c117e3ce79e45e55640755a87bcf7dbefa3de9dfc1fc2885ddba00f981b3cbef589a30222002c045c54b465875c3
 EBUILD netbeans-profiler-7.0.1.ebuild 3113 SHA256 588797a6b81c7f5ba5e1cf06ad66e593bd89aa28261b68006ebb973d0eae8044 SHA512 70c15dd7e6334aafa92df56196f9daea9719df575621a6523459aabee2b77de6e3608c278e33e3f8ceecb807f8a1157606c7176cb3a5bc811444490c6cc40c0c WHIRLPOOL 7eb0db8576c223a2e27e229b4286da488d5d7216f046ffa7d0d5f7178318fd90200edb8a1cc3fc901c5af49bc8ca27553a3e88b29d00e75dddf639cd0ee0381a
 EBUILD netbeans-profiler-7.1.2.ebuild 3122 SHA256 12f18028d15825753c83161882e187b0fcd0c328d85b617a6acdfe776d60cf77 SHA512 dac1f9885d56baf059224ba9acea9615a357ab8ae7b64bb897c938c418afe2d98aba60a937d7cd2a14650bb1ecf4910e045a814252f63d03fc711c5646216c9b WHIRLPOOL 4aa10ec32493debe009d600b279b5c6a2171ef68255f856d19b32ab05cf84a55a70f5fdd536c4d8c8f5c0420cf31fefc1b2c59661b523cafa697e5b5a3a8893e
 EBUILD netbeans-profiler-7.2.ebuild 3105 SHA256 1c1e23aae02cbed91830dac1929bddef05fb620eab104dcc51efc910f6bae9d8 SHA512 e5c388d8c01916ec9f3c3ebfc0a3512c909efe448a979801cdbe42dae5c12e4e154724130ce8b2a4f24c36e3ff3b6b6dc097cd749ea8dbcabd9b6ed28943eeb9 WHIRLPOOL cafa8955c8d5b279f95a3cc17fa68bb6f3dab5baddd6f90e0a8dc315eb04e98772e10ab0d9876e58b128883553319b73bfa8a5ea87691a0106bee63f75649e14
@@ -16,5 +17,6 @@ EBUILD netbeans-profiler-9999_p20120807.ebuild 3145 SHA256 79b302b31770301d4d750
 EBUILD netbeans-profiler-9999_p20120824.ebuild 3145 SHA256 ebef711ca8492aab5367e3af157970358d7f576d157781f0e3774b1e6bc80a7f SHA512 e62913055e27bf84ce227040863bd869bf2abc11d88a0db63ca84a5c0ff460e22dbd94ba5e2ea2220b5cb19a51ea96cad450e85396ab05b8d0b69e7cb0cab10e WHIRLPOOL ee7ba02904498374b5e67ebce7eaa1c7f49aaa0fc1729ce58428bb0cbd2c488df3e0a4bc54dd50aa8ad70165f240c74ed58a2717620a7154ed8258167a0cfa99
 EBUILD netbeans-profiler-9999_p20120827.ebuild 3145 SHA256 9b50c143100ee512a0376fc3d15ae972f880e621ebeea636c7948f65c72582f6 SHA512 2aadf962d704edc9060d4c8c65b0fcbd083558092efccb6888bf458164ff1d9f00dabf44576e6303de8cbff6d21359da7a336ed32fa47af33c8cf0dfe8b3c001 WHIRLPOOL b4e68db8529edc3a099379f70c255f75f31a98e285d5a812d51c27dd0f7b2f9d7b78c76de4dbff8d5b63e3acdcd2810f6b32dfb3c55cf8d98b393ec7f92a44fa
 EBUILD netbeans-profiler-9999_p20120828.ebuild 3145 SHA256 12f5a55e5b07c02c2a38a7b531db09fa515e4def0def85157b8a3d7a9ee951d2 SHA512 45cf9117454de54555133cc873eef1cd15b6099039419ae32a9337673c2adc7d95e22aabf9fdc9a7949ebffd956090a383ba9c2488f455ff5ff6c14bfb9b5aad WHIRLPOOL 10962f539530b393772fa50a0c935ace1c4f55f8562b34d7ef5278bd1fc949d142dda405227c2fcd84cac9c989f13a5c3f72ac074d57132c8855dbe4874e85c6
-MISC ChangeLog 42514 SHA256 6e85af0be2b2d300f741da085eda1cbcbfddacfa45879b02aa09014bb7458de5 SHA512 15b488ef224625392ffda4da82a7a0edc0abaa7bc5bc2e2b5f4ec1844f5b18ac066ea7dba06ed9bbee90901fdc3ce8e3ea44b1c6e93caad1f5458860643be933 WHIRLPOOL 929eb9b6908fbf273740376556798f18cb9f1d682421687932b1ff8d5ca16b3f2130ab845db52846c95670384df8ce0437984648b5015a7d19e2905f7eabd2f0
+EBUILD netbeans-profiler-9999_p20120829.ebuild 3145 SHA256 164172743ecc80fa5ca8342f6abb0f4f3024f1f333ba58718c84b080ed8171e8 SHA512 f1f80d81497df8a083458d1dd4441d4bb545edea835979233e6113756c15f1bf1526ef999e10669f47fe9ae7c2735fadebd3f09f71b0569468452c2e3481b93b WHIRLPOOL 372af2a382563fc14c8329e25a6c2850aaa8b472444908da498710b50a6700045c92904efb5b3ad8820b0463a96f1fadaf04ae8a4e93c63cc38337fd27e64c6d
+MISC ChangeLog 42695 SHA256 8d000a692b11a761fb1e03b1b4d61529ad007122602cbf71ea81054ee371257d SHA512 f31e00107ba6c9f482c05687a94e8435e603a787660c7b0ba22dac2922b327464fe2b56fcb872726ab4511ae89d0cc3470881f3cc07450b63c0ce4c3d3f274f3 WHIRLPOOL 316fc43ff07d8908f927090d188923fae9770ecdf315407f9a53f23457b843de6aa18b503002383a62a5160be86a153797c6db03f1d6706caefbbe8ac6a5729d
 MISC metadata.xml 251 SHA256 5a4ff53a9862390a48d45c79be24086646e7a6ff0c5bdf0fcb799d0871299003 SHA512 04153cbd9776ad56a94d6a47d043df15d082d8888df8658f18d0d4b659c6c0526ab3a9b22ccbe2471091bf2d8165f224854bc99c51f3664aaf350ccb93532a7c WHIRLPOOL 2ee8a646c6e23bc46c72cac0ecb5cfe43720ec42404ddaeed8ab1b59d139b3d5c1a94764de847f979da978c001c9f02f709d663a68eeea64d19e88f1fefbca43

diff --git a/dev-java/netbeans-profiler/netbeans-profiler-9999_p20120829.ebuild b/dev-java/netbeans-profiler/netbeans-profiler-9999_p20120829.ebuild
new file mode 100644
index 0000000..f480cad
--- /dev/null
+++ b/dev-java/netbeans-profiler/netbeans-profiler-9999_p20120829.ebuild
@@ -0,0 +1,114 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="4"
+WANT_ANT_TASKS="ant-nodeps"
+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/2012-08-29_00-01-28/zip/netbeans-trunk-nightly-201208290001-src.zip"
+SRC_URI="${SOURCE_URL}
+	http://dev.gentoo.org/~fordfrog/distfiles/netbeans-9999-r7-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-java-${PV}
+	~dev-java/netbeans-platform-${PV}"
+DEPEND="virtual/jdk:1.6
+	app-arch/unzip
+	${CDEPEND}
+	dev-java/javahelp:0"
+RDEPEND=">=virtual/jdk-1.6
+	${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"
+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-r7-build.xml.patch.bz2
+}
+
+src_prepare() {
+	einfo "Deleting bundled class files..."
+	find -name "*.class" -type f | xargs rm -vf
+
+	epatch netbeans-9999-r7-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-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 d161d14..aace28e 100644
--- a/dev-java/netbeans-webcommon/ChangeLog
+++ b/dev-java/netbeans-webcommon/ChangeLog
@@ -2,6 +2,12 @@
 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+*netbeans-webcommon-9999_p20120829 (29 Aug 2012)
+
+  29 Aug 2012; Miroslav Šulc <fordfrog@gentoo.org>
+  +netbeans-webcommon-9999_p20120829.ebuild:
+  bumped to latest nightly sources
+
 *netbeans-webcommon-9999_p20120828 (28 Aug 2012)
 
   28 Aug 2012; Miroslav Šulc <fordfrog@gentoo.org>

diff --git a/dev-java/netbeans-webcommon/Manifest b/dev-java/netbeans-webcommon/Manifest
index 9a3fea7..dca2960 100644
--- a/dev-java/netbeans-webcommon/Manifest
+++ b/dev-java/netbeans-webcommon/Manifest
@@ -5,10 +5,12 @@ DIST netbeans-trunk-nightly-201208070001-src.zip 175050650 SHA256 6cc7938b60458b
 DIST netbeans-trunk-nightly-201208240001-src.zip 173184633 SHA256 37bee7f24459235ca364c051e5163e64aea8d50c40dac333ccd6000846334511 SHA512 59224c5758eb00b8513271db3522eaff3649e097c83de37e70e715c5bee05d1ef1b259308eb462b281b197d60526f9d443dc5030a945549764905ba348f454e5 WHIRLPOOL 09b049f786727c41df14a1633ba1da2488108bc5156e573a32acb2bc10a1adf3f853dcefe3f3580ec56c09778c05c07e0e146cfb1155583f374cc4b8160187f8
 DIST netbeans-trunk-nightly-201208270001-src.zip 173339254 SHA256 6acc27ac8ec5f932548b14783754197d3004f8d7f8e7185660d15679739c2a2c SHA512 dfce408a419a2be3db18c1ce88b9dd0110b8a5116ecad680082f40be80d2658e755390c3ccbefd4bf782e782db025fabf4b49592073f421cc5579397057010de WHIRLPOOL 5916bb9a30045ee363040c4300c6686e0ceb4ec948bf32eeb3690949fa565f16a9421cb12e8368ff92d1fd588bcb78b232b74ada3c4df82f224a8bde7b11be1b
 DIST netbeans-trunk-nightly-201208280001-src.zip 173433779 SHA256 628944f4f671bf648ae4e170731412935bec5cbe319bcbd3709e09d15ab1e3e0 SHA512 6c5bbcb636be5b5096c410700a7a934487359ddab32520e813c16ab4b383da6377f99d5be52d3e9ae35d84770075776035e4f8fa8d7a946b382ca223dfc84ff7 WHIRLPOOL 5755f3652dafdeb738d55f564c15cc160fbfa6f12a7fb71599dff9c8be4228e7aa096fb0080243cfd895800e5be5f051ceac75cd8b2bf6e5a5a67e3d796b3f73
+DIST netbeans-trunk-nightly-201208290001-src.zip 173450421 SHA256 5fffbda1fd5a267cdb96cf0f89fc4b8fb883d3c68af8357f48982d2a26f86cec SHA512 1d8aa09afa64347a697669c2faac9bcafb9a9116c0441609e79c9368b711051bc12faa8f10753a2323bcae5df56dc49695de907a8e6587a50b7d5f9d4ed83603 WHIRLPOOL 00a5a3c20f8d32ad5552cf3f01e110ecff26c117e3ce79e45e55640755a87bcf7dbefa3de9dfc1fc2885ddba00f981b3cbef589a30222002c045c54b465875c3
 EBUILD netbeans-webcommon-7.2.ebuild 2665 SHA256 9328ea550dfeca5be5c2b03aa5f512d451f1673e49a40994155fca0b2fb2f79d SHA512 d8b80b79e78769a70d01605a79a8a91f7e839d4138b4cbf28cafca6f56ae3d7003c2f5f40aff77bbe3f2882f43a7d7dca3f0428f0f2723a42ae5b49e4c71ffff WHIRLPOOL 31254cbd2fc6cfb2d1bed4d22958595dbbf73032439f19e684463efbe466ee80c144f77ab00ced7a07815b1cdc1d45a87ceda83e7a2fd20ac2ce65e45d30a093
 EBUILD netbeans-webcommon-9999_p20120807.ebuild 2705 SHA256 452b3d31d2d9629abe87a719cb158bd0baf80b96336b68e35d6f70fe35f4201b SHA512 90d0e1c44450f7aee5ced83f425558286fe3de82701d58121a06eabd5d475af806982bbfa7267107827345823c92dc6a8ae4dc6e5bb5c5ab09a01961abb30ab7 WHIRLPOOL 1bc379347a06bb40aa60ad911421fe926288b3348dae1325b2e5d3b54880e568272893f2761c7938cc71cb48f1010ee79b4314746855d377f6ba5f1cf4cc3bd4
 EBUILD netbeans-webcommon-9999_p20120824.ebuild 2705 SHA256 41d27c4581fa68fc03519900ce7822e9178e38ba6f503c0738fc442ba46bff2d SHA512 9e3c2c9e77a79e50d29e8017b1158b3f898624f5064c5220e1647973a4c698ef3a963e093ebb406386d904eded648e7d0ded2998a9e9bd2d30c38e5fd02ebb41 WHIRLPOOL 808bd808c44efab2eecc69cc4e5c8c6d9bd4f3bd7df69701ca6d7b4b601d12c4693173bc9d56bbbc96f0d466dc29fc84c2a9becbe46cd0034e5ec4f866ffd5ba
 EBUILD netbeans-webcommon-9999_p20120827.ebuild 2705 SHA256 b462508f62de80fdde40d1cb64cef65dd4764c59c4ac44fd6214453eab4d51f3 SHA512 b2c07596b14565d2131b1f071ef8d1af4effaef50454f6be80189d1a991b7d20f923c104f8bae93bbacfbb90d13caa530cfacb5f15bfe48d7a504dc88a275dd9 WHIRLPOOL ff80b54bb426e4e6a3804d5c21a0e0f7c3d150f4e95cddad2d3be84968d8e898bb3cfdc55350001e76cc49c45faa16b4b53149b0351215d70960629b972cc901
 EBUILD netbeans-webcommon-9999_p20120828.ebuild 2705 SHA256 750cad35cbda2dba100350b62464fe2b19c7b16286b358fecd85c59bf4bd948f SHA512 98516c64dc518b229059c45ba44f8b6f1924895b56f589bf7fad2e3faff4ec5e33eeb46e62e3783623dec574db75cf9087365c3066b418c24487f3a5d0826243 WHIRLPOOL 0ea8248ddc061dbc2eca780754f08a86f351e1b1a37ff86d6a5708b0b8f688714df29fca467a6b9ba9fb6a3d9f28d5261a5efc47afcd13cf02d887762e4bb600
-MISC ChangeLog 14318 SHA256 ecad18c434c8a6d557efd0349e6b7da444287bdb2657ae716831a1e708931a1e SHA512 591435da95e4a0f432bd0ebab6f8863317ab50bcabb19e47b9084541829bc37e62631540e4f38a8238922ea05bc43503d5496745530b228f1d7399d4ea4a243d WHIRLPOOL 22a7fcd4e52da269e732922786e3600fb37b088195ef11731cbc7dc630a340f80ba21cf73d0a8bed672c6ad002d4f29cdcdd30de9ae942e8e49f021eb685422e
+EBUILD netbeans-webcommon-9999_p20120829.ebuild 2705 SHA256 27f084f793ab0f3acb920f885713c99ff5be123847eb41fde752a08c85dad3cb SHA512 79e5846d8f9b7c7ba20903455c95692f0ccb489196870c8e67fa95f4529da70af2196dea4ba3dba7a5924c658656ccc049c879250704d4a885522fe7c60d6a07 WHIRLPOOL 671e31a7313f4858cb29c328010273fb155bf3e0e37dc5e8368b73593ecd3dde36faf57f0d618a8af0ad10ae48307bf844aa3d09147fa16a3ab461ddd6d8365e
+MISC ChangeLog 14501 SHA256 e599dd50648d08abfe8dc22bacc4738325529a8fb1678f5b4ebd51951de93145 SHA512 a0950738e19a7922deb335c8db38522cfce7230d120a5f0f0d10c7f00d96469e9d8b31a1a99f239d2cf8a1199c7eaad9e0fc1fbecd5f36396718ea8ae8b812a1 WHIRLPOOL 442a1ede302140416029340a9619887f8f8b3916242013c118113209660d97ba7f75a2e96fd6cff61a2ce7bd06aab3a52288f3e205bd827cacb6a597d9b3aa31
 MISC metadata.xml 251 SHA256 5a4ff53a9862390a48d45c79be24086646e7a6ff0c5bdf0fcb799d0871299003 SHA512 04153cbd9776ad56a94d6a47d043df15d082d8888df8658f18d0d4b659c6c0526ab3a9b22ccbe2471091bf2d8165f224854bc99c51f3664aaf350ccb93532a7c WHIRLPOOL 2ee8a646c6e23bc46c72cac0ecb5cfe43720ec42404ddaeed8ab1b59d139b3d5c1a94764de847f979da978c001c9f02f709d663a68eeea64d19e88f1fefbca43

diff --git a/dev-java/netbeans-webcommon/netbeans-webcommon-9999_p20120829.ebuild b/dev-java/netbeans-webcommon/netbeans-webcommon-9999_p20120829.ebuild
new file mode 100644
index 0000000..beeaa9c
--- /dev/null
+++ b/dev-java/netbeans-webcommon/netbeans-webcommon-9999_p20120829.ebuild
@@ -0,0 +1,95 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="4"
+WANT_ANT_TASKS="ant-nodeps"
+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/2012-08-29_00-01-28/zip/netbeans-trunk-nightly-201208290001-src.zip"
+SRC_URI="${SOURCE_URL}
+	http://dev.gentoo.org/~fordfrog/distfiles/netbeans-9999-r7-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.6
+	app-arch/unzip
+	${CDEPEND}
+	dev-java/javahelp:0"
+RDEPEND=">=virtual/jdk-1.6
+	${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"
+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-r7-build.xml.patch.bz2
+}
+
+src_prepare() {
+	einfo "Deleting bundled class files..."
+	find -name "*.class" -type f | xargs rm -vf
+
+	epatch netbeans-9999-r7-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/webcommon >/dev/null || die
+
+	insinto ${INSTALL_DIR}
+	grep -E "/webcommon$" ../moduleCluster.properties > "${D}"/${INSTALL_DIR}/moduleCluster.properties || die
+	doins -r *
+
+	popd >/dev/null || die
+
+	dosym ${INSTALL_DIR} /usr/share/netbeans-nb-${SLOT}/webcommon
+}

diff --git a/dev-java/netbeans-websvccommon/ChangeLog b/dev-java/netbeans-websvccommon/ChangeLog
index 41ba657..6c28a0f 100644
--- a/dev-java/netbeans-websvccommon/ChangeLog
+++ b/dev-java/netbeans-websvccommon/ChangeLog
@@ -2,6 +2,12 @@
 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+*netbeans-websvccommon-9999_p20120829 (29 Aug 2012)
+
+  29 Aug 2012; Miroslav Šulc <fordfrog@gentoo.org>
+  +netbeans-websvccommon-9999_p20120829.ebuild:
+  bumped to latest nightly sources
+
 *netbeans-websvccommon-9999_p20120828 (28 Aug 2012)
 
   28 Aug 2012; Miroslav Šulc <fordfrog@gentoo.org>

diff --git a/dev-java/netbeans-websvccommon/Manifest b/dev-java/netbeans-websvccommon/Manifest
index 59e1096..2dc53c1 100644
--- a/dev-java/netbeans-websvccommon/Manifest
+++ b/dev-java/netbeans-websvccommon/Manifest
@@ -9,6 +9,7 @@ DIST netbeans-trunk-nightly-201208070001-src.zip 175050650 SHA256 6cc7938b60458b
 DIST netbeans-trunk-nightly-201208240001-src.zip 173184633 SHA256 37bee7f24459235ca364c051e5163e64aea8d50c40dac333ccd6000846334511 SHA512 59224c5758eb00b8513271db3522eaff3649e097c83de37e70e715c5bee05d1ef1b259308eb462b281b197d60526f9d443dc5030a945549764905ba348f454e5 WHIRLPOOL 09b049f786727c41df14a1633ba1da2488108bc5156e573a32acb2bc10a1adf3f853dcefe3f3580ec56c09778c05c07e0e146cfb1155583f374cc4b8160187f8
 DIST netbeans-trunk-nightly-201208270001-src.zip 173339254 SHA256 6acc27ac8ec5f932548b14783754197d3004f8d7f8e7185660d15679739c2a2c SHA512 dfce408a419a2be3db18c1ce88b9dd0110b8a5116ecad680082f40be80d2658e755390c3ccbefd4bf782e782db025fabf4b49592073f421cc5579397057010de WHIRLPOOL 5916bb9a30045ee363040c4300c6686e0ceb4ec948bf32eeb3690949fa565f16a9421cb12e8368ff92d1fd588bcb78b232b74ada3c4df82f224a8bde7b11be1b
 DIST netbeans-trunk-nightly-201208280001-src.zip 173433779 SHA256 628944f4f671bf648ae4e170731412935bec5cbe319bcbd3709e09d15ab1e3e0 SHA512 6c5bbcb636be5b5096c410700a7a934487359ddab32520e813c16ab4b383da6377f99d5be52d3e9ae35d84770075776035e4f8fa8d7a946b382ca223dfc84ff7 WHIRLPOOL 5755f3652dafdeb738d55f564c15cc160fbfa6f12a7fb71599dff9c8be4228e7aa096fb0080243cfd895800e5be5f051ceac75cd8b2bf6e5a5a67e3d796b3f73
+DIST netbeans-trunk-nightly-201208290001-src.zip 173450421 SHA256 5fffbda1fd5a267cdb96cf0f89fc4b8fb883d3c68af8357f48982d2a26f86cec SHA512 1d8aa09afa64347a697669c2faac9bcafb9a9116c0441609e79c9368b711051bc12faa8f10753a2323bcae5df56dc49695de907a8e6587a50b7d5f9d4ed83603 WHIRLPOOL 00a5a3c20f8d32ad5552cf3f01e110ecff26c117e3ce79e45e55640755a87bcf7dbefa3de9dfc1fc2885ddba00f981b3cbef589a30222002c045c54b465875c3
 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
@@ -16,5 +17,6 @@ EBUILD netbeans-websvccommon-9999_p20120807.ebuild 2724 SHA256 2d6ad71d9fdb0d0b7
 EBUILD netbeans-websvccommon-9999_p20120824.ebuild 2724 SHA256 ca095b42c6a2b01f0de1df852b2e8adff05418a48d9c93bcbf0107a90e31c431 SHA512 ac4d8db7e1050edd348370ef8d7953e43967909a66fef5cc3609119bbb3ef468c047f1aa97db311011da298219f7ccc7c4e3e0641e70cc2cbab7d2636c322406 WHIRLPOOL 90a2b5ac636b0578d39dd7f329fc2b20fd7c2ed1c7c85842353a3b8aeb9ede46a0f8b8176a85dc51b933ec5f68c3049a24691dd61cf4ecc3b82a4ea2f57962a0
 EBUILD netbeans-websvccommon-9999_p20120827.ebuild 2724 SHA256 8f35a8a31a3821c0d20a0b17441fbf53b02ff878eef33530da26e82305aa4ab5 SHA512 7aab991650626afc529b1c8bee4db7e8e55daf3e7c32a66011bce9f63dc0d7759b5004c9793dc8072a00f48b20326895ee7ca3fd40707e7b694bf9cce034defa WHIRLPOOL a8acbe9eeca2a0ab2202c36b757b42f8e387346dd3606702439e939106f0ebe9e6ea377f4504858a63011a85caee1070d54453964ea8c69e11c891d80efb094d
 EBUILD netbeans-websvccommon-9999_p20120828.ebuild 2724 SHA256 8c8a2e3380f89880f66d96358636534edd3b3d112070b2ef5079a47732d655b2 SHA512 7de1e8ca3e2e7218b076a76af68b4de27d03140a805bd0a64fbeae7b100f324a747c767a54111d5ab133c559f153d9c2546cbc0a14a6f74f4032049892a46809 WHIRLPOOL d3f1697d8f849042dcd90ac9528cdd506bb03bf2260c1160f23bfc1fe6790fc6f7bfd7754688710c8a49b3e1e772442a11ca7263a477fbb074f6a76e19578b64
-MISC ChangeLog 44434 SHA256 94e95c8f57b5f1db6a0917f6b1ff20d589458c466d65c6a473a13ffdd7847282 SHA512 aabee134f0ebe1714cfac2ff35e65eca1720bf7a4e25cd8c0ca03620555699cccf5f981e1958e1aeaa236ee97b887b4bd94e20b3c4d06b5c2bc964a72c34b616 WHIRLPOOL abef007db7b98e908f09ea16e0a7b081a4b14c2dd19eff1365001c9effd987adf96869030dbad4387ecd5a3b2a3ed3034aafefd752c8064a5096f4de868d4e97
+EBUILD netbeans-websvccommon-9999_p20120829.ebuild 2724 SHA256 108be4a754e73c3ac91d026c42f4fb0fbdeb1388f1be4f48c2503d60b4ee4f58 SHA512 39e7b045a12091a85acf421dc252751b9b3893e9ad8cb956a641bc2f451910970b77e98a0d4cb9f1dd1bca11959acba1d0e48b8f3f07b11636499cb9f4b0ef44 WHIRLPOOL 03edf670ca125f34d1a6345ae35573b73ab408729d344aac0dc47125f7faa571a709715b122fbababa0ffcb7e4dc9e39cd2cef2b8177536fe74c1ccce0d53bb6
+MISC ChangeLog 44623 SHA256 14cdbee6f6c8a3b6fb1f7694d4dcb0f554b6e2c1b3b4f3d8b56252940716903f SHA512 a65ca09804396e550a138591d66c6919d2eacec9daf3978675eb1932e2c157decdb2a7918628ee2e864d06cdd5f6c1a1dfeef06482ebd02cd1c53b0a263be808 WHIRLPOOL a51b7fef560024932bb26df31ca8ac6606c8ab1feb4bdae9fda4ac79275084cb9c843bc91429b51c6544ff9c6ac836ea40635f6a225c5153aaa600fc6a90128b
 MISC metadata.xml 251 SHA256 5a4ff53a9862390a48d45c79be24086646e7a6ff0c5bdf0fcb799d0871299003 SHA512 04153cbd9776ad56a94d6a47d043df15d082d8888df8658f18d0d4b659c6c0526ab3a9b22ccbe2471091bf2d8165f224854bc99c51f3664aaf350ccb93532a7c WHIRLPOOL 2ee8a646c6e23bc46c72cac0ecb5cfe43720ec42404ddaeed8ab1b59d139b3d5c1a94764de847f979da978c001c9f02f709d663a68eeea64d19e88f1fefbca43

diff --git a/dev-java/netbeans-websvccommon/netbeans-websvccommon-9999_p20120829.ebuild b/dev-java/netbeans-websvccommon/netbeans-websvccommon-9999_p20120829.ebuild
new file mode 100644
index 0000000..fc1878c
--- /dev/null
+++ b/dev-java/netbeans-websvccommon/netbeans-websvccommon-9999_p20120829.ebuild
@@ -0,0 +1,95 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="4"
+WANT_ANT_TASKS="ant-nodeps"
+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/2012-08-29_00-01-28/zip/netbeans-trunk-nightly-201208290001-src.zip"
+SRC_URI="${SOURCE_URL}
+	http://dev.gentoo.org/~fordfrog/distfiles/netbeans-9999-r7-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.6
+	app-arch/unzip
+	${CDEPEND}
+	dev-java/javahelp:0"
+RDEPEND=">=virtual/jdk-1.6
+	${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"
+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-r7-build.xml.patch.bz2
+}
+
+src_prepare() {
+	einfo "Deleting bundled class files..."
+	find -name "*.class" -type f | xargs rm -vf
+
+	epatch netbeans-9999-r7-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 252c056..8493632 100644
--- a/dev-util/netbeans/ChangeLog
+++ b/dev-util/netbeans/ChangeLog
@@ -2,6 +2,12 @@
 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+*netbeans-9999_p20120829 (29 Aug 2012)
+
+  29 Aug 2012; Miroslav Šulc <fordfrog@gentoo.org>
+  +netbeans-9999_p20120829.ebuild:
+  bumped to latest nightly sources
+
 *netbeans-9999_p20120828 (28 Aug 2012)
 
   28 Aug 2012; Miroslav Šulc <fordfrog@gentoo.org>

diff --git a/dev-util/netbeans/Manifest b/dev-util/netbeans/Manifest
index 96735ec..c3e5b0c 100644
--- a/dev-util/netbeans/Manifest
+++ b/dev-util/netbeans/Manifest
@@ -13,6 +13,7 @@ DIST netbeans-trunk-nightly-201208070001-src.zip 175050650 SHA256 6cc7938b60458b
 DIST netbeans-trunk-nightly-201208240001-src.zip 173184633 SHA256 37bee7f24459235ca364c051e5163e64aea8d50c40dac333ccd6000846334511 SHA512 59224c5758eb00b8513271db3522eaff3649e097c83de37e70e715c5bee05d1ef1b259308eb462b281b197d60526f9d443dc5030a945549764905ba348f454e5 WHIRLPOOL 09b049f786727c41df14a1633ba1da2488108bc5156e573a32acb2bc10a1adf3f853dcefe3f3580ec56c09778c05c07e0e146cfb1155583f374cc4b8160187f8
 DIST netbeans-trunk-nightly-201208270001-src.zip 173339254 SHA256 6acc27ac8ec5f932548b14783754197d3004f8d7f8e7185660d15679739c2a2c SHA512 dfce408a419a2be3db18c1ce88b9dd0110b8a5116ecad680082f40be80d2658e755390c3ccbefd4bf782e782db025fabf4b49592073f421cc5579397057010de WHIRLPOOL 5916bb9a30045ee363040c4300c6686e0ceb4ec948bf32eeb3690949fa565f16a9421cb12e8368ff92d1fd588bcb78b232b74ada3c4df82f224a8bde7b11be1b
 DIST netbeans-trunk-nightly-201208280001-src.zip 173433779 SHA256 628944f4f671bf648ae4e170731412935bec5cbe319bcbd3709e09d15ab1e3e0 SHA512 6c5bbcb636be5b5096c410700a7a934487359ddab32520e813c16ab4b383da6377f99d5be52d3e9ae35d84770075776035e4f8fa8d7a946b382ca223dfc84ff7 WHIRLPOOL 5755f3652dafdeb738d55f564c15cc160fbfa6f12a7fb71599dff9c8be4228e7aa096fb0080243cfd895800e5be5f051ceac75cd8b2bf6e5a5a67e3d796b3f73
+DIST netbeans-trunk-nightly-201208290001-src.zip 173450421 SHA256 5fffbda1fd5a267cdb96cf0f89fc4b8fb883d3c68af8357f48982d2a26f86cec SHA512 1d8aa09afa64347a697669c2faac9bcafb9a9116c0441609e79c9368b711051bc12faa8f10753a2323bcae5df56dc49695de907a8e6587a50b7d5f9d4ed83603 WHIRLPOOL 00a5a3c20f8d32ad5552cf3f01e110ecff26c117e3ce79e45e55640755a87bcf7dbefa3de9dfc1fc2885ddba00f981b3cbef589a30222002c045c54b465875c3
 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
@@ -20,5 +21,6 @@ EBUILD netbeans-9999_p20120807.ebuild 7098 SHA256 f851407ac82de5b50c0a83245a6405
 EBUILD netbeans-9999_p20120824.ebuild 7098 SHA256 43bd2ed36253c589d0c02e0f12119bce91b364311bd3d6ac353ed6b8e48ee2c2 SHA512 292f81121179997311ac5549d8c0a0273b5559cf90f340f260756dd3543269aee33f896ac751ed1a4385260c265634ca1fe8c8be03718c6ea8e4fc8dc00c092f WHIRLPOOL 6b3217c79a18fe4d6aba18dd75b72e762b8969a5f3f8d5c9a7d3b9b23e41696c6cc8fd8543c27a1735d02ea3c205a03ae0a2dffab043242c844090bafc20b89d
 EBUILD netbeans-9999_p20120827.ebuild 7098 SHA256 f51825631e29f484502d1e4937d60ef87361bc9f43d81e8b15d090efcfd86e3a SHA512 b1581a464ac75e951a5882a3a038e5c4a0c273de1e113dbe10186c4b93c1cd3024d7dc2612410a40b8321ec27d923bcb061607f2734e1fe881fd5ddbe5bdaca4 WHIRLPOOL fc2fa92740e6cd5c98b23072bae1384c76e71d9261735025b603cbfac58f11dac3b321f64ebbbc67153652a8b3ae15d989547827d6e68b861c556ccb8110c00b
 EBUILD netbeans-9999_p20120828.ebuild 7098 SHA256 a59ceb46e0e5bd713ef26be8b74ea644da1b1c1e452595cf15f563078dc63d34 SHA512 854055b5daaf54ac161b7170b100b7f3c29056db0b76ce75a5ddc8b91d7b3065432e8595c15bb41dad845029236746bd807be838cfaa0cc090ce5bbc4f868af2 WHIRLPOOL 249bb9eb1dec7a2f1b40b0670c3c08894da0863af00996f529a18f27c622802e01ddd0a2d96406ddac82e585f2a746c3a0061db026b3a783fe6bf81be802d589
-MISC ChangeLog 39497 SHA256 5d8c0dc7fdf97737c261f62cdcb0567bfc81b260f25231083451a3136b152660 SHA512 c2cddbe122e747ef75e3f87e488d5d4eeb182f2f1c3bc3c4556ebd6f930c7de80c7cbee55fabff5172fded2127407c754ac6e441bb0f24da0cec192be8b076d4 WHIRLPOOL 13f8614063bdb2a2b413b9c8a76749e862a8ada17199c27feb9aa575846f6f1a2feb7bd4503228954f4accfa3e0164dd43af53e1aba429a756924aa56180f86d
+EBUILD netbeans-9999_p20120829.ebuild 7098 SHA256 2c1a9cc265f70f7ea15468952a5146cff679034c793d5ab7a8e520899760932d SHA512 8a8317649a47fb0453fcfd8b1ea4d8c70066337756c8b63e41ed1597f2bce828d857c8492a8cf39aa5f6a2a66a71811b295a8769b53b6bea95b4b71a91917193 WHIRLPOOL 4d8541542fad4789a7370d7fac9a885c62def80470d046ebd077e0da1954a05eae6ee26365c91e589c8e9062cffe6e0f50e6f207107acbfa5e7e149fbebdb00e
+MISC ChangeLog 39660 SHA256 471cd95ca73e195497bc41957074b85b4c9f0e66d6fbb146af527affbc320b26 SHA512 7942829b38f61ead71cba0c549b8e72a050a7253bfef7e46cb025abc9891cd8aa1c2f5159cc4a3cf1de2063a56e9a45cc3c09c0c9db67cd9e0f08933821bc4b5 WHIRLPOOL 581c79d36eba2ef24aa98fb0bb7965c18290a7e33ec71ce6b72efc082f7b7bc065378ed9b4b8ad715c4cef17bb5d003a54aa00defc76f21d247aaeeb0d2ed31a
 MISC metadata.xml 333 SHA256 a7c289d7be537b4c51bd8100bca0d8a40ceb5fb011942bbd1b286841cf3c1d0a SHA512 3f730fc27f893489524053e81a465519037a68e297f02a5d6400f85f8bfd8a20006e5515a135b8a5779ebf5951a661d99aaa8bf3b9b96141f863e134dba2265e WHIRLPOOL d37106234351185946f6dc870e9b77babd38bed88673771949d26d176d8dad4071be5f2c59bf72b139a6a35c899c2c7ac9ffde1c7b4885135d52c821780cf3d2

diff --git a/dev-util/netbeans/netbeans-9999_p20120829.ebuild b/dev-util/netbeans/netbeans-9999_p20120829.ebuild
new file mode 100644
index 0000000..6b045cf
--- /dev/null
+++ b/dev-util/netbeans/netbeans-9999_p20120829.ebuild
@@ -0,0 +1,262 @@
+# Copyright 1999-2012 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/2012-08-29_00-01-28/zip/netbeans-trunk-nightly-201208290001-src.zip"
+PATCHES_URL="http://dev.gentoo.org/~fordfrog/distfiles/netbeans-9999-r7-build.xml.patch.bz2"
+L10N_URL="http://dev.gentoo.org/~fordfrog/distfiles/netbeans-l10n-9999-20110613.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_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.6
+	dev-java/javahelp:0"
+RDEPEND=">=virtual/jdk-1.6
+	~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_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-r7-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-r7-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="" \
+			-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	[relevance 99%]

Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2012-08-29 12:34 99% [gentoo-commits] dev/fordfrog:master commit in: dev-java/netbeans-mobility/, dev-java/netbeans-groovy/, Miroslav Šulc

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