Changes between Version 22 and Version 23 of snc


Ignore:
Timestamp:
Feb 6, 2009, 2:09:51 PM (15 years ago)
Author:
nerdling (Jeremy Lavergne)
Comment:

fetch phase details

Legend:

Unmodified
Added
Removed
Modified
  • snc

    v22 v23  
    3030
    3131Sometimes software authors have no interest in making such changes to their software — That's their prerogative. In that case, we maintain the patchfile in MacPorts forever.
     32=== Details of Fetch Phase ===
     33Fetch runs{{{ ${master_sites}${distfiles} }}}(assuming {{{master_sites}}} and {{{distfiles}}} are both only a single item, as is likely the case)
     34
     35{{{${distfiles} }}}defaults to{{{ ${distname}${extract.suffix} }}}.
     36{{{${distname} }}}defaults to ${name}-${version} }}}
     37{{{${extract.suffix} }}}defaults to {{{.tar.gz}}}
    3238== Portindex ==
    3339Once you've created your portfile, it's best to test it with your copy of MacPorts.  The first step is to create a [http://guide.macports.org/#development.local-repositories local portfile repository] for testing. For this, I suggest creating the directory {{{~/ports}}}.   Inside this new directory, you should run {{{portindex}}} which will create the repository index of everything following the {{{./group/port/Portfile}}} heirarchy.  '''Note:''' This command should be run everytime you make changes as it will include the new index data for MacPorts. Also watch out for any errors it reports, which stop the portfile from showing up in MacPorts.