Gentoo is a source based distribution. It uses its own package manager called Portage which will download the source and compile it for you (along with dependencies). More info is available here.