Chapter 12 Dos and Don'ts

Table of Contents
12.1 Introduction
12.2 Stripping Binaries
12.3 INSTALL_* macros
12.6 Differentiating operating systems and OS versions
12.7 __FreeBSD_version values
12.8 Writing something after
12.9 Install additional documentation
12.10 Subdirectories
12.11 Use the exec statement in wrapper scripts
12.12 UIDs and GIDs
12.13 Do things rationally
12.14 Respect both CC and CXX
12.15 Respect CFLAGS
12.16 Threading libraries
12.17 Feedback
12.18 README.html
12.19 Marking a port not installable with BROKEN, FORBIDDEN, or IGNORE
12.20 Marking a port for removal with DEPRECATED or EXPIRATION_DATE
12.21 Avoid use of the .error construct
12.22 Necessary workarounds
12.23 Miscellanea

12.1 Introduction

Here is a list of common dos and don'ts that you encounter during the porting process. You should check your own port against this list, but you can also check ports in the PR database that others have submitted. Submit any comments on ports you check as described in Bug Reports and General Commentary. Checking ports in the PR database will both make it faster for us to commit them, and prove that you know what you are doing.

For questions about the FreeBSD ports system, e-mail <[email protected]>.
For questions about this documentation, e-mail <[email protected]>.