Ignore:
Timestamp:
Jul 20, 2003, 5:00:53 PM (17 years ago)
Author:
fkr
Message:

Bug: #705
Submitted by: wb@… (Will Barton)
Reviewed by:
Approved by:
Obtained from:

documentation of the new mirror_sites api for the guide.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/doc/guide/xml/quick.xml

    r2743 r3070  
    384384    </sect2>
    385385     
     386    <sect2 id="mirror_sites">
     387      <title>Mirror Site Lists</title>
     388
     389      <para>It is possible to use predefined lists of mirror sites in
     390        your <filename>Portfile</filename>, such as SourceForge or GNU
     391        mirrors.  A full list of mirror site types is available in
     392        Chapter 3, 'Fetch phase'.  The straight-forward usage is:</para>
     393
     394      <programlisting>master_sites                sourceforge http://distfiles.opendarwin.org/
     395master_sites.mirror_subdir  ${name}</programlisting>
     396
     397      <para>This will search all of the mirror sites for SourceForge and
     398        then http://distfiles.opendarwin.org, appending
     399        <varname>${name}</varname> to the end of each SoureForge mirror
     400        site in the list, for example:</para>
     401
     402      <programlisting>http://us.dl.sourceforge.net/${name}
     403ftp://us.dl.sourceforge.net/pub/sourceforge/${name}</programlisting>
     404
     405      <para>You can also use the mirror site lists in
     406        <varname>patch_sites</varname> and use
     407        <varname>patch_sites.mirror_subdir</varname> to specify the
     408        subdirectory.  For more information and advanced usage of mirror
     409        site lists (i.e. distfile tags, multiple lists with different
     410        subdirectories), please see Chapter 3, 'Fetch Phase'.</para>
     411    </sect2>
     412
    386413    <sect2 id="additional options">
    387414      <title>Additional Options</title>
     
    572599      <title>Expat <filename>Portfile</filename></title>
    573600      <programlisting><![CDATA[########################### libxslt Portfile ##################################
    574 # $Id: quick.xml,v 1.12 2003/06/04 15:58:10 michaelm Exp $
     601# $Id: quick.xml,v 1.13 2003/07/20 17:00:53 fkr Exp $
    575602
    576603PortSystem      1.0
     
    600627
    601628<programlisting><![CDATA[###########################neon Portfile####################################
    602 # $Id: quick.xml,v 1.12 2003/06/04 15:58:10 michaelm Exp $
     629# $Id: quick.xml,v 1.13 2003/07/20 17:00:53 fkr Exp $
    603630         
    604631PortSystem 1.0
Note: See TracChangeset for help on using the changeset viewer.