Changes between Version 2 and Version 5 of Ticket #306
- Timestamp:
- Mar 24, 2016, 12:40:51 PM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #306
-
Property
Component
changed from
www
toguide
-
Property
Component
changed from
-
Ticket #306 – Description
v2 v5 1 1 this is an updated version of portfileHOWTO.php. 2 - debug and verbose settings don't exist anymore in ports.conf, the reference 3 to these are updated 4 - long_description is more or less required, thus it should me mentioned 5 in the howto. 2 - debug and verbose settings don't exist anymore in ports.conf, the reference to these are updated 3 - long_description is more or less required, thus it should me mentioned in the howto. 6 4 I did sign up for an account for darwinports-www, is someone from core 7 grants me access, I would commit this. 5 grants me access, I would commit this.\\ 8 6 the patch can also be grabbed from: 9 7 http://www.opendarwin.org/~fkr/patch-portfileHOWTO.diff 10 8 11 9 here is the diff: 12 ==================13 10 11 {{{ 14 12 Index: portfileHOWTO.php 15 13 =================================================================== … … 20 18 +++ portfileHOWTO.php 27 Dec 2002 19:47:37 -0000 21 19 @@ -33,14 +33,7 @@ 22 In order to work with DarwinPorts, you'll need to download and install it on 23 your system. The DarwinPorts project <a 24 href="http://opendarwin.org/projects/darwinports/">homepage</a> describes how to 25 get and install it. 20 In order to work with DarwinPorts, you'll need to download and install it on your system. The DarwinPorts project <a href="http://opendarwin.org/projects/darwinports/">homepage</a> describes how to get and install it. 26 21 </p> 27 22 <p> 28 -Since you're interested in writing a Portfile, let's change some configuration 29 options that will help in debugging as we go. Edit the file 30 <tt>/etc/ports/ports.conf</tt> to contain the following (you'll likely have to 31 use <tt>sudo</tt> to edit this file): 23 -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): 32 24 -</p> 33 25 -<pre><tt> … … 36 28 -</tt></pre> 37 29 -<p> 38 -This will display useful debugging messages that are usually suppressed while 39 running DarwinPorts. 40 +Since you're interested in writing a Portfile, you should invoke the 41 <tt>port</tt> command with the <tt>-v</tt> (verbose output) and the <tt>-d</tt> 42 (debugging output) switches. This will display useful debugging messages that 43 are usually suppressed while running DarwinPorts. 30 -This will display useful debugging messages that are usually suppressed while running DarwinPorts. 31 +Since 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. 44 32 </p> 45 33 <p> … … 50 38 maintainers kevin@opendarwin.org 51 39 +description an IRC and ICB client 52 +long_description The ircII program is a full screen, termcap based 53 interface to Internet Relay \ 54 + Chat. It gives full access to all of the normal IRC 55 functions, plus a variety \ 40 +long_description The ircII program is a full screen, termcap based interface to Internet Relay \ 41 + Chat. It gives full access to all of the normal IRC functions, plus a variety \ 56 42 + of additional options. 57 43 master_sites ftp://ircftp.au.eterna.com.au/pub/ircII/ 58 44 </tt></pre> 59 45 <p> 60 -A Portfile consists of key/value pairs. The <tt>name</tt> and <tt>version</tt> 61 key describe the name and version of the software. The <tt>categories</tt> key 62 is a list of the logical categories to which the software belongs; this is used 63 for organizational purposes. The first entry in <tt>categories</tt> should 64 match the directory in which the port's directory resides in the port tree. The 65 <tt>maintainers</tt> key should contain your email address, and the 66 <tt>master_sites</tt> key should contain a list of sites where the distribution 67 sources may be downloaded. DarwinPorts uses the terms 'keys' and 'options' 68 interchangeably since most keys are used as options of a particular task in the 69 porting process. 70 +A Portfile consists of key/value pairs. The <tt>name</tt> and <tt>version</tt> 71 key describe the name and version of the software. The <tt>categories</tt> key 72 is a list of the logical categories to which the software belongs; this is used 73 for organizational purposes. The first entry in <tt>categories</tt> should 74 match the directory in which the port's directory resides in the port tree. The 75 <tt>maintainers</tt> key should contain your email address. <tt>description</tt> 76 provides a short description of the port, while <tt>long_description</tt> holds 77 a more detailled description of the Software. The <tt>master_sites</tt> key 78 should contain a list of sites where the distribution sources may be downloaded. 79 DarwinPorts uses the terms 'keys' and 'options' interchangeably since most keys 80 are used as options of a particular task in the porting process. 46 -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. 47 +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. <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. 48 DarwinPorts uses the terms 'keys' and 'options' interchangeably since most keys are used as options of a particular task in the porting process. 81 49 </p> 82 50 <p> 83 At this point, the Portfile is complete enough to download ircII. By default, 84 DarwinPorts will append the <tt>version</tt> to the <tt>name</tt> and assume 85 sources are in <tt>.tar.gz</tt> format. From your working directory, execute 86 the following command: 51 At this point, the Portfile is complete enough to download ircII. By default, DarwinPorts will append the <tt>version</tt> to the <tt>name</tt> and assume sources are in <tt>.tar.gz</tt> format. From your working directory, execute the following command: 87 52 @@ -292,6 +289,10 @@ 88 53 version 20020912 … … 90 55 maintainers kevin@opendarwin.org 91 56 +description an IRC and ICB client 92 +long_description The ircII program is a full screen, termcap based 93 interface to Internet Relay \ 94 + Chat. It gives full access to all of the normal IRC 95 functions, plus a variety \ 57 +long_description The ircII program is a full screen, termcap based interface to Internet Relay \ 58 + Chat. It gives full access to all of the normal IRC functions, plus a variety \ 96 59 + of additional options. 97 60 master_sites ftp://ircftp.au.eterna.com.au/pub/ircII/ 98 61 checksums md5 2ae68c015698f58763a113e9bc6852cc 99 62 configure.args --disable-ipv6 63 }}}