Chapter 2. Making a New Port
Table of Contents
Interested in making a new port, or upgrading existing ports? Great!
What follows are some guidelines for creating a new port for FreeBSD. To upgrade an existing port, read this, then read Upgrading a Port.
When this document is not sufficiently detailed, refer to /usr/ports/Mk/bsd.port.mk, which is included by all port Makefiles. Even those not hacking Makefiles daily can gain much knowledge from it. Additionally, specific questions can be sent to the FreeBSD ports mailing list.
Only a fraction of the variables (
Looking for something easy to start with? Take a look at the list of requested ports and see if you can work on one (or more).
Last modified on: December 11, 2021 by Sergio Carlavilla Delgado