Chapter 12. The pkg-* files

Table of Contents
12.1. pkg-message
12.2. pkg-install
12.3. pkg-req
12.4. Changing pkg-plist based on make variables
12.5. Changing the names of pkg-* files

There are some tricks we have not mentioned yet about the pkg-* files that come in handy sometimes.

12.1. pkg-message

If you need to display a message to the installer, you may place the message in pkg-message. This capability is often useful to display additional installation steps to be taken after a pkg_add or to display licensing information.

Note: The pkg-message file does not need to be added to pkg-plist. Also, it will not get automatically printed if the user is using the port, not the package, so you should probably display it from the post-install target yourself.

For questions about the FreeBSD ports system, e-mail <ports@FreeBSD.org>.
For questions about this documentation, e-mail <doc@FreeBSD.org>.