Mac/Darwin is a modified FreeBSD, not linux. I hope that helps you some -- I would start looking at BSD options.
Actually it's a hybrid of the FreeBSD kernel and the Mach microkernel.
You're better off getting Mac packages for a Mac. However, if you really need to install Linux/Unix packages then you can follow this tutorial: