Chapter 17 Dos and Don'ts

Table of Contents
17.1 Introduction
17.2 Stripping Binaries
17.3 INSTALL_* macros
17.4 WRKDIR
17.5 WRKDIRPREFIX
17.6 Differentiating operating systems and OS versions
17.7 __FreeBSD_version values
17.8 Writing something after bsd.port.mk
17.9 Install additional documentation
17.10 Subdirectories
17.11 Cleaning up empty directories
17.12 UIDs and GIDs
17.13 Do things rationally
17.14 Respect both CC and CXX
17.15 Respect CFLAGS
17.16 Configuration files
17.17 Feedback
17.18 README.html
17.19 Marking a port BROKEN, FORBIDDEN, or otherwise not installable
17.20 Necessary workarounds
17.21 Miscellanea
17.22 If you are stuck...

17.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 <ports@FreeBSD.org>.
For questions about this documentation, e-mail <doc@FreeBSD.org>.

Hosting by: Hurra Communications Ltd.
Generated: 2007-01-26 17:58:41