[31987] trunk/doc-new/guide/xml/portfile-global-keywords.7.xml
markd at macports.org
markd at macports.org
Wed Dec 12 22:58:48 PST 2007
Revision: 31987
http://trac.macosforge.org/projects/macports/changeset/31987
Author: markd at macports.org
Date: 2007-12-12 22:58:47 -0800 (Wed, 12 Dec 2007)
Log Message:
-----------
Correct errors in the bit about epochs.
Modified Paths:
--------------
trunk/doc-new/guide/xml/portfile-global-keywords.7.xml
Modified: trunk/doc-new/guide/xml/portfile-global-keywords.7.xml
===================================================================
--- trunk/doc-new/guide/xml/portfile-global-keywords.7.xml 2007-12-13 05:44:43 UTC (rev 31986)
+++ trunk/doc-new/guide/xml/portfile-global-keywords.7.xml 2007-12-13 06:58:47 UTC (rev 31987)
@@ -77,22 +77,20 @@
<listitem>
<para>An optional keyword (default value is 0) that may be used when
- a software developer updates an application to a version that is
- numerically less than the previous version. For example 1.10 ->
- 1.2 or 20070928 -> 1.0. In these cases, an epoch may be used to
- ensure that port version comparisons are done properly. Often the
- epoch is formatted like a date, but it can simply be a number such
- as 1.</para>
+ ports are updated to a version that is numerically less than the
+ previous version. For example 1.10 -> 1.2 or 20070928 -> 1.0.
+ An epoch ensures that port version comparisons work correctly in
+ these cases. Often the epoch is formatted like a date, but it can
+ simply be a number such as 1.</para>
<programlisting>epoch 20080924</programlisting>
<programlisting>epoch 1</programlisting>
<note>
- <para>If an epoch is used it must be incremented for each
- subsequent port update; it must never be decreased or reset to
- zero, because this would always cause a port version comparison to
- be incorrect after a port upgrade.</para>
+ <para>If an epoch is used it must must never be decreased or reset
+ to zero, because this would always cause a port version comparison
+ to be incorrect after a port upgrade.</para>
</note>
<para>An epoch is not needed for most ports, and good use of a
@@ -654,4 +652,4 @@
</varlistentry>
</variablelist>
</section>
-</section>
+</section>
\ No newline at end of file
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20071212/c05c2cfa/attachment-0001.html
More information about the macports-changes
mailing list