pkgsrc is a framework for building over 17,000 open source software packages. It is the native package manager on SmartOS, NetBSD, and Minix, and is portable across 23 different operating systems. Use one package manager across all of your systems!
Joyent provide binary packages for SmartOS/illumos, Mac OS X, and Linux.
In the sidebar you should find some links to some common tasks. This documentation is not meant to be comprehensive, the primary pkgsrc documentation is the pkgsrc guide.