summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2014-05-19 13:59:15 +0000
committerwiz <wiz@pkgsrc.org>2014-05-19 13:59:15 +0000
commit0cce62fb54f862d7561ba6a2f8b7c7df0f9afe09 (patch)
tree10726272cf63e977a237579afc20eab9d402d665 /doc
parent7580c6d64dd6dff58fab2171ac99798b9da5a68d (diff)
downloadpkgsrc-0cce62fb54f862d7561ba6a2f8b7c7df0f9afe09.tar.gz
Improve previous.
Diffstat (limited to 'doc')
-rw-r--r--doc/guide/files/build.xml18
1 files changed, 11 insertions, 7 deletions
diff --git a/doc/guide/files/build.xml b/doc/guide/files/build.xml
index 4cada7bb3fe..a11e4ae3378 100644
--- a/doc/guide/files/build.xml
+++ b/doc/guide/files/build.xml
@@ -1,4 +1,4 @@
-<!-- $NetBSD: build.xml,v 1.68 2014/05/19 13:47:22 obache Exp $ -->
+<!-- $NetBSD: build.xml,v 1.69 2014/05/19 13:59:15 wiz Exp $ -->
<chapter id="build">
<title>The build process</title>
@@ -299,14 +299,18 @@ MASTER_SITES= http://www.example.com/download.cgi?file=
</programlisting>
<para> The exception to this rule are URLs starting with a dash.
- In that case the URL is taken as is, fetched and the result stored
- under the name of the distfile.
- You can use this style for the case download URL style does not
- match to above usuall case.
- For example, permanent download URL is a redirecter to real download URL,
- or download file name is offerd by HTTP Content-Disposition header.</para>
+ In that case the URL is taken as is, fetched and the result
+ stored under the name of the distfile. You can use this style
+ for the case when the download URL style does not match the
+ above common case. For example, if permanent download URL is a
+ redirector to the real download URL, or the download file name
+ is offered by an HTTP Content-Disposition header. In the
+ following example, <filename>foo-1.0.0.tar.gz</filename> will be
+ created instead of the default
+ <filename>v1.0.0.tar.gz</filename>.</para>
<programlisting>
+DISTNAME= foo-1.0.0
MASTER_SITES= -http://www.example.com/archive/v1.0.0
</programlisting>