Changes between Version 5 and Version 6 of MaintainingAPort


Ignore:
Timestamp:
May 11, 2007, 3:12:53 AM (17 years ago)
Author:
boeyms@…
Comment:

Add instructions for creating and maintaining a local port tree for developing ports

Legend:

Unmodified
Added
Removed
Modified
  • MaintainingAPort

    v5 v6  
    5050I intend to get this written up properly some day, but in the meantime:
    5151
     52==== Creating and maintaining a local port tree for developing ports ====
     53
     54 * Create the path at which you wish the local port tree to be rooted; I will call it {{{${localportpath}}}}.
     55 * Create the paths in which you wish to place your portfiles; they will need to be in the form {{{${localportpath}/<category>/<portname>}}}.  Any patches will be expected to be in {{{${localportpath}/<category>/<portname>/files}}}.
     56 * Run {{{portindex ${localportpath}}}} (or cd to {{{${localportpath}}}} and run {{{portindex}}}) to generate the PortIndex so that MacPorts will find the ports; {{{portindex}}} will report whether or not it has errors parsing the Portfiles, so fix them before you continue.
     57 * Add {{{${localportpath}}}} to {{{${prefix}/etc/ports/sources.conf}}} ''before'' the other sources configured there; as should be documented there, you will need to write it as a URL, i.e. {{{file://${localportpath}}}}.
     58 * It should now all work!
     59
    5260==== Updating a port when you're not a committer, or when it's not your port ====
    5361