Changes between Version 22 and Version 23 of snc
- Timestamp:
- Feb 6, 2009, 2:09:51 PM (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
snc
v22 v23 30 30 31 31 Sometimes 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 === 33 Fetch 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}}} 32 38 == Portindex == 33 39 Once 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.