<pre style='margin:0'>
Ryan Schmidt (ryandesign) pushed a commit to branch master
in repository macports-guide.
</pre>
<p><a href="https://github.com/macports/macports-guide/commit/c37a4f712cef1da02aad3fb95fcc34e0f9a505e5">https://github.com/macports/macports-guide/commit/c37a4f712cef1da02aad3fb95fcc34e0f9a505e5</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit c37a4f712cef1da02aad3fb95fcc34e0f9a505e5
</span>Author: Ryan Schmidt <ryandesign@macports.org>
AuthorDate: Sat Aug 22 04:20:08 2020 -0500
<span style='display:block; white-space:pre;color:#404040;'> Rewrite homepage section
</span>---
guide/xml/portfile-keywords.xml | 15 +++++++++++++--
1 file changed, 13 insertions(+), 2 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/guide/xml/portfile-keywords.xml b/guide/xml/portfile-keywords.xml
</span><span style='display:block; white-space:pre;color:#808080;'>index 6e91e08..2eb8d01 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/guide/xml/portfile-keywords.xml
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/guide/xml/portfile-keywords.xml
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -302,9 +302,20 @@
</span> <term>homepage</term>
<listitem>
<span style='display:block; white-space:pre;background:#ffe0e0;'>- <para>Port application's homepage.</para>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ <para>The software's primary web site.</para>
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>- <programlisting>homepage https://www.example.org/apps</programlisting>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ <para>Usually the homepage should be a URL that does not redirect to
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ another URL. For example, if an http URL redirects to an https URL, list
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ the https URL. Or if a URL without a trailing slash redirects to the URL
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ with the trailing slash, list the URL with the trailing slash. If the
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ project advertises a short URL that redirects to a longer URL, it is
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ acceptable to list the short URL despite the redirect.</para>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ <para>When the homepage is just a hostname with no path component, don't
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ include a trailing slash.</para>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ <programlisting>homepage https://www.example.org/apps/</programlisting>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ <programlisting>homepage https://www.example.com</programlisting>
</span> </listitem>
</varlistentry>
</pre><pre style='margin:0'>
</pre>