This is an archive of past FreeBSD releases; it's part of the FreeBSD Documentation Archive.

The pkg/ subdirectory

Chapter 12. The pkg/ subdirectory

Table of Contents
12.1. MESSAGE
12.2. INSTALL
12.3. REQ
12.4. Changing PLIST based on make variables
12.5. Changing the names of files in the pkg subdirectory

There are some tricks we have not mentioned yet about the pkg/ subdirectory that come in handy sometimes.

12.1. 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>.