Whitespace cleanup, based on
PR: docs/53421 Submitted by: linimon
This commit is contained in:
parent
05d0ad6b93
commit
ff94c7e7d8
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=18758
1 changed files with 26 additions and 18 deletions
|
@ -583,9 +583,9 @@ lib/X11/oneko/mouse.xpm
|
|||
<title>Patching</title>
|
||||
|
||||
<para>In the preparation of the port, files that have been added or
|
||||
changed can be picked up with a recursive &man.diff.1; for later feeding to
|
||||
&man.patch.1;. Each set of patches you wish to apply should be collected
|
||||
into a file named
|
||||
changed can be picked up with a recursive &man.diff.1;
|
||||
for later feeding to &man.patch.1;. Each set of patches you
|
||||
wish to apply should be collected into a file named
|
||||
<filename>patch-<replaceable>*</replaceable></filename> where
|
||||
<replaceable>*</replaceable> denotes the sequence in which the
|
||||
patches will be applied — these are done in
|
||||
|
@ -728,7 +728,8 @@ lib/X11/oneko/mouse.xpm
|
|||
affects the content or structure of the derived
|
||||
package.</para>
|
||||
|
||||
<para>Examples of when <makevar>PORTREVISION</makevar> should be bumped:</para>
|
||||
<para>Examples of when <makevar>PORTREVISION</makevar>
|
||||
should be bumped:</para>
|
||||
|
||||
<itemizedlist>
|
||||
<listitem>
|
||||
|
@ -864,8 +865,9 @@ lib/X11/oneko/mouse.xpm
|
|||
<title>Example of <makevar>PORTREVISION</makevar> and
|
||||
<makevar>PORTEPOCH</makevar> usage</title>
|
||||
|
||||
<para>The <literal>gtkmumble</literal> port, version <literal>0.10</literal>, is committed to the
|
||||
ports collection:</para>
|
||||
<para>The <literal>gtkmumble</literal> port, version
|
||||
<literal>0.10</literal>, is committed to the ports
|
||||
collection:</para>
|
||||
|
||||
<programlisting>PORTNAME= gtkmumble
|
||||
PORTVERSION= 0.10</programlisting>
|
||||
|
@ -4130,17 +4132,20 @@ ${PREFIX}/man/ja/man4/baz.4.gz</programlisting>
|
|||
<title>Changing <filename>pkg-plist</filename> based on make
|
||||
variables</title>
|
||||
|
||||
<para>Some ports, particularly the <literal>p5-</literal> ports, need to change their
|
||||
<filename>pkg-plist</filename> depending on what options they are
|
||||
configured with (or version of <literal>perl</literal>, in the case of <literal>p5-</literal> ports). To
|
||||
make this easy, any instances in the <filename>pkg-plist</filename> of
|
||||
<literal>%%OSREL%%</literal>, <literal>%%PERL_VER%%</literal>, and
|
||||
<para>Some ports, particularly the <literal>p5-</literal> ports,
|
||||
need to change their <filename>pkg-plist</filename> depending on
|
||||
what options they are configured with (or version of
|
||||
<literal>perl</literal>, in the case of <literal>p5-</literal>
|
||||
ports). To make this easy, any instances in the
|
||||
<filename>pkg-plist</filename> of <literal>%%OSREL%%</literal>,
|
||||
<literal>%%PERL_VER%%</literal>, and
|
||||
<literal>%%PERL_VERSION%%</literal> will be substituted for
|
||||
appropriately. The value of <literal>%%OSREL%%</literal> is the
|
||||
numeric revision of the operating system (e.g.,
|
||||
<literal>2.2.7</literal>). <literal>%%PERL_VERSION%%</literal> is
|
||||
the full version number of <literal>perl</literal> (e.g., <literal>5.00502</literal>)
|
||||
and <literal>%%PERL_VER%%</literal> is the <literal>perl</literal> version number minus
|
||||
the full version number of <literal>perl</literal> (e.g.,
|
||||
<literal>5.00502</literal>) and <literal>%%PERL_VER%%</literal>
|
||||
is the <literal>perl</literal> version number minus
|
||||
the patchlevel (e.g., <literal>5.005</literal>).</para>
|
||||
|
||||
<para>If you need to make other substitutions, you can set the
|
||||
|
@ -4337,11 +4342,13 @@ PLIST_SUB= OCTAVE_VERSION=${OCTAVE_VERSION}</programlisting>
|
|||
testing of your commits.</para>
|
||||
|
||||
<para>If you wish to use this service, all you need is a FreshPorts
|
||||
account. If your registered email address is <literal>@FreeBSD.org</literal>,
|
||||
you'll see the opt-in link on the right hand side of the webpages.
|
||||
account. If your registered email address is
|
||||
<literal>@FreeBSD.org</literal>, you'll see the opt-in link on the
|
||||
right hand side of the webpages.
|
||||
For those of you who already have a FreshPorts account, but are not
|
||||
using your <literal>@FreeBSD.org</literal> email address, just change your email to
|
||||
<literal>@FreeBSD.org</literal>, subscribe, then change it back again.</para>
|
||||
using your <literal>@FreeBSD.org</literal> email address,
|
||||
just change your email to <literal>@FreeBSD.org</literal>, subscribe,
|
||||
then change it back again.</para>
|
||||
</sect1>
|
||||
</chapter>
|
||||
|
||||
|
@ -4473,7 +4480,8 @@ PLIST_SUB= OCTAVE_VERSION=${OCTAVE_VERSION}</programlisting>
|
|||
<para>Do not write anything to files outside
|
||||
<makevar>WRKDIR</makevar>. <makevar>WRKDIR</makevar> is the only
|
||||
place that is guaranteed to be writable during the port build (see
|
||||
<ulink url="../handbook/ports-using.html#PORTS-CD">compiling ports from CDROM</ulink> for an
|
||||
<ulink url="../handbook/ports-using.html#PORTS-CD">
|
||||
compiling ports from CDROM</ulink> for an
|
||||
example of building ports from a read-only tree). If you need to
|
||||
modify one of the <filename>pkg-<replaceable>*</replaceable></filename>
|
||||
files, do so by <link
|
||||
|
|
Loading…
Reference in a new issue