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>
|
<title>Patching</title>
|
||||||
|
|
||||||
<para>In the preparation of the port, files that have been added or
|
<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
|
changed can be picked up with a recursive &man.diff.1;
|
||||||
&man.patch.1;. Each set of patches you wish to apply should be collected
|
for later feeding to &man.patch.1;. Each set of patches you
|
||||||
into a file named
|
wish to apply should be collected into a file named
|
||||||
<filename>patch-<replaceable>*</replaceable></filename> where
|
<filename>patch-<replaceable>*</replaceable></filename> where
|
||||||
<replaceable>*</replaceable> denotes the sequence in which the
|
<replaceable>*</replaceable> denotes the sequence in which the
|
||||||
patches will be applied — these are done in
|
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
|
affects the content or structure of the derived
|
||||||
package.</para>
|
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>
|
<itemizedlist>
|
||||||
<listitem>
|
<listitem>
|
||||||
|
@ -864,8 +865,9 @@ lib/X11/oneko/mouse.xpm
|
||||||
<title>Example of <makevar>PORTREVISION</makevar> and
|
<title>Example of <makevar>PORTREVISION</makevar> and
|
||||||
<makevar>PORTEPOCH</makevar> usage</title>
|
<makevar>PORTEPOCH</makevar> usage</title>
|
||||||
|
|
||||||
<para>The <literal>gtkmumble</literal> port, version <literal>0.10</literal>, is committed to the
|
<para>The <literal>gtkmumble</literal> port, version
|
||||||
ports collection:</para>
|
<literal>0.10</literal>, is committed to the ports
|
||||||
|
collection:</para>
|
||||||
|
|
||||||
<programlisting>PORTNAME= gtkmumble
|
<programlisting>PORTNAME= gtkmumble
|
||||||
PORTVERSION= 0.10</programlisting>
|
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
|
<title>Changing <filename>pkg-plist</filename> based on make
|
||||||
variables</title>
|
variables</title>
|
||||||
|
|
||||||
<para>Some ports, particularly the <literal>p5-</literal> ports, need to change their
|
<para>Some ports, particularly the <literal>p5-</literal> ports,
|
||||||
<filename>pkg-plist</filename> depending on what options they are
|
need to change their <filename>pkg-plist</filename> depending on
|
||||||
configured with (or version of <literal>perl</literal>, in the case of <literal>p5-</literal> ports). To
|
what options they are configured with (or version of
|
||||||
make this easy, any instances in the <filename>pkg-plist</filename> of
|
<literal>perl</literal>, in the case of <literal>p5-</literal>
|
||||||
<literal>%%OSREL%%</literal>, <literal>%%PERL_VER%%</literal>, and
|
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
|
<literal>%%PERL_VERSION%%</literal> will be substituted for
|
||||||
appropriately. The value of <literal>%%OSREL%%</literal> is the
|
appropriately. The value of <literal>%%OSREL%%</literal> is the
|
||||||
numeric revision of the operating system (e.g.,
|
numeric revision of the operating system (e.g.,
|
||||||
<literal>2.2.7</literal>). <literal>%%PERL_VERSION%%</literal> is
|
<literal>2.2.7</literal>). <literal>%%PERL_VERSION%%</literal> is
|
||||||
the full version number of <literal>perl</literal> (e.g., <literal>5.00502</literal>)
|
the full version number of <literal>perl</literal> (e.g.,
|
||||||
and <literal>%%PERL_VER%%</literal> is the <literal>perl</literal> version number minus
|
<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>
|
the patchlevel (e.g., <literal>5.005</literal>).</para>
|
||||||
|
|
||||||
<para>If you need to make other substitutions, you can set the
|
<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>
|
testing of your commits.</para>
|
||||||
|
|
||||||
<para>If you wish to use this service, all you need is a FreshPorts
|
<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>,
|
account. If your registered email address is
|
||||||
you'll see the opt-in link on the right hand side of the webpages.
|
<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
|
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
|
using your <literal>@FreeBSD.org</literal> email address,
|
||||||
<literal>@FreeBSD.org</literal>, subscribe, then change it back again.</para>
|
just change your email to <literal>@FreeBSD.org</literal>, subscribe,
|
||||||
|
then change it back again.</para>
|
||||||
</sect1>
|
</sect1>
|
||||||
</chapter>
|
</chapter>
|
||||||
|
|
||||||
|
@ -4473,7 +4480,8 @@ PLIST_SUB= OCTAVE_VERSION=${OCTAVE_VERSION}</programlisting>
|
||||||
<para>Do not write anything to files outside
|
<para>Do not write anything to files outside
|
||||||
<makevar>WRKDIR</makevar>. <makevar>WRKDIR</makevar> is the only
|
<makevar>WRKDIR</makevar>. <makevar>WRKDIR</makevar> is the only
|
||||||
place that is guaranteed to be writable during the port build (see
|
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
|
example of building ports from a read-only tree). If you need to
|
||||||
modify one of the <filename>pkg-<replaceable>*</replaceable></filename>
|
modify one of the <filename>pkg-<replaceable>*</replaceable></filename>
|
||||||
files, do so by <link
|
files, do so by <link
|
||||||
|
|
Loading…
Reference in a new issue