If you use gentoo you do not need to install packages that way or you are making the portage system useless ....
To install firefox you should do
#emerge mozilla-firefox
And it will be automatically downloaded and installed along with is dependencies (if any) ..
To check the packages available to gentoo from portage take a look here
http://packages.gentoo.org/