Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F171004638
D2940.id6539.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D2940.id6539.diff
View Options
Index: en_US.ISO8859-1/books/porters-handbook/makefiles/chapter.xml
===================================================================
--- en_US.ISO8859-1/books/porters-handbook/makefiles/chapter.xml
+++ en_US.ISO8859-1/books/porters-handbook/makefiles/chapter.xml
@@ -2575,27 +2575,25 @@
</listitem>
<listitem>
- <para>How do I group one of the special variables from
+ <para>How do I group one of the special macros from
<filename>bsd.sites.mk</filename>, for example,
- <varname>MASTER_SITE_SOURCEFORGE</varname>?</para>
+ <literal>SF</literal>?</para>
- <para>See <xref
+ <para>This is kept as simple as it can be, see <xref
linkend="ports-master-sites-n-example-detailed-use-master-site-sourceforge"/>.</para>
<example
xml:id="ports-master-sites-n-example-detailed-use-master-site-sourceforge">
<title>Detailed Use of <literal>MASTER_SITES:n</literal>
- with
- <varname>MASTER_SITE_SOURCEFORGE</varname></title>
+ with <literal>SF</literal></title>
- <programlisting>MASTER_SITES= http://site1/ ${MASTER_SITE_SOURCEFORGE:S/$/:sourceforge,TEST/}
+ <programlisting>MASTER_SITES= http://site1/ SF/something/1.0:sourceforge,TEST
DISTFILES= something.tar.gz:sourceforge</programlisting>
- </example>
- <para><filename>something.tar.gz</filename> will be
- fetched from all sites within
- <varname>MASTER_SITE_SOURCEFORGE</varname>.</para>
+ <para><filename>something.tar.gz</filename> will be
+ fetched from all sites within SourceForge.</para>
+ </example>
</listitem>
<listitem>
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Sep 9, 3:36 AM (6 h, 39 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
38558682
Default Alt Text
D2940.id6539.diff (1 KB)
Attached To
Mode
D2940: Update the master_site_n bit about macros.
Attached
Detach File
Event Timeline
Log In to Comment