Before you install NetBeans, you should decide what modules you want to use, or you can simply decide to install all of them. Here is the list of available modules, though some of them do not have to be necesarily available in some NetBeans releases:
By default, emerging NetBeans installs NetBeans with Java development support. If you want to install NetBeans with only Java support, you do not have to adjust the list of modules. Otherwise read on this section.
Because there are dependencies among modules, it may take some time to configure emerge of NetBeans so that it can emerge the package. In case some of the needed modules is not specified, emerge informs you about what module might be missing so you can easily fix it.
Here is an example that you can use in case you want to install all NetBeans modules. Just add this line to your /etc/make.conf: