1. Introduction
2. Installing MacPorts
2.1. Install X11
2.2. Install Xcode
2.3. Install MacPorts
2.4. MacPorts Upgrade
2.5. Uninstall
2.6. MacPorts and the Shell
3. Using MacPorts
3.1. The port Command
3.2. Port Variants
3.3. Common Tasks
3.4. Port Binaries
4. Portfile Development
4.1. Portfile Introduction
4.2. Creating a Portfile
4.3. Example Portfiles
4.4. Port Variants
4.5. Patch Files
4.6. Local Portfile Repositories
4.7. Portfile Best Practices
4.8. MacPorts' buildbot
5. Portfile Reference
5.1. Global Keywords
5.2. Global Variables
5.3. Port Phases
5.4. Dependencies
5.5. Variants
5.6. Tcl Extensions
5.7. StartupItems
5.8. Livecheck / Distcheck
5.9. PortGroups
6. MacPorts Internals
6.1. File Hierarchy
6.2. Configuration Files
6.3. Port Images
6.4. APIs and Libs
6.5. The MacPorts Registry
7. MacPorts Project
7.1. Using Trac for tickets
7.2. Contributing to MacPorts
7.3. Port Update Policies
7.4. MacPorts Membership
7.5. The PortMgr Team
8. MacPorts Guide Terms
Glossary
Single Page Chunked

You may contribute new ports and enhancements of any kind to already existing ports using Trac tickets.

Ports are contributed by following these steps. See Ticket Submission Guidelines above for a description of all fields.

  1. Create a Trac ticket.

  2. Set the type to submission.

  3. Set the component to ports.

  4. Attach the Portfile and any required patchfiles to the ticket.

Enhancements to existing ports may comprise new functionality for a given port, bug fixes or even simple version updates. They should always be contributed as Portfile patches. See Ticket Submission Guidelines above for a description of all fields.

  1. Create a Portfile patch with your changes as described in Portfile Development.

  2. Create a Trac ticket.

  3. Set the type to enhancement for miscellaneous enhancements, to defect for bug fixes, or to update for version updates.

  4. Set the component to ports.

  5. Attach your Portfile patch file and any new or changed patch files (don't patch patches) to the ticket.