pkgsrc is a framework for building third-party software on NetBSD and other UNIX-like systems, currently containing over 17000 packages. It is used to enable freely available software to be configured and built easily on supported platforms.

The binary packages that are produced by pkgsrc can be used without having to compile everything from source. NetBSD already contains the necessary tools for managing binary packages; on other platforms you need to bootstrap pkgsrc to get the package management tools installed.