FreeBSD Handbook : Installing applications : Porting applications
Previous: I've heard of a new checksum system. What is this for?
Next: Before Starting the Port

4.3. Porting applications

Contributed by Jordan Hubbard <jkh@FreeBSD.org> , Gary Palmer <gpalmer@FreeBSD.org> and Satoshi Asami <asami@FreeBSD.org> .
19 August 1995.

Here are the guidelines one should follow in creating a new port for FreeBSD 2.x . This documentation will change as this process is progressively refined, so watch this space for details. The ${..} variable names you see in this document all refer to various user-overridable defaults used (and documented) by /usr/share/mk/bsd.port.mk. Please refer to that file for more details.

4.3.1. Before Starting the Port

4.3.2. Quick Porting

4.3.2.1. Writing the Makefile
4.3.2.2. Writing the description files
4.3.2.3. Creating the checksum file
4.3.2.4. Testing the port
4.3.2.5. Submitting the port

4.3.3. Slow Porting

4.3.3.1. How things work
4.3.3.2. Getting the original sources
4.3.3.3. Modifying the port
4.3.3.4. Patching
4.3.3.5. Configuring
4.3.3.6. Handling user input

4.3.4. Configuring the Makefile

4.3.4.1. The original source
4.3.4.2. DISTNAME
4.3.4.3. CATEGORIES and KEYWORDS
4.3.4.4. MASTER_SITES
4.3.4.5. PATCHFILES
4.3.4.6. MAINTAINER
4.3.4.7. Dependencies
4.3.4.8. Building mechanisms
4.3.4.9. NO_INSTALL_MANPAGES

4.3.5. Licensing Problems

4.3.6. * Upgrading

4.3.7. Do's and Dont's

4.3.7.1. WRKDIR
4.3.7.2. Package information
4.3.7.3. Compress manpages, strip binaries
4.3.7.4. Custom utilities
4.3.7.5. Feedback
4.3.7.6. RCS strings
4.3.7.7. Recursive diff
4.3.7.8. PREFIX
4.3.7.9. Subdirectories
4.3.7.10. ldconfig
4.3.7.11. If you are stuck....

4.3.8. A Sample Makefile

4.3.9. Package Names

4.3.10. That's It, Folks!


FreeBSD Handbook : Installing applications : Porting applications
Previous: I've heard of a new checksum system. What is this for?
Next: Before Starting the Port