Changes between Version 2 and Version 3 of snc
- Timestamp:
- Feb 2, 2009, 1:31:19 PM (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
snc
v2 v3 1 1 = Portfile Development = 2 2 == MacPorts Guide == 3 It's a good idea to start out with the Portfile Development section of the MacPorts Guide. There's a line-by-line explanation in Section 4.2that should help you with creating a portfile.3 It's a good idea to start out with the [http://guide.macports.org/#development Portfile Development] section of the MacPorts Guide. There's a line-by-line explanation in [http://guide.macports.org/#development.creating-portfile Section 4.2] that should help you with creating a portfile. 4 4 == Portindex == 5 5 Once you've created your portfile, it's best to test it with your copy of MacPorts. The first step is to create a local repository to test your portfile. I suggest creating a directory named {{{ports}}} in your home directory. Inside this new directory, you should run {{{portindex}}} which will create the repository index of everything contained therein. 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 as this will likely stop the portfile from showing up in MacPorts.