3.4. Testing the Port

Make sure that the port rules do exactly what is desired, including packaging up the port. These are the important points to verify:

Procedure 3.1. Recommended Test Ordering
  1. make stage

  2. make stage-qa

  3. make package

  4. make install

  5. make deinstall

  6. make package (as user)

Make certain no warnings are shown in any of the stages.

Thorough automated testing can be done with ports-mgmt/poudriere from the Ports Collection, see Section 10.5, “Poudriere for more information. It maintains jails where all of the steps shown above can be tested without affecting the state of the host system.

All FreeBSD documents are available for download at https://download.freebsd.org/ftp/doc/

Questions that are not answered by the documentation may be sent to <freebsd-questions@FreeBSD.org>.
Send questions about this document to <freebsd-doc@FreeBSD.org>.