Changeset 2485 for trunk/www


Ignore:
Timestamp:
Apr 16, 2003, 8:34:27 AM (17 years ago)
Author:
jkh
Message:

Make some small corrections to the portfile howto (one spelling error, a few
style points).
Reviewed by: kevin and fkr

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/www/en/portfileHOWTO.php

    r2384 r2485  
    33//
    44// File     : portfileHOWTO.php
    5 // Version  : $Id: portfileHOWTO.php,v 1.13 2003/03/31 16:56:03 fkr Exp $
     5// Version  : $Id: portfileHOWTO.php,v 1.14 2003/04/16 08:34:27 jkh Exp $
    66// Location : /projects/darwinports/portfileHOWTO.php
    77//
     
    8585</p>
    8686<pre><tt>
    87 % port checksum
     87% port <tt>-d</tt> <tt>-v</tt> checksum
    8888</tt></pre>
    8989<p>
     
    111111</h3>
    112112<p>
    113 Notice that DarwinPorts first checks for a local copy of <tt>ircii-20020912.tar.gz</tt> and doesn't find it, so it then downloads from the remote site.  The port doesn't finish because of an error:  "No checksums statement in Portfile."  Portfiles must contain an md5 checksum of all distribution files--this allows DarwinPorts to verify the accuracy and authenticity of the sources.  For convenience, an md5 checksum of the downladed files is printed when the <tt>checksums</tt> argument is not specified.  Go back and add the following to your Portfile:
     113Notice that DarwinPorts first checks for a local copy of <tt>ircii-20020912.tar.gz</tt> and doesn't find it, so it then downloads from the remote site.  The port doesn't finish because of an error:  "No checksums statement in Portfile."  Portfiles must contain an md5 checksum of all distribution files--this allows DarwinPorts to verify the accuracy and authenticity of the sources.  For convenience, an md5 checksum of the downloaded files is printed when the <tt>checksums</tt> argument is not specified.  Go back and add the following to your Portfile:
    114114</p>
    115115<pre><tt>
     
    124124</p>
    125125<pre><tt>
    126 % port extract
     126% port <tt>-d</tt> <tt>-v</tt> extract
    127127</tt></pre>
    128128<p>
     
    151151</p>
    152152<p>
    153 ircII's standard set of options looks fine for a base install on Darwin, so we'll move on to the build phase. 
     153ircII's standard set of options looks fine for a base install on Darwin, so won't do the <tt>configure</tt> phase manually and instead just move on to the build phase. 
    154154</p>
    155155
     
    180180</p>
    181181<pre><tt>
    182 % sudo port install
     182% sudo port <tt>-d</tt> <tt>-v</tt> install
    183183</tt></pre>
    184184Which will output the following:
Note: See TracChangeset for help on using the changeset viewer.