Changeset 1645 for trunk/www


Ignore:
Timestamp:
Jan 13, 2003, 5:40:08 PM (17 years ago)
Author:
fkr
Message:

removed the references to ports_debug and ports_verbose settings in ports.conf and
replaces it with references to the -d -v switches.
mention 'long_description' and 'platforms'

ack'ed by landonf@

File:
1 edited

Legend:

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

    r1465 r1645  
    33//
    44// File     : portfileHOWTO.php
    5 // Version  : $Id: portfileHOWTO.php,v 1.10 2002/12/20 11:31:09 kevin Exp $
     5// Version  : $Id: portfileHOWTO.php,v 1.11 2003/01/13 17:40:08 fkr Exp $
    66// Location : /projects/darwinports/portfileHOWTO.php
    77//
     
    3434</p>
    3535<p>
    36 Since you're interested in writing a Portfile, let's change some configuration options that will help in debugging as we go.  Edit the file <tt>/etc/ports/ports.conf</tt> to contain the following (you'll likely have to use <tt>sudo</tt> to edit this file):
    37 </p>
    38 <pre><tt>
    39 ports_debug     yes
    40 ports_verbose   yes
    41 </tt></pre>
    42 <p>
    43 This will display useful debugging messages that are usually suppressed while running DarwinPorts.
     36Since you're interested in writing a Portfile, you should invoke the <tt>port</tt> command with the <tt>-v</tt> (verbose output) and the <tt>-d</tt> (debugging output) switches. This will display useful debugging messages that are usually suppressed while running DarwinPorts.
    4437</p>
    4538<p>
     
    7871categories      irc
    7972maintainers     kevin@opendarwin.org
     73description     an IRC and ICB client
     74long_description        The ircII program is a full screen, termcap based interface to Internet Relay \
     75                        Chat. It gives full access to all of the normal IRC functions, plus a variety \
     76                        of additional options.
    8077master_sites    ftp://ircftp.au.eterna.com.au/pub/ircII/
    8178</tt></pre>
    8279<p>
    83 A Portfile consists of key/value pairs.  The <tt>name</tt> and <tt>version</tt> key describe the name and version of the software.  The <tt>categories</tt> key is a list of the logical categories to which the software belongs; this is used for organizational purposes.  The first entry in <tt>categories</tt> should match the directory in which the port's directory resides in the port tree.  The <tt>maintainers</tt> key should contain your email address, and the <tt>master_sites</tt> key should contain a list of sites where the distribution sources may be downloaded.  DarwinPorts uses the terms 'keys' and 'options' interchangeably since most keys are used as options of a particular task in the porting process.
     80A Portfile consists of key/value pairs.  The <tt>name</tt> and <tt>version</tt> key describe the name and version of the software.  The <tt>categories</tt> key is a list of the logical categories to which the software belongs; this is used for organizational purposes.  The first entry in <tt>categories</tt> should match the directory in which the port's directory resides in the port tree.  The <tt>maintainers</tt> key should contain your email address. <tt>description</tt> provides a short description of the port, while <tt>long_description</tt> holds a more detailled description of the Software. The <tt>master_sites</tt> key should contain a list of sites where the distribution sources may be downloaded.  DarwinPorts uses the terms 'keys' and 'options' interchangeably since most keys are used as options of a particular task in the porting process.
    8481</p>
    8582<p>
     
    293290categories      irc
    294291maintainers     kevin@opendarwin.org
     292description     an IRC and ICB client
     293long_description        The ircII program is a full screen, termcap based interface to Internet Relay \
     294                        Chat. It gives full access to all of the normal IRC functions, plus a variety \
     295                        of additional options.
    295296master_sites    ftp://ircftp.au.eterna.com.au/pub/ircII/
    296297checksums       md5 2ae68c015698f58763a113e9bc6852cc
Note: See TracChangeset for help on using the changeset viewer.