[MacPorts] #283: patch for the portfileHOWTO.php
MacPorts
noreply at macports.org
Thu Mar 24 04:47:18 PDT 2016
#283: patch for the portfileHOWTO.php
-----------------------+--------------------
Reporter: fkr-ml@… | Owner: kvv@…
Type: defect | Status: closed
Priority: Normal | Milestone:
Component: base | Version: 1.0
Resolution: fixed | Keywords:
Port: |
-----------------------+--------------------
Description changed by ryandesign@…:
Old description:
> This patch add's the following to the portfileHOWTO:
> ---
> If the list of files installed by the port does not extends beyond one
> page
> of an 80x24 terminal, the contents option should be included in the
> Portfile. Instead of include contents, one would use:
>
> contents bin/irc \
> bin/irc-20020912 \
> man/man1/irc.1 \
> man/man1/ircbug.1 \
> man/man1/ircII.1 \
> man/man1
> ---
>
> this is the patch:
> ---
>
> Index: portfileHOWTO.php
> ===================================================================
> RCS file: /Volumes/src/cvs/od/proj/darwinports/www/portfileHOWTO.php,v
> retrieving revision 1.8
> diff -u -r1.8 portfileHOWTO.php
> --- portfileHOWTO.php 8 Oct 2002 23:13:23 -0000 1.8
> +++ portfileHOWTO.php 3 Dec 2002 08:44:53 -0000
> @@ -196,6 +196,18 @@
> include contents
> </tt></pre>
> <p>
> +If the list of files installed by the port does not extends beyond one
> page of an 80x24 terminal, the <tt>contents</tt> option should be
> included
> in the Portfile.
> +Instead of <tt>include contents</tt>, one would use:
> +</p>
> +<pre><tt>
> +contents bin/irc \
> + bin/irc-20020912 \
> + man/man1/irc.1 \
> + man/man1/ircbug.1 \
> + man/man1/ircII.1 \
> + man/man1
> +</pre></tt>
> +<p>
> Now we have a complete portfile. Re-run the installation step to add
> your
> port to your own registry:
> </p>
> <pre><tt>
> ---
>
> the patch is also at:
> http://www.hazardous.org/fkr/dports/patch-portfileHOWTO.php.txt
New description:
This patch add's the following to the portfileHOWTO:
{{{
If the list of files installed by the port does not extends beyond one
page
of an 80x24 terminal, the contents option should be included in the
Portfile. Instead of include contents, one would use:
contents bin/irc \
bin/irc-20020912 \
man/man1/irc.1 \
man/man1/ircbug.1 \
man/man1/ircII.1 \
man/man1
}}}
this is the patch:
{{{
Index: portfileHOWTO.php
===================================================================
RCS file: /Volumes/src/cvs/od/proj/darwinports/www/portfileHOWTO.php,v
retrieving revision 1.8
diff -u -r1.8 portfileHOWTO.php
--- portfileHOWTO.php 8 Oct 2002 23:13:23 -0000 1.8
+++ portfileHOWTO.php 3 Dec 2002 08:44:53 -0000
@@ -196,6 +196,18 @@
include contents
</tt></pre>
<p>
+If the list of files installed by the port does not extends beyond one
page of an 80x24 terminal, the <tt>contents</tt> option should be included
in the Portfile.
+Instead of <tt>include contents</tt>, one would use:
+</p>
+<pre><tt>
+contents bin/irc \
+ bin/irc-20020912 \
+ man/man1/irc.1 \
+ man/man1/ircbug.1 \
+ man/man1/ircII.1 \
+ man/man1
+</pre></tt>
+<p>
Now we have a complete portfile. Re-run the installation step to add
your port to your own registry:
</p>
<pre><tt>
}}}
the patch is also at:
http://www.hazardous.org/fkr/dports/patch-portfileHOWTO.php.txt
--
--
Ticket URL: <https://trac.macports.org/ticket/283#comment:3>
MacPorts <https://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list