Chapter 4. Making a precompiled package

Once you have built and installed the package as mentioned above, you can build it into a "binary package" - you might want to do this so that you can use the binaries you have just built on another NetBSD system, or to provide a simple means for others to use your binary package instead of wasting CPU time - this is done by changing to the appropriate directory in the pkgsrc tree, and typing the command

	make package
  
at the shell prompt. This will build and install your package (if not already done), and then construct a binary package out of the results so that you can use the pkg_* tools to manipulate this. The binary package is stored under /usr/pkgsrc/packages, it's in the form of a gzipped tar-file at the present time. See Packaging top for a continuation of the above top example.

Please see Submitting later in this document on submitting binary packages.